swagger.yaml 574 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. fromuserid:
  2941. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2942. type: integer
  2943. isreturnscore:
  2944. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2945. type: integer
  2946. modifierid:
  2947. description: 修改人ID
  2948. type: integer
  2949. modifytime:
  2950. description: 修改时间
  2951. type: string
  2952. orgtype:
  2953. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2954. type: integer
  2955. outuserid:
  2956. description: 外部账户[场外期权做市商]
  2957. type: string
  2958. parentuserid:
  2959. description: 上级组织机构(组织机构)
  2960. type: integer
  2961. roletype:
  2962. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2963. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2964. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2965. type: integer
  2966. rootuserid:
  2967. description: 顶级组织机构用户ID(组织机构)
  2968. type: integer
  2969. shoppassword:
  2970. description: 商城店铺登陆密码(商城店铺角色使用)
  2971. type: string
  2972. sublevelpath:
  2973. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2974. type: string
  2975. suborgtype:
  2976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2977. type: integer
  2978. tradeaccountid:
  2979. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2980. type: integer
  2981. transurl:
  2982. description: 物流地址(物流机构)
  2983. type: string
  2984. userid:
  2985. description: 机构用户ID其他做市关系,都设置为 1
  2986. type: integer
  2987. required:
  2988. - roletype
  2989. - userid
  2990. type: object
  2991. models.Clientfixedadconfig:
  2992. properties:
  2993. adsort:
  2994. description: 排序
  2995. type: integer
  2996. adtype:
  2997. description: 广告位类型 - 1:新品抢购(HSBY)
  2998. type: integer
  2999. areauserid:
  3000. description: 所属机构ID
  3001. type: integer
  3002. createdate:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. imagepath:
  3009. description: 图片
  3010. type: string
  3011. isshow:
  3012. description: 是否展示 - 0:不展示 1:展示
  3013. type: integer
  3014. modifierid:
  3015. description: 操作人
  3016. type: integer
  3017. recsize:
  3018. description: 推荐尺寸
  3019. type: string
  3020. title:
  3021. description: 标题
  3022. type: string
  3023. updatedate:
  3024. description: 更新时间
  3025. type: string
  3026. urlcontent:
  3027. description: 链接(地址或商品ID)
  3028. type: string
  3029. urltype:
  3030. description: 链接类型 - 1:直接地址 2:商品ID
  3031. type: integer
  3032. required:
  3033. - adsort
  3034. - adtype
  3035. type: object
  3036. models.Division:
  3037. properties:
  3038. autoid:
  3039. description: 自增ID
  3040. type: integer
  3041. divisioncode:
  3042. description: 行政代码
  3043. type: string
  3044. divisionlevel:
  3045. description: 行政级别
  3046. type: string
  3047. divisionname:
  3048. description: 行政名称
  3049. type: string
  3050. modifierid:
  3051. description: 修改人
  3052. type: integer
  3053. modifytime:
  3054. description: 修改时间
  3055. type: string
  3056. parentcode:
  3057. description: 上级行政代码
  3058. type: string
  3059. pathname:
  3060. description: 路径名称
  3061. type: string
  3062. postcode:
  3063. description: 邮政编码
  3064. type: string
  3065. separablename:
  3066. description: 可拆分的全称
  3067. type: string
  3068. shortcode:
  3069. description: 地区简码
  3070. type: string
  3071. required:
  3072. - autoid
  3073. - divisioncode
  3074. type: object
  3075. models.Enumdicitem:
  3076. properties:
  3077. autoid:
  3078. description: 自增ID
  3079. type: integer
  3080. bankmappedvalue:
  3081. description: 银行服务对应值
  3082. type: string
  3083. enumdiccode:
  3084. description: 所属枚举代码
  3085. type: string
  3086. enumdicid:
  3087. description: 所属枚举ID
  3088. type: integer
  3089. enumdicname:
  3090. description: 枚举项名称
  3091. type: string
  3092. enumitemname:
  3093. description: 枚举项值
  3094. type: integer
  3095. enumitemstatus:
  3096. description: 枚举项状态 - 1.启用 2.不启用
  3097. type: integer
  3098. enumitemvalue:
  3099. description: 通用值 - [币种通用简写]
  3100. type: string
  3101. param1:
  3102. description: 参数1[币种:币种小数位]
  3103. type: string
  3104. param2:
  3105. description: 参数1[币种:币种显示单位]
  3106. type: string
  3107. remark:
  3108. description: 备注
  3109. type: string
  3110. required:
  3111. - autoid
  3112. - enumdiccode
  3113. - enumdicid
  3114. - enumitemname
  3115. type: object
  3116. models.Ermcp3AreaSpot:
  3117. properties:
  3118. areauserid:
  3119. description: 所属机构
  3120. type: integer
  3121. decreaseqty:
  3122. description: 减少数量=-(销售已定价数量+采购计划数量)
  3123. type: number
  3124. deliverygoodscode:
  3125. description: 现货品种代码
  3126. type: string
  3127. deliverygoodsid:
  3128. description: 现货品种id
  3129. type: integer
  3130. deliverygoodsname:
  3131. description: 现货品种名称
  3132. type: string
  3133. enumdicname:
  3134. description: 单位名称
  3135. type: string
  3136. goodsunitid:
  3137. description: 现货品种单位id
  3138. type: integer
  3139. increaseqty:
  3140. description: 增加数量=销售计划数量+采购已定价数量
  3141. type: number
  3142. oritoalspotqty:
  3143. description: 昨日数量
  3144. type: number
  3145. totalspotqty:
  3146. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3147. type: number
  3148. updatetime:
  3149. description: 更新时间
  3150. type: string
  3151. type: object
  3152. models.Ermcp3AreaSpotDetail:
  3153. properties:
  3154. contracttype:
  3155. description: 合同类型 1-采购 -1-销售
  3156. type: integer
  3157. createtime:
  3158. description: 创建时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 记录类型 1-套保 2-现货合同
  3174. type: integer
  3175. qty:
  3176. description: 数量
  3177. type: number
  3178. recordname:
  3179. description: 类型名称
  3180. type: string
  3181. relatedid:
  3182. description: 套保计划ID/现货合同ID
  3183. type: string
  3184. relatedno:
  3185. description: 编号
  3186. type: string
  3187. strtime:
  3188. description: 时间
  3189. type: string
  3190. type: object
  3191. models.Ermcp3AreaSpotPLReport:
  3192. properties:
  3193. accountid:
  3194. description: 期货账户ID (作废, 默认为0)
  3195. type: integer
  3196. accountname:
  3197. description: 机构名称
  3198. type: string
  3199. actualpl:
  3200. description: 现货损益
  3201. type: number
  3202. areauserid:
  3203. description: 所属机构\交易用户ID
  3204. type: integer
  3205. begindate:
  3206. description: 开始交易日
  3207. type: string
  3208. biztype:
  3209. description: 业务类型 - 1:套保 2:套利
  3210. type: integer
  3211. brandname:
  3212. description: 品牌名称
  3213. type: string
  3214. curamount:
  3215. description: 期末额
  3216. type: number
  3217. curaverageprice:
  3218. description: 期末均价
  3219. type: number
  3220. curbuyamount:
  3221. description: 期末采购总额
  3222. type: number
  3223. curbuyqty:
  3224. description: 期末采购总量
  3225. type: number
  3226. curmarketvalue:
  3227. description: 参考市值(期末市值)
  3228. type: number
  3229. curqty:
  3230. description: 期末量
  3231. type: number
  3232. currencyid:
  3233. description: 结算币种ID【原值】
  3234. type: integer
  3235. currencyname:
  3236. description: 币种名称
  3237. type: string
  3238. cursellamount:
  3239. description: 期末销售总额
  3240. type: number
  3241. cursellqty:
  3242. description: 期末销售总量
  3243. type: number
  3244. curspotprice:
  3245. description: 参考市价(最新价)
  3246. type: number
  3247. cycletime:
  3248. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3249. type: string
  3250. cycletype:
  3251. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3252. type: integer
  3253. deliverygoodscode:
  3254. description: 现货商品代码
  3255. type: string
  3256. deliverygoodsid:
  3257. description: 现货品种ID
  3258. type: integer
  3259. deliverygoodsname:
  3260. description: 现货商品名称
  3261. type: string
  3262. enddate:
  3263. description: 结束交易日
  3264. type: string
  3265. enumdicname:
  3266. description: 现货商品单位名称
  3267. type: string
  3268. floatpl:
  3269. description: 浮动损益
  3270. type: number
  3271. goodsunitid:
  3272. description: 现货商品单位id
  3273. type: integer
  3274. oriamount:
  3275. description: 期初额
  3276. type: number
  3277. oriaverageprice:
  3278. description: 期初均价
  3279. type: number
  3280. oribuyamount:
  3281. description: 期初采购总额
  3282. type: number
  3283. oribuyqty:
  3284. description: 期初采购总量
  3285. type: number
  3286. oriqty:
  3287. description: 期初量
  3288. type: number
  3289. orisellamount:
  3290. description: 期初销售总额
  3291. type: number
  3292. orisellqty:
  3293. description: 期初销售总量
  3294. type: number
  3295. reckondate:
  3296. description: 日照时期(yyyyMMdd)
  3297. type: string
  3298. spotgoodsbrandid:
  3299. description: 现货品牌ID
  3300. type: integer
  3301. todaybuyamount:
  3302. description: 今日采购额(今采购额)
  3303. type: number
  3304. todaybuyaverageprice:
  3305. description: 今日采购均价
  3306. type: number
  3307. todaybuyqty:
  3308. description: 今日采购量(今采购量)
  3309. type: number
  3310. todayinqty:
  3311. description: 今日入库量(今入库量)
  3312. type: number
  3313. todayoutqty:
  3314. description: 今日出库量(今出库量)
  3315. type: number
  3316. todaysellamount:
  3317. description: 今日销售额(今销售额)
  3318. type: number
  3319. todaysellaverageprice:
  3320. description: 今日销售均价
  3321. type: number
  3322. todaysellqty:
  3323. description: 今日销售量(今销售量)
  3324. type: number
  3325. unitid:
  3326. description: 品类单位id
  3327. type: integer
  3328. unitidname:
  3329. description: 品类单位名称
  3330. type: string
  3331. updatetime:
  3332. description: 更新时间
  3333. type: string
  3334. wrfactortypeid:
  3335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 现货品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStock:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. curstock:
  3353. description: 期末库存量(今日量)
  3354. type: number
  3355. deliverygoodscode:
  3356. description: 现货品种代码
  3357. type: string
  3358. deliverygoodsid:
  3359. description: 现货品种id
  3360. type: integer
  3361. deliverygoodsname:
  3362. description: 现货品种名称
  3363. type: string
  3364. enumdicname:
  3365. description: 单位名称
  3366. type: string
  3367. goodsunitid:
  3368. description: 现货商品单位id
  3369. type: integer
  3370. oristock:
  3371. description: 期初库存量(昨日量)
  3372. type: number
  3373. spotgoodsbrandid:
  3374. description: 现货品牌ID
  3375. type: integer
  3376. todaybuyinqty:
  3377. description: 今日采购入库量
  3378. type: number
  3379. todayproduceinqty:
  3380. description: 今日生产入库量
  3381. type: number
  3382. todayproduceoutqty:
  3383. description: 今日生产出库量
  3384. type: number
  3385. todayselloutqty:
  3386. description: 今日销售出库量
  3387. type: number
  3388. unitid:
  3389. description: 单位id
  3390. type: integer
  3391. updatetime:
  3392. description: 更新时间
  3393. type: string
  3394. userid:
  3395. description: 机构ID
  3396. type: integer
  3397. username:
  3398. description: 机构名称
  3399. type: string
  3400. warehousecode:
  3401. description: 仓库代码
  3402. type: string
  3403. warehouseinfoid:
  3404. description: 仓库ID
  3405. type: string
  3406. warehousename:
  3407. description: 仓库名称
  3408. type: string
  3409. warehousetype:
  3410. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3411. type: integer
  3412. wrstandardcode:
  3413. description: 品类代码
  3414. type: string
  3415. wrstandardid:
  3416. description: 品类ID
  3417. type: string
  3418. wrstandardname:
  3419. description: 品类名称
  3420. type: string
  3421. required:
  3422. - userid
  3423. type: object
  3424. models.Ermcp3AreaStockApply:
  3425. properties:
  3426. applyid:
  3427. description: 申请人
  3428. type: integer
  3429. applyname:
  3430. description: 申请人名称
  3431. type: string
  3432. applyremark:
  3433. description: 申请备注
  3434. type: string
  3435. applysrc:
  3436. description: 申请来源 - 1:管理端 2:终端
  3437. type: integer
  3438. applystatus:
  3439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3440. type: integer
  3441. applytime:
  3442. description: 申请时间
  3443. type: string
  3444. auditid:
  3445. description: 审核人
  3446. type: integer
  3447. auditname:
  3448. description: 审核人名称
  3449. type: string
  3450. auditremark:
  3451. description: 审核备注
  3452. type: string
  3453. auditsrc:
  3454. description: 审核来源 - 1:管理端 2:终端
  3455. type: integer
  3456. audittime:
  3457. description: 审核时间
  3458. type: string
  3459. audittradedate:
  3460. description: 审核交易日(yyyyMMdd)
  3461. type: string
  3462. brandname:
  3463. description: 品牌名称
  3464. type: string
  3465. buynickname:
  3466. description: 采购方昵称
  3467. type: string
  3468. buyuserid:
  3469. description: 采购方userid
  3470. type: integer
  3471. buyusername:
  3472. description: 采购方名称
  3473. type: string
  3474. contractno:
  3475. description: 合同编号
  3476. type: string
  3477. contractqty:
  3478. description: 合同量
  3479. type: number
  3480. contracttype:
  3481. description: 现货合同类型 - 1:采购 -1:销售
  3482. type: integer
  3483. deliverygoodscode:
  3484. description: 现货品种代码
  3485. type: string
  3486. deliverygoodsid:
  3487. description: 现货品种id
  3488. type: integer
  3489. deliverygoodsname:
  3490. description: 现货品种名称
  3491. type: string
  3492. detailjson:
  3493. description: 明细数据
  3494. type: string
  3495. enumdicname:
  3496. description: 现货商品单位名称
  3497. type: string
  3498. inoutapplyid:
  3499. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3500. type: string
  3501. inouttype:
  3502. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3503. type: integer
  3504. pricetype:
  3505. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3506. type: integer
  3507. qty:
  3508. description: 数量
  3509. type: number
  3510. sellnickname:
  3511. description: 销售方昵称
  3512. type: string
  3513. selluserid:
  3514. description: 销售方userid
  3515. type: integer
  3516. sellusername:
  3517. description: 销售方名称
  3518. type: string
  3519. spotcontractid:
  3520. description: 关联现货合同ID
  3521. type: string
  3522. spotgoodsbrandid:
  3523. description: 现货品牌ID
  3524. type: integer
  3525. unitid:
  3526. description: 单位id
  3527. type: integer
  3528. userid:
  3529. description: 机构ID
  3530. type: integer
  3531. warehousecode:
  3532. description: 仓库代码
  3533. type: string
  3534. warehouseinfoid:
  3535. description: 现货仓库ID
  3536. type: string
  3537. warehousename:
  3538. description: 仓库名称
  3539. type: string
  3540. warehousetype:
  3541. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3542. type: integer
  3543. wrstandardcode:
  3544. description: 品类代码
  3545. type: string
  3546. wrstandardid:
  3547. description: 品类ID
  3548. type: integer
  3549. wrstandardname:
  3550. description: 品类名称
  3551. type: string
  3552. type: object
  3553. models.Ermcp3AreaStockApplySum:
  3554. properties:
  3555. brandname:
  3556. description: 品牌名称
  3557. type: string
  3558. inouttype:
  3559. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3560. type: integer
  3561. spotcontractid:
  3562. description: 关联现货合同ID
  3563. type: string
  3564. spotgoodsbrandid:
  3565. description: 品牌id
  3566. type: integer
  3567. totalqty:
  3568. description: 总数量
  3569. type: number
  3570. wrstandardid:
  3571. description: 品类id
  3572. type: integer
  3573. wrstandardname:
  3574. description: 品类名称
  3575. type: string
  3576. type: object
  3577. models.Ermcp3AreaStockReportEx:
  3578. properties:
  3579. begindate:
  3580. description: 开始交易日
  3581. type: string
  3582. brandname:
  3583. description: 品牌名称
  3584. type: string
  3585. curstock:
  3586. description: 期末库存量
  3587. type: number
  3588. cycletime:
  3589. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3590. type: string
  3591. cycletype:
  3592. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3593. type: integer
  3594. deliverygoodscode:
  3595. description: 现货品种代码
  3596. type: string
  3597. deliverygoodsid:
  3598. description: 现货品种id
  3599. type: integer
  3600. deliverygoodsname:
  3601. description: 现货品种名称
  3602. type: string
  3603. diffqty:
  3604. description: 库存变化量 = 期末 - 期初
  3605. type: number
  3606. enddate:
  3607. description: 结束交易日
  3608. type: string
  3609. enumdicname:
  3610. description: 单位名称
  3611. type: string
  3612. goodsunitid:
  3613. description: 现货单位id
  3614. type: integer
  3615. oristock:
  3616. description: 期初库存量
  3617. type: number
  3618. reckondate:
  3619. description: 日照时期(yyyyMMdd)
  3620. type: string
  3621. spotgoodsbrandid:
  3622. description: 现货品牌ID
  3623. type: integer
  3624. todaybuyinqty:
  3625. description: 今采购入库量
  3626. type: number
  3627. todayproduceinqty:
  3628. description: 今内部入库量
  3629. type: number
  3630. todayproduceoutqty:
  3631. description: 今内部出库量
  3632. type: number
  3633. todayselloutqty:
  3634. description: 今销售出库量
  3635. type: number
  3636. unbuyinqty:
  3637. description: 采购未入库量(数据库未找到相关字段?)
  3638. type: number
  3639. unitid:
  3640. description: 品类单位id
  3641. type: integer
  3642. unselloutqty:
  3643. description: 销售未出库量(数据库未找到相关字段?)
  3644. type: number
  3645. updatetime:
  3646. description: 更新时间
  3647. type: string
  3648. userid:
  3649. description: 机构ID
  3650. type: integer
  3651. username:
  3652. description: 机构名称
  3653. type: string
  3654. warehousecode:
  3655. description: 仓库代码
  3656. type: string
  3657. warehouseinfoid:
  3658. description: 仓库ID
  3659. type: string
  3660. warehousename:
  3661. description: 仓库名称
  3662. type: string
  3663. warehousetype:
  3664. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3665. type: integer
  3666. wrstandardcode:
  3667. description: 品类代码
  3668. type: string
  3669. wrstandardid:
  3670. description: 品类ID
  3671. type: integer
  3672. wrstandardname:
  3673. description: 品类名称
  3674. type: string
  3675. type: object
  3676. models.Ermcp3ArealSumPL:
  3677. properties:
  3678. accountname:
  3679. description: 机构名称
  3680. type: string
  3681. areauserid:
  3682. description: 所属机构\交易用户ID
  3683. type: integer
  3684. begindate:
  3685. description: 开始交易日
  3686. type: string
  3687. currencyid:
  3688. description: 结算币种ID
  3689. type: integer
  3690. currencyname:
  3691. description: 币种名称
  3692. type: string
  3693. cycletime:
  3694. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3695. type: string
  3696. cycletype:
  3697. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3698. type: integer
  3699. enddate:
  3700. description: 结束交易日
  3701. type: string
  3702. enumdicname:
  3703. description: 单位名称(套保品种)
  3704. type: string
  3705. futureactualpl:
  3706. description: 期货损益
  3707. type: number
  3708. futurefloatpl:
  3709. description: 期货浮动损益
  3710. type: number
  3711. goodsunitid:
  3712. description: 套保品种单位id
  3713. type: integer
  3714. middlegoodscode:
  3715. description: 套保品种代码
  3716. type: string
  3717. middlegoodsid:
  3718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3719. type: integer
  3720. middlegoodsname:
  3721. description: 套保品种名称
  3722. type: string
  3723. reckondate:
  3724. description: 日照时期(yyyyMMdd)
  3725. type: string
  3726. spotactualpl:
  3727. description: 现货损益
  3728. type: number
  3729. spotfloatpl:
  3730. description: 现货浮动损益
  3731. type: number
  3732. sumactualpl:
  3733. description: 实际损益 = (ActualPL + FutureActualPL)
  3734. type: number
  3735. sumpl:
  3736. description: 汇总损益
  3737. type: number
  3738. updatetime:
  3739. description: 更新时间
  3740. type: string
  3741. type: object
  3742. models.Ermcp3Brand:
  3743. properties:
  3744. areauserid:
  3745. description: 用户id
  3746. type: integer
  3747. brandid:
  3748. description: 品牌id
  3749. type: integer
  3750. brandname:
  3751. description: 品牌名称
  3752. type: string
  3753. deliverygoodsid:
  3754. description: 品种ID
  3755. type: integer
  3756. type: object
  3757. models.Ermcp3Contract:
  3758. properties:
  3759. accountid:
  3760. description: 期货账户id
  3761. type: string
  3762. amount:
  3763. description: 金额 [1:一口价、3:暂定价]
  3764. type: number
  3765. attachment:
  3766. description: 附件
  3767. type: string
  3768. auditremark:
  3769. description: 审核意见
  3770. type: string
  3771. audittime:
  3772. description: 审核时间
  3773. type: string
  3774. biztype:
  3775. description: 业务类型 1-套保 2-套利
  3776. type: integer
  3777. brandname:
  3778. description: 品牌名称
  3779. type: string
  3780. buynickname:
  3781. description: 销售方昵称
  3782. type: string
  3783. buyuserid:
  3784. description: 采购方ID
  3785. type: integer
  3786. buyusername:
  3787. description: 采购方名称
  3788. type: string
  3789. contracctstatus:
  3790. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3791. type: integer
  3792. contractmargin:
  3793. description: 合同保证金
  3794. type: number
  3795. contractno:
  3796. description: 现货合同编号
  3797. type: string
  3798. contracttype:
  3799. description: 现货合同类型 - 1:采购 -1:销售
  3800. type: integer
  3801. convertfactor:
  3802. description: 标仓系数(品类)
  3803. type: number
  3804. createtime:
  3805. description: 创建时间
  3806. type: string
  3807. currencyid:
  3808. description: 币种id
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. deliveryenddate:
  3814. description: 交收期(结束)
  3815. type: string
  3816. deliverygoodscode:
  3817. description: 现货品种代码
  3818. type: string
  3819. deliverygoodsid:
  3820. description: 现货品种ID
  3821. type: integer
  3822. deliverygoodsname:
  3823. description: 现货品种名称
  3824. type: string
  3825. deliverystartdate:
  3826. description: 交收期(开始)
  3827. type: string
  3828. enddate:
  3829. description: 点价结束日期 [2:点价 3:暂定价]
  3830. type: string
  3831. enumdicname:
  3832. description: 单位名称
  3833. type: string
  3834. goodscode:
  3835. description: 点价合约代码
  3836. type: string
  3837. goodsid:
  3838. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3839. type: integer
  3840. goodsname:
  3841. description: 点价商品名称
  3842. type: string
  3843. margin:
  3844. description: 当前保证金
  3845. type: number
  3846. meruserid:
  3847. description: 跟单员id
  3848. type: integer
  3849. meruserlogincode:
  3850. description: 跟单员登录代码
  3851. type: string
  3852. price:
  3853. description: 价格\暂定价 [1:一口价、3:暂定价]
  3854. type: number
  3855. pricemove:
  3856. description: 升贴水 [2:点价 3:暂定价]
  3857. type: number
  3858. pricetype:
  3859. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3860. type: integer
  3861. producttype:
  3862. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3863. type: integer
  3864. qty:
  3865. description: 数量
  3866. type: number
  3867. remark:
  3868. description: 备注
  3869. type: string
  3870. saleuserid:
  3871. description: 业务员id
  3872. type: integer
  3873. saleuserlogincode:
  3874. description: 业务员登录代码
  3875. type: string
  3876. sellnickname:
  3877. description: 采购方昵称
  3878. type: string
  3879. selluserid:
  3880. description: 销售方ID
  3881. type: integer
  3882. sellusername:
  3883. description: 销售方名称
  3884. type: string
  3885. spotcontractid:
  3886. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3887. type: string
  3888. spotgoodsbrandid:
  3889. description: 现货品牌ID(DGFactoryItem表的ID)
  3890. type: integer
  3891. spotgoodsdesc:
  3892. description: 商品型号
  3893. type: string
  3894. startdate:
  3895. description: 点价开始日期 [2:点价 3:暂定价]
  3896. type: string
  3897. tradeuserid:
  3898. description: 交易员id
  3899. type: integer
  3900. tradeuserlogincode:
  3901. description: 交易员登录代码
  3902. type: string
  3903. tradeusername:
  3904. description: 交易员名称
  3905. type: string
  3906. unitid:
  3907. description: 单位id(取品类上的单位id)
  3908. type: integer
  3909. updatetime:
  3910. description: 更新时间
  3911. type: string
  3912. userid:
  3913. description: 所属机构ID
  3914. type: integer
  3915. wrstandardcode:
  3916. description: 品类代码
  3917. type: string
  3918. wrstandardid:
  3919. description: 品类ID
  3920. type: integer
  3921. wrstandardname:
  3922. description: 品类名称
  3923. type: string
  3924. type: object
  3925. models.Ermcp3ExposureContractDetail:
  3926. properties:
  3927. biztype:
  3928. description: 业务类型 1-套保 2-套利
  3929. type: integer
  3930. brandname:
  3931. description: 品牌名称
  3932. type: string
  3933. buyuserid:
  3934. description: 采购方id
  3935. type: integer
  3936. buyusername:
  3937. description: 采购方名称
  3938. type: string
  3939. contractno:
  3940. description: 合同编号
  3941. type: string
  3942. contracttype:
  3943. description: 现货合同类型 - 1:采购 -1:销售
  3944. type: integer
  3945. convertfactor:
  3946. description: 标仓系数
  3947. type: number
  3948. convertratio:
  3949. description: 折算系数(套保品种)
  3950. type: number
  3951. curqty:
  3952. description: 今定价量
  3953. type: number
  3954. deliverygoodscode:
  3955. description: 现货商品代码
  3956. type: string
  3957. deliverygoodsid:
  3958. description: 现货商品id
  3959. type: integer
  3960. deliverygoodsname:
  3961. description: 现货商品名称
  3962. type: string
  3963. diffhedgeqty:
  3964. description: 套保变动量
  3965. type: number
  3966. diffneedhedgeqty:
  3967. description: 应套保变动量
  3968. type: number
  3969. diffqty:
  3970. description: 套保品种今变动量
  3971. type: number
  3972. enumdicname:
  3973. description: 单位名称
  3974. type: string
  3975. middlegoodscode:
  3976. description: 套保品种代码
  3977. type: string
  3978. middlegoodsid:
  3979. description: 套保品种id
  3980. type: integer
  3981. middlegoodsname:
  3982. description: 套保品种名称
  3983. type: string
  3984. needarbitrageratio:
  3985. description: 应套利比例
  3986. type: number
  3987. needhedgeratio:
  3988. description: 应套保比例
  3989. type: number
  3990. pricedqty:
  3991. description: 已定价量
  3992. type: number
  3993. qty:
  3994. description: 合同量
  3995. type: number
  3996. selluserid:
  3997. description: 销售方id
  3998. type: integer
  3999. sellusername:
  4000. description: 销售方名称
  4001. type: string
  4002. spotcontractid:
  4003. description: 合同id
  4004. type: string
  4005. todaypricedqty:
  4006. description: 今定价量
  4007. type: number
  4008. tradedate:
  4009. description: 交易日
  4010. type: string
  4011. unitid:
  4012. description: 品类单位id
  4013. type: integer
  4014. userid:
  4015. description: 机构id
  4016. type: integer
  4017. wrstandardcode:
  4018. description: 品类代码
  4019. type: string
  4020. wrstandardid:
  4021. description: 品类id
  4022. type: integer
  4023. wrstandardname:
  4024. description: 品类名称
  4025. type: string
  4026. type: object
  4027. models.Ermcp3ExposureDetail:
  4028. properties:
  4029. areauserid:
  4030. description: 机构ID
  4031. type: integer
  4032. changeQty:
  4033. description: 套保变动量
  4034. type: number
  4035. contracttype:
  4036. description: 现货合同类型 - 1:采购 -1:销售
  4037. type: integer
  4038. convertfactor:
  4039. description: 标仓系数
  4040. type: number
  4041. convertratio:
  4042. description: 套保系数
  4043. type: number
  4044. createtime:
  4045. description: 时间
  4046. type: string
  4047. deliverygoodscode:
  4048. description: 现货品种代码
  4049. type: string
  4050. deliverygoodsid:
  4051. description: 现货品种id
  4052. type: integer
  4053. deliverygoodsname:
  4054. description: 现货品种名称
  4055. type: string
  4056. enumdicname:
  4057. description: 现货商品单位名称
  4058. type: string
  4059. logtype:
  4060. description: 类型 - 1:套保计划 2:现货合同
  4061. type: integer
  4062. mgunitid:
  4063. description: 套保品种单位id
  4064. type: integer
  4065. mgunitidname:
  4066. description: 套保品种单位名称
  4067. type: string
  4068. middlegoodsId:
  4069. description: 套保商品id
  4070. type: integer
  4071. middlegoodscode:
  4072. description: 套保商品代码
  4073. type: string
  4074. middlegoodsname:
  4075. description: 套保商品名称
  4076. type: string
  4077. qty:
  4078. description: 数量
  4079. type: number
  4080. relateNo:
  4081. description: 现货合同/套保计划编号
  4082. type: string
  4083. type: object
  4084. models.Ermcp3ExposureFutuDetail:
  4085. properties:
  4086. accountid:
  4087. description: 交易账户id
  4088. type: integer
  4089. accountname:
  4090. description: 交易账户
  4091. type: string
  4092. begindate:
  4093. description: 开始交易日
  4094. type: string
  4095. buyorsell:
  4096. description: 方向 0-买 1-卖
  4097. type: integer
  4098. diffmgqty:
  4099. description: 套保品种今变化量
  4100. type: number
  4101. diffneedqty:
  4102. description: 应套保总量变化量
  4103. type: number
  4104. difftradeqty:
  4105. description: 交易品种今变化量
  4106. type: number
  4107. enddate:
  4108. description: 结束交易日
  4109. type: string
  4110. enumdicname:
  4111. description: 单位名称
  4112. type: string
  4113. goodscode:
  4114. description: 商品代码
  4115. type: string
  4116. goodsid:
  4117. description: 商品id
  4118. type: integer
  4119. goodsname:
  4120. description: 商品名称
  4121. type: string
  4122. holdqty:
  4123. description: 期末持仓量
  4124. type: number
  4125. middlegoodscode:
  4126. description: 套保商品代码
  4127. type: string
  4128. middlegoodsid:
  4129. description: 套保商品id
  4130. type: integer
  4131. middlegoodsname:
  4132. description: 套保商品名称
  4133. type: string
  4134. oriholdqty:
  4135. description: 期初持仓量
  4136. type: number
  4137. todaycloseqty:
  4138. description: 今平仓量
  4139. type: number
  4140. todayopenqty:
  4141. description: 今开仓量
  4142. type: number
  4143. tradedate:
  4144. description: 交易日
  4145. type: string
  4146. type: object
  4147. models.Ermcp3ExposureHedgeplanDetail:
  4148. properties:
  4149. biztype:
  4150. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4151. type: integer
  4152. changqty:
  4153. description: 应套保总量变化量
  4154. type: number
  4155. contracttype:
  4156. description: 计划类型 - 1:采购 -1:销售
  4157. type: integer
  4158. convertratio:
  4159. description: 折算系数(套保品种)
  4160. type: number
  4161. deliverygoodscode:
  4162. description: 现货商品代码
  4163. type: string
  4164. deliverygoodsid:
  4165. description: 现货商品id
  4166. type: integer
  4167. deliverygoodsname:
  4168. description: 现货商吕名称
  4169. type: string
  4170. dgunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. dgunitidname:
  4174. description: 单位名称(现货商品)
  4175. type: string
  4176. diffqty:
  4177. description: 套保品种今变动量
  4178. type: number
  4179. enumdicname:
  4180. description: 单位名称(品类)
  4181. type: string
  4182. hedgeplanid:
  4183. description: 套保计划id
  4184. type: string
  4185. hedgeplanno:
  4186. description: 套保计划名称
  4187. type: string
  4188. hedgeplanstatus:
  4189. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4190. type: integer
  4191. mgunitidname:
  4192. description: 单位名称(套保商品)
  4193. type: string
  4194. middlegoodscode:
  4195. description: 套保品种代码
  4196. type: string
  4197. middlegoodsid:
  4198. description: 套保品种id
  4199. type: integer
  4200. middlegoodsname:
  4201. description: 套保品种名称
  4202. type: string
  4203. needarbitrageratio:
  4204. description: 应套利比例
  4205. type: number
  4206. needhedgeratio:
  4207. description: 应套保比例
  4208. type: number
  4209. pricedqty:
  4210. description: 已定价量
  4211. type: number
  4212. qty:
  4213. description: 合同量
  4214. type: number
  4215. tradedate:
  4216. description: 交易日(登记日)
  4217. type: string
  4218. unitid:
  4219. description: 品类单位id
  4220. type: integer
  4221. userid:
  4222. description: 机构id
  4223. type: integer
  4224. wrstandardcode:
  4225. description: 品类代码
  4226. type: string
  4227. wrstandardid:
  4228. description: 品类id
  4229. type: integer
  4230. wrstandardname:
  4231. description: 品类名称
  4232. type: string
  4233. type: object
  4234. models.Ermcp3ExpourseReport:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. accountname:
  4240. description: 机构名称
  4241. type: string
  4242. arbitrageqty:
  4243. description: 套利量
  4244. type: number
  4245. areauserid:
  4246. description: 所属机构\交易用户ID
  4247. type: integer
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. buyfutureqty:
  4252. description: 买入期货数量
  4253. type: number
  4254. buyplanqty:
  4255. description: 采购计划数量
  4256. type: number
  4257. buypricedqty:
  4258. description: 采购合同已定价数量
  4259. type: number
  4260. cycletime:
  4261. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4262. type: string
  4263. cycletype:
  4264. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4265. type: integer
  4266. diffexposure:
  4267. description: 变动量(套保敞口)
  4268. type: number
  4269. difffutuqty:
  4270. description: 变动量(期货)
  4271. type: number
  4272. diffhedgeqty:
  4273. description: 变动量(现货应套保总量)
  4274. type: number
  4275. diffmgqtya:
  4276. description: 套保变动量
  4277. type: number
  4278. diffmgqtyb:
  4279. description: 套利变动量
  4280. type: number
  4281. diffqty:
  4282. description: 变动量(总敞口)
  4283. type: number
  4284. diffspotqty:
  4285. description: 变动量(现货)
  4286. type: number
  4287. enddate:
  4288. description: 结束交易日
  4289. type: string
  4290. enumdicname:
  4291. description: 单位名称
  4292. type: string
  4293. hedgeqty:
  4294. description: 套保量
  4295. type: number
  4296. mgneedhedgeratio:
  4297. description: 套保比例(套保品的)
  4298. type: number
  4299. middlegoodsid:
  4300. description: 套保品种ID
  4301. type: integer
  4302. middlegoodsname:
  4303. description: 套保商品名称
  4304. type: string
  4305. middlgoodscode:
  4306. description: 套保商品代码
  4307. type: string
  4308. needarbitrageqty:
  4309. description: 应套利量
  4310. type: number
  4311. needarbitrageratio:
  4312. description: 套利比例(套保品的)
  4313. type: number
  4314. needhedgeexposoure:
  4315. description: 应套保敞口(套保敞口)
  4316. type: number
  4317. needhedgeqty:
  4318. description: 应套保量
  4319. type: number
  4320. needhedgeratio:
  4321. description: 应套保敞口比例
  4322. type: number
  4323. oriarbitrageqty:
  4324. description: 期初套利量
  4325. type: number
  4326. oribuyfutureqty:
  4327. description: 期初买入期货数量
  4328. type: number
  4329. oribuyplanqty:
  4330. description: 期初采购计划数量
  4331. type: number
  4332. oribuypricedqty:
  4333. description: 期初采购合同已定价数量
  4334. type: number
  4335. orihedgeqty:
  4336. description: 期初套保量
  4337. type: number
  4338. orineedarbitrageqty:
  4339. description: 期初应套利量
  4340. type: number
  4341. orineedhedgeexposoure:
  4342. description: 期初应套保敞口
  4343. type: number
  4344. orineedhedgeqty:
  4345. description: 期初应套保量
  4346. type: number
  4347. orisellfutureqty:
  4348. description: 期初卖出期货数量
  4349. type: number
  4350. orisellplanqty:
  4351. description: 期初销售计划数量
  4352. type: number
  4353. orisellpricedqty:
  4354. description: 期初销售合同已定价数量
  4355. type: number
  4356. oritotalexposure:
  4357. description: 期初实时总敞口
  4358. type: number
  4359. oritotalfutureqty:
  4360. description: 期初期货头寸总量
  4361. type: number
  4362. oritotalneedhedgeqty:
  4363. description: 期初应套保总量
  4364. type: number
  4365. oritotalspotqty:
  4366. description: 期初现货头寸总量
  4367. type: number
  4368. reckondate:
  4369. description: 日照时期(yyyyMMdd)
  4370. type: string
  4371. sellfutureqty:
  4372. description: 卖出期货数量
  4373. type: number
  4374. sellplanqty:
  4375. description: 销售计划数量
  4376. type: number
  4377. sellpricedqty:
  4378. description: 销售合同已定价数量
  4379. type: number
  4380. totalexposure:
  4381. description: 实时总敞口(总敞口)
  4382. type: number
  4383. totalfutureqty:
  4384. description: 期货头寸总量(期货总量)
  4385. type: number
  4386. totalhedgeratio:
  4387. description: 敞口比例
  4388. type: number
  4389. totalneedhedgeqty:
  4390. description: 应套保总量(现货应套保总量)
  4391. type: number
  4392. totalspotqty:
  4393. description: 现货头寸总量
  4394. type: number
  4395. unitid:
  4396. description: 单位id
  4397. type: integer
  4398. updatetime:
  4399. description: 更新时间
  4400. type: string
  4401. type: object
  4402. models.Ermcp3FinanceReport:
  4403. properties:
  4404. accountname:
  4405. description: 机构名称
  4406. type: string
  4407. areauserid:
  4408. description: 所属机构\交易用户ID
  4409. type: integer
  4410. begindate:
  4411. description: 开始交易日
  4412. type: string
  4413. biztype:
  4414. description: 业务类型 - 1:套保 2:套利
  4415. type: integer
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. buypreinvoicedamount:
  4420. description: 采购预收票额(预收票额)
  4421. type: number
  4422. buyprepaidamount:
  4423. description: 采购预付款额(预付货款额)
  4424. type: number
  4425. buytodayinvoiceamount:
  4426. description: 采购今收票额(今收票额)
  4427. type: number
  4428. buytodayrefundamount:
  4429. description: 采购今收退款额(今收退款额)
  4430. type: number
  4431. buytodaysettleamount:
  4432. description: 采购今付款额(今付货款额)
  4433. type: number
  4434. buyuninvoicedamount:
  4435. description: 采购应收票额(应收票额)
  4436. type: number
  4437. buyunpaidamount:
  4438. description: 采购应付款额(应付货款额)
  4439. type: number
  4440. currencyid:
  4441. description: 结算币种ID
  4442. type: integer
  4443. currencyname:
  4444. description: 币种名称
  4445. type: string
  4446. cycletime:
  4447. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4448. type: string
  4449. cycletype:
  4450. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4451. type: integer
  4452. deliverygoodscode:
  4453. description: 现货品种代码
  4454. type: string
  4455. deliverygoodsid:
  4456. description: 现货品种ID
  4457. type: integer
  4458. deliverygoodsname:
  4459. description: 现货品种名称
  4460. type: string
  4461. enddate:
  4462. description: 结束交易日
  4463. type: string
  4464. reckondate:
  4465. description: 日照时期(yyyyMMdd)
  4466. type: string
  4467. sellpreinvoicedamount:
  4468. description: 销售预开票额(预开票额)
  4469. type: number
  4470. sellprepaidamount:
  4471. description: 销售预收款额(预收货款额)
  4472. type: number
  4473. selltodayinvoiceamount:
  4474. description: 销售今开票额(今开票额)
  4475. type: number
  4476. selltodayrefundamount:
  4477. description: 销售今付退款额(今付退款额)
  4478. type: number
  4479. selltodaysettleamount:
  4480. description: 销售今收款额(今收货款额)
  4481. type: number
  4482. selluninvoicedamount:
  4483. description: 销售应开票额(应开票额)
  4484. type: number
  4485. sellunpaidamount:
  4486. description: 销售应收款额(应收货款额)
  4487. type: number
  4488. spotgoodsbrandid:
  4489. description: 现货品牌ID
  4490. type: integer
  4491. todaypaysum:
  4492. description: 今付款合计
  4493. type: number
  4494. todayreceivesum:
  4495. description: 今收款合计
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. wrfactortypeid:
  4501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 现货商品ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3Goods:
  4514. properties:
  4515. agreeunit:
  4516. description: 合约单位(合约乘数)
  4517. type: number
  4518. enumdicname:
  4519. description: 单位名称
  4520. type: string
  4521. exexchangecode:
  4522. description: 交易所代码
  4523. type: string
  4524. goodscode:
  4525. description: 期货商品代码
  4526. type: string
  4527. goodsid:
  4528. description: 期货商品id
  4529. type: integer
  4530. goodsname:
  4531. description: 期货商品名称
  4532. type: string
  4533. type: object
  4534. models.Ermcp3GoodsGroup:
  4535. properties:
  4536. agreeunit:
  4537. description: 合约单位
  4538. type: number
  4539. areauserid:
  4540. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4541. type: integer
  4542. canshort:
  4543. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4544. type: integer
  4545. closepricemode:
  4546. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4547. type: integer
  4548. createtime:
  4549. description: 创建时间
  4550. type: string
  4551. creatorid:
  4552. description: 创建人
  4553. type: integer
  4554. currencyid:
  4555. description: 报价货币ID
  4556. type: integer
  4557. decimalplace:
  4558. description: 报价小数位
  4559. type: integer
  4560. enumdicname:
  4561. description: 单位名称
  4562. type: string
  4563. exchangefullname:
  4564. description: 交易所全称
  4565. type: string
  4566. excludecfg:
  4567. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4568. type: integer
  4569. exexchangecode:
  4570. description: 交易所代码
  4571. type: string
  4572. exexchangeid:
  4573. description: 外部交易所ID[通道交易]
  4574. type: integer
  4575. exexchangename:
  4576. description: 交易所名称
  4577. type: string
  4578. goodsgroupid:
  4579. description: 商品组ID(自增ID)
  4580. type: integer
  4581. goodsgroupname:
  4582. description: 商品组名称
  4583. type: string
  4584. goodsgroupstatus:
  4585. description: 商品组状态 - 1:正常 2:注销
  4586. type: integer
  4587. goodunitid:
  4588. description: 报价单位ID
  4589. type: integer
  4590. groupcategroyid:
  4591. description: 品种分类ID
  4592. type: integer
  4593. innerdealmode:
  4594. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4595. type: integer
  4596. marketid:
  4597. description: 所属市场ID
  4598. type: integer
  4599. modifierid:
  4600. description: 修改人
  4601. type: integer
  4602. modifytime:
  4603. description: 修改时间
  4604. type: string
  4605. outerdealmode:
  4606. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4607. type: integer
  4608. outergroupcode:
  4609. description: 外部商品组代码[通道交易]
  4610. type: string
  4611. quoteminunit:
  4612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4613. type: integer
  4614. quotesourcegroupid:
  4615. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4616. type: integer
  4617. syncgoodsqty:
  4618. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4619. type: integer
  4620. required:
  4621. - areauserid
  4622. type: object
  4623. models.Ermcp3GoodsGroupEx:
  4624. properties:
  4625. convertratio:
  4626. description: 折算系数(品种系数)
  4627. type: number
  4628. enumdicname:
  4629. description: 单位名称
  4630. type: string
  4631. exexchangecode:
  4632. description: 交易所代码
  4633. type: string
  4634. glist:
  4635. description: 合约列表
  4636. items:
  4637. $ref: '#/definitions/models.Ermcp3Goods'
  4638. type: array
  4639. goodsgroupid:
  4640. description: 商品组id
  4641. type: integer
  4642. goodsgroupname:
  4643. description: 商品组名称
  4644. type: string
  4645. goodsunitid:
  4646. description: 单位id
  4647. type: integer
  4648. middlegoodsid:
  4649. description: 套保商品id
  4650. type: integer
  4651. type: object
  4652. models.Ermcp3HedgePlan:
  4653. properties:
  4654. accountid:
  4655. description: 资金账号
  4656. type: integer
  4657. areauserid:
  4658. description: 用户ID
  4659. type: integer
  4660. audittime:
  4661. description: 审核时间
  4662. type: string
  4663. contracttype:
  4664. description: 计划类型 - 1:采购 -1:销售
  4665. type: integer
  4666. convertfactor:
  4667. description: 标仓系数
  4668. type: number
  4669. createtime:
  4670. description: 创建时间
  4671. type: string
  4672. currencyid:
  4673. description: 币种id
  4674. type: integer
  4675. currencyname:
  4676. description: 币种名称
  4677. type: string
  4678. deliverygoodscode:
  4679. description: 现货品种代码
  4680. type: string
  4681. deliverygoodsid:
  4682. description: 现货品种ID
  4683. type: integer
  4684. deliverygoodsname:
  4685. description: 现货品种名称
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称(现货商品)
  4689. type: string
  4690. hedgeplanid:
  4691. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4692. type: string
  4693. hedgeplanno:
  4694. description: 套保计划编号(名称)
  4695. type: string
  4696. hedgeplanstatus:
  4697. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4698. type: integer
  4699. planqty:
  4700. description: 计划数量
  4701. type: number
  4702. plantime:
  4703. description: 计划时间
  4704. type: string
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. spotgoodsdesc:
  4712. description: 商品型号
  4713. type: string
  4714. taaccountname:
  4715. description: 资金账号名称
  4716. type: string
  4717. tradeuserid:
  4718. description: 交易用户id
  4719. type: integer
  4720. tradeusername:
  4721. description: 交易用户名称
  4722. type: string
  4723. unitid:
  4724. description: 单位id(现货商品)
  4725. type: integer
  4726. updatetime:
  4727. description: 更新时间
  4728. type: string
  4729. wrstandardcode:
  4730. description: 品类代码
  4731. type: string
  4732. wrstandardid:
  4733. description: 品类id
  4734. type: integer
  4735. wrstandardname:
  4736. description: 品类名称
  4737. type: string
  4738. wrunitid:
  4739. description: 品类单位id
  4740. type: integer
  4741. wrunitidame:
  4742. description: 品类单位名称
  4743. type: string
  4744. type: object
  4745. models.Ermcp3MiddleGoodsDetail2:
  4746. properties:
  4747. convertratio:
  4748. description: 套保系数(折算系数)
  4749. type: number
  4750. gplist:
  4751. description: 关联商品组列表
  4752. items:
  4753. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4754. type: array
  4755. mg:
  4756. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4757. description: 套保商品信息
  4758. type: object
  4759. type: object
  4760. models.Ermcp3MiddleGoodsDetailEx:
  4761. properties:
  4762. dglist:
  4763. description: 关联的现货品种列表
  4764. items:
  4765. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4766. type: array
  4767. gplist:
  4768. description: 关联商品组列表
  4769. items:
  4770. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4771. type: array
  4772. mg:
  4773. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4774. description: 套保商品信息
  4775. type: object
  4776. type: object
  4777. models.Ermcp3RootUserAccount:
  4778. properties:
  4779. accountname:
  4780. description: 账户名称(机构名称)
  4781. type: string
  4782. accountstatus:
  4783. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4784. type: integer
  4785. applysrc:
  4786. description: 申请来源 - 1:管理端 2:终端
  4787. type: integer
  4788. auditremark:
  4789. description: 审核备注
  4790. type: string
  4791. auditsrc:
  4792. description: 审核来源 - 1:管理端 2:终端
  4793. type: integer
  4794. audittime:
  4795. description: 审核时间
  4796. type: string
  4797. audituserid:
  4798. description: 审核人
  4799. type: integer
  4800. broker:
  4801. description: 所属经纪人ID
  4802. type: integer
  4803. canceltime:
  4804. description: 销户时间
  4805. type: string
  4806. canceluserid:
  4807. description: 销户人
  4808. type: integer
  4809. canrecommend:
  4810. description: 是否可推荐 - 0:不可 1;可
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. creatorid:
  4816. description: 创建人
  4817. type: integer
  4818. hasauth:
  4819. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4820. type: integer
  4821. isanonymous:
  4822. description: 是否匿名下单 - 0:否 1:是
  4823. type: integer
  4824. maxinvestornum:
  4825. description: 最大用户数(经纪会员下投资者个数)
  4826. type: integer
  4827. memberuserid:
  4828. description: 所属会员ID
  4829. type: integer
  4830. modifierid:
  4831. description: 修改人
  4832. type: integer
  4833. modifyremark:
  4834. description: 变更备注
  4835. type: string
  4836. modifystatus:
  4837. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4838. type: integer
  4839. modifytime:
  4840. description: 修改时间
  4841. type: string
  4842. parenttopuser:
  4843. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4844. type: string
  4845. parentuserid:
  4846. description: 所属机构ID
  4847. type: integer
  4848. reckonaccountid:
  4849. description: 默认结算资金账号ID(机构分润使用) 作废
  4850. type: integer
  4851. refercount:
  4852. description: 推荐总人数
  4853. type: integer
  4854. refereeuserid:
  4855. description: 推荐人ID
  4856. type: integer
  4857. refernum:
  4858. description: 推荐码
  4859. type: string
  4860. rootuserid:
  4861. description: 根用户ID
  4862. type: integer
  4863. subaccountlevel:
  4864. description: 子账户层数
  4865. type: integer
  4866. subarealevelpath:
  4867. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4868. type: string
  4869. userid:
  4870. description: 用户ID
  4871. type: integer
  4872. usertype:
  4873. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4874. type: integer
  4875. type: object
  4876. models.Ermcp3SellBuyContract:
  4877. properties:
  4878. accountid:
  4879. description: 期货账户id
  4880. type: string
  4881. accountname:
  4882. description: 账户名称
  4883. type: string
  4884. attachment:
  4885. description: 附件
  4886. type: string
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. biztype:
  4891. description: 业务类型 1-套保 2-套利
  4892. type: integer
  4893. brandname:
  4894. description: 品牌名称
  4895. type: string
  4896. contracctstatus:
  4897. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4898. type: integer
  4899. contractmargin:
  4900. description: 合同保证金
  4901. type: number
  4902. contractno:
  4903. description: 合同编号
  4904. type: string
  4905. contracttype:
  4906. description: 合同类型 1-采购, -1-销售
  4907. type: integer
  4908. convertfactor:
  4909. description: 标仓系数(品类)
  4910. type: number
  4911. createtime:
  4912. description: 创建时间
  4913. type: string
  4914. currencyid:
  4915. description: 币种id
  4916. type: integer
  4917. currencyname:
  4918. description: 币种名称
  4919. type: string
  4920. daikaiamount:
  4921. description: 应收(开)票额
  4922. type: number
  4923. deliveryenddate:
  4924. description: 交割结束日
  4925. type: string
  4926. deliverygoodscode:
  4927. description: 现货品种代码
  4928. type: string
  4929. deliverygoodsid:
  4930. description: 现货商品ID
  4931. type: integer
  4932. deliverygoodsname:
  4933. description: 现货品种名称
  4934. type: string
  4935. deliverystartdate:
  4936. description: 交割开始日
  4937. type: string
  4938. enddate:
  4939. description: 点价结束日
  4940. type: string
  4941. enumdicname:
  4942. description: 单位名称
  4943. type: string
  4944. goodscode:
  4945. description: 点价商品代码
  4946. type: string
  4947. goodsid:
  4948. description: 点价商品ID
  4949. type: integer
  4950. goodsname:
  4951. description: 点价商品名称
  4952. type: string
  4953. invoiceamount:
  4954. description: 已开票额
  4955. type: number
  4956. loanamount:
  4957. description: 贷款总额=已定价额+调整金额
  4958. type: number
  4959. margin:
  4960. description: 保证金
  4961. type: number
  4962. meruserid:
  4963. description: 跟单员id
  4964. type: integer
  4965. meruserlogincode:
  4966. description: 跟单员登录代码
  4967. type: string
  4968. nickname:
  4969. description: 账户昵称
  4970. type: string
  4971. payamount:
  4972. description: 已收付额(收款或付款)
  4973. type: number
  4974. preinvoiceamount:
  4975. description: 预收(开)票额
  4976. type: number
  4977. prepayamount:
  4978. description: 预收付额
  4979. type: number
  4980. price:
  4981. description: 价格
  4982. type: number
  4983. pricedamount:
  4984. description: 已定价额
  4985. type: number
  4986. pricedavg:
  4987. description: 已点均价
  4988. type: number
  4989. pricedqty:
  4990. description: 已定价量
  4991. type: number
  4992. pricemove:
  4993. description: 升贴水
  4994. type: number
  4995. pricetype:
  4996. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4997. type: integer
  4998. producttype:
  4999. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5000. type: integer
  5001. qty:
  5002. description: 合同量
  5003. type: number
  5004. reckonadjustamount:
  5005. description: 调整金额
  5006. type: number
  5007. reckonedamount:
  5008. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5009. type: number
  5010. reckonotheramount:
  5011. description: 其它费用
  5012. type: number
  5013. reckonrealqty:
  5014. description: 已确定量
  5015. type: number
  5016. remark:
  5017. description: 备注
  5018. type: string
  5019. saleuserid:
  5020. description: 业务员id
  5021. type: integer
  5022. saleuserlogincode:
  5023. description: 业务员登录代码
  5024. type: string
  5025. spotcontractid:
  5026. description: 合同ID
  5027. type: string
  5028. spotgoodsbrandid:
  5029. description: 现货品牌ID(DGFactoryItem表的ID)
  5030. type: integer
  5031. spotgoodsdesc:
  5032. description: 商品型号(商品规格)
  5033. type: string
  5034. startdate:
  5035. description: 点价开始日
  5036. type: string
  5037. totalamount:
  5038. description: 合计总额
  5039. type: number
  5040. tradeuserid:
  5041. description: 交易员id
  5042. type: integer
  5043. tradeuserlogincode:
  5044. description: 交易员登录代码
  5045. type: string
  5046. tradeusername:
  5047. description: 交易员名称
  5048. type: string
  5049. unpayamount:
  5050. description: 应收付款额(应支付或应收款)
  5051. type: number
  5052. unpricedqty:
  5053. description: 未定价量
  5054. type: number
  5055. unsureqty:
  5056. description: 未确定量
  5057. type: number
  5058. userid:
  5059. description: 机构ID
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.Ermcp3SpotGoodsPrice:
  5072. properties:
  5073. areauserid:
  5074. description: 所属机构id
  5075. type: integer
  5076. brandname:
  5077. description: 品牌名称
  5078. type: string
  5079. currencyid:
  5080. description: 报价货币ID
  5081. type: integer
  5082. currencyname:
  5083. description: 币种名称
  5084. type: string
  5085. deliverygoodscode:
  5086. description: 现货商品代码
  5087. type: string
  5088. deliverygoodsid:
  5089. description: 现货商品id
  5090. type: integer
  5091. deliverygoodsname:
  5092. description: 现货商品名称
  5093. type: string
  5094. enumdicname:
  5095. description: 现货商品单位名称
  5096. type: string
  5097. gbenumdicname:
  5098. description: 品类单位名称
  5099. type: string
  5100. gmunitid:
  5101. description: 品类单位id
  5102. type: integer
  5103. isvalid:
  5104. description: 是否有效 - 0:无效 1:有效
  5105. type: integer
  5106. operateid:
  5107. description: 最后操作人
  5108. type: integer
  5109. operatesrc:
  5110. description: 最后操作来源 - 1:管理端 2:终端
  5111. type: integer
  5112. operatetime:
  5113. description: 最后操作时间
  5114. type: string
  5115. operatorname:
  5116. description: 操作人名称
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5120. type: integer
  5121. spotgoodsprice:
  5122. description: 现货价格
  5123. type: number
  5124. tradedate:
  5125. description: 交易日(yyyyMMdd)
  5126. type: string
  5127. unitid:
  5128. description: 现货商品单位id
  5129. type: integer
  5130. wrstandardcode:
  5131. description: 品类代码
  5132. type: string
  5133. wrstandardid:
  5134. description: 现货品类ID(通用则为0)
  5135. type: integer
  5136. wrstandardname:
  5137. description: 品类名称
  5138. type: string
  5139. type: object
  5140. models.Ermcp3SpotGoodsPriceLog:
  5141. properties:
  5142. areauserid:
  5143. description: 所属机构id
  5144. type: integer
  5145. brandname:
  5146. description: 品牌名称
  5147. type: string
  5148. currencyid:
  5149. description: 报价货币ID
  5150. type: integer
  5151. deliverygoodscode:
  5152. description: 现货商品代码
  5153. type: string
  5154. deliverygoodsid:
  5155. description: 现货商品id
  5156. type: integer
  5157. deliverygoodsname:
  5158. description: 现货商品名称
  5159. type: string
  5160. enumdicname:
  5161. description: 现货商品单位名称
  5162. type: string
  5163. gbenumdicname:
  5164. description: 品类单位名称
  5165. type: string
  5166. gmunitid:
  5167. description: 品类单位id
  5168. type: integer
  5169. logid:
  5170. description: 日志id
  5171. type: integer
  5172. operateid:
  5173. description: 最后操作人
  5174. type: integer
  5175. operatesrc:
  5176. description: 最后操作来源 - 1:管理端 2:终端
  5177. type: integer
  5178. operatetime:
  5179. description: 最后操作时间
  5180. type: string
  5181. operatorname:
  5182. description: 操作人名称
  5183. type: string
  5184. spotgoodsbrandid:
  5185. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5186. type: integer
  5187. spotgoodsprice:
  5188. description: 现货价格
  5189. type: number
  5190. tradedate:
  5191. description: 交易日(yyyyMMdd)
  5192. type: string
  5193. unitid:
  5194. description: 现货商品单位id
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 现货品类ID(通用则为0)
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3TaFutuReDataReport:
  5207. properties:
  5208. accountid:
  5209. description: 交易账户
  5210. type: integer
  5211. accountname:
  5212. description: 交易账号名称
  5213. type: string
  5214. begindate:
  5215. description: 开始交易日
  5216. type: string
  5217. buyorsell:
  5218. description: 持仓方向
  5219. type: integer
  5220. charge:
  5221. description: 手续费
  5222. type: number
  5223. closeavgprice:
  5224. description: 平仓均价
  5225. type: number
  5226. closepl:
  5227. description: 平仓损益
  5228. type: number
  5229. currencyid:
  5230. description: 结算币种ID
  5231. type: integer
  5232. cycletime:
  5233. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5234. type: string
  5235. cycletype:
  5236. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5237. type: integer
  5238. enddate:
  5239. description: 结束交易日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称(现货商品)
  5243. type: string
  5244. floatpl:
  5245. description: 浮动损益
  5246. type: number
  5247. goodscode:
  5248. description: 交易合约代码
  5249. type: string
  5250. goodsgroupid:
  5251. description: 交易品种
  5252. type: integer
  5253. goodsgroupname:
  5254. description: 交易品种名称
  5255. type: string
  5256. goodsgroupspotqty:
  5257. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5258. type: number
  5259. goodsid:
  5260. description: 交易合约
  5261. type: integer
  5262. goodsname:
  5263. description: 交易合约名称
  5264. type: string
  5265. goodunitid:
  5266. description: 交易合约单位id
  5267. type: integer
  5268. holdamount:
  5269. description: 期末持仓额
  5270. type: number
  5271. holdqty:
  5272. description: 期末持仓量
  5273. type: number
  5274. lastholdamount:
  5275. description: 当前持仓额
  5276. type: number
  5277. lastprice:
  5278. description: 最新价
  5279. type: number
  5280. middlegoodsqty:
  5281. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5282. type: number
  5283. openamount:
  5284. description: 期末开仓额
  5285. type: number
  5286. openavgprice:
  5287. description: 开仓均价
  5288. type: number
  5289. oriholdamount:
  5290. description: 期初持仓额
  5291. type: number
  5292. oriholdqty:
  5293. description: 期初持仓量
  5294. type: number
  5295. oriopenamount:
  5296. description: 期初开仓额
  5297. type: number
  5298. outergroupcode:
  5299. description: 交易品种代码
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. reckonholdamount:
  5305. description: 结算持仓额
  5306. type: number
  5307. reckonpl:
  5308. description: 结算损益
  5309. type: number
  5310. reckonpl2:
  5311. description: 结算逐笔盈亏
  5312. type: number
  5313. reckonprice:
  5314. description: 结算价
  5315. type: number
  5316. relateduserid:
  5317. description: 账户关联用户ID
  5318. type: integer
  5319. todaycloseamount:
  5320. description: 今平仓额
  5321. type: number
  5322. todaycloseqty:
  5323. description: 今平仓量
  5324. type: number
  5325. todaygoodsgroupspotqty:
  5326. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5327. type: number
  5328. todaymiddlegoodsqty:
  5329. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5330. type: number
  5331. todayopenamount:
  5332. description: 今开仓额
  5333. type: number
  5334. todayopenqty:
  5335. description: 今开仓量
  5336. type: number
  5337. userid:
  5338. description: 账户所属用户ID
  5339. type: integer
  5340. type: object
  5341. models.Ermcp3Wrstandard:
  5342. properties:
  5343. areauserid:
  5344. description: 所属机构
  5345. type: integer
  5346. convertfactor:
  5347. description: 标仓系数
  5348. type: number
  5349. createtime:
  5350. description: 创建时间
  5351. type: string
  5352. creatorid:
  5353. description: 创建人
  5354. type: integer
  5355. deliverygoodsid:
  5356. description: 现货品种ID
  5357. type: integer
  5358. enumdicname:
  5359. description: 品类单位名称
  5360. type: string
  5361. isvalid:
  5362. description: 是否有效 0-无效(停用) 1-有效(正常)
  5363. type: integer
  5364. minivalue:
  5365. description: 最小变动值
  5366. type: integer
  5367. minivaluedp:
  5368. description: 最小变动值小数位
  5369. type: integer
  5370. realminivalue:
  5371. description: 实际最小变动值
  5372. type: integer
  5373. realminivaluedp:
  5374. description: 实际最小变动值小数位
  5375. type: integer
  5376. remark:
  5377. description: 备注
  5378. type: string
  5379. unitid:
  5380. description: 品类单位ID
  5381. type: integer
  5382. updatetime:
  5383. description: 更新时间
  5384. type: string
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类ID(SEQ_WRSTANDARD)
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.ErmcpAreaSpotDetailModel:
  5396. properties:
  5397. contracttype:
  5398. description: 合同类型 1-采购 -1-销售
  5399. type: integer
  5400. createtime:
  5401. description: 创建时间
  5402. type: string
  5403. enumdicname:
  5404. description: 现货商品单位名称
  5405. type: string
  5406. logtype:
  5407. description: 记录类型 1-套保 2-现货合同
  5408. type: integer
  5409. qty:
  5410. description: 数量
  5411. type: number
  5412. recordname:
  5413. description: 类型名称
  5414. type: string
  5415. relatedid:
  5416. description: 套保计划ID/现货合同ID
  5417. type: string
  5418. relatedno:
  5419. description: 编号
  5420. type: string
  5421. strtime:
  5422. description: 时间
  5423. type: string
  5424. wrstandardcode:
  5425. description: 现货商品代码
  5426. type: string
  5427. wrstandardname:
  5428. description: 现货商品名称
  5429. type: string
  5430. type: object
  5431. models.ErmcpAvalidGoodsGroupModel:
  5432. properties:
  5433. goodsgroupid:
  5434. description: 期货品种id
  5435. type: integer
  5436. goodsgroupname:
  5437. description: 期货品种名称
  5438. type: string
  5439. goodunitid:
  5440. description: 品种单位id
  5441. type: integer
  5442. goodunitname:
  5443. description: 品种单位名称
  5444. type: string
  5445. outergroupcode:
  5446. description: 期货品种代码
  5447. type: string
  5448. type: object
  5449. models.ErmcpBizGroupEx:
  5450. properties:
  5451. acclist:
  5452. description: 账号列表
  5453. items:
  5454. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5455. type: array
  5456. bizgroupid:
  5457. description: 业务分组id
  5458. type: integer
  5459. biztype:
  5460. description: 业务类型 1-套保 2-套利
  5461. type: integer
  5462. wrlist:
  5463. description: 现货商品表
  5464. items:
  5465. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5466. type: array
  5467. type: object
  5468. models.ErmcpBizGroupSpotGoods:
  5469. properties:
  5470. areauserid:
  5471. description: 所属机构id
  5472. type: integer
  5473. bizgroupid:
  5474. description: 分组id
  5475. type: integer
  5476. biztype:
  5477. description: 业务类型 1-套保 2-套利
  5478. type: integer
  5479. deliverygoodscode:
  5480. description: 现货商品代码
  5481. type: string
  5482. deliverygoodsid:
  5483. description: 现货商品id
  5484. type: integer
  5485. deliverygoodsname:
  5486. description: 现货商品名称
  5487. type: string
  5488. unitid:
  5489. description: 现货商品单位id
  5490. type: integer
  5491. type: object
  5492. models.ErmcpBizGroupTaAccount:
  5493. properties:
  5494. accountid:
  5495. description: 账号id
  5496. type: integer
  5497. accountname:
  5498. description: 账号名称
  5499. type: string
  5500. areauserid:
  5501. description: 所属机构id
  5502. type: integer
  5503. bizgroupid:
  5504. description: 业务分组id
  5505. type: integer
  5506. ismain:
  5507. description: 是否主账号 1-是 0-否
  5508. type: integer
  5509. type: object
  5510. models.ErmcpDGFactoryItem:
  5511. properties:
  5512. areauserid:
  5513. description: 用户id
  5514. type: integer
  5515. deliverygoodsid:
  5516. description: 现货品种ID
  5517. type: integer
  5518. dgfactoryitemid:
  5519. description: 选择项ID(SEQ_DGFACTORYITEM)
  5520. type: integer
  5521. dgfactoryitemtypeid:
  5522. description: 要素项类型
  5523. type: integer
  5524. dgfactoryitemvalue:
  5525. description: 要素项值(类型为仓库时填写仓库名称)
  5526. type: string
  5527. isvalid:
  5528. description: 是否有效 - 0:无效 1:有效
  5529. type: integer
  5530. orderindex:
  5531. description: 顺序
  5532. type: integer
  5533. warehouseid:
  5534. description: 仓库ID(类型为仓库时填写)
  5535. type: integer
  5536. type: object
  5537. models.ErmcpDeliveryGoods:
  5538. properties:
  5539. agreeunit:
  5540. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5541. type: integer
  5542. areauserid:
  5543. description: 所属机构
  5544. type: integer
  5545. auditflag:
  5546. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5547. type: integer
  5548. categoryid:
  5549. description: 类别ID(SEQ_WRCATEGORY)
  5550. type: integer
  5551. deliverygoodscode:
  5552. description: 现货品种代码
  5553. type: string
  5554. deliverygoodsid:
  5555. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5556. type: integer
  5557. deliverygoodsname:
  5558. description: 现货品种名称
  5559. type: string
  5560. deliverygoodstype:
  5561. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5562. type: integer
  5563. dgstatus:
  5564. description: 品种状态 - 作废 - 0:未激活 1:正常
  5565. type: integer
  5566. enumdicname:
  5567. description: 现货品种单位名称
  5568. type: string
  5569. goodsunitid:
  5570. description: 现货品种单位ID
  5571. type: integer
  5572. isvalid:
  5573. description: 是否有效 - 0:无效 1:有效
  5574. type: integer
  5575. qtydecimalplace:
  5576. description: 成交量小数位
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. standardqty:
  5582. description: 标准数量(库位数量) [标准品特有]
  5583. type: integer
  5584. standardqtyrange:
  5585. description: 标准数量偏差范围 [标准品特有]
  5586. type: integer
  5587. type: object
  5588. models.ErmcpDeliveryGoodsDetail2:
  5589. properties:
  5590. convertratio:
  5591. description: 套保系数(折算系数)
  5592. type: number
  5593. data:
  5594. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5595. description: 现货商品基本信息(交割品种)
  5596. type: object
  5597. gblist:
  5598. description: 品牌列表
  5599. items:
  5600. $ref: '#/definitions/models.Ermcp3Brand'
  5601. type: array
  5602. gmlist:
  5603. description: 品类列表(仓单标准)
  5604. items:
  5605. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5606. type: array
  5607. type: object
  5608. models.ErmcpDeliveryGoodsDetailEx:
  5609. properties:
  5610. data:
  5611. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5612. description: 现货商品基本信息(交割品种)
  5613. type: object
  5614. gblist:
  5615. description: 品牌列表
  5616. items:
  5617. $ref: '#/definitions/models.Ermcp3Brand'
  5618. type: array
  5619. gmlist:
  5620. description: 品类列表(仓单标准)
  5621. items:
  5622. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5623. type: array
  5624. mgList:
  5625. description: 套保列表
  5626. items:
  5627. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5628. type: array
  5629. type: object
  5630. models.ErmcpExposureDetailModel:
  5631. properties:
  5632. areauserid:
  5633. description: 机构ID
  5634. type: integer
  5635. changeQty:
  5636. description: 套保变动量
  5637. type: number
  5638. contracttype:
  5639. description: 现货合同类型 - 1:采购 -1:销售
  5640. type: integer
  5641. convertfactor:
  5642. description: 标仓系数
  5643. type: number
  5644. convertratio:
  5645. description: 套保系数
  5646. type: number
  5647. createtime:
  5648. description: 时间
  5649. type: string
  5650. enumdicname:
  5651. description: 现货商品单位名称
  5652. type: string
  5653. logtype:
  5654. description: 类型 - 1:套保计划 2:现货合同
  5655. type: integer
  5656. middlegoodsId:
  5657. description: 套保商品id
  5658. type: integer
  5659. middlegoodscode:
  5660. description: 套保商品代码
  5661. type: string
  5662. middlegoodsname:
  5663. description: 套保商品名称
  5664. type: string
  5665. qty:
  5666. description: 数量
  5667. type: number
  5668. relateNo:
  5669. description: 现货合同/套保计划编号
  5670. type: string
  5671. wrstandardcode:
  5672. description: 现货商品代码
  5673. type: string
  5674. wrstandardid:
  5675. description: 现货商品ID
  5676. type: integer
  5677. wrstandardname:
  5678. description: 现货商品名称
  5679. type: string
  5680. type: object
  5681. models.ErmcpExposurePostion:
  5682. properties:
  5683. agreeunit:
  5684. description: 合约单位
  5685. type: string
  5686. areauserid:
  5687. description: 所属机构id
  5688. type: integer
  5689. convertratio:
  5690. description: 期货品种系数(折算系数)
  5691. type: number
  5692. curqty:
  5693. description: 当前持仓
  5694. type: integer
  5695. diffhedgeqty:
  5696. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5697. type: number
  5698. diffqty:
  5699. description: 持仓变动量=当前持仓-昨日持仓
  5700. type: integer
  5701. goodscode:
  5702. description: 商品代码
  5703. type: string
  5704. goodsid:
  5705. description: 商品id
  5706. type: integer
  5707. goodsname:
  5708. description: 商品名称
  5709. type: string
  5710. middlegoodsid:
  5711. description: 套保商品id
  5712. type: integer
  5713. ydqty:
  5714. description: 昨日持仓
  5715. type: integer
  5716. type: object
  5717. models.ErmcpFuturesCompany:
  5718. properties:
  5719. brokerid:
  5720. description: 经纪公司代码
  5721. type: string
  5722. channeladdress:
  5723. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5724. type: string
  5725. channelid:
  5726. description: 对冲渠道ID
  5727. type: string
  5728. createtime:
  5729. description: 创建时间
  5730. type: string
  5731. creatorid:
  5732. description: 创建人
  5733. type: string
  5734. fcid:
  5735. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5736. type: integer
  5737. fcname:
  5738. description: 期货公司名称
  5739. type: string
  5740. isvalid:
  5741. description: 是否有效 - 0:无效 1:有效
  5742. type: integer
  5743. mhpaddress:
  5744. description: MHP服务地址(IP:Port)
  5745. type: string
  5746. riskrulegroupid:
  5747. description: 风控规则组ID
  5748. type: string
  5749. tradefeetmpid:
  5750. description: 手续费模板ID[TradeConfigTmpType为2]
  5751. type: string
  5752. trademargintmpid:
  5753. description: 保证金模板ID [TradeConfigTmpType为1]
  5754. type: string
  5755. traderatetmpid:
  5756. description: 汇率模板ID[TradeConfigTmpType为3]
  5757. type: string
  5758. updatetime:
  5759. description: 更新时间
  5760. type: string
  5761. updatorid:
  5762. description: 更新人
  5763. type: string
  5764. type: object
  5765. models.ErmcpGGConvertCfg:
  5766. properties:
  5767. convertratio:
  5768. description: 折算系数
  5769. type: number
  5770. destgoodsgroupid:
  5771. description: 目标品种ID
  5772. type: integer
  5773. dstcode:
  5774. description: 目录品种代码
  5775. type: string
  5776. dstexchangecode:
  5777. description: 目标期货交易所
  5778. type: string
  5779. dstname:
  5780. description: 目标品种名称
  5781. type: string
  5782. dstunitid:
  5783. description: 目标品种单位ID
  5784. type: integer
  5785. dstunitidname:
  5786. description: 目标品种单位名称
  5787. type: string
  5788. modifytime:
  5789. description: 修改时间
  5790. type: string
  5791. srccode:
  5792. description: 源品种代码
  5793. type: string
  5794. srcexchangecode:
  5795. description: 源期货交易所
  5796. type: string
  5797. srcgoodsgroupid:
  5798. description: 源品种ID
  5799. type: integer
  5800. srcname:
  5801. description: 源品种名称
  5802. type: string
  5803. srcunitid:
  5804. description: 源品种单位ID
  5805. type: integer
  5806. srcunitidname:
  5807. description: 源品种单位名称
  5808. type: string
  5809. type: object
  5810. models.ErmcpGoods:
  5811. properties:
  5812. agreeunit:
  5813. description: 合约单位
  5814. type: number
  5815. areauserid:
  5816. description: 所属机构
  5817. type: integer
  5818. auditaccountid:
  5819. description: 审核操作员账号
  5820. type: integer
  5821. audittime:
  5822. description: 审核时间
  5823. type: string
  5824. cancelaccountid:
  5825. description: 注销操作员账号
  5826. type: integer
  5827. canceltime:
  5828. description: 注销时间
  5829. type: string
  5830. closepricemode:
  5831. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5832. type: integer
  5833. closepriceparam:
  5834. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5835. type: number
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: integer
  5842. currencyid:
  5843. description: 报价货币ID
  5844. type: integer
  5845. cutmode:
  5846. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5847. type: integer
  5848. decimalplace:
  5849. description: 报价小数位
  5850. type: integer
  5851. delistingdate:
  5852. description: 商品退市时间(状态:退市) -- 已作废
  5853. type: string
  5854. delistingmode:
  5855. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5856. type: integer
  5857. deliveryflag:
  5858. description: 交割标志 - 0:不可交割 1:可交割
  5859. type: integer
  5860. enumdicname:
  5861. description: 单位名称
  5862. type: string
  5863. forceclosemode:
  5864. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5865. type: integer
  5866. forceclosevalue:
  5867. description: 定期强平参数 [收益权]
  5868. type: integer
  5869. goodscode:
  5870. description: 商品代码(内部)
  5871. type: string
  5872. goodscurrencyid:
  5873. description: 合约货币ID
  5874. type: integer
  5875. goodsgroupid:
  5876. description: 所属商品组ID
  5877. type: integer
  5878. goodsid:
  5879. description: 商品ID(自增ID SEQ_GOODS)
  5880. type: integer
  5881. goodsname:
  5882. description: 商品名称
  5883. type: string
  5884. goodsquotetype:
  5885. description: '合约报价类型: 1-直接报价 2-间接报价'
  5886. type: integer
  5887. goodsstatus:
  5888. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5889. type: integer
  5890. goodstradetype:
  5891. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5892. type: integer
  5893. goodunitid:
  5894. description: 报价单位ID
  5895. type: integer
  5896. hasquoter:
  5897. description: 是否有报价商 - 0:无报价商 1:有报价商
  5898. type: integer
  5899. hqprotecttime:
  5900. description: 行情保护时间(秒)
  5901. type: integer
  5902. innerdealmode:
  5903. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5904. type: integer
  5905. isbuylimited:
  5906. description: 是否限制建仓量 - 0:不限制 1:限制
  5907. type: integer
  5908. isvisible:
  5909. description: 游客是否可见 - 0:不可见 1:可见
  5910. type: integer
  5911. lasttradedate:
  5912. description: 最后交易日期(状态:待退市)
  5913. type: string
  5914. listingdate:
  5915. description: 交易开始日期
  5916. type: string
  5917. marketid:
  5918. description: 所属市场ID
  5919. type: integer
  5920. modifierid:
  5921. description: 修改人
  5922. type: integer
  5923. modifystatus:
  5924. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5925. type: integer
  5926. modifytime:
  5927. description: 修改时间
  5928. type: string
  5929. outerdealmode:
  5930. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5931. type: integer
  5932. outgoodscode:
  5933. description: 商品代码(外部)
  5934. type: string
  5935. pictureurl:
  5936. description: 商品图片
  5937. type: string
  5938. qtydecimalplace:
  5939. description: 成交量小数位
  5940. type: integer
  5941. quotegear:
  5942. description: 行情档位(1-10)
  5943. type: integer
  5944. quoteminunit:
  5945. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5946. type: integer
  5947. quoteshowtype:
  5948. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5949. type: integer
  5950. quoteshowtypeinterval:
  5951. description: 行情报价间隔时间(秒)(成交价时为0)
  5952. type: integer
  5953. relatedgoodsid:
  5954. description: 关联参考商品ID
  5955. type: integer
  5956. remark:
  5957. description: 备注
  5958. type: string
  5959. trademode:
  5960. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5961. 21:竞拍-大宗式 22:受托竞价
  5962. type: integer
  5963. required:
  5964. - goodscode
  5965. - goodsid
  5966. - goodsname
  5967. - marketid
  5968. type: object
  5969. models.ErmcpGoodsBrand:
  5970. properties:
  5971. areauserid:
  5972. description: 所属机构
  5973. type: integer
  5974. brandid:
  5975. description: BrandID(SEQ_SPOTGOODSBRAND)
  5976. type: integer
  5977. brandname:
  5978. description: 品牌名称
  5979. type: string
  5980. createtime:
  5981. description: 创建时间
  5982. type: string
  5983. creatorid:
  5984. description: 创建人
  5985. type: integer
  5986. creatorsrc:
  5987. description: 创建人来源 - 1:管理端 2:终端
  5988. type: integer
  5989. deliverygoodsid:
  5990. description: 现货品种ID
  5991. type: integer
  5992. isvalid:
  5993. description: 是否有效 - 0:无效 1:有效
  5994. type: integer
  5995. updatetime:
  5996. description: 更新时间
  5997. type: string
  5998. updatorid:
  5999. description: 更新人
  6000. type: integer
  6001. updatorsrc:
  6002. description: 更新人来源 - 1:管理端 2:终端
  6003. type: integer
  6004. wrstandardid:
  6005. description: 现货商品ID
  6006. type: integer
  6007. type: object
  6008. models.ErmcpGoodsModel:
  6009. properties:
  6010. areauserid:
  6011. description: 所属机构
  6012. type: integer
  6013. convertfactor:
  6014. description: 标仓系数
  6015. type: number
  6016. createtime:
  6017. description: 创建时间
  6018. type: string
  6019. creatorid:
  6020. description: 创建人
  6021. type: integer
  6022. creatorsrc:
  6023. description: 创建人来源 - 1:管理端 2:终端
  6024. type: integer
  6025. deliverygoodsid:
  6026. description: 现货品种ID
  6027. type: integer
  6028. isvalid:
  6029. description: 是否有效 - 0:无效 1:有效
  6030. type: integer
  6031. modelid:
  6032. description: ModelID(SEQ_SPOTGOODSMODEL)
  6033. type: integer
  6034. modelname:
  6035. description: 型号名称
  6036. type: string
  6037. updatetime:
  6038. description: 更新时间
  6039. type: string
  6040. updatorid:
  6041. description: 更新人
  6042. type: integer
  6043. updatorsrc:
  6044. description: 更新人来源 - 1:管理端 2:终端
  6045. type: integer
  6046. wrstandardid:
  6047. description: 现货商品ID
  6048. type: integer
  6049. type: object
  6050. models.ErmcpHedgePosition:
  6051. properties:
  6052. accountid:
  6053. description: 资金账号[外部母账户]
  6054. type: integer
  6055. curbuyposition:
  6056. description: 期末买头寸
  6057. type: integer
  6058. cursellposition:
  6059. description: 期末卖头寸
  6060. type: integer
  6061. curtdbuyposition:
  6062. description: 期末今日买头寸
  6063. type: integer
  6064. curtdsellposition:
  6065. description: 期末今日卖头寸
  6066. type: integer
  6067. curydbuyposition:
  6068. description: 期末上日买头寸
  6069. type: integer
  6070. curydsellposition:
  6071. description: 期末上日卖头寸
  6072. type: integer
  6073. decreaseqty:
  6074. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6075. type: integer
  6076. fretdbuyposition:
  6077. description: 冻结今日买头寸
  6078. type: integer
  6079. fretdsellposition:
  6080. description: 冻结今日卖头寸
  6081. type: integer
  6082. freydbuyposition:
  6083. description: 冻结上日买头寸
  6084. type: integer
  6085. freydsellposition:
  6086. description: 冻结上日卖头寸
  6087. type: integer
  6088. goodscode:
  6089. description: 商品代码
  6090. type: string
  6091. goodsid:
  6092. description: 商品id
  6093. type: integer
  6094. goodsname:
  6095. description: 商品名称
  6096. type: string
  6097. hedgeaccountcode:
  6098. description: 对冲账号
  6099. type: string
  6100. hedgegoodsid:
  6101. description: 对冲合约ID
  6102. type: integer
  6103. increaseqty:
  6104. description: 增加数量 = 期末买头寸 - 期初买头寸
  6105. type: integer
  6106. marketid:
  6107. description: 市场ID
  6108. type: integer
  6109. relateduserid:
  6110. description: 关联用户id
  6111. type: integer
  6112. totalcurqty:
  6113. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6114. type: integer
  6115. totalydqty:
  6116. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6117. type: integer
  6118. tradedate:
  6119. description: 交易日(yyyyMMdd)
  6120. type: string
  6121. ydbuyposition:
  6122. description: 期初买头寸
  6123. type: integer
  6124. ydsellposition:
  6125. description: 期初卖头寸
  6126. type: integer
  6127. type: object
  6128. models.ErmcpHedgePositionDetail:
  6129. properties:
  6130. buyorsell:
  6131. description: 买卖方向 0-买 1-卖
  6132. type: integer
  6133. channelbuildtype:
  6134. description: 开平方向 1-建仓 2-平仓
  6135. type: integer
  6136. goodscode:
  6137. description: 商品代码
  6138. type: string
  6139. goodsname:
  6140. description: 商品名称
  6141. type: string
  6142. hedgegoodsid:
  6143. description: 商品id
  6144. type: integer
  6145. tradeqty:
  6146. description: 数量(成交数量)
  6147. type: integer
  6148. tradetime:
  6149. description: 时间(成交时间)
  6150. type: string
  6151. type: object
  6152. models.ErmcpHisExposure:
  6153. properties:
  6154. needhedgeexposoure:
  6155. description: 应套保敞口
  6156. type: number
  6157. reckondate:
  6158. description: 日照时期(yyyyMMdd)
  6159. type: string
  6160. totalexposure:
  6161. description: 总敞口
  6162. type: number
  6163. type: object
  6164. models.ErmcpHisExposureS:
  6165. properties:
  6166. data:
  6167. description: 历史敞口
  6168. items:
  6169. $ref: '#/definitions/models.ErmcpHisExposure'
  6170. type: array
  6171. enumdicname:
  6172. description: 单位名称
  6173. type: string
  6174. middlegoodscode:
  6175. description: 套保品种代码
  6176. type: string
  6177. middlegoodsid:
  6178. description: 套保品种ID
  6179. type: integer
  6180. middlegoodsname:
  6181. description: 套保品种名称
  6182. type: string
  6183. type: object
  6184. models.ErmcpLoginTaAccount:
  6185. properties:
  6186. accountid:
  6187. description: 账号id
  6188. type: integer
  6189. accountname:
  6190. description: 账号名称
  6191. type: string
  6192. type: object
  6193. models.ErmcpLoginUser:
  6194. properties:
  6195. acclist:
  6196. description: 关联资金账号
  6197. items:
  6198. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6199. type: array
  6200. accountname:
  6201. description: 用户名称
  6202. type: string
  6203. clientroleid:
  6204. description: 角色id(usertype=2)
  6205. type: integer
  6206. createtime:
  6207. description: 创建时间
  6208. type: string
  6209. logincode:
  6210. description: 登录代码
  6211. type: string
  6212. loginid:
  6213. description: 登录id(LOGINID)
  6214. type: integer
  6215. loginname:
  6216. description: 登录名称(loginaccount表中的accountname字段)
  6217. type: string
  6218. loginstatus:
  6219. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6220. type: integer
  6221. memberuserid:
  6222. description: 所属会员id
  6223. type: integer
  6224. mobile:
  6225. description: 手机号
  6226. type: string
  6227. modifytime:
  6228. description: 修改时间
  6229. type: string
  6230. password:
  6231. description: 密码(不可解密)
  6232. type: string
  6233. rolename:
  6234. description: 角色名称
  6235. type: string
  6236. rolestatus:
  6237. description: 角色状态 1-启用 2-停用
  6238. type: integer
  6239. roletype:
  6240. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6241. type: string
  6242. userid:
  6243. description: 用户id
  6244. type: integer
  6245. usertype:
  6246. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6247. type: integer
  6248. type: object
  6249. models.ErmcpLoginUserEx:
  6250. properties:
  6251. accountstatus:
  6252. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6253. type: integer
  6254. mobile:
  6255. description: 手机号
  6256. type: string
  6257. querytype:
  6258. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6259. type: integer
  6260. roleid:
  6261. description: 角色id(交易账户->用户id)
  6262. type: integer
  6263. rolename:
  6264. description: 角色名称(交易账户->用户名称)
  6265. type: string
  6266. userlist:
  6267. description: 用户列表
  6268. items:
  6269. $ref: '#/definitions/models.ErmcpLoginUser'
  6270. type: array
  6271. usertype:
  6272. description: 用户类型 2-机构 7-企业成员(云平台)
  6273. type: integer
  6274. type: object
  6275. models.ErmcpMiddleGoodsChangeLog:
  6276. properties:
  6277. aftervalue:
  6278. description: 变更后
  6279. type: number
  6280. applyid:
  6281. description: 操作人
  6282. type: integer
  6283. applyname:
  6284. description: 操作人名称
  6285. type: string
  6286. applysrc:
  6287. description: 操作来源 - 1:管理端 2:终端
  6288. type: integer
  6289. beforevalue:
  6290. description: 变更前
  6291. type: number
  6292. changelogtype:
  6293. description: 变更流水类型 - 1:套保比率变更
  6294. type: integer
  6295. handlestatus:
  6296. description: 处理状态
  6297. type: integer
  6298. logdatetime:
  6299. description: 流水日期
  6300. type: string
  6301. logid:
  6302. description: 流水ID
  6303. type: integer
  6304. logremark:
  6305. description: 流水备注
  6306. type: string
  6307. middlegoodsid:
  6308. description: 套保品种ID
  6309. type: integer
  6310. tradedate:
  6311. description: 交易日(yyyyMMdd)
  6312. type: string
  6313. updatetime:
  6314. description: 更新时间
  6315. type: string
  6316. type: object
  6317. models.ErmcpMiddleGoodsDetail:
  6318. properties:
  6319. cvList:
  6320. description: 期货品种折算列表
  6321. items:
  6322. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6323. type: array
  6324. mg:
  6325. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6326. description: 套保品种基本信息
  6327. type: object
  6328. wrcList:
  6329. description: 现货品种列表(现货商品折算配置)
  6330. items:
  6331. $ref: '#/definitions/models.WRSConverTDetail'
  6332. type: array
  6333. type: object
  6334. models.ErmcpMiddleGoodsModel:
  6335. properties:
  6336. areauserid:
  6337. description: 机构用户ID
  6338. type: integer
  6339. createtime:
  6340. description: 修改时间
  6341. type: string
  6342. enumdicname:
  6343. description: 单位名称
  6344. type: string
  6345. evaluateratio:
  6346. description: 估价系数
  6347. type: number
  6348. goodsgroupid:
  6349. description: 关联期货品种ID
  6350. type: integer
  6351. goodsunitid:
  6352. description: 单位ID
  6353. type: integer
  6354. isvalid:
  6355. description: 状态 0-无效(停用) 1-有效(正常)
  6356. type: integer
  6357. middlegoodscode:
  6358. description: 套保品种代码
  6359. type: string
  6360. middlegoodsid:
  6361. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6362. type: integer
  6363. middlegoodsname:
  6364. description: 套保品种名称
  6365. type: string
  6366. modifytime:
  6367. description: 修改时间
  6368. type: string
  6369. needarbitrageratio:
  6370. description: 套利比例
  6371. type: number
  6372. needhedgeratio:
  6373. description: 套保比率
  6374. type: number
  6375. qtydecimalplace:
  6376. description: 数量小数位
  6377. type: integer
  6378. relatedgoodsid:
  6379. description: 关联交易商品ID
  6380. type: integer
  6381. relatedgoodstype:
  6382. description: 关联商品类型 - 1:期货合约 2:现货品种
  6383. type: integer
  6384. remark:
  6385. description: 备注
  6386. type: string
  6387. type: object
  6388. models.ErmcpMiddlegoodsRelateGoods:
  6389. properties:
  6390. agreeunit:
  6391. description: 合约乘数
  6392. type: number
  6393. convertratio:
  6394. description: 折算系数
  6395. type: number
  6396. enumdicname:
  6397. description: 单位名称(交易商品)
  6398. type: string
  6399. goodscode:
  6400. description: 交易商品代码
  6401. type: string
  6402. goodsgroupid:
  6403. description: 交易品种id
  6404. type: integer
  6405. goodsid:
  6406. description: 商品Id
  6407. type: integer
  6408. goodsname:
  6409. description: 交易商品名称
  6410. type: string
  6411. goodunitid:
  6412. description: 交易商品单位id
  6413. type: integer
  6414. middlegoodsid:
  6415. description: 套保商品id
  6416. type: integer
  6417. middlegoodsname:
  6418. description: 套保商品名称
  6419. type: string
  6420. middlegoodsswcode:
  6421. description: 套保商品代码
  6422. type: string
  6423. needarbitrageratio:
  6424. description: 应套利比例
  6425. type: number
  6426. needhedgeratio:
  6427. description: 应套保比例
  6428. type: number
  6429. type: object
  6430. models.ErmcpOPLogModel:
  6431. properties:
  6432. aftervalue:
  6433. description: 变更后
  6434. type: number
  6435. applyid:
  6436. description: 操作人ID
  6437. type: string
  6438. applyname:
  6439. description: 操作人名称
  6440. type: string
  6441. beforevalue:
  6442. description: 变更前
  6443. type: number
  6444. biztype:
  6445. description: 业务类型 - 1:套保计划 2:现货合同
  6446. type: integer
  6447. contracttype:
  6448. description: 现货合同类型 - 1:采购 -1:销售
  6449. type: integer
  6450. logvalue:
  6451. description: 数值
  6452. type: number
  6453. operatelogtype:
  6454. description: 操作流水类型
  6455. type: integer
  6456. operatelogtypedesc:
  6457. description: 操作流水类型名称
  6458. type: string
  6459. relatedid:
  6460. description: 现货合同ID\套保计划
  6461. type: string
  6462. updatetime:
  6463. description: 更新时间
  6464. type: string
  6465. type: object
  6466. models.ErmcpPendingAudit:
  6467. properties:
  6468. areastockqty:
  6469. description: '待审核数量: 库存申请'
  6470. type: integer
  6471. businessdjqty:
  6472. description: '待审核数量: 点价'
  6473. type: integer
  6474. businessfpqty:
  6475. description: '待审核数量: 发票'
  6476. type: integer
  6477. businessjsqty:
  6478. description: '待审核数量: 结算'
  6479. type: integer
  6480. businesskxqty:
  6481. description: '待审核数量: 款项'
  6482. type: integer
  6483. hedgeplanqty:
  6484. description: '待审核数量: 套保计划'
  6485. type: integer
  6486. spotcontractqty:
  6487. description: '待审核数量: 现货合同'
  6488. type: integer
  6489. userqty:
  6490. description: '待审核数量: 用户'
  6491. type: integer
  6492. type: object
  6493. models.ErmcpRealExposureModel:
  6494. properties:
  6495. AreaUserID:
  6496. description: 所属机构
  6497. type: integer
  6498. BuyFutureQty:
  6499. description: 买入期货数量
  6500. type: number
  6501. BuyPlanQty:
  6502. description: 采购计划数量
  6503. type: number
  6504. BuyPricedQty:
  6505. description: 采购合同已定价数量
  6506. type: number
  6507. MiddleGoodsCode:
  6508. description: 套保品种代码
  6509. type: string
  6510. MiddleGoodsHedgeRatio:
  6511. description: 套保比例
  6512. type: number
  6513. MiddleGoodsID:
  6514. description: 套保品种
  6515. type: integer
  6516. MiddleGoodsName:
  6517. description: 套保品种名称
  6518. type: string
  6519. NeedHedgeExposoure:
  6520. description: 应套保敞口(套保敞口)
  6521. type: number
  6522. NeedHedgeRatio:
  6523. description: 应套保敞口比例
  6524. type: number
  6525. OriBuyFutureQty:
  6526. description: 期初买入期货数量
  6527. type: number
  6528. OriBuyPlanQty:
  6529. description: 期初采购计划数量
  6530. type: number
  6531. OriBuyPricedQty:
  6532. description: 期初采购合同已定价数量
  6533. type: number
  6534. OriSellFutureQty:
  6535. description: 期初卖出期货数量
  6536. type: number
  6537. OriSellPlanQty:
  6538. description: 期初销售计划数量
  6539. type: number
  6540. OriSellPricedQty:
  6541. description: 期初销售合同已定价数量
  6542. type: number
  6543. SellFutureQty:
  6544. description: 卖出期货数量
  6545. type: number
  6546. SellPlanQty:
  6547. description: 销售计划数量
  6548. type: number
  6549. SellPricedQty:
  6550. description: 销售合同已定价数量
  6551. type: number
  6552. TotalExposure:
  6553. description: 总敞口
  6554. type: number
  6555. TotalFutureQty:
  6556. description: 期货总量
  6557. type: number
  6558. TotalHedgeRatio:
  6559. description: 敞口比例
  6560. type: number
  6561. TotalNeedHedgeQty:
  6562. description: 应套保总量(现货应套保总量)
  6563. type: number
  6564. TotalSpotQty:
  6565. description: 现货总量
  6566. type: number
  6567. arbitrageqty:
  6568. description: 套利量
  6569. type: number
  6570. diffArbitrageQty:
  6571. description: 套利变动量
  6572. type: number
  6573. diffExposoureQty:
  6574. description: 变动量(套保敞口)
  6575. type: number
  6576. diffFutuQty:
  6577. description: 变动量(期货总量)
  6578. type: number
  6579. diffHedgeQty:
  6580. description: 套保变动量
  6581. type: number
  6582. diffQty:
  6583. description: 变动量(总敞口)
  6584. type: number
  6585. diffSpotHedgeQty:
  6586. description: 变动量(现货应套保总量)
  6587. type: number
  6588. diffSpotQty:
  6589. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6590. type: number
  6591. enumdicname:
  6592. description: 单位名称
  6593. type: string
  6594. hedgeqty:
  6595. description: 套保量
  6596. type: number
  6597. needarbitrageqty:
  6598. description: 应套利量
  6599. type: number
  6600. needarbitrageratio:
  6601. description: 套利比例
  6602. type: number
  6603. needhedgeqty:
  6604. description: 应套保量
  6605. type: number
  6606. oriTotalFutuQty:
  6607. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6608. type: number
  6609. oriTotalSpotQty:
  6610. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6611. type: number
  6612. oriarbitrageqty:
  6613. description: 期初套利量
  6614. type: number
  6615. orihedgeqty:
  6616. description: 期初套保量
  6617. type: number
  6618. orineedhedgeexposoure:
  6619. description: 期初套保敞口
  6620. type: number
  6621. oritotalexposure:
  6622. description: 期初总敞口
  6623. type: number
  6624. oritotalfutureqty:
  6625. description: 期初期货总量
  6626. type: number
  6627. oritotalneedhedgeqty:
  6628. description: 期初现货应套保量
  6629. type: number
  6630. type: object
  6631. models.ErmcpRole:
  6632. properties:
  6633. areauserid:
  6634. description: 所属机构
  6635. type: integer
  6636. autoid:
  6637. description: 角色ID(自增ID)
  6638. type: integer
  6639. modifierid:
  6640. description: 修改人(创建人)
  6641. type: integer
  6642. modifiername:
  6643. description: 修改人名称
  6644. type: string
  6645. modifytime:
  6646. description: 修改时间(创建时间)
  6647. type: string
  6648. rolename:
  6649. description: 角色名称
  6650. type: string
  6651. rolestatus:
  6652. description: 角色状态 - 1:启用 2:停用
  6653. type: integer
  6654. roletype:
  6655. description: 角色类型 - 1- 管理端 2- 交易端
  6656. type: integer
  6657. type: object
  6658. models.ErmcpRoleMenu:
  6659. properties:
  6660. iconame:
  6661. description: 菜单图标
  6662. type: string
  6663. ishadrole:
  6664. description: 是否有权限
  6665. type: boolean
  6666. menutype:
  6667. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6668. type: integer
  6669. parentcode:
  6670. description: 上级资源代码
  6671. type: string
  6672. remark:
  6673. description: 菜单备注
  6674. type: string
  6675. resourcecode:
  6676. description: 菜单代码
  6677. type: string
  6678. resourcelevel:
  6679. description: 级别
  6680. type: integer
  6681. resourcename:
  6682. description: 菜单名称
  6683. type: string
  6684. roleid:
  6685. description: 角色id
  6686. type: integer
  6687. sort:
  6688. description: 排序
  6689. type: integer
  6690. url:
  6691. description: URL
  6692. type: string
  6693. userid:
  6694. description: 用户id
  6695. type: integer
  6696. type: object
  6697. models.ErmcpRoleMenuEx:
  6698. properties:
  6699. menu:
  6700. $ref: '#/definitions/models.ErmcpRoleMenu'
  6701. description: 父级菜单
  6702. type: object
  6703. subMenu:
  6704. description: 子级菜单
  6705. items:
  6706. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6707. type: array
  6708. type: object
  6709. models.ErmcpTaAccount:
  6710. properties:
  6711. accountid:
  6712. description: 账户id
  6713. type: integer
  6714. accountname:
  6715. description: 账户名称
  6716. type: string
  6717. currencyid:
  6718. description: 币种id
  6719. type: integer
  6720. hedgeaccountcode:
  6721. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6722. type: string
  6723. ismain:
  6724. description: 是否主账户 0-否 1-是
  6725. type: integer
  6726. parentaccountid:
  6727. description: 父账户id
  6728. type: integer
  6729. relateduserid:
  6730. description: 关联userid
  6731. type: integer
  6732. tradefeetmpid:
  6733. description: 手续费模板id
  6734. type: integer
  6735. tradefeetmpname:
  6736. description: 手续费模板名称
  6737. type: string
  6738. trademargintmpid:
  6739. description: 保证金模板id
  6740. type: integer
  6741. trademargintmpname:
  6742. description: 保证金模板名称
  6743. type: string
  6744. traderatetmpid:
  6745. description: 汇率模板id
  6746. type: integer
  6747. traderatetmpname:
  6748. description: 汇率模板名称
  6749. type: string
  6750. tradestatus:
  6751. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6752. type: integer
  6753. userid:
  6754. description: 用户id
  6755. type: integer
  6756. type: object
  6757. models.ErmcpTaAccountEx:
  6758. properties:
  6759. mainAcc:
  6760. $ref: '#/definitions/models.ErmcpTaAccountM'
  6761. description: 主账号
  6762. type: object
  6763. subacclist:
  6764. description: 子账号列表
  6765. items:
  6766. $ref: '#/definitions/models.ErmcpTaAccount'
  6767. type: array
  6768. type: object
  6769. models.ErmcpTaAccountInfo:
  6770. properties:
  6771. accountid:
  6772. description: 资金账户ID
  6773. type: integer
  6774. accountname:
  6775. description: 账户名称
  6776. type: string
  6777. balance:
  6778. description: 期初余额
  6779. type: number
  6780. capitalbalance:
  6781. description: 本金余额[外部子账户实际出入金余额]
  6782. type: number
  6783. closepl:
  6784. description: 今日平仓盈亏
  6785. type: number
  6786. creditdecrease:
  6787. description: 今日授信减少
  6788. type: number
  6789. creditincrease:
  6790. description: 今日授信增加
  6791. type: number
  6792. curdebt:
  6793. description: 期末欠款
  6794. type: number
  6795. currencyid:
  6796. description: 货币ID
  6797. type: integer
  6798. currentbalance:
  6799. description: 期末余额
  6800. type: number
  6801. freezecharge:
  6802. description: 手续费冻结
  6803. type: number
  6804. freezemargin:
  6805. description: 冻结保证金
  6806. type: number
  6807. fromaccountid:
  6808. description: 所属上级账户
  6809. type: integer
  6810. inamount:
  6811. description: 今日入金金额(包括三方入金)
  6812. type: number
  6813. ismain:
  6814. description: 是否母账号 0:不是母账户 1:是母账户
  6815. type: integer
  6816. mortgagecredit:
  6817. description: 授信金额
  6818. type: number
  6819. oridebt:
  6820. description: 期初欠款
  6821. type: number
  6822. orifreezecharge:
  6823. description: 期初手续费冻结
  6824. type: number
  6825. orifreezemargin:
  6826. description: 期初冻结保证金
  6827. type: number
  6828. orimortgagecredit:
  6829. description: 期初授信金额
  6830. type: number
  6831. oriothercredit:
  6832. description: 期初其它授信金额
  6833. type: number
  6834. oriotherfreezemargin:
  6835. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6836. type: number
  6837. orioutamountfreeze:
  6838. description: 期初出金冻结
  6839. type: number
  6840. oriusedmargin:
  6841. description: 期初占用保证金
  6842. type: number
  6843. othercredit:
  6844. description: 其它授信金额
  6845. type: number
  6846. othercreditdecrease:
  6847. description: 今日其它授信减少
  6848. type: number
  6849. othercreditincrease:
  6850. description: 今日其它授信增加
  6851. type: number
  6852. otherfreezemargin:
  6853. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6854. type: number
  6855. outamount:
  6856. description: 今日出金金额(包括三方出金)
  6857. type: number
  6858. outamountfreeze:
  6859. description: 出金冻结
  6860. type: number
  6861. outthreshold:
  6862. description: 出金阈值
  6863. type: number
  6864. parentaccountid:
  6865. description: 所属根账号
  6866. type: integer
  6867. paycharge:
  6868. description: 今日手续费支出
  6869. type: number
  6870. relateduserid:
  6871. description: 关联用户
  6872. type: integer
  6873. signstatus:
  6874. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6875. type: integer
  6876. sublevelpath:
  6877. description: 账号层级路径(逗号分隔,首尾加逗号)
  6878. type: string
  6879. taaccounttype:
  6880. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6881. type: integer
  6882. thirdinamount:
  6883. description: 今日三方入金
  6884. type: number
  6885. thirdoutamount:
  6886. description: 今日三方出金
  6887. type: number
  6888. tradestatus:
  6889. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6890. type: integer
  6891. transferamount:
  6892. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6893. type: number
  6894. usedmargin:
  6895. description: 占用保证金
  6896. type: number
  6897. userid:
  6898. description: 用户ID
  6899. type: integer
  6900. type: object
  6901. models.ErmcpTaAccountM:
  6902. properties:
  6903. accountid:
  6904. description: 账户id
  6905. type: integer
  6906. accountname:
  6907. description: 账户名称
  6908. type: string
  6909. currencyid:
  6910. description: 币种id
  6911. type: integer
  6912. fcid:
  6913. description: 期货公司id
  6914. type: integer
  6915. fcname:
  6916. description: 期货公司代码
  6917. type: string
  6918. hedgeaccountcode:
  6919. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6920. type: string
  6921. ismain:
  6922. description: 是否主账户 0-否 1-是
  6923. type: integer
  6924. parentaccountid:
  6925. description: 父账户id
  6926. type: integer
  6927. relateduserid:
  6928. description: 关联userid
  6929. type: integer
  6930. tradefeetmpid:
  6931. description: 手续费模板id
  6932. type: integer
  6933. tradefeetmpname:
  6934. description: 手续费模板名称
  6935. type: string
  6936. trademargintmpid:
  6937. description: 保证金模板id
  6938. type: integer
  6939. trademargintmpname:
  6940. description: 保证金模板名称
  6941. type: string
  6942. traderatetmpid:
  6943. description: 汇率模板id
  6944. type: integer
  6945. traderatetmpname:
  6946. description: 汇率模板名称
  6947. type: string
  6948. tradestatus:
  6949. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6950. type: integer
  6951. userid:
  6952. description: 用户id
  6953. type: integer
  6954. type: object
  6955. models.ErmcpTradeConfigTMP:
  6956. properties:
  6957. areauserid:
  6958. description: 所属机构
  6959. type: integer
  6960. basiccurrencyid:
  6961. description: 基本币种ID[汇率] - 目标币种
  6962. type: integer
  6963. mainaccountid:
  6964. description: 主账户ID
  6965. type: integer
  6966. modifierid:
  6967. description: 修改人
  6968. type: integer
  6969. remark:
  6970. description: 备注
  6971. type: string
  6972. tradeconfigtmpid:
  6973. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6974. type: integer
  6975. tradeconfigtmpname:
  6976. description: 交易配置模板名称
  6977. type: string
  6978. tradeconfigtmptype:
  6979. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6980. type: integer
  6981. updatetime:
  6982. description: 更新时间
  6983. type: string
  6984. type: object
  6985. models.ErmcpUserModel:
  6986. properties:
  6987. address:
  6988. description: 通讯地址
  6989. type: string
  6990. attachment1:
  6991. description: 附件1
  6992. type: string
  6993. audittime:
  6994. description: 审核时间
  6995. type: string
  6996. cardbackphotourl:
  6997. description: 证件反面图片地址
  6998. type: string
  6999. cardfrontphotourl:
  7000. description: 证件正面图片地址
  7001. type: string
  7002. cardnum:
  7003. description: 证件号码
  7004. type: string
  7005. cardtype:
  7006. description: 证件类型
  7007. type: integer
  7008. cardtypename:
  7009. description: 证件类型名称
  7010. type: string
  7011. cityid:
  7012. description: 市
  7013. type: integer
  7014. contactname:
  7015. description: 联系人
  7016. type: string
  7017. countryid:
  7018. description: 国家
  7019. type: integer
  7020. createtime:
  7021. description: 创建时间
  7022. type: string
  7023. customername:
  7024. description: 企业名称
  7025. type: string
  7026. districtid:
  7027. description: 区域
  7028. type: integer
  7029. email:
  7030. description: 邮件
  7031. type: string
  7032. legalpersonname:
  7033. description: 法人姓名(企业)
  7034. type: string
  7035. memberuserid:
  7036. description: 所属机构ID
  7037. type: integer
  7038. mobile:
  7039. description: 手机号码
  7040. type: string
  7041. modifytime:
  7042. description: 修改时间
  7043. type: string
  7044. nickname:
  7045. description: 昵称
  7046. type: string
  7047. provinceid:
  7048. description: 省
  7049. type: integer
  7050. remark:
  7051. description: 备注
  7052. type: string
  7053. status:
  7054. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7055. type: integer
  7056. statusdesc:
  7057. description: 账户状态中文描述
  7058. type: string
  7059. taxpayernum:
  7060. description: 纳税人识别号
  7061. type: string
  7062. telphone:
  7063. description: 联系电话
  7064. type: string
  7065. userid:
  7066. description: 用户ID
  7067. type: integer
  7068. userinfotype:
  7069. description: 客户类型
  7070. type: string
  7071. type: object
  7072. models.ErmcpWareHouseInfo:
  7073. properties:
  7074. address:
  7075. description: 详细地址
  7076. type: string
  7077. areauserid:
  7078. description: 所属机构
  7079. type: integer
  7080. autoid:
  7081. description: 自增ID(仓库ID)
  7082. type: integer
  7083. cityid:
  7084. description: 市
  7085. type: integer
  7086. contactname:
  7087. description: 联系人
  7088. type: string
  7089. contactnum:
  7090. description: 联系电话
  7091. type: string
  7092. countryid:
  7093. description: 国家
  7094. type: integer
  7095. createtime:
  7096. description: 创建时间
  7097. type: string
  7098. districtid:
  7099. description: 区
  7100. type: integer
  7101. hasvideo:
  7102. description: 是否有视频 - 0:无 1:有
  7103. type: integer
  7104. provinceid:
  7105. description: 省
  7106. type: integer
  7107. remark:
  7108. description: 审核备注
  7109. type: string
  7110. videourl:
  7111. description: 视频地址
  7112. type: string
  7113. warehousecode:
  7114. description: 仓库代码
  7115. type: string
  7116. warehousename:
  7117. description: 仓库名称
  7118. type: string
  7119. warehousestatus:
  7120. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7121. type: integer
  7122. warehousetype:
  7123. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7124. type: integer
  7125. type: object
  7126. models.Externalexchange:
  7127. properties:
  7128. autoid:
  7129. description: AutoID - SEQ_EXTERNALEXCHANGE
  7130. type: integer
  7131. exchangefullname:
  7132. description: 外部交易所全称
  7133. type: string
  7134. exexchangecode:
  7135. description: 外部交易所代码
  7136. type: string
  7137. exexchangename:
  7138. description: 外部交易所名称(简称)
  7139. type: string
  7140. ismarketprice:
  7141. description: 是否支持市价 - 0:不支持 1:支持
  7142. type: integer
  7143. quotegear:
  7144. description: 行情档位(1-10)
  7145. type: integer
  7146. showbrokerflag:
  7147. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7148. type: integer
  7149. updatetime:
  7150. description: 更新时间
  7151. type: string
  7152. required:
  7153. - autoid
  7154. type: object
  7155. models.Funcmenulist:
  7156. properties:
  7157. iconame:
  7158. description: 菜单图标
  7159. type: string
  7160. menutype:
  7161. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7162. type: integer
  7163. parentcode:
  7164. description: 上级资源代码
  7165. type: string
  7166. remark:
  7167. description: 备注
  7168. type: string
  7169. resourcecode:
  7170. description: 资源代码
  7171. type: string
  7172. resourcelevel:
  7173. description: 级别 1-一级 2-二级 3-三级 4-四级
  7174. type: integer
  7175. resourcename:
  7176. description: 资源名
  7177. type: string
  7178. sort:
  7179. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7180. type: integer
  7181. url:
  7182. description: URL
  7183. type: string
  7184. required:
  7185. - resourcecode
  7186. type: object
  7187. models.Goods:
  7188. properties:
  7189. agreeunit:
  7190. description: 合约单位
  7191. type: number
  7192. areauserid:
  7193. description: 所属机构
  7194. type: integer
  7195. auditaccountid:
  7196. description: 审核操作员账号
  7197. type: integer
  7198. audittime:
  7199. description: 审核时间
  7200. type: string
  7201. cancelaccountid:
  7202. description: 注销操作员账号
  7203. type: integer
  7204. canceltime:
  7205. description: 注销时间
  7206. type: string
  7207. closepricemode:
  7208. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7209. type: integer
  7210. closepriceparam:
  7211. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7212. type: number
  7213. createtime:
  7214. description: 创建时间
  7215. type: string
  7216. creatorid:
  7217. description: 创建人
  7218. type: integer
  7219. currencyid:
  7220. description: 报价货币ID
  7221. type: integer
  7222. cutmode:
  7223. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7224. type: integer
  7225. decimalplace:
  7226. description: 报价小数位
  7227. type: integer
  7228. delistingdate:
  7229. description: 商品退市时间(状态:退市) -- 已作废
  7230. type: string
  7231. delistingmode:
  7232. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7233. type: integer
  7234. deliveryflag:
  7235. description: 交割标志 - 0:不可交割 1:可交割
  7236. type: integer
  7237. forceclosemode:
  7238. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7239. type: integer
  7240. forceclosevalue:
  7241. description: 定期强平参数 [收益权]
  7242. type: integer
  7243. goodscode:
  7244. description: 商品代码(内部)
  7245. type: string
  7246. goodscurrencyid:
  7247. description: 合约货币ID
  7248. type: integer
  7249. goodsgroupid:
  7250. description: 所属商品组ID
  7251. type: integer
  7252. goodsid:
  7253. description: 商品ID(自增ID SEQ_GOODS)
  7254. type: integer
  7255. goodsname:
  7256. description: 商品名称
  7257. type: string
  7258. goodsquotetype:
  7259. description: '合约报价类型: 1-直接报价 2-间接报价'
  7260. type: integer
  7261. goodsstatus:
  7262. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7263. type: integer
  7264. goodstradetype:
  7265. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7266. type: integer
  7267. goodunitid:
  7268. description: 报价单位ID
  7269. type: integer
  7270. hasquoter:
  7271. description: 是否有报价商 - 0:无报价商 1:有报价商
  7272. type: integer
  7273. hqprotecttime:
  7274. description: 行情保护时间(秒)
  7275. type: integer
  7276. innerdealmode:
  7277. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7278. type: integer
  7279. isbuylimited:
  7280. description: 是否限制建仓量 - 0:不限制 1:限制
  7281. type: integer
  7282. isvisible:
  7283. description: 游客是否可见 - 0:不可见 1:可见
  7284. type: integer
  7285. lasttradedate:
  7286. description: 最后交易日期(状态:待退市)
  7287. type: string
  7288. listingdate:
  7289. description: 交易开始日期
  7290. type: string
  7291. marketid:
  7292. description: 所属市场ID
  7293. type: integer
  7294. modifierid:
  7295. description: 修改人
  7296. type: integer
  7297. modifystatus:
  7298. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7299. type: integer
  7300. modifytime:
  7301. description: 修改时间
  7302. type: string
  7303. outerdealmode:
  7304. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7305. type: integer
  7306. outgoodscode:
  7307. description: 商品代码(外部)
  7308. type: string
  7309. pictureurl:
  7310. description: 商品图片
  7311. type: string
  7312. qtydecimalplace:
  7313. description: 成交量小数位
  7314. type: integer
  7315. quotegear:
  7316. description: 行情档位(1-10)
  7317. type: integer
  7318. quoteminunit:
  7319. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7320. type: integer
  7321. quoteshowtype:
  7322. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7323. type: integer
  7324. quoteshowtypeinterval:
  7325. description: 行情报价间隔时间(秒)(成交价时为0)
  7326. type: integer
  7327. remark:
  7328. description: 备注
  7329. type: string
  7330. required:
  7331. - goodscode
  7332. - goodsid
  7333. - goodsname
  7334. - marketid
  7335. type: object
  7336. models.GoodsIDAndName:
  7337. properties:
  7338. goodscode:
  7339. description: 商品代码(内部)
  7340. type: string
  7341. goodsid:
  7342. description: 商品ID(自增ID SEQ_GOODS)
  7343. type: integer
  7344. goodsname:
  7345. description: 商品名称
  7346. type: string
  7347. marketid:
  7348. description: 所属市场ID
  7349. type: integer
  7350. required:
  7351. - goodscode
  7352. - goodsid
  7353. - goodsname
  7354. - marketid
  7355. type: object
  7356. models.Goodsgroup:
  7357. properties:
  7358. agreeunit:
  7359. description: 合约单位
  7360. type: number
  7361. canshort:
  7362. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7363. type: integer
  7364. closepricemode:
  7365. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7366. type: integer
  7367. closepriceparam:
  7368. description: 强平最新价浮动比例 - 方式为2时使用
  7369. type: number
  7370. createtime:
  7371. description: 创建时间
  7372. type: string
  7373. creatorid:
  7374. description: 创建人
  7375. type: integer
  7376. currencyid:
  7377. description: 报价货币ID
  7378. type: integer
  7379. decimalplace:
  7380. description: 报价小数位
  7381. type: integer
  7382. exercisetype:
  7383. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7384. type: integer
  7385. exexchangeid:
  7386. description: 外部交易所ID[通道交易]
  7387. type: integer
  7388. goodsgroupid:
  7389. description: 商品组ID(自增ID)
  7390. type: integer
  7391. goodsgroupname:
  7392. description: 商品组名称
  7393. type: string
  7394. goodsgroupstatus:
  7395. description: 商品组状态 - 1:正常 2:注销
  7396. type: integer
  7397. goodunitid:
  7398. description: 报价单位ID
  7399. type: integer
  7400. innerdealmode:
  7401. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7402. type: integer
  7403. isbuylimited:
  7404. description: 是否限制建仓量 - 0:不限制 1:限制
  7405. type: integer
  7406. marketid:
  7407. description: 所属市场ID
  7408. type: integer
  7409. modifierid:
  7410. description: 修改人
  7411. type: integer
  7412. modifytime:
  7413. description: 修改时间
  7414. type: string
  7415. outerdealmode:
  7416. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7417. type: integer
  7418. outergroupcode:
  7419. description: 外部商品组代码[通道交易]
  7420. type: string
  7421. premiumdecimalplace:
  7422. description: 权利金小数位[场外期权]
  7423. type: integer
  7424. premiumspreadalgorithm:
  7425. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7426. type: integer
  7427. premiumspreadvalue:
  7428. description: 权利金点差值[场外期权]
  7429. type: number
  7430. qtydecimalplace:
  7431. description: 成交量小数位
  7432. type: integer
  7433. quotegear:
  7434. description: 行情档位(1-10)
  7435. type: integer
  7436. quoteminunit:
  7437. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7438. type: integer
  7439. quoterid:
  7440. description: 报价商ID[场外期权]
  7441. type: integer
  7442. quotesourcegroupid:
  7443. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7444. type: integer
  7445. syncgoodsqty:
  7446. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7447. type: integer
  7448. required:
  7449. - goodsgroupid
  7450. - goodsgroupname
  7451. - goodsgroupstatus
  7452. - marketid
  7453. type: object
  7454. models.Goodssortbypreposition:
  7455. properties:
  7456. goodscode:
  7457. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7458. type: string
  7459. goodsgroupcode:
  7460. description: 品种代码
  7461. type: string
  7462. prepositionqty:
  7463. description: 昨持仓量
  7464. type: integer
  7465. sortindex:
  7466. description: 排序
  7467. type: integer
  7468. tradedate:
  7469. description: 交易日
  7470. type: string
  7471. updatetime:
  7472. description: 更新时间
  7473. type: string
  7474. required:
  7475. - goodscode
  7476. - tradedate
  7477. type: object
  7478. models.Hedgeinnerholderdetail:
  7479. properties:
  7480. accountid:
  7481. description: 账号ID
  7482. type: integer
  7483. buyorsell:
  7484. description: 方向 - 0:买 1:卖
  7485. type: integer
  7486. freezeqty:
  7487. description: 冻结数量 - 按单平使用
  7488. type: integer
  7489. goodsid:
  7490. description: 商品ID
  7491. type: integer
  7492. holderamount:
  7493. description: 持仓金额 [商品币种]
  7494. type: number
  7495. holderdays:
  7496. description: 剩余冻结天数
  7497. type: integer
  7498. holderprice:
  7499. description: 持仓价格
  7500. type: number
  7501. holderqty:
  7502. description: 持仓数量
  7503. type: integer
  7504. marketid:
  7505. description: 市场ID
  7506. type: integer
  7507. openprice:
  7508. description: 建仓价格
  7509. type: number
  7510. openqty:
  7511. description: 建仓数量
  7512. type: integer
  7513. parentaccountid:
  7514. description: 所属母账户
  7515. type: integer
  7516. releaseamount:
  7517. description: 释放持仓金额[商品币种]
  7518. type: number
  7519. tradeamount:
  7520. description: 成交金额[账户]
  7521. type: number
  7522. tradedate:
  7523. description: 交易日(yyyyMMdd)
  7524. type: string
  7525. tradeid:
  7526. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7527. type: string
  7528. tradetime:
  7529. description: 交易时间
  7530. type: string
  7531. required:
  7532. - buyorsell
  7533. - tradeid
  7534. type: object
  7535. models.Hedgemarketopenlog:
  7536. properties:
  7537. accountid:
  7538. description: 资金账号[外部母账户]
  7539. type: integer
  7540. fcname:
  7541. description: 期货公司名称
  7542. type: string
  7543. handlestatus:
  7544. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7545. type: integer
  7546. marketid:
  7547. description: 市场ID
  7548. type: integer
  7549. status:
  7550. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7551. type: integer
  7552. tradedate:
  7553. description: 交易日(yyyyMMdd)
  7554. type: string
  7555. updatetime:
  7556. description: 更新时间
  7557. type: string
  7558. required:
  7559. - accountid
  7560. type: object
  7561. models.HsbyBuyMyPayOrder:
  7562. properties:
  7563. agreeunit:
  7564. description: 合约单位
  7565. type: number
  7566. buyaccountid:
  7567. description: 买方账号ID[报价币种]
  7568. type: integer
  7569. buyorderid:
  7570. description: 买方委托单号
  7571. type: string
  7572. createtime:
  7573. description: 创建时间
  7574. type: string
  7575. currencysign:
  7576. description: 货币符号
  7577. type: string
  7578. decimalplace:
  7579. description: 报价小数位
  7580. type: integer
  7581. goodscode:
  7582. description: 商品代码(内部)
  7583. type: string
  7584. goodsid:
  7585. description: 商品ID
  7586. type: integer
  7587. goodsname:
  7588. description: 商品名称
  7589. type: string
  7590. marketid:
  7591. description: 市场ID
  7592. type: integer
  7593. offamount:
  7594. description: 优惠金额
  7595. type: number
  7596. originalamount:
  7597. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7598. type: number
  7599. payamount:
  7600. description: 支付金额 = TradeAmount + TradeCharge
  7601. type: number
  7602. payflag:
  7603. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7604. type: integer
  7605. paylimitedtime:
  7606. description: 支付期限
  7607. type: string
  7608. paytime:
  7609. description: 付款时间
  7610. type: string
  7611. picurls1:
  7612. description: 预售商品介绍图片[多张用逗号分隔]
  7613. type: string
  7614. picurls2:
  7615. description: 挂牌商品介绍图片[多张用逗号分隔]
  7616. type: string
  7617. sellaccountid:
  7618. description: 卖方账号ID[报价币种]
  7619. type: integer
  7620. sellorderid:
  7621. description: 卖方委托单号
  7622. type: string
  7623. tradeamount:
  7624. description: 成交金额
  7625. type: number
  7626. tradecharge:
  7627. description: 成交手续费(买方)
  7628. type: number
  7629. tradedate:
  7630. description: 交易日(yyyyMMdd)
  7631. type: string
  7632. tradeid:
  7633. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7634. type: string
  7635. trademode:
  7636. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7637. 21:竞拍-大宗式 22:受托竞价
  7638. type: integer
  7639. tradeprice:
  7640. description: 成交价格
  7641. type: number
  7642. tradeqty:
  7643. description: 成交数量
  7644. type: integer
  7645. vendorname1:
  7646. description: 预售商品供应商名称
  7647. type: string
  7648. vendorname2:
  7649. description: 挂牌商品供应商名称
  7650. type: string
  7651. required:
  7652. - goodscode
  7653. - goodsname
  7654. - tradeid
  7655. - trademode
  7656. type: object
  7657. models.HsbyBuyMyTradeDetail:
  7658. properties:
  7659. accountid:
  7660. description: 账户ID[报价币种]
  7661. type: integer
  7662. agreeunit:
  7663. description: 合约单位
  7664. type: number
  7665. amount:
  7666. description: 金额 = 价格 * 数量 * 合约单位
  7667. type: number
  7668. buyorsell:
  7669. description: 买卖 - 0:买 1:卖
  7670. type: integer
  7671. currencysign:
  7672. description: 货币符号
  7673. type: string
  7674. decimalplace:
  7675. description: 报价小数位
  7676. type: integer
  7677. goodscode:
  7678. description: 商品代码(内部)
  7679. type: string
  7680. goodsid:
  7681. description: 商品ID
  7682. type: integer
  7683. goodsname:
  7684. description: 商品名称
  7685. type: string
  7686. marketid:
  7687. description: 市场ID
  7688. type: integer
  7689. orderamount:
  7690. description: 委托金额
  7691. type: number
  7692. orderid:
  7693. description: 单号(成交单号)
  7694. type: string
  7695. picurls1:
  7696. description: 预售商品介绍图片[多张用逗号分隔]
  7697. type: string
  7698. picurls2:
  7699. description: 挂牌商品介绍图片[多张用逗号分隔]
  7700. type: string
  7701. price:
  7702. description: 价格
  7703. type: number
  7704. qty:
  7705. description: 数量
  7706. type: integer
  7707. time:
  7708. description: 时间
  7709. type: string
  7710. trademode:
  7711. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7712. 21:竞拍-大宗式 22:受托竞价
  7713. type: integer
  7714. vendorname1:
  7715. description: 预售商品供应商名称
  7716. type: string
  7717. vendorname2:
  7718. description: 挂牌商品供应商名称
  7719. type: string
  7720. required:
  7721. - accountid
  7722. - buyorsell
  7723. - goodscode
  7724. - goodsid
  7725. - goodsname
  7726. - marketid
  7727. - orderid
  7728. - qty
  7729. - time
  7730. - trademode
  7731. type: object
  7732. models.HsbyGoodsOrderDetail:
  7733. properties:
  7734. buyorsell:
  7735. description: 买卖 - 0:买 1:卖
  7736. type: integer
  7737. currencysign:
  7738. description: 货币符号
  7739. type: string
  7740. customername:
  7741. description: 客户名称(企业名称),已脱敏
  7742. type: string
  7743. enableqty:
  7744. description: 可用数量
  7745. type: integer
  7746. goodunit:
  7747. description: 报价单位
  7748. type: string
  7749. orderid:
  7750. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. orderprice:
  7753. description: 委托价格
  7754. type: number
  7755. ordertime:
  7756. description: 委托时间
  7757. type: string
  7758. required:
  7759. - buyorsell
  7760. - orderid
  7761. - ordertime
  7762. type: object
  7763. models.HsbyListingGoodsDetail:
  7764. properties:
  7765. agreeunit:
  7766. description: 合约单位
  7767. type: number
  7768. buymaxqty:
  7769. description: 购买上限 [71] - 0为不限
  7770. type: integer
  7771. currency:
  7772. description: 货币
  7773. type: string
  7774. currencysign:
  7775. description: 货币符号
  7776. type: string
  7777. decimalplace:
  7778. description: 报价小数位
  7779. type: integer
  7780. desccityid:
  7781. description: 目的地(市)ID
  7782. type: integer
  7783. descprovinceid:
  7784. description: 目的地(省)ID
  7785. type: integer
  7786. goodscode:
  7787. description: 商品代码(内部)
  7788. type: string
  7789. goodsdesc:
  7790. description: 商品详情
  7791. type: string
  7792. goodsid:
  7793. description: 商品ID(自增ID SEQ_GOODS)
  7794. type: integer
  7795. goodsname:
  7796. description: 商品名称
  7797. type: string
  7798. goodsprice:
  7799. description: 商品价格
  7800. type: number
  7801. hotindex:
  7802. description: 景点热度
  7803. type: integer
  7804. last:
  7805. description: 现价
  7806. type: number
  7807. limitdown:
  7808. description: 跌停价
  7809. type: number
  7810. limitup:
  7811. description: 涨停价
  7812. type: number
  7813. lotsize:
  7814. description: 手数最小变动单位
  7815. type: integer
  7816. marketid:
  7817. description: 所属市场ID
  7818. type: integer
  7819. picurls:
  7820. description: 介绍图片[多张用逗号分隔]
  7821. type: string
  7822. quoteminunit:
  7823. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7824. type: integer
  7825. stepvalue:
  7826. description: 价格最小变动单位
  7827. type: number
  7828. trademode:
  7829. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7830. 21:竞拍-大宗式 22:受托竞价
  7831. type: integer
  7832. vendorattr:
  7833. description: 供应商附件(多张,逗号分隔)
  7834. type: string
  7835. vendorname:
  7836. description: 供应商名称
  7837. type: string
  7838. vendorphone:
  7839. description: 供应商客服电话
  7840. type: string
  7841. videourls:
  7842. description: 介绍视频[多张用逗号分隔]
  7843. type: string
  7844. required:
  7845. - goodscode
  7846. - goodsid
  7847. - goodsname
  7848. - marketid
  7849. - trademode
  7850. type: object
  7851. models.HsbyMarketGoods:
  7852. properties:
  7853. accountid:
  7854. description: 账户ID[报价币种]
  7855. type: integer
  7856. agreeunit:
  7857. description: 合约单位
  7858. type: number
  7859. buyorsell:
  7860. description: 买卖 - 0:买 1:卖
  7861. type: integer
  7862. categoryid:
  7863. description: 类别ID(WRCATEGORY)
  7864. type: integer
  7865. currency:
  7866. description: 货币
  7867. type: string
  7868. currencysign:
  7869. description: 货币符号
  7870. type: string
  7871. customername:
  7872. description: 卖家名称
  7873. type: string
  7874. decimalplace:
  7875. description: 报价小数位
  7876. type: integer
  7877. goodscode:
  7878. description: 商品代码(内部)
  7879. type: string
  7880. goodsid:
  7881. description: 商品ID
  7882. type: integer
  7883. goodsname:
  7884. description: 商品名称
  7885. type: string
  7886. goodsprice:
  7887. description: 商品价格
  7888. type: number
  7889. hascoupon:
  7890. description: 是否可用优惠卷
  7891. type: boolean
  7892. hotindex:
  7893. description: 景点热度
  7894. type: integer
  7895. marketid:
  7896. description: 市场ID
  7897. type: integer
  7898. orderid:
  7899. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7900. type: string
  7901. orderprice:
  7902. description: 委托价格
  7903. type: number
  7904. orderstatus:
  7905. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7906. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7907. 16:成交失败违约(荷兰式竞拍专用)
  7908. type: integer
  7909. picurls:
  7910. description: 介绍图片[多张用逗号分隔]
  7911. type: string
  7912. quoteminunit:
  7913. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7914. type: integer
  7915. sellUserID:
  7916. description: 卖方UserID
  7917. type: integer
  7918. trademode:
  7919. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7920. 21:竞拍-大宗式 22:受托竞价
  7921. type: integer
  7922. videourls:
  7923. description: 介绍视频[多张用逗号分隔]
  7924. type: string
  7925. required:
  7926. - accountid
  7927. - buyorsell
  7928. - goodscode
  7929. - goodsid
  7930. - goodsname
  7931. - marketid
  7932. - orderid
  7933. - trademode
  7934. type: object
  7935. models.HsbyMarketGoodsDetail:
  7936. properties:
  7937. accountid:
  7938. description: 账户ID[报价币种]
  7939. type: integer
  7940. agreeunit:
  7941. description: 合约单位
  7942. type: number
  7943. buymaxqty:
  7944. description: 购买上限 [71] - 0为不限
  7945. type: integer
  7946. buyorsell:
  7947. description: 买卖 - 0:买 1:卖
  7948. type: integer
  7949. cancelqty:
  7950. description: 撤单数量
  7951. type: integer
  7952. categoryid:
  7953. description: 类别ID(WRCATEGORY)
  7954. type: integer
  7955. currency:
  7956. description: 货币
  7957. type: string
  7958. currencysign:
  7959. description: 货币符号
  7960. type: string
  7961. customername:
  7962. description: 卖家名称
  7963. type: string
  7964. decimalplace:
  7965. description: 报价小数位
  7966. type: integer
  7967. goodscode:
  7968. description: 商品代码(内部)
  7969. type: string
  7970. goodsdesc:
  7971. description: 商品详情
  7972. type: string
  7973. goodsid:
  7974. description: 商品ID
  7975. type: integer
  7976. goodsname:
  7977. description: 商品名称
  7978. type: string
  7979. goodsprice:
  7980. description: 商品价格
  7981. type: number
  7982. hotindex:
  7983. description: 景点热度
  7984. type: integer
  7985. lotsize:
  7986. description: 手数最小变动单位
  7987. type: integer
  7988. marketid:
  7989. description: 市场ID
  7990. type: integer
  7991. orderid:
  7992. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7993. type: string
  7994. orderprice:
  7995. description: 委托价格
  7996. type: number
  7997. orderqty:
  7998. description: 委托数量
  7999. type: integer
  8000. orderstatus:
  8001. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8002. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8003. 16:成交失败违约(荷兰式竞拍专用)
  8004. type: integer
  8005. picurls:
  8006. description: 介绍图片[多张用逗号分隔]
  8007. type: string
  8008. quoteminunit:
  8009. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8010. type: integer
  8011. sellUserID:
  8012. description: 卖方UserID
  8013. type: integer
  8014. trademode:
  8015. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8016. 21:竞拍-大宗式 22:受托竞价
  8017. type: integer
  8018. tradeqty:
  8019. description: 成交数量
  8020. type: integer
  8021. vendorattr:
  8022. description: 供应商附件(多张,逗号分隔)
  8023. type: string
  8024. vendorname:
  8025. description: 供应商名称
  8026. type: string
  8027. vendorphone:
  8028. description: 供应商客服电话
  8029. type: string
  8030. videourls:
  8031. description: 介绍视频[多张用逗号分隔]
  8032. type: string
  8033. required:
  8034. - accountid
  8035. - buyorsell
  8036. - goodscode
  8037. - goodsid
  8038. - goodsname
  8039. - marketid
  8040. - orderid
  8041. - orderqty
  8042. - trademode
  8043. type: object
  8044. models.HsbyMarketInfo:
  8045. properties:
  8046. marketid:
  8047. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8048. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8049. type: integer
  8050. marketname:
  8051. description: 市场名称
  8052. type: string
  8053. marketstatus:
  8054. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8055. type: integer
  8056. trademode:
  8057. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8058. 21:竞拍-大宗式 22:受托竞价
  8059. type: integer
  8060. required:
  8061. - marketid
  8062. - marketstatus
  8063. - trademode
  8064. type: object
  8065. models.HsbyMyGoods:
  8066. properties:
  8067. accountid:
  8068. description: 账号Id
  8069. type: integer
  8070. agreeunit:
  8071. description: 合约单位
  8072. type: number
  8073. buyaverageprice:
  8074. description: 持仓均价
  8075. type: number
  8076. buycurholderamount:
  8077. description: 买当前持仓总金额[商品币种]
  8078. type: number
  8079. buycurpositionqty:
  8080. description: 买当前持仓总数量
  8081. type: integer
  8082. buymaxqty:
  8083. description: 购买上限 [71] - 0为不限
  8084. type: integer
  8085. currencysign:
  8086. description: 货币符号
  8087. type: string
  8088. decimalplace:
  8089. description: 报价小数位
  8090. type: integer
  8091. enableqty:
  8092. description: 可用数量
  8093. type: integer
  8094. goodscode:
  8095. description: 商品代码(内部)
  8096. type: string
  8097. goodsid:
  8098. description: 商品Id
  8099. type: integer
  8100. goodsname:
  8101. description: 商品名称
  8102. type: string
  8103. goodsprice:
  8104. description: 商品价格
  8105. type: number
  8106. goodsstatus:
  8107. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8108. type: integer
  8109. last:
  8110. description: 现价(仅使用于挂牌点选)
  8111. type: number
  8112. limitdown:
  8113. description: 跌停价(仅使用于挂牌点选)
  8114. type: number
  8115. limitup:
  8116. description: 涨停价(仅使用于挂牌点选)
  8117. type: number
  8118. lotsize:
  8119. description: 手数最小变动单位
  8120. type: integer
  8121. marketid:
  8122. description: 所属市场ID
  8123. type: integer
  8124. picurls:
  8125. description: 介绍图片[多张用逗号分隔]
  8126. type: string
  8127. quoteminunit:
  8128. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8129. type: integer
  8130. stepvalue:
  8131. description: 价格最小变动单位
  8132. type: number
  8133. trademode:
  8134. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8135. 21:竞拍-大宗式 22:受托竞价
  8136. type: integer
  8137. required:
  8138. - accountid
  8139. - goodscode
  8140. - goodsid
  8141. - goodsname
  8142. - marketid
  8143. - trademode
  8144. type: object
  8145. models.HsbyMyPackage:
  8146. properties:
  8147. accountid:
  8148. description: 账户ID
  8149. type: integer
  8150. address:
  8151. description: 提货人详细地址
  8152. type: string
  8153. agreeunit:
  8154. description: 合约单位
  8155. type: number
  8156. amount:
  8157. description: 提货金额
  8158. type: number
  8159. auditer:
  8160. description: 审核人
  8161. type: integer
  8162. audittime:
  8163. description: 审核时间
  8164. type: string
  8165. averageprice:
  8166. description: 均价
  8167. type: number
  8168. cardnum:
  8169. description: 提货人证件号码
  8170. type: string
  8171. cardtypeid:
  8172. description: 提货人证件类型
  8173. type: integer
  8174. checkremark:
  8175. description: 审核备注
  8176. type: string
  8177. currencysign:
  8178. description: 货币符号
  8179. type: string
  8180. decimalplace:
  8181. description: 报价小数位
  8182. type: integer
  8183. goodscode:
  8184. description: 商品代码(内部)
  8185. type: string
  8186. goodsid:
  8187. description: 商品ID
  8188. type: integer
  8189. goodsname:
  8190. description: 商品名称
  8191. type: string
  8192. handlestatus:
  8193. description: 处理状态
  8194. type: integer
  8195. marketid:
  8196. description: 市场ID
  8197. type: integer
  8198. phonenum:
  8199. description: 提货人联系方式
  8200. type: string
  8201. picurls:
  8202. description: 介绍图片[多张用逗号分隔]
  8203. type: string
  8204. qty:
  8205. description: 提货数量
  8206. type: number
  8207. recivername:
  8208. description: 提货人姓名
  8209. type: string
  8210. reqtime:
  8211. description: 更新时间
  8212. type: string
  8213. takemode:
  8214. description: 提货方式 - 2:自提 3:配送
  8215. type: integer
  8216. takeorderid:
  8217. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8218. type: string
  8219. takeorderstatus:
  8220. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8221. type: integer
  8222. takeremark:
  8223. description: 提货备注
  8224. type: string
  8225. tradedate:
  8226. description: 交易日(yyyyMMdd)
  8227. type: string
  8228. trademode:
  8229. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8230. 21:竞拍-大宗式 22:受托竞价
  8231. type: integer
  8232. userid:
  8233. description: 用户ID
  8234. type: integer
  8235. vendorname:
  8236. description: 供应商名称
  8237. type: string
  8238. required:
  8239. - goodscode
  8240. - goodsname
  8241. - takeorderid
  8242. - trademode
  8243. type: object
  8244. models.HsbyPreGoods:
  8245. properties:
  8246. agreeunit:
  8247. description: 合约单位
  8248. type: number
  8249. currency:
  8250. description: 货币
  8251. type: string
  8252. currencysign:
  8253. description: 货币符号
  8254. type: string
  8255. decimalplace:
  8256. description: 报价小数位
  8257. type: integer
  8258. desccityid:
  8259. description: 目的地(市)
  8260. type: integer
  8261. descprovinceid:
  8262. description: 目的地(省)
  8263. type: integer
  8264. enableqty:
  8265. description: 剩余数量
  8266. type: integer
  8267. goodscode:
  8268. description: 商品代码(内部)
  8269. type: string
  8270. goodsid:
  8271. description: 商品ID(自增ID SEQ_GOODS)
  8272. type: integer
  8273. goodsname:
  8274. description: 商品名称
  8275. type: string
  8276. goodsstatus:
  8277. description: 商品状态- 2:未上市 3:上市
  8278. type: integer
  8279. lasttradedate:
  8280. description: 最后交易日期(状态:待退市)
  8281. type: string
  8282. listingdate:
  8283. description: 交易开始日期
  8284. type: string
  8285. marketid:
  8286. description: 所属市场ID
  8287. type: integer
  8288. picurls:
  8289. description: 介绍图片[多张用逗号分隔]
  8290. type: string
  8291. presaledqty:
  8292. description: 已预售量(预售结束时更新)
  8293. type: integer
  8294. presaleqty:
  8295. description: 预售数量
  8296. type: integer
  8297. quoteminunit:
  8298. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8299. type: integer
  8300. refprice:
  8301. description: 参考价格[一口价]
  8302. type: number
  8303. relatedgoodsid:
  8304. description: 关联交易合约ID
  8305. type: integer
  8306. trademode:
  8307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8308. 21:竞拍-大宗式 22:受托竞价
  8309. type: integer
  8310. videourls:
  8311. description: 介绍视频[多张用逗号分隔]
  8312. type: string
  8313. required:
  8314. - goodscode
  8315. - goodsid
  8316. - goodsname
  8317. - marketid
  8318. - trademode
  8319. type: object
  8320. models.HsbyPreGoodsDetail:
  8321. properties:
  8322. agreeunit:
  8323. description: 合约单位
  8324. type: number
  8325. buymaxqty:
  8326. description: 购买上限 [71] - 0为不限
  8327. type: integer
  8328. currency:
  8329. description: 货币
  8330. type: string
  8331. currencysign:
  8332. description: 货币符号
  8333. type: string
  8334. customername:
  8335. description: 发行单位
  8336. type: string
  8337. decimalplace:
  8338. description: 报价小数位
  8339. type: integer
  8340. desccityid:
  8341. description: 目的地(市)ID
  8342. type: integer
  8343. descprovinceid:
  8344. description: 目的地(省)ID
  8345. type: integer
  8346. enableqty:
  8347. description: 剩余数量
  8348. type: integer
  8349. goodscode:
  8350. description: 商品代码(内部)
  8351. type: string
  8352. goodsdesc:
  8353. description: 商品详情
  8354. type: string
  8355. goodsid:
  8356. description: 商品ID(自增ID SEQ_GOODS)
  8357. type: integer
  8358. goodsname:
  8359. description: 商品名称
  8360. type: string
  8361. goodsstatus:
  8362. description: 商品状态- 2:未上市 3:上市
  8363. type: integer
  8364. goodunit:
  8365. description: 报价单位
  8366. type: string
  8367. lasttradedate:
  8368. description: 最后交易日期(状态:待退市)
  8369. type: string
  8370. listingdate:
  8371. description: 交易开始日期
  8372. type: string
  8373. lotsize:
  8374. description: 手数最小变动单位
  8375. type: integer
  8376. marketid:
  8377. description: 所属市场ID
  8378. type: integer
  8379. picurls:
  8380. description: 介绍图片[多张用逗号分隔]
  8381. type: string
  8382. presaledqty:
  8383. description: 已预售量(预售结束时更新)
  8384. type: integer
  8385. presaleqty:
  8386. description: 预售数量
  8387. type: integer
  8388. quoteminunit:
  8389. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8390. type: integer
  8391. refprice:
  8392. description: 参考价格[一口价]
  8393. type: number
  8394. relatedgoodsid:
  8395. description: 关联交易合约ID
  8396. type: integer
  8397. stepvalue:
  8398. description: 价格最小变动单位
  8399. type: number
  8400. trademode:
  8401. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8402. 21:竞拍-大宗式 22:受托竞价
  8403. type: integer
  8404. vendorattr:
  8405. description: 供应商附件(多张,逗号分隔)
  8406. type: string
  8407. vendorname:
  8408. description: 供应商名称
  8409. type: string
  8410. vendorphone:
  8411. description: 供应商客服电话
  8412. type: string
  8413. videourls:
  8414. description: 介绍视频[多张用逗号分隔]
  8415. type: string
  8416. required:
  8417. - goodscode
  8418. - goodsid
  8419. - goodsname
  8420. - marketid
  8421. - trademode
  8422. type: object
  8423. models.HsbySellCollectionOrder:
  8424. properties:
  8425. agreeunit:
  8426. description: 合约单位
  8427. type: number
  8428. buyaccountid:
  8429. description: 买方账号ID[报价币种]
  8430. type: integer
  8431. buyorderid:
  8432. description: 买方委托单号
  8433. type: string
  8434. createtime:
  8435. description: 创建时间
  8436. type: string
  8437. currencysign:
  8438. description: 货币符号
  8439. type: string
  8440. decimalplace:
  8441. description: 报价小数位
  8442. type: integer
  8443. goodscode:
  8444. description: 商品代码(内部)
  8445. type: string
  8446. goodsid:
  8447. description: 商品ID
  8448. type: integer
  8449. goodsname:
  8450. description: 商品名称
  8451. type: string
  8452. marketid:
  8453. description: 市场ID
  8454. type: integer
  8455. offamount:
  8456. description: 优惠金额
  8457. type: number
  8458. payamount:
  8459. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8460. type: number
  8461. payflag:
  8462. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8463. type: integer
  8464. paylimitedtime:
  8465. description: 支付期限
  8466. type: string
  8467. paytime:
  8468. description: 付款时间
  8469. type: string
  8470. picurls:
  8471. description: 商品介绍图片[多张用逗号分隔]
  8472. type: string
  8473. sellaccountid:
  8474. description: 卖方账号ID[报价币种]
  8475. type: integer
  8476. sellorderid:
  8477. description: 卖方委托单号
  8478. type: string
  8479. tradeamount:
  8480. description: 成交金额
  8481. type: number
  8482. tradecharge:
  8483. description: 成交手续费(买方)
  8484. type: number
  8485. tradedate:
  8486. description: 交易日(yyyyMMdd)
  8487. type: string
  8488. tradeid:
  8489. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8490. type: string
  8491. trademode:
  8492. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8493. 21:竞拍-大宗式 22:受托竞价
  8494. type: integer
  8495. tradeprice:
  8496. description: 成交价格
  8497. type: number
  8498. tradeqty:
  8499. description: 成交数量
  8500. type: integer
  8501. required:
  8502. - goodscode
  8503. - goodsname
  8504. - tradeid
  8505. - trademode
  8506. type: object
  8507. models.HsbySellMyDetail:
  8508. properties:
  8509. accountid:
  8510. description: 账户ID[报价币种]
  8511. type: integer
  8512. agreeunit:
  8513. description: 合约单位
  8514. type: number
  8515. buyorsell:
  8516. description: 买卖 - 0:买 1:卖
  8517. type: integer
  8518. currencysign:
  8519. description: 货币符号
  8520. type: string
  8521. decimalplace:
  8522. description: 报价小数位
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码(内部)
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. marketid:
  8534. description: 市场ID
  8535. type: integer
  8536. orderid:
  8537. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8538. type: string
  8539. ordertype:
  8540. description: 单据类型:0 - 发布中, 1 - 已完成
  8541. type: integer
  8542. picurls:
  8543. description: 介绍图片[多张用逗号分隔]
  8544. type: string
  8545. price:
  8546. description: 价格
  8547. type: number
  8548. qty:
  8549. description: 数量
  8550. type: integer
  8551. time:
  8552. description: 时间
  8553. type: string
  8554. trademode:
  8555. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8556. 21:竞拍-大宗式 22:受托竞价
  8557. type: integer
  8558. vendorname:
  8559. description: 供应商名称
  8560. type: string
  8561. required:
  8562. - accountid
  8563. - buyorsell
  8564. - goodscode
  8565. - goodsid
  8566. - goodsname
  8567. - marketid
  8568. - orderid
  8569. - time
  8570. - trademode
  8571. type: object
  8572. models.HsbyTopGoods:
  8573. properties:
  8574. agreeunit:
  8575. description: 合约单位
  8576. type: number
  8577. currency:
  8578. description: 货币
  8579. type: string
  8580. currencysign:
  8581. description: 货币符号
  8582. type: string
  8583. decimalplace:
  8584. description: 报价小数位
  8585. type: integer
  8586. desccityid:
  8587. description: 目的地(市)
  8588. type: integer
  8589. descprovinceid:
  8590. description: 目的地(省)
  8591. type: integer
  8592. goodscode:
  8593. description: 商品代码(内部)
  8594. type: string
  8595. goodsid:
  8596. description: 商品ID(自增ID SEQ_GOODS)
  8597. type: integer
  8598. goodsname:
  8599. description: 商品名称
  8600. type: string
  8601. hotindex:
  8602. description: 景点热度
  8603. type: integer
  8604. last:
  8605. description: 现价
  8606. type: number
  8607. marketid:
  8608. description: 所属市场ID
  8609. type: integer
  8610. picurls:
  8611. description: 介绍图片[多张用逗号分隔]
  8612. type: string
  8613. quoteminunit:
  8614. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8615. type: integer
  8616. trademode:
  8617. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8618. 21:竞拍-大宗式 22:受托竞价
  8619. type: integer
  8620. videourls:
  8621. description: 介绍视频[多张用逗号分隔]
  8622. type: string
  8623. required:
  8624. - goodscode
  8625. - goodsid
  8626. - goodsname
  8627. - marketid
  8628. - trademode
  8629. type: object
  8630. models.HybsMyBuyOrderDetail:
  8631. properties:
  8632. accountid:
  8633. description: 账户ID[报价币种]
  8634. type: integer
  8635. agreeunit:
  8636. description: 合约单位
  8637. type: number
  8638. buyorsell:
  8639. description: 买卖 - 0:买 1:卖
  8640. type: integer
  8641. cancelqty:
  8642. description: 撤单数量
  8643. type: integer
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. decimalplace:
  8648. description: 报价小数位
  8649. type: integer
  8650. goodscode:
  8651. description: 商品代码(内部)
  8652. type: string
  8653. goodsid:
  8654. description: 商品ID
  8655. type: integer
  8656. goodsname:
  8657. description: 商品名称
  8658. type: string
  8659. listingselecttype:
  8660. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8661. type: integer
  8662. marketid:
  8663. description: 市场ID
  8664. type: integer
  8665. mybuystatus:
  8666. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8667. type: integer
  8668. orderamount:
  8669. description: 委托金额
  8670. type: number
  8671. orderid:
  8672. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8673. type: string
  8674. orderprice:
  8675. description: 委托价格
  8676. type: number
  8677. orderqty:
  8678. description: 委托数量
  8679. type: integer
  8680. orderstatus:
  8681. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8682. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8683. 16:成交失败违约(荷兰式竞拍专用)
  8684. type: integer
  8685. ordertime:
  8686. description: 委托时间
  8687. type: string
  8688. picurls1:
  8689. description: 预售商品介绍图片[多张用逗号分隔]
  8690. type: string
  8691. picurls2:
  8692. description: 挂牌商品介绍图片[多张用逗号分隔]
  8693. type: string
  8694. trademode:
  8695. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8696. 21:竞拍-大宗式 22:受托竞价
  8697. type: integer
  8698. tradeqty:
  8699. description: 成交数量
  8700. type: integer
  8701. vendorname1:
  8702. description: 预售商品供应商名称
  8703. type: string
  8704. vendorname2:
  8705. description: 挂牌商品供应商名称
  8706. type: string
  8707. required:
  8708. - accountid
  8709. - buyorsell
  8710. - goodscode
  8711. - goodsid
  8712. - goodsname
  8713. - marketid
  8714. - orderid
  8715. - orderqty
  8716. - ordertime
  8717. - trademode
  8718. type: object
  8719. models.Loginaccount:
  8720. properties:
  8721. canoutin:
  8722. description: 是否可出入金 - 0:不可 1:可
  8723. type: integer
  8724. clientroleid:
  8725. description: 终端角色ID
  8726. type: integer
  8727. haslogined:
  8728. description: 是否已登录 - 0:未登录 1:已登录
  8729. type: integer
  8730. hasupdatedpwd:
  8731. description: 是否已更改密码 - 0:未修改 1:已修改
  8732. type: integer
  8733. lastloginip:
  8734. description: 最新登录地址
  8735. type: string
  8736. lastloginmode:
  8737. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8738. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8739. type: integer
  8740. lastloginremark:
  8741. description: 最新登录描述
  8742. type: string
  8743. lastlogintime:
  8744. description: 最新登录时间
  8745. type: string
  8746. logincode:
  8747. description: 登录代码
  8748. type: string
  8749. loginfailnum:
  8750. description: 连续登录失败次数(登录成功时清零)
  8751. type: integer
  8752. loginid:
  8753. description: 登陆账号
  8754. type: integer
  8755. loginport:
  8756. description: 最新登录端口
  8757. type: integer
  8758. loginstatus:
  8759. description: 登录账号状态 1:正常 2:冻结 3:无效
  8760. type: integer
  8761. loginusertype:
  8762. description: 登录账号类型 - 1:投资者 2:机构交易员
  8763. type: integer
  8764. modifierid:
  8765. description: 修改人
  8766. type: integer
  8767. modifytime:
  8768. description: 修改时间
  8769. type: string
  8770. pwdwrongcount:
  8771. description: 密码错误次数
  8772. type: integer
  8773. taaccountrighttype:
  8774. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8775. type: integer
  8776. unfreezetime:
  8777. description: 账户解冻时间
  8778. type: string
  8779. userid:
  8780. description: 用户ID
  8781. type: integer
  8782. required:
  8783. - loginid
  8784. type: object
  8785. models.MainAccountInfo:
  8786. properties:
  8787. accountid:
  8788. description: 账号id
  8789. type: integer
  8790. accountname:
  8791. description: 账号名称(taaccount表中的名称)
  8792. type: string
  8793. appid:
  8794. description: AppID
  8795. type: string
  8796. authcode:
  8797. description: 授权码
  8798. type: string
  8799. brokerid:
  8800. description: 经纪商id
  8801. type: string
  8802. fcid:
  8803. description: 期货公司id
  8804. type: integer
  8805. fcname:
  8806. description: 期货公司代码
  8807. type: string
  8808. hedgeaccountcode:
  8809. description: 外部账号代码(主账号登录代码)
  8810. type: string
  8811. hedgeaccountpwd:
  8812. description: 密码
  8813. type: string
  8814. ismain:
  8815. description: 是否主账号
  8816. type: integer
  8817. relateduserid:
  8818. description: 关联用户id
  8819. type: integer
  8820. userid:
  8821. description: 关联用户id
  8822. type: integer
  8823. type: object
  8824. models.Market:
  8825. properties:
  8826. auctionwrtype:
  8827. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8828. type: integer
  8829. canacceptquote:
  8830. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8831. type: integer
  8832. cangoodsexercise:
  8833. description: '[期权]是否可现货行权- 0:否 1:是'
  8834. type: integer
  8835. cangoodsexercisetype:
  8836. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8837. type: integer
  8838. canmanualquotestrike:
  8839. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8840. type: integer
  8841. canmutistage:
  8842. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8843. type: integer
  8844. canpreexercise:
  8845. description: '[期权]是否可预申报- 0:否 1:是'
  8846. type: integer
  8847. clearinterval:
  8848. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8849. type: integer
  8850. contracttmp:
  8851. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8852. type: string
  8853. exchareaid:
  8854. description: 所属交易所,可以没有
  8855. type: integer
  8856. goodstype:
  8857. description: 商品类型 - 1:交易商品 2:仓单商品
  8858. type: integer
  8859. hasrebate:
  8860. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8861. type: integer
  8862. hastradecredit:
  8863. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8864. type: integer
  8865. haswr:
  8866. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8867. type: integer
  8868. isdeductmargin:
  8869. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8870. type: integer
  8871. isrecordsource:
  8872. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8873. type: integer
  8874. isreleasemargin:
  8875. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8876. type: integer
  8877. marginformula:
  8878. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8879. type: integer
  8880. marginformula2:
  8881. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8882. type: integer
  8883. marketid:
  8884. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8885. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8886. type: integer
  8887. marketname:
  8888. description: 市场名称
  8889. type: string
  8890. marketserviceid:
  8891. description: 市场服务ID
  8892. type: integer
  8893. marketstatus:
  8894. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8895. type: integer
  8896. markettype:
  8897. description: 市场类型- 1:非交易服务 2:交易服务
  8898. type: integer
  8899. matchermode:
  8900. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8901. type: integer
  8902. openmethod:
  8903. description: 开盘模式 - 0 自动 1手动
  8904. type: integer
  8905. otcuserid:
  8906. description: 场外期权做市商[场外期权]
  8907. type: integer
  8908. outersynctime:
  8909. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8910. type: string
  8911. pendingflag:
  8912. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8913. type: integer
  8914. pendingtime:
  8915. description: 待开市时间[通道交易-对冲](HH:mm)
  8916. type: string
  8917. performancetempid:
  8918. description: 履约计划模板ID - 作废
  8919. type: integer
  8920. premiumquotemode:
  8921. description: 权利金报价方式 - 1:自动 2:手动
  8922. type: integer
  8923. rebateratio:
  8924. description: 返利比率[竞价式]
  8925. type: number
  8926. reckonorder:
  8927. description: 结算顺序
  8928. type: integer
  8929. reckonpricealgorithm:
  8930. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8931. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8932. type: integer
  8933. reckonpriceparam:
  8934. description: 结算价参数
  8935. type: integer
  8936. reckontime:
  8937. description: 结算时间[通道交易-对冲](HH:mm)
  8938. type: string
  8939. roleprioritytype:
  8940. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8941. type: integer
  8942. selllistingauditflag:
  8943. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8944. type: integer
  8945. trademarkettype:
  8946. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8947. type: integer
  8948. trademode:
  8949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8950. 21:竞拍-大宗式 22:受托竞价
  8951. type: integer
  8952. tradeproperty:
  8953. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8954. 8:场外期权
  8955. type: integer
  8956. tradetype:
  8957. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8958. type: integer
  8959. required:
  8960. - marketid
  8961. - marketstatus
  8962. - openmethod
  8963. - reckonpricealgorithm
  8964. - trademode
  8965. - tradeproperty
  8966. type: object
  8967. models.Marketrun:
  8968. properties:
  8969. afternexttradedate:
  8970. description: 下下交易日
  8971. type: string
  8972. clearquoteflag:
  8973. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8974. type: integer
  8975. lastreckondate:
  8976. description: 最新交易日(结算成功)
  8977. type: string
  8978. machinedate:
  8979. description: 机器时间
  8980. type: string
  8981. manualflag:
  8982. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8983. type: integer
  8984. marketid:
  8985. description: 市场ID
  8986. type: integer
  8987. nexttradedate:
  8988. description: 下一交易日
  8989. type: string
  8990. pretradedate:
  8991. description: 上一交易日
  8992. type: string
  8993. reckonflag:
  8994. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8995. type: integer
  8996. runstatus:
  8997. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8998. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8999. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9000. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9001. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9002. 62.今日免清算
  9003. type: integer
  9004. sectionid:
  9005. description: 时间段号[多时段时用]
  9006. type: integer
  9007. tradedate:
  9008. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9009. type: string
  9010. tradedate2:
  9011. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9012. type: string
  9013. updatetime:
  9014. description: 更新时间
  9015. type: string
  9016. required:
  9017. - marketid
  9018. - nexttradedate
  9019. - reckonflag
  9020. - runstatus
  9021. - tradedate
  9022. - tradedate2
  9023. type: object
  9024. models.Messageboard:
  9025. properties:
  9026. contactnum:
  9027. description: 联系电话
  9028. type: string
  9029. createtime:
  9030. description: 创建时间
  9031. type: string
  9032. message:
  9033. description: 留言信息
  9034. type: string
  9035. messageboardid:
  9036. description: 留言簿ID(SEQ_MessageBoard)
  9037. type: integer
  9038. userid:
  9039. description: 用户ID
  9040. type: integer
  9041. required:
  9042. - messageboardid
  9043. type: object
  9044. models.MyCoupon:
  9045. properties:
  9046. accountid:
  9047. description: 资金账户ID
  9048. type: integer
  9049. areauserid:
  9050. description: 所属机构
  9051. type: integer
  9052. conditionvalue:
  9053. description: 条件阈值(可为0)
  9054. type: number
  9055. couponcategroy:
  9056. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9057. type: integer
  9058. couponname:
  9059. description: 优惠券名称
  9060. type: string
  9061. coupontypeid:
  9062. description: 优惠券类型ID
  9063. type: string
  9064. couponvalue:
  9065. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9066. type: number
  9067. curfreezeqty:
  9068. description: 期末冻结数量
  9069. type: integer
  9070. curqty:
  9071. description: 期末数量
  9072. type: integer
  9073. isgeneral:
  9074. description: 是否通用券 - 0:否 1:是
  9075. type: integer
  9076. isunusable:
  9077. description: 是否不可用
  9078. type: boolean
  9079. limitedflag:
  9080. description: 是否指定商品 - 0:不限 1:限制
  9081. type: integer
  9082. limitedgoodsids:
  9083. description: 指定商品IDs[逗号分隔,前后加逗号]
  9084. type: string
  9085. orifreezeqty:
  9086. description: 期初冻结数量
  9087. type: integer
  9088. oriqty:
  9089. description: 期初数量
  9090. type: integer
  9091. reasontype:
  9092. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9093. type: integer
  9094. todaydecrease:
  9095. description: 今日减少
  9096. type: integer
  9097. todayincrease:
  9098. description: 今日增加
  9099. type: integer
  9100. userid:
  9101. description: 用户ID
  9102. type: integer
  9103. userscope:
  9104. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9105. type: string
  9106. required:
  9107. - accountid
  9108. - coupontypeid
  9109. type: object
  9110. models.MyCouponHold:
  9111. properties:
  9112. accountid:
  9113. description: 资金账户ID
  9114. type: integer
  9115. conditionvalue:
  9116. description: 条件阈值(可为0)
  9117. type: number
  9118. couponcategroy:
  9119. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9120. type: integer
  9121. couponholdid:
  9122. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9123. type: string
  9124. couponname:
  9125. description: 优惠券名称
  9126. type: string
  9127. coupontypeid:
  9128. description: 优惠券类型ID - SEQ_COUPONTYPE
  9129. type: string
  9130. couponvalue:
  9131. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9132. type: number
  9133. createtime:
  9134. description: 创建时间
  9135. type: string
  9136. enddate:
  9137. description: 结束日期
  9138. type: string
  9139. giveapplyid:
  9140. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9141. type: integer
  9142. holdstatus:
  9143. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9144. type: integer
  9145. isgeneral:
  9146. description: 是否通用券 - 0:否 1:是
  9147. type: integer
  9148. limitedflag:
  9149. description: 是否指定商品 - 0:不限 1:限制
  9150. type: integer
  9151. limitedgoodsids:
  9152. description: 指定商品IDs[逗号分隔]
  9153. type: string
  9154. qty:
  9155. description: 数量(按1平铺)
  9156. type: integer
  9157. startdate:
  9158. description: 开始日期
  9159. type: string
  9160. userid:
  9161. description: 用户ID
  9162. type: integer
  9163. userscope:
  9164. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9165. type: string
  9166. required:
  9167. - couponholdid
  9168. type: object
  9169. models.MyUsedCoupon:
  9170. properties:
  9171. accountid:
  9172. description: 资金账户ID(买方)
  9173. type: integer
  9174. conditionvalue:
  9175. description: 条件阈值(可为0)
  9176. type: number
  9177. couponcategroy:
  9178. description: 种类 - 1:现金券 2:折扣券
  9179. type: integer
  9180. couponname:
  9181. description: 优惠券名称
  9182. type: string
  9183. coupontypeid:
  9184. description: 优惠券类型ID(买方)
  9185. type: string
  9186. couponvalue:
  9187. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9188. type: number
  9189. createtime:
  9190. description: 创建时间
  9191. type: string
  9192. goodsid:
  9193. description: 商品ID
  9194. type: integer
  9195. handlestatus:
  9196. description: 处理状态
  9197. type: integer
  9198. marketid:
  9199. description: 市场ID
  9200. type: integer
  9201. offamount:
  9202. description: 优惠金额
  9203. type: number
  9204. orderid:
  9205. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9206. type: string
  9207. sellaccountid:
  9208. description: 资金账户ID(卖方)
  9209. type: integer
  9210. tradeamount:
  9211. description: 成交金额
  9212. type: number
  9213. tradeid:
  9214. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9215. type: string
  9216. usedqty:
  9217. description: 使用数量
  9218. type: integer
  9219. required:
  9220. - coupontypeid
  9221. - orderid
  9222. type: object
  9223. models.OperationPrimaryMenu:
  9224. properties:
  9225. Children:
  9226. description: 二级功能菜单
  9227. items:
  9228. $ref: '#/definitions/models.OperationSecondaryMenu'
  9229. type: array
  9230. Key:
  9231. description: 菜单KEY
  9232. type: string
  9233. Label:
  9234. description: 菜单标题
  9235. type: string
  9236. type: object
  9237. models.OperationSecondaryMenu:
  9238. properties:
  9239. Key:
  9240. description: 菜单KEY
  9241. type: string
  9242. Label:
  9243. description: 菜单标题
  9244. type: string
  9245. TabList:
  9246. description: 三级功能菜单
  9247. items:
  9248. $ref: '#/definitions/models.OperationTabMenu'
  9249. type: array
  9250. type: object
  9251. models.OperationTabMenu:
  9252. properties:
  9253. Key:
  9254. description: 菜单KEY
  9255. type: string
  9256. Label:
  9257. description: 菜单标题
  9258. type: string
  9259. type: object
  9260. models.PendingAuditBizModel:
  9261. properties:
  9262. accountid:
  9263. description: 现货账户
  9264. type: string
  9265. areaname:
  9266. description: 所属部门
  9267. type: string
  9268. bizid:
  9269. description: 业务ID
  9270. type: string
  9271. bizname:
  9272. description: 业务名称
  9273. type: string
  9274. status:
  9275. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9276. type: integer
  9277. type:
  9278. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9279. type: integer
  9280. type: object
  9281. models.QhjAccountOutInApply:
  9282. properties:
  9283. accountcode:
  9284. description: 资金账号
  9285. type: string
  9286. accountname:
  9287. description: 用户名称(名称)
  9288. type: string
  9289. accountpwd:
  9290. description: 资金密码
  9291. type: string
  9292. accountticket:
  9293. description: 最新账户服务流水号
  9294. type: string
  9295. amount:
  9296. description: 金额
  9297. type: number
  9298. applyremark:
  9299. description: 申请备注
  9300. type: string
  9301. applystatus:
  9302. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9303. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9304. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9305. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9306. type: integer
  9307. auditid:
  9308. description: 审核人
  9309. type: integer
  9310. audittime:
  9311. description: 审核时间
  9312. type: string
  9313. bank_apply_ticket:
  9314. description: 银行申请流水
  9315. type: string
  9316. bankaccountname:
  9317. description: 银行账户名
  9318. type: string
  9319. bankaccountno:
  9320. description: 银行卡号
  9321. type: string
  9322. bankid:
  9323. description: 银行编号
  9324. type: string
  9325. bankticket:
  9326. description: 银行流水
  9327. type: string
  9328. branchbankid:
  9329. description: 银行支行号
  9330. type: string
  9331. branchbankname:
  9332. description: 银行支行名称
  9333. type: string
  9334. capamountout:
  9335. description: 出金(劣后本金) - 外部子账户
  9336. type: number
  9337. certificatephotourl:
  9338. description: 凭证地址
  9339. type: string
  9340. charge:
  9341. description: 手续费
  9342. type: number
  9343. checkerrorflag:
  9344. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9345. type: integer
  9346. currency:
  9347. description: 币种
  9348. type: string
  9349. cusbankid:
  9350. description: 托管银行编号
  9351. type: string
  9352. exchticket:
  9353. description: 银行服务流水号
  9354. type: string
  9355. executetype:
  9356. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9357. 7:外部子账户:入金 8:外部子账户:出金'
  9358. type: integer
  9359. extendinfo:
  9360. description: 扩展信息
  9361. type: string
  9362. extoperateid:
  9363. description: 交易服务流水号
  9364. type: integer
  9365. infamount:
  9366. description: 劣后金额(自有)
  9367. type: number
  9368. logincode:
  9369. description: 登录账号(账号)
  9370. type: string
  9371. netaddr:
  9372. description: 调转网址
  9373. type: string
  9374. priamount:
  9375. description: 优先金额(授信)
  9376. type: number
  9377. reauditid:
  9378. description: 复审人
  9379. type: integer
  9380. reauditremark:
  9381. description: 复审备注
  9382. type: string
  9383. reaudittime:
  9384. description: 复审时间
  9385. type: string
  9386. relatedorderid:
  9387. description: 三方关联ID
  9388. type: string
  9389. remark:
  9390. description: 备注
  9391. type: string
  9392. remark2:
  9393. description: 备注(失败原因)
  9394. type: string
  9395. soucreamount:
  9396. description: 原始出入金金额
  9397. type: number
  9398. soucrecurrencyid:
  9399. description: 原始出入金币种
  9400. type: integer
  9401. tradedate:
  9402. description: 交易日(yyyyMMdd)
  9403. type: string
  9404. updatetime:
  9405. description: 更新时间(申请时间)
  9406. type: string
  9407. userid:
  9408. description: 用户id
  9409. type: integer
  9410. userinfotype:
  9411. description: 账户类型 1-个人 2-企业
  9412. type: integer
  9413. type: object
  9414. models.QhjAgreementChangeLog:
  9415. properties:
  9416. agreementcontent:
  9417. description: 协议内容
  9418. type: string
  9419. agreementfrequency:
  9420. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9421. type: integer
  9422. agreementid:
  9423. description: 协议ID
  9424. type: integer
  9425. agreementname:
  9426. description: 协议名称
  9427. type: string
  9428. agreementno:
  9429. description: 协议编号
  9430. type: string
  9431. agreementtype:
  9432. description: 协议类型 - 1:注册 2:登录 3:交易
  9433. type: integer
  9434. agreementversion:
  9435. description: 协议版本号
  9436. type: integer
  9437. logid:
  9438. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9439. type: integer
  9440. reviserid:
  9441. description: 修改人
  9442. type: integer
  9443. revisersrc:
  9444. description: 修改来源 - 1:管理端 2:终端
  9445. type: integer
  9446. updatetime:
  9447. description: 更新时间
  9448. type: string
  9449. type: object
  9450. models.QhjAgreementConfig:
  9451. properties:
  9452. agreementcontent:
  9453. description: 协议内容
  9454. type: string
  9455. agreementfrequency:
  9456. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9457. type: integer
  9458. agreementid:
  9459. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9460. type: integer
  9461. agreementname:
  9462. description: 协议名称
  9463. type: string
  9464. agreementno:
  9465. description: 协议编号
  9466. type: string
  9467. agreementtype:
  9468. description: 协议类型 - 1:注册 2:登录 3:交易
  9469. type: integer
  9470. agreementversion:
  9471. description: 协议版本号(从1开始每次修改加1)
  9472. type: integer
  9473. createtime:
  9474. description: 创建时间
  9475. type: string
  9476. creatorid:
  9477. description: 创建人
  9478. type: integer
  9479. creatorsrc:
  9480. description: 创建来源 - 1:管理端 2:终端
  9481. type: integer
  9482. isvalid:
  9483. description: 是否有效 - 0:无效 1:有效
  9484. type: integer
  9485. reviserid:
  9486. description: 修改人
  9487. type: integer
  9488. revisersrc:
  9489. description: 修改来源 - 1:管理端 2:终端
  9490. type: integer
  9491. updatetime:
  9492. description: 更新时间
  9493. type: string
  9494. type: object
  9495. models.QhjBankAccountSign:
  9496. properties:
  9497. accountcode:
  9498. description: 资金账号
  9499. type: string
  9500. accountname:
  9501. description: 资金账号对应的账号名(UserName)
  9502. type: string
  9503. accountname2:
  9504. description: 资金账号对应的账号名(UserName) - 密文
  9505. type: string
  9506. accounttype:
  9507. description: 账户类型(UserType)
  9508. type: integer
  9509. applicationtime:
  9510. description: 最后一次更新的时间
  9511. type: string
  9512. applyexchticket:
  9513. description: 申请流水
  9514. type: string
  9515. auditid:
  9516. description: 审核人
  9517. type: integer
  9518. audittime:
  9519. description: 审核时间
  9520. type: string
  9521. bankaccountname:
  9522. description: 签约银行卡账号名
  9523. type: string
  9524. bankaccountname2:
  9525. description: 签约银行卡账号名 - 密文
  9526. type: string
  9527. bankaccountno:
  9528. description: 银行卡号
  9529. type: string
  9530. bankaccountno2:
  9531. description: 银行卡号 - 密文
  9532. type: string
  9533. bankaccounttype:
  9534. description: 银行账户类型 - 1-对私; 2-对公
  9535. type: integer
  9536. bankcardtype:
  9537. description: 银行卡类型
  9538. type: integer
  9539. bankchildaccount:
  9540. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9541. type: string
  9542. bankcity:
  9543. description: 开户行城市
  9544. type: string
  9545. bankid:
  9546. description: 签约银行ID
  9547. type: string
  9548. bankname:
  9549. description: 签约银行名称
  9550. type: string
  9551. bankprovince:
  9552. description: 开户行省份
  9553. type: string
  9554. branchbankid:
  9555. description: 签约银行支行号
  9556. type: string
  9557. branchbankname:
  9558. description: 签约银行支行名称
  9559. type: string
  9560. cardno:
  9561. description: 证件号码
  9562. type: string
  9563. cardno2:
  9564. description: 证件号码 - 密文
  9565. type: string
  9566. cardtype:
  9567. description: 证件类型
  9568. type: string
  9569. currency:
  9570. description: 币种
  9571. type: string
  9572. cusbankid:
  9573. description: 托管银行编号
  9574. type: string
  9575. direct:
  9576. description: 方向(可以判断那方先发起的签约)
  9577. type: integer
  9578. exchticket:
  9579. description: 最后一次签约成功的流水号
  9580. type: string
  9581. extendinfo:
  9582. description: 扩展信息(JSON字符串)
  9583. type: string
  9584. mobilephone:
  9585. description: 手机号
  9586. type: string
  9587. mobilephone2:
  9588. description: 手机号 - 密文
  9589. type: string
  9590. netaddr:
  9591. description: 调转网址
  9592. type: string
  9593. relateduserid:
  9594. description: 关联使用者userid
  9595. type: integer
  9596. signstatus:
  9597. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9598. 10:审核拒绝 11:换签待审核
  9599. type: integer
  9600. updatetime:
  9601. description: 更新时间(签解约更新时间)
  9602. type: string
  9603. type: object
  9604. models.QhjBankInfo:
  9605. properties:
  9606. bankid:
  9607. description: 银行ID
  9608. type: string
  9609. bankname:
  9610. description: 银行名称
  9611. type: string
  9612. clearbankno:
  9613. description: 清算系统银行编号
  9614. type: string
  9615. orderindex:
  9616. description: 排序顺序
  9617. type: integer
  9618. status:
  9619. description: 状态 - 0:正常 1:注销
  9620. type: integer
  9621. type: object
  9622. models.QhjContract:
  9623. properties:
  9624. contractconfirmtime:
  9625. description: 合同确认时间(时间)
  9626. type: string
  9627. currisklevel:
  9628. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9629. type: integer
  9630. decimalplace:
  9631. description: 商品报价小数位
  9632. type: integer
  9633. enumdicname:
  9634. description: 单位名称
  9635. type: string
  9636. goodscode:
  9637. description: 商品代码
  9638. type: string
  9639. goodsid:
  9640. description: 商品ID [5:融资单]
  9641. type: integer
  9642. goodsname:
  9643. description: 商品名称
  9644. type: string
  9645. goodunitid:
  9646. description: 商品单位id
  9647. type: integer
  9648. initmargin:
  9649. description: 初始保证金(首付款)
  9650. type: number
  9651. lenderamount:
  9652. description: 贷款金额(总额|订单总额)
  9653. type: number
  9654. marginratio:
  9655. description: 保证金比率(首付比例)
  9656. type: number
  9657. payamount:
  9658. description: 已付(已付货款)
  9659. type: number
  9660. reckonrecovermargin:
  9661. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9662. type: number
  9663. recoveredmargin:
  9664. description: 已追缴保证金
  9665. type: number
  9666. remainamount:
  9667. description: 合同剩余金额(融资额)
  9668. type: number
  9669. scfcontractid:
  9670. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9671. type: string
  9672. scfcontractstatus:
  9673. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9674. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9675. type: integer
  9676. scfcontracttype:
  9677. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9678. type: integer
  9679. totalinterest:
  9680. description: 已计总利息(利息)
  9681. type: number
  9682. tradeprice:
  9683. description: 成交价格(成本价格)
  9684. type: number
  9685. userid:
  9686. description: 用户ID
  9687. type: integer
  9688. username:
  9689. description: 用户名称
  9690. type: string
  9691. wrqty:
  9692. description: 仓单数量(数量)
  9693. type: number
  9694. type: object
  9695. models.QhjContractLog:
  9696. properties:
  9697. amount:
  9698. description: 支付金额
  9699. type: number
  9700. amounttype:
  9701. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9702. type: integer
  9703. logid:
  9704. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9705. type: string
  9706. remainamount:
  9707. description: 剩余货款
  9708. type: number
  9709. scfcontractid:
  9710. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9711. type: integer
  9712. updatetime:
  9713. description: 更新时间
  9714. type: string
  9715. type: object
  9716. models.QhjCusBankSignBankEx:
  9717. properties:
  9718. banklst:
  9719. description: 银行列表
  9720. items:
  9721. $ref: '#/definitions/models.QhjBankInfo'
  9722. type: array
  9723. canallot:
  9724. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9725. type: integer
  9726. canallotquery:
  9727. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9728. type: integer
  9729. canbindcard:
  9730. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9731. type: integer
  9732. caninamount:
  9733. description: 是否可入金 - 0:不可 1:可以
  9734. type: integer
  9735. caninamount2:
  9736. description: 是否可入金(网银端) - 0:不可 1:可以
  9737. type: integer
  9738. canmodifybankcard:
  9739. description: 是否可修改银行卡号 - 0:不可 1:可以
  9740. type: integer
  9741. canmodifyphone:
  9742. description: 是否可修改手机号 - 0:不可 1:可以
  9743. type: integer
  9744. canmodifysigninfo:
  9745. description: 是否可修改签约信息 - 0:不可 1:可以
  9746. type: integer
  9747. canoutamount:
  9748. description: 是否可出金 - 0:不可 1:可以
  9749. type: integer
  9750. canoutamount2:
  9751. description: 是否可出金(网银端) - 0:不可 1:可以
  9752. type: integer
  9753. canrelease:
  9754. description: 是否可解约 - 0:不可 1:可以
  9755. type: integer
  9756. canrelease2:
  9757. description: 是否可解约(网银端) - 0:不可 1:可以
  9758. type: integer
  9759. cansign:
  9760. description: 是否可签约 - 0:不可 1:可以
  9761. type: integer
  9762. cansign2:
  9763. description: 是否可签约(网银端) - 0:不可 1:可以
  9764. type: integer
  9765. currency:
  9766. description: 币种
  9767. type: string
  9768. cusbankid:
  9769. description: 托管银行编号(对应清算中心TRAN_NO)
  9770. type: string
  9771. cusbankname:
  9772. description: 银行业务名称
  9773. type: string
  9774. cusbankshortname:
  9775. description: 银行业务简称
  9776. type: string
  9777. exchbankid:
  9778. description: 交易所开户银行ID
  9779. type: string
  9780. exchpaybankaccname:
  9781. description: 交易所支出结算账户户名
  9782. type: string
  9783. exchpaybankaccno:
  9784. description: 交易所支出结算账户
  9785. type: string
  9786. isneedcheck:
  9787. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9788. type: integer
  9789. isneedclear:
  9790. description: 是否需要清算 - 0:不需要 1:需要
  9791. type: integer
  9792. lastcheckstatus:
  9793. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  9794. type: integer
  9795. lastchecktime:
  9796. description: 最后对账时间
  9797. type: string
  9798. lastclearstatus:
  9799. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  9800. type: integer
  9801. lastcleartime:
  9802. description: 最后清算时间
  9803. type: string
  9804. lastsignintime:
  9805. description: 最后签到时间
  9806. type: string
  9807. lastsignouttime:
  9808. description: 最后签退时间
  9809. type: string
  9810. riskinfo:
  9811. description: 签约风险提示书
  9812. type: string
  9813. signstatus:
  9814. description: 当前签到/签退状态 - 1:签到 2:签退
  9815. type: integer
  9816. tradedate:
  9817. description: 交易日(yyyyMMdd)
  9818. type: string
  9819. updatetime:
  9820. description: 当前签到/签退更新时间
  9821. type: string
  9822. type: object
  9823. models.QhjCustomer:
  9824. properties:
  9825. address:
  9826. description: 通讯地址
  9827. type: string
  9828. attachment1:
  9829. description: 附件1
  9830. type: string
  9831. audittime:
  9832. description: 审核时间
  9833. type: string
  9834. cardbackphotourl:
  9835. description: 证件反面图片地址
  9836. type: string
  9837. cardfrontphotourl:
  9838. description: 证件正面图片地址
  9839. type: string
  9840. cardnum:
  9841. description: 证件号码
  9842. type: string
  9843. cardtype:
  9844. description: 证件类型
  9845. type: integer
  9846. cardtypename:
  9847. description: 证件类型名称
  9848. type: string
  9849. cityid:
  9850. description: 市
  9851. type: integer
  9852. cityname:
  9853. description: 城市名称
  9854. type: string
  9855. contactname:
  9856. description: 联系人
  9857. type: string
  9858. countryid:
  9859. description: 国家
  9860. type: integer
  9861. countryname:
  9862. description: 国家名称
  9863. type: string
  9864. createtime:
  9865. description: 创建时间
  9866. type: string
  9867. customername:
  9868. description: 客户名称
  9869. type: string
  9870. districtid:
  9871. description: 区域
  9872. type: integer
  9873. districtname:
  9874. description: 地区名称
  9875. type: string
  9876. email:
  9877. description: 邮件
  9878. type: string
  9879. legalpersonname:
  9880. description: 法人姓名(企业)
  9881. type: string
  9882. logincode:
  9883. description: 登录账号(代码)
  9884. type: string
  9885. memberuserid:
  9886. description: 所属机构ID(所属会员)
  9887. type: integer
  9888. memberusername:
  9889. description: 所属会员名称
  9890. type: string
  9891. mobile:
  9892. description: 手机号码
  9893. type: string
  9894. modifytime:
  9895. description: 修改时间
  9896. type: string
  9897. nickname:
  9898. description: 昵称
  9899. type: string
  9900. parentuserid:
  9901. description: 上级机构(所属机构)
  9902. type: integer
  9903. parentusername:
  9904. description: 所属机构名称
  9905. type: string
  9906. provinceid:
  9907. description: 省
  9908. type: integer
  9909. provincename:
  9910. description: 省名称
  9911. type: string
  9912. proxystatementurl:
  9913. description: 授权委托书
  9914. type: string
  9915. remark:
  9916. description: 备注
  9917. type: string
  9918. status:
  9919. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9920. type: integer
  9921. statusdesc:
  9922. description: 账户状态中文描述
  9923. type: string
  9924. taxpayernum:
  9925. description: 纳税人识别号
  9926. type: string
  9927. telphone:
  9928. description: 联系电话
  9929. type: string
  9930. userid:
  9931. description: 用户ID
  9932. type: integer
  9933. userinfotype:
  9934. description: 客户类型 1-个人 2-企业
  9935. type: integer
  9936. username:
  9937. description: 用户名称
  9938. type: string
  9939. type: object
  9940. models.QhjCustomerSignLog:
  9941. properties:
  9942. agreementcontent:
  9943. description: 协议内容
  9944. type: string
  9945. agreementid:
  9946. description: 协议ID
  9947. type: integer
  9948. agreementname:
  9949. description: 协议名称
  9950. type: string
  9951. agreementno:
  9952. description: 协议编号
  9953. type: string
  9954. agreementtype:
  9955. description: 协议类型 - 1:注册 2:登录 3:交易
  9956. type: integer
  9957. agreementversion:
  9958. description: 协议版本号
  9959. type: integer
  9960. createtime:
  9961. description: 创建时间
  9962. type: string
  9963. goodscode:
  9964. description: 商品代码
  9965. type: string
  9966. goodsid:
  9967. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  9968. type: integer
  9969. goodsname:
  9970. description: 商品名称
  9971. type: string
  9972. logid:
  9973. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  9974. type: integer
  9975. nodetype:
  9976. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  9977. type: integer
  9978. signadressurl:
  9979. description: 签约文件地址
  9980. type: string
  9981. signtimestamp:
  9982. description: 签约状态时间戳
  9983. type: string
  9984. userid:
  9985. description: 客户ID
  9986. type: integer
  9987. username:
  9988. description: 客户名称
  9989. type: string
  9990. type: object
  9991. models.QhjCustomerSignStatus:
  9992. properties:
  9993. createtime:
  9994. description: 创建时间
  9995. type: string
  9996. goodscode:
  9997. description: 商品代码
  9998. type: string
  9999. goodsid:
  10000. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10001. type: integer
  10002. goodsname:
  10003. description: 商品名称
  10004. type: string
  10005. nodetype:
  10006. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10007. type: integer
  10008. signtimestamp:
  10009. description: 签约状态时间戳
  10010. type: string
  10011. tradedate:
  10012. description: 创建交易日(yyyyMMdd)
  10013. type: string
  10014. updatetime:
  10015. description: 更新时间
  10016. type: string
  10017. userid:
  10018. description: 客户ID
  10019. type: integer
  10020. username:
  10021. description: 客户名称
  10022. type: string
  10023. type: object
  10024. models.QhjMgrAccountOutInApply:
  10025. properties:
  10026. accountcode:
  10027. description: 资金账号
  10028. type: string
  10029. accountname:
  10030. description: 用户名称(名称)
  10031. type: string
  10032. accountpwd:
  10033. description: 资金密码
  10034. type: string
  10035. accountticket:
  10036. description: 最新账户服务流水号
  10037. type: string
  10038. amount:
  10039. description: 金额
  10040. type: number
  10041. applyremark:
  10042. description: 申请备注
  10043. type: string
  10044. applystatus:
  10045. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10046. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10047. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10048. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10049. type: integer
  10050. auditid:
  10051. description: 审核人
  10052. type: integer
  10053. audittime:
  10054. description: 审核时间
  10055. type: string
  10056. bank_apply_ticket:
  10057. description: 银行申请流水
  10058. type: string
  10059. bankaccountname:
  10060. description: 银行账户名
  10061. type: string
  10062. bankaccountno:
  10063. description: 银行卡号
  10064. type: string
  10065. bankid:
  10066. description: 银行编号
  10067. type: string
  10068. bankname:
  10069. description: 银行名称
  10070. type: string
  10071. bankticket:
  10072. description: 银行流水
  10073. type: string
  10074. branchbankid:
  10075. description: 银行支行号
  10076. type: string
  10077. branchbankname:
  10078. description: 银行支行名称
  10079. type: string
  10080. capamountout:
  10081. description: 出金(劣后本金) - 外部子账户
  10082. type: number
  10083. certificatephotourl:
  10084. description: 凭证地址
  10085. type: string
  10086. charge:
  10087. description: 手续费
  10088. type: number
  10089. checkerrorflag:
  10090. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10091. type: integer
  10092. currency:
  10093. description: 币种
  10094. type: string
  10095. cusbankid:
  10096. description: 托管银行编号
  10097. type: string
  10098. exchticket:
  10099. description: 银行服务流水号
  10100. type: string
  10101. executetype:
  10102. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10103. 7:外部子账户:入金 8:外部子账户:出金'
  10104. type: integer
  10105. extendinfo:
  10106. description: 扩展信息
  10107. type: string
  10108. extoperateid:
  10109. description: 交易服务流水号
  10110. type: integer
  10111. infamount:
  10112. description: 劣后金额(自有)
  10113. type: number
  10114. logincode:
  10115. description: 登录账号(账号)
  10116. type: string
  10117. netaddr:
  10118. description: 调转网址
  10119. type: string
  10120. priamount:
  10121. description: 优先金额(授信)
  10122. type: number
  10123. reauditid:
  10124. description: 复审人
  10125. type: integer
  10126. reauditremark:
  10127. description: 复审备注
  10128. type: string
  10129. reaudittime:
  10130. description: 复审时间
  10131. type: string
  10132. relatedorderid:
  10133. description: 三方关联ID
  10134. type: string
  10135. remark:
  10136. description: 备注
  10137. type: string
  10138. remark2:
  10139. description: 备注(失败原因)
  10140. type: string
  10141. soucreamount:
  10142. description: 原始出入金金额
  10143. type: number
  10144. soucrecurrencyid:
  10145. description: 原始出入金币种
  10146. type: integer
  10147. tradedate:
  10148. description: 交易日(yyyyMMdd)
  10149. type: string
  10150. updatetime:
  10151. description: 更新时间(申请时间)
  10152. type: string
  10153. userid:
  10154. description: 用户id
  10155. type: integer
  10156. userinfotype:
  10157. description: 账户类型 1-个人 2-企业
  10158. type: integer
  10159. type: object
  10160. models.QhjMgrContract:
  10161. properties:
  10162. contractconfirmtime:
  10163. description: 合同确认时间(时间)
  10164. type: string
  10165. currisklevel:
  10166. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10167. type: integer
  10168. decimalplace:
  10169. description: 商品报价小数位
  10170. type: integer
  10171. enumdicname:
  10172. description: 单位名称
  10173. type: string
  10174. goodscode:
  10175. description: 商品代码
  10176. type: string
  10177. goodsid:
  10178. description: 商品ID [5:融资单]
  10179. type: integer
  10180. goodsname:
  10181. description: 商品名称
  10182. type: string
  10183. goodunitid:
  10184. description: 商品单位id
  10185. type: integer
  10186. initmargin:
  10187. description: 初始保证金(首付款)
  10188. type: number
  10189. lenderamount:
  10190. description: 贷款金额(总额|订单总额)
  10191. type: number
  10192. logincode:
  10193. description: 账号(登录代码)
  10194. type: string
  10195. marginratio:
  10196. description: 保证金比率(首付比例)
  10197. type: number
  10198. mobile:
  10199. description: 电话号码(用户资料里的电话)
  10200. type: string
  10201. payamount:
  10202. description: 已付(已付货款)
  10203. type: number
  10204. reckonrecovermargin:
  10205. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10206. type: number
  10207. recoveredmargin:
  10208. description: 已追缴保证金
  10209. type: number
  10210. remainamount:
  10211. description: 合同剩余金额(融资额)
  10212. type: number
  10213. scfcontractid:
  10214. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10215. type: string
  10216. scfcontractstatus:
  10217. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10218. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10219. type: integer
  10220. scfcontracttype:
  10221. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10222. type: integer
  10223. totalinterest:
  10224. description: 已计总利息(利息)
  10225. type: number
  10226. tradedate:
  10227. description: 交易日
  10228. type: string
  10229. tradeprice:
  10230. description: 成交价格(成本价格)
  10231. type: number
  10232. userid:
  10233. description: 用户ID
  10234. type: integer
  10235. userinfotype:
  10236. description: 用户类型 1-个人 2-企业
  10237. type: integer
  10238. username:
  10239. description: 用户名称
  10240. type: string
  10241. wrqty:
  10242. description: 仓单数量(数量)
  10243. type: number
  10244. type: object
  10245. models.QhjMgrPositionRsp:
  10246. properties:
  10247. accountid:
  10248. description: 账号Id
  10249. type: integer
  10250. accountname:
  10251. description: 用户名称
  10252. type: string
  10253. agreeunit:
  10254. description: 合约乘数
  10255. type: number
  10256. averageprice:
  10257. description: 均价
  10258. type: number
  10259. avialqty:
  10260. description: 可用数量
  10261. type: number
  10262. decimalplace:
  10263. description: 报价小数位
  10264. type: integer
  10265. enumdicname:
  10266. description: 单位名称(商品)
  10267. type: string
  10268. frozenqty:
  10269. description: 冻结数量
  10270. type: number
  10271. goodscode:
  10272. description: 商品代码(内部)
  10273. type: string
  10274. goodsid:
  10275. description: 商品Id
  10276. type: integer
  10277. goodsname:
  10278. description: 商品名称
  10279. type: string
  10280. goodunitid:
  10281. description: 报价单位ID
  10282. type: integer
  10283. holderamount:
  10284. description: 金额
  10285. type: number
  10286. holderqty:
  10287. description: 持有数量
  10288. type: number
  10289. holdertype:
  10290. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10291. type: integer
  10292. logincode:
  10293. description: 登录代码(账户)
  10294. type: string
  10295. marketid:
  10296. description: 市场id
  10297. type: integer
  10298. qtydecimalplace:
  10299. description: 成交量小数位
  10300. type: integer
  10301. trademode:
  10302. description: 交易模式
  10303. type: integer
  10304. userid:
  10305. description: 用户id
  10306. type: integer
  10307. userinfotype:
  10308. description: 账户类型 1-个人 2-企业
  10309. type: integer
  10310. type: object
  10311. models.QhjMgrSubArea:
  10312. properties:
  10313. accountname:
  10314. description: 账户名称(机构名称)
  10315. type: string
  10316. memberuserid:
  10317. description: 所属会员ID
  10318. type: integer
  10319. parenttopuser:
  10320. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10321. type: string
  10322. parentuserid:
  10323. description: 所属机构ID
  10324. type: integer
  10325. rootuserid:
  10326. description: 根用户ID
  10327. type: string
  10328. subaccountlevel:
  10329. description: 子账户层数
  10330. type: integer
  10331. subarealevelpath:
  10332. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10333. type: string
  10334. userid:
  10335. description: 用户ID
  10336. type: integer
  10337. usertype:
  10338. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10339. type: integer
  10340. type: object
  10341. models.QhjMgrTradeDetailRsp:
  10342. properties:
  10343. accountid:
  10344. description: 资金账号
  10345. type: integer
  10346. accountname:
  10347. description: 用户名称
  10348. type: string
  10349. agreeunit:
  10350. description: 合约乘数
  10351. type: number
  10352. buyorsell:
  10353. description: 成交类型(方向) 0:买 1:卖
  10354. type: integer
  10355. decimalplace:
  10356. description: 报价小数位
  10357. type: integer
  10358. enumdicname:
  10359. description: 单位名称(商品)
  10360. type: string
  10361. goodscode:
  10362. description: 商品代码(内部)
  10363. type: string
  10364. goodsid:
  10365. description: 商品id
  10366. type: integer
  10367. goodsname:
  10368. description: 商品名称
  10369. type: string
  10370. goodunitid:
  10371. description: 报价单位ID
  10372. type: integer
  10373. logincode:
  10374. description: 登录代码(账户)
  10375. type: string
  10376. marketid:
  10377. description: 市场id
  10378. type: integer
  10379. orderid:
  10380. description: 关联委托单号
  10381. type: string
  10382. qtydecimalplace:
  10383. description: 成交量小数位
  10384. type: integer
  10385. tradeamount:
  10386. description: 金额
  10387. type: number
  10388. tradedate:
  10389. description: 交易日
  10390. type: string
  10391. tradeid:
  10392. description: 成交单号
  10393. type: string
  10394. trademode:
  10395. description: 交易模式
  10396. type: integer
  10397. tradeprice:
  10398. description: 价格
  10399. type: number
  10400. tradeqty:
  10401. description: 数量
  10402. type: number
  10403. tradetime:
  10404. description: 成交时间
  10405. type: string
  10406. userid:
  10407. description: 用户id
  10408. type: integer
  10409. userinfotype:
  10410. description: 账户类型 1-个人 2-企业
  10411. type: integer
  10412. type: object
  10413. models.QhjMgrTradeOrderDetailRsp:
  10414. properties:
  10415. accountid:
  10416. description: 资金账号
  10417. type: integer
  10418. accountname:
  10419. description: 用户名称
  10420. type: string
  10421. agreeunit:
  10422. description: 合约乘数
  10423. type: number
  10424. amount:
  10425. description: 金额
  10426. type: number
  10427. decimalplace:
  10428. description: 报价小数位
  10429. type: integer
  10430. enumdicname:
  10431. description: 单位名称(商品)
  10432. type: string
  10433. goodscode:
  10434. description: 商品代码(内部)
  10435. type: string
  10436. goodsid:
  10437. description: 商品id
  10438. type: integer
  10439. goodsname:
  10440. description: 商品名称
  10441. type: string
  10442. goodunitid:
  10443. description: 报价单位ID
  10444. type: integer
  10445. logincode:
  10446. description: 登录代码(账户)
  10447. type: string
  10448. marketid:
  10449. description: 市场id
  10450. type: integer
  10451. orderid:
  10452. description: 关联委托单号
  10453. type: string
  10454. orderprice:
  10455. description: 价格
  10456. type: number
  10457. orderqty:
  10458. description: 数量
  10459. type: number
  10460. orderstatus:
  10461. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10462. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10463. 16:成交失败违约(荷兰式竞拍专用)
  10464. type: integer
  10465. ordertime:
  10466. description: 委托时间
  10467. type: string
  10468. qtydecimalplace:
  10469. description: 成交量小数位
  10470. type: integer
  10471. tradedate:
  10472. description: 交易日
  10473. type: string
  10474. trademode:
  10475. description: 交易模式
  10476. type: integer
  10477. userid:
  10478. description: 用户id
  10479. type: integer
  10480. userinfotype:
  10481. description: 账户类型 1-个人 2-企业
  10482. type: integer
  10483. type: object
  10484. models.QhjMgrTradePayOrder:
  10485. properties:
  10486. accountname:
  10487. description: 用户名称
  10488. type: string
  10489. advanceratio:
  10490. description: 首付比率
  10491. type: number
  10492. agreeunit:
  10493. description: 合约乘数
  10494. type: number
  10495. buyaccountid:
  10496. description: 买方账号ID[报价币种]
  10497. type: integer
  10498. buyorderid:
  10499. description: 买方委托单号(关联单号)
  10500. type: string
  10501. createtime:
  10502. description: 创建时间
  10503. type: string
  10504. decimalplace:
  10505. description: 报价小数位
  10506. type: integer
  10507. enumdicname:
  10508. description: 单位名称(商品)
  10509. type: string
  10510. goodscode:
  10511. description: 商品代码(内部)
  10512. type: string
  10513. goodsid:
  10514. description: 商品ID
  10515. type: integer
  10516. goodsname:
  10517. description: 商品名称
  10518. type: string
  10519. goodunitid:
  10520. description: 报价单位ID
  10521. type: integer
  10522. logincode:
  10523. description: 登录代码(账户)
  10524. type: string
  10525. marketid:
  10526. description: 市场id
  10527. type: integer
  10528. offamount:
  10529. description: 优惠金额
  10530. type: number
  10531. operatetype:
  10532. description: 买委托操作类型 - 1:正常下单 16:融资买入
  10533. type: integer
  10534. payamount:
  10535. description: 支付金额(金额)
  10536. type: number
  10537. payflag:
  10538. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10539. type: integer
  10540. paylimitedtime:
  10541. description: 支付期限
  10542. type: string
  10543. paytime:
  10544. description: 付款时间
  10545. type: string
  10546. qtydecimalplace:
  10547. description: 成交量小数位
  10548. type: integer
  10549. sellaccountid:
  10550. description: 卖方账号ID[报价币种]
  10551. type: integer
  10552. sellorderid:
  10553. description: 卖方委托单号
  10554. type: string
  10555. tradeamount:
  10556. description: 成交金额(优惠后金额)
  10557. type: number
  10558. tradecharge:
  10559. description: 成交手续费(买方)
  10560. type: number
  10561. tradedate:
  10562. description: 交易日(yyyyMMdd)
  10563. type: string
  10564. tradeid:
  10565. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10566. type: string
  10567. trademode:
  10568. description: 交易模式
  10569. type: integer
  10570. tradeprice:
  10571. description: 成交价格(价格)
  10572. type: number
  10573. tradeqty:
  10574. description: 成交数量(数量)
  10575. type: number
  10576. tradetime:
  10577. description: 成交时间
  10578. type: string
  10579. userid:
  10580. description: 用户id
  10581. type: integer
  10582. userinfotype:
  10583. description: 账户类型 1-个人 2-企业
  10584. type: integer
  10585. type: object
  10586. models.QhjNodeAgreementConfig:
  10587. properties:
  10588. agreementid:
  10589. description: 协议ID
  10590. type: integer
  10591. agreementname:
  10592. description: 协议名称
  10593. type: string
  10594. agreementno:
  10595. description: 协议编号
  10596. type: string
  10597. agreementtype:
  10598. description: 协议类型 - 1:注册 2:登录 3:交易
  10599. type: integer
  10600. agreementversion:
  10601. description: 协议版本号
  10602. type: integer
  10603. configid:
  10604. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  10605. type: integer
  10606. createtime:
  10607. description: 创建时间
  10608. type: string
  10609. goodsid:
  10610. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10611. type: integer
  10612. nodetype:
  10613. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10614. type: integer
  10615. type: object
  10616. models.QhjParentAreaList:
  10617. properties:
  10618. accountname:
  10619. description: 账户名称(机构名称)
  10620. type: string
  10621. userid:
  10622. description: 用户ID
  10623. type: integer
  10624. usertype:
  10625. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10626. type: integer
  10627. type: object
  10628. models.QhjPayOrder:
  10629. properties:
  10630. advanceratio:
  10631. description: 首付比率
  10632. type: number
  10633. buyaccountid:
  10634. description: 买方账号ID[报价币种]
  10635. type: integer
  10636. buyorderid:
  10637. description: 买方委托单号
  10638. type: string
  10639. createtime:
  10640. description: 创建时间
  10641. type: string
  10642. decimalplace:
  10643. description: 商品报价小数位
  10644. type: integer
  10645. enumdicname:
  10646. description: 单位名称
  10647. type: string
  10648. goodscode:
  10649. description: 商品代码
  10650. type: string
  10651. goodsid:
  10652. description: 商品ID
  10653. type: integer
  10654. goodsname:
  10655. description: 商品名称
  10656. type: string
  10657. goodunitid:
  10658. description: 商品单位id
  10659. type: integer
  10660. marketid:
  10661. description: 市场ID
  10662. type: integer
  10663. offamount:
  10664. description: 优惠金额
  10665. type: number
  10666. operatetype:
  10667. description: 买委托操作类型 - 1:正常下单 16:融资买入
  10668. type: integer
  10669. payamount:
  10670. description: 支付金额
  10671. type: number
  10672. payflag:
  10673. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10674. type: integer
  10675. paylimitedtime:
  10676. description: 支付期限
  10677. type: string
  10678. paytime:
  10679. description: 付款时间
  10680. type: string
  10681. qtydecimalplace:
  10682. description: 成交量小数位
  10683. type: integer
  10684. sellaccountid:
  10685. description: 卖方账号ID[报价币种]
  10686. type: integer
  10687. sellorderid:
  10688. description: 卖方委托单号
  10689. type: string
  10690. tradeamount:
  10691. description: 成交金额(优惠后金额)
  10692. type: number
  10693. tradecharge:
  10694. description: 成交手续费(买方)
  10695. type: number
  10696. tradedate:
  10697. description: 交易日(yyyyMMdd)
  10698. type: string
  10699. tradeid:
  10700. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10701. type: string
  10702. tradeprice:
  10703. description: 成交价格
  10704. type: number
  10705. tradeqty:
  10706. description: 成交数量
  10707. type: number
  10708. type: object
  10709. models.QhjPickArea:
  10710. properties:
  10711. address:
  10712. description: 详细地址
  10713. type: string
  10714. cityid:
  10715. description: 市
  10716. type: integer
  10717. cityname:
  10718. description: 城市名称
  10719. type: string
  10720. countryid:
  10721. description: 国家
  10722. type: integer
  10723. countryname:
  10724. description: 国家名称
  10725. type: string
  10726. districtid:
  10727. description: 地区
  10728. type: integer
  10729. districtname:
  10730. description: 地区名称
  10731. type: string
  10732. fromuserid:
  10733. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  10734. type: integer
  10735. fromusername:
  10736. description: 所属机构名称
  10737. type: string
  10738. provinceid:
  10739. description: 省
  10740. type: integer
  10741. provincename:
  10742. description: 省名称
  10743. type: string
  10744. suborgtype:
  10745. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  10746. type: integer
  10747. userid:
  10748. description: 机构用户ID 其他做市关系,都设置为 1
  10749. type: integer
  10750. username:
  10751. description: 机构用户名称(门店门称)
  10752. type: string
  10753. type: object
  10754. models.QhjPickGoods:
  10755. properties:
  10756. enumdicname:
  10757. description: 单位名称(提货商品)
  10758. type: string
  10759. goodsid:
  10760. description: 商品id
  10761. type: integer
  10762. imageaddress:
  10763. description: 图片
  10764. type: string
  10765. modifierid:
  10766. description: 修改人
  10767. type: integer
  10768. modifiername:
  10769. description: 修改人名称
  10770. type: string
  10771. modifysrc:
  10772. description: 修改来源 - 1:管理端 2:终端
  10773. type: integer
  10774. pickupgoodsagreeunit:
  10775. description: 合约乘数
  10776. type: number
  10777. pickupgoodsdesc:
  10778. description: 描述
  10779. type: string
  10780. pickupgoodsid:
  10781. description: 提货商品ID
  10782. type: string
  10783. pickupgoodsname:
  10784. description: 提货商品名称
  10785. type: string
  10786. pickupgoodsstatus:
  10787. description: 状态 - 1:正常 2:停用 3:注销
  10788. type: integer
  10789. pickupgoodsunitid:
  10790. description: 单位ID
  10791. type: integer
  10792. pickupratio:
  10793. description: 提货系数
  10794. type: number
  10795. preparedays:
  10796. description: 备货期(天)
  10797. type: integer
  10798. remark:
  10799. description: 备注
  10800. type: string
  10801. updatetime:
  10802. description: 更新时间
  10803. type: string
  10804. type: object
  10805. models.QhjRSTriggerLog:
  10806. properties:
  10807. accountid:
  10808. description: 用户资金账户
  10809. type: integer
  10810. accountname:
  10811. description: 账号名称(ACCOUNTID对应的名称)
  10812. type: string
  10813. currencyid:
  10814. description: 币种id
  10815. type: integer
  10816. currencyname:
  10817. description: 币种名称
  10818. type: string
  10819. decimalplace:
  10820. description: 商品报价小数位
  10821. type: integer
  10822. enumdicname:
  10823. description: 单位名称
  10824. type: string
  10825. goodscode:
  10826. description: 定投商品代码
  10827. type: string
  10828. goodsid:
  10829. description: 定投商品ID
  10830. type: integer
  10831. goodsname:
  10832. description: 定投商品名称
  10833. type: string
  10834. goodunitid:
  10835. description: 定投商品单位id
  10836. type: integer
  10837. logid:
  10838. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  10839. type: string
  10840. logincode:
  10841. description: 账号(登录代码)
  10842. type: string
  10843. qtydecimalplace:
  10844. description: 成交量小数位
  10845. type: integer
  10846. regularlycycle:
  10847. description: 定投频率 - 1:每周 2:每月
  10848. type: integer
  10849. regularlycyclevalue:
  10850. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10851. type: string
  10852. regularlymode:
  10853. description: 定投方式 - 1:按数量 2:按金额
  10854. type: integer
  10855. regularlymodevalue:
  10856. description: 定投方式值 - 数量或金额
  10857. type: number
  10858. regularlystrategyid:
  10859. description: 定投策略ID
  10860. type: integer
  10861. retcode:
  10862. description: 错误码
  10863. type: string
  10864. tradeid:
  10865. description: 成交单ID
  10866. type: string
  10867. triggeramount:
  10868. description: 触发金额
  10869. type: number
  10870. triggerqty:
  10871. description: 触发数量
  10872. type: number
  10873. triggerstatus:
  10874. description: 触发状态 - 1:成功 2:失败
  10875. type: integer
  10876. triggertime:
  10877. description: 触发时间
  10878. type: string
  10879. triggertradedate:
  10880. description: 触发交易日
  10881. type: string
  10882. userid:
  10883. description: 所属用户ID
  10884. type: integer
  10885. userinfotype:
  10886. description: 用户类型 1-个人 2-企业
  10887. type: integer
  10888. username:
  10889. description: 用户名称(userid对应的名称)
  10890. type: string
  10891. type: object
  10892. models.QhjRStrategy:
  10893. properties:
  10894. accountid:
  10895. description: 用户资金账户
  10896. type: integer
  10897. accountname:
  10898. description: 账号名称(ACCOUNTID对应的名称)
  10899. type: string
  10900. currencyid:
  10901. description: 币种id
  10902. type: integer
  10903. currencyname:
  10904. description: 币种名称
  10905. type: string
  10906. decimalplace:
  10907. description: 商品报价小数位
  10908. type: integer
  10909. enumdicname:
  10910. description: 单位名称
  10911. type: string
  10912. goodscode:
  10913. description: 定投商品代码
  10914. type: string
  10915. goodsid:
  10916. description: 定投商品ID
  10917. type: integer
  10918. goodsname:
  10919. description: 定投商品名称
  10920. type: string
  10921. goodunitid:
  10922. description: 定投商品单位id
  10923. type: integer
  10924. lasteffecttradedate:
  10925. description: 最新生效交易日
  10926. type: string
  10927. laststoptradedate:
  10928. description: 最新暂停交易日
  10929. type: string
  10930. lasttriggertradedate:
  10931. description: 最新触发交易日
  10932. type: string
  10933. logincode:
  10934. description: 账号(登录代码)
  10935. type: string
  10936. nexttriggeramount:
  10937. description: 下次触发金额
  10938. type: number
  10939. nexttriggerdate:
  10940. description: 下次触发日期
  10941. type: string
  10942. nexttriggerqty:
  10943. description: 下次触发数量 [按小数位放大值]
  10944. type: number
  10945. qtydecimalplace:
  10946. description: 成交量小数位
  10947. type: integer
  10948. regularlycycle:
  10949. description: 定投频率 - 1:每周 2:每月
  10950. type: integer
  10951. regularlycyclevalue:
  10952. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10953. type: string
  10954. regularlymode:
  10955. description: 定投方式 - 1:按数量 2:按金额
  10956. type: integer
  10957. regularlymodevalue:
  10958. description: 定投方式值 - 数量或金额
  10959. type: number
  10960. regularlystrategyid:
  10961. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10962. type: integer
  10963. regularlystrategystatus:
  10964. description: 策略状态 - 1:正常 2:暂停 3:终止
  10965. type: integer
  10966. remark:
  10967. description: 备注
  10968. type: string
  10969. triggersuccesstimes:
  10970. description: 累计定投成功次数
  10971. type: string
  10972. triggertotalamount:
  10973. description: 累计定投金额(成功)
  10974. type: number
  10975. triggertotalqty:
  10976. description: 累计定投数量(成功) [按小数位放大值]
  10977. type: number
  10978. triggertotaltimes:
  10979. description: 累计定投总次数
  10980. type: string
  10981. updatesrc:
  10982. description: 更新来源 - 1:管理端 2:终端
  10983. type: integer
  10984. updatetime:
  10985. description: 更新时间
  10986. type: string
  10987. updatorid:
  10988. description: 更新人
  10989. type: string
  10990. userid:
  10991. description: 所属用户ID
  10992. type: integer
  10993. userinfotype:
  10994. description: 用户类型 1-个人 2-企业
  10995. type: integer
  10996. username:
  10997. description: 用户名称(userid对应的名称)
  10998. type: string
  10999. type: object
  11000. models.QhjReckonPriceLog:
  11001. properties:
  11002. decimalplace:
  11003. description: 商品报价小数位
  11004. type: integer
  11005. goodscode:
  11006. description: 商品代码
  11007. type: string
  11008. goodsid:
  11009. description: 商品ID
  11010. type: integer
  11011. goodsname:
  11012. description: 商品名称
  11013. type: string
  11014. lastreckonprice:
  11015. description: 上日结算价
  11016. type: number
  11017. nextdnlimitprice:
  11018. description: 下个交易日跌停价
  11019. type: number
  11020. nexttrade:
  11021. description: 下个交易日
  11022. type: string
  11023. nextuplimitprice:
  11024. description: 下个交易日涨停价
  11025. type: number
  11026. reckonprice:
  11027. description: 今日结算价(定投价)
  11028. type: number
  11029. reckontime:
  11030. description: 结算时间
  11031. type: string
  11032. totalholderqty:
  11033. description: 总持仓数
  11034. type: integer
  11035. totalstock:
  11036. description: 总库存
  11037. type: integer
  11038. tradedate:
  11039. description: 交易日
  11040. type: string
  11041. updowncount:
  11042. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11043. type: integer
  11044. updownflag:
  11045. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11046. type: integer
  11047. updownrate:
  11048. description: 今日涨跌幅
  11049. type: number
  11050. updownrate_2d:
  11051. description: 连续两日涨跌幅
  11052. type: number
  11053. updownrate_3d:
  11054. description: 连续三日涨跌幅
  11055. type: number
  11056. type: object
  11057. models.QhjSiteColumnDetail:
  11058. properties:
  11059. author:
  11060. description: 作者
  11061. type: string
  11062. brief:
  11063. description: 简介
  11064. type: string
  11065. columnid:
  11066. description: 所属栏目
  11067. type: integer
  11068. context:
  11069. description: 内容
  11070. type: string
  11071. coverimage:
  11072. description: 封面图片
  11073. type: string
  11074. creaedate:
  11075. description: 创建时间
  11076. type: string
  11077. creatorid:
  11078. description: 创建人
  11079. type: integer
  11080. hits:
  11081. description: 点击数
  11082. type: integer
  11083. id:
  11084. description: ID(SEQ_SITE_COLUMNDETAIL)
  11085. type: integer
  11086. isshow:
  11087. description: 是否展示 - 0:不展示 1:展示
  11088. type: integer
  11089. istop:
  11090. description: 是否置顶 - 0:不置 1:置顶
  11091. type: integer
  11092. modifierid:
  11093. description: 操作人
  11094. type: integer
  11095. publishdate:
  11096. description: 发布日期
  11097. type: string
  11098. status:
  11099. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11100. type: integer
  11101. title:
  11102. description: 标题
  11103. type: string
  11104. updatedate:
  11105. description: 修改时间
  11106. type: string
  11107. userid:
  11108. description: 用户ID(默认为0, 核心为为机构用户ID)
  11109. type: integer
  11110. username:
  11111. description: 用户名称
  11112. type: string
  11113. type: object
  11114. models.QhjTradeGoodsPickup:
  11115. properties:
  11116. accountid:
  11117. description: 账户ID
  11118. type: integer
  11119. address:
  11120. description: 提货人详细地址
  11121. type: string
  11122. amount:
  11123. description: 提货金额
  11124. type: number
  11125. artradedate:
  11126. description: 自动收货交易日(yyyyMMdd)
  11127. type: string
  11128. auditer:
  11129. description: 审核人
  11130. type: integer
  11131. auditsrc:
  11132. description: 更新来源 - 1:管理端 2:终端
  11133. type: integer
  11134. audittime:
  11135. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11136. type: string
  11137. audittradedate:
  11138. description: 审核交易日(yyyyMMdd)
  11139. type: string
  11140. cardnum:
  11141. description: 提货人证件号码
  11142. type: string
  11143. cardtypeid:
  11144. description: 提货人证件类型
  11145. type: integer
  11146. checkremark:
  11147. description: 审核备注
  11148. type: string
  11149. cityid:
  11150. description: 市
  11151. type: integer
  11152. cityname:
  11153. description: 城市名称
  11154. type: string
  11155. confirmtime:
  11156. description: 取货时间 或 收货时间
  11157. type: string
  11158. countryid:
  11159. description: 国家
  11160. type: integer
  11161. countryname:
  11162. description: 国家名称
  11163. type: string
  11164. decimalplace:
  11165. description: 商品报价小数位
  11166. type: integer
  11167. districtid:
  11168. description: 地区
  11169. type: integer
  11170. districtname:
  11171. description: 地区名称
  11172. type: string
  11173. enumdicname:
  11174. description: 单位名称(提货商品)
  11175. type: string
  11176. expresscompany:
  11177. description: 物流公司
  11178. type: string
  11179. expressnum:
  11180. description: 物流单号
  11181. type: string
  11182. goodsagreeunit:
  11183. description: 交易商品乘数
  11184. type: number
  11185. goodscode:
  11186. description: 商品代码
  11187. type: string
  11188. goodsid:
  11189. description: 商品ID
  11190. type: integer
  11191. goodsname:
  11192. description: 商品名称
  11193. type: string
  11194. goodsqty:
  11195. description: 交易商品手数(69模式按成交量小数位放大取整)
  11196. type: number
  11197. handlestatus:
  11198. description: 处理状态
  11199. type: integer
  11200. logincode:
  11201. description: 账号(登录代码, 有可能为空)
  11202. type: string
  11203. marketid:
  11204. description: 市场ID
  11205. type: integer
  11206. phonenum:
  11207. description: 提货人联系方式
  11208. type: string
  11209. pickupgoodsagreeunit:
  11210. description: 提货商品合约乘数
  11211. type: number
  11212. pickupgoodsid:
  11213. description: 提货商品ID
  11214. type: string
  11215. pickupgoodsname:
  11216. description: 提货商品名称
  11217. type: string
  11218. pickupgoodsqty:
  11219. description: 提货商品手数(数量)
  11220. type: number
  11221. pickupgoodsunitid:
  11222. description: 单位ID(提货商品)
  11223. type: integer
  11224. pickupratio:
  11225. description: 提货系数
  11226. type: number
  11227. preparedays:
  11228. description: 备货期(天)-提货单明细表
  11229. type: integer
  11230. provinceid:
  11231. description: 省
  11232. type: integer
  11233. provincename:
  11234. description: 省名称
  11235. type: string
  11236. qty:
  11237. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  11238. type: number
  11239. qtydecimalplace:
  11240. description: 商品数量小数位
  11241. type: integer
  11242. recivername:
  11243. description: 提货人姓名
  11244. type: string
  11245. reqtime:
  11246. description: 提货申请时间
  11247. type: string
  11248. storeuserid:
  11249. description: 门店用户ID (千海金)
  11250. type: integer
  11251. storeusername:
  11252. description: 门店用户名称
  11253. type: string
  11254. takemode:
  11255. description: 提货方式 - 2:自提 3:配送(邮寄)
  11256. type: integer
  11257. takeorderid:
  11258. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11259. type: string
  11260. takeorderstatus:
  11261. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  11262. 7:已拒绝 8:已撤销
  11263. type: integer
  11264. takeremark:
  11265. description: 提货备注
  11266. type: string
  11267. tradedate:
  11268. description: 交易日(yyyyMMdd)
  11269. type: string
  11270. updatetime:
  11271. description: 更新时间
  11272. type: string
  11273. userid:
  11274. description: 用户ID
  11275. type: integer
  11276. userinfotype:
  11277. description: 客户类型 1-个人 2-企业
  11278. type: integer
  11279. username:
  11280. description: 用户名称
  11281. type: string
  11282. type: object
  11283. models.Qhjgoodsex:
  11284. properties:
  11285. canfinance:
  11286. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  11287. type: integer
  11288. canregularlybuy:
  11289. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  11290. type: integer
  11291. defaulttradeuserid:
  11292. description: 默认交易用户ID
  11293. type: integer
  11294. deliverygoodsid:
  11295. description: 现货品种ID
  11296. type: integer
  11297. goodsid:
  11298. description: 商品ID(自增ID SEQ_GOODS)
  11299. type: integer
  11300. minamount:
  11301. description: 最小购买金额
  11302. type: number
  11303. regularlybuyminamount:
  11304. description: 定投最小金额
  11305. type: number
  11306. regularlybuyminqty:
  11307. description: 定投最小数量
  11308. type: number
  11309. spotgoodsbrandid:
  11310. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  11311. type: integer
  11312. wrstandardid:
  11313. description: 现货商品ID
  11314. type: integer
  11315. type: object
  11316. models.QueryErrorInfosRsp:
  11317. properties:
  11318. description:
  11319. description: 异常描述
  11320. type: string
  11321. errorcode:
  11322. description: 异常代码
  11323. type: string
  11324. errorid:
  11325. description: 异常ID
  11326. type: integer
  11327. modulecode:
  11328. description: 所属模块
  11329. type: string
  11330. operatecode:
  11331. description: 所属操作
  11332. type: string
  11333. rownumber:
  11334. description: 行号
  11335. type: string
  11336. required:
  11337. - errorid
  11338. type: object
  11339. models.QueryHedgeOrderDetailRsp:
  11340. properties:
  11341. accountid:
  11342. description: 账户ID
  11343. type: integer
  11344. buyorsell:
  11345. description: 买卖 - 0:买 1:卖
  11346. type: integer
  11347. cancellogincode:
  11348. description: 撤单人
  11349. type: string
  11350. channelbuildtype:
  11351. description: 开平标志 - 0:无 1:建仓 2:平仓
  11352. type: integer
  11353. channelinnerorderstatus:
  11354. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11355. 9:全部成交
  11356. type: integer
  11357. channeloperatetype:
  11358. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11359. type: integer
  11360. closetype:
  11361. description: 平仓方式 - 0:无 1:平今 2:平昨
  11362. type: integer
  11363. curexchangerate:
  11364. description: 当前汇率
  11365. type: number
  11366. exchangefullname:
  11367. description: 外部交易所全称
  11368. type: string
  11369. goodscode:
  11370. description: 商品代码(内部)
  11371. type: string
  11372. goodsid:
  11373. description: 商品ID
  11374. type: integer
  11375. goodsname:
  11376. description: 商品名称
  11377. type: string
  11378. marketid:
  11379. description: 市场ID
  11380. type: integer
  11381. openfreezemargin:
  11382. description: 冻结保证金(冻结交易金额)
  11383. type: number
  11384. orderid:
  11385. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11386. type: string
  11387. orderlogincode:
  11388. description: 委托人
  11389. type: string
  11390. orderprice:
  11391. description: 委托价格(账户)
  11392. type: number
  11393. orderqty:
  11394. description: 委托数量
  11395. type: integer
  11396. ordertime:
  11397. description: 委托时间
  11398. type: string
  11399. pricemode:
  11400. description: '取价方式 - 1:市价 2: 限价'
  11401. type: integer
  11402. tradedate:
  11403. description: 交易日(yyyyMMdd)
  11404. type: string
  11405. tradeqty:
  11406. description: 成交数量
  11407. type: integer
  11408. type: object
  11409. models.QueryHedgeTradeDetailRsp:
  11410. properties:
  11411. accountid:
  11412. description: 账号ID
  11413. type: integer
  11414. buyorsell:
  11415. description: 方向 - 0:买 1:卖
  11416. type: integer
  11417. channelbuildtype:
  11418. description: 委托单据类型 0:无 1:建仓 2:平仓
  11419. type: integer
  11420. closecharge:
  11421. description: 平仓手续费(账户)
  11422. type: number
  11423. closecharge2:
  11424. description: 平仓手续费(商品)
  11425. type: number
  11426. closepl:
  11427. description: 平仓盈亏(账户)
  11428. type: number
  11429. closepl2:
  11430. description: 平仓盈亏(商品)
  11431. type: number
  11432. closepl3:
  11433. description: 平仓盈亏(账户)(逐笔)
  11434. type: number
  11435. closepl4:
  11436. description: 平仓盈亏(商品)(逐笔)
  11437. type: number
  11438. closetype:
  11439. description: 平仓方式 - 0:无 1:平今 2:平昨
  11440. type: integer
  11441. curexchangerate:
  11442. description: 当前汇率
  11443. type: number
  11444. exchangefullname:
  11445. description: 外部交易所全称
  11446. type: string
  11447. goodscode:
  11448. description: 商品代码(内部)
  11449. type: string
  11450. goodsid:
  11451. description: 商品ID
  11452. type: integer
  11453. goodsname:
  11454. description: 商品名称
  11455. type: string
  11456. marketid:
  11457. description: 市场ID
  11458. type: integer
  11459. opencharge:
  11460. description: 建仓手续费(账户)
  11461. type: number
  11462. opencharge2:
  11463. description: 建仓手续费(商品)
  11464. type: number
  11465. orderid:
  11466. description: 委托单号
  11467. type: string
  11468. orderlogincode:
  11469. description: 委托人
  11470. type: string
  11471. tradeamount:
  11472. description: 成交金额(账户)
  11473. type: number
  11474. tradedate:
  11475. description: 交易日(yyyyMMdd)
  11476. type: string
  11477. tradeid:
  11478. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11479. type: string
  11480. tradeprice:
  11481. description: 成交价格
  11482. type: number
  11483. tradeqty:
  11484. description: 成交数量
  11485. type: integer
  11486. tradetime:
  11487. description: 成交时间
  11488. type: string
  11489. tradetype:
  11490. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11491. type: integer
  11492. type: object
  11493. models.QuotePrimaryMenu:
  11494. properties:
  11495. Index:
  11496. description: 序号
  11497. type: integer
  11498. Key:
  11499. description: 键名
  11500. type: string
  11501. Name:
  11502. description: 菜单名称
  11503. type: string
  11504. SubMenus:
  11505. description: 子菜单
  11506. items:
  11507. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11508. type: array
  11509. SubTitleType:
  11510. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11511. type: integer
  11512. TradeModes:
  11513. description: 包含市场交易类型
  11514. type: string
  11515. type: object
  11516. models.QuoteSecondaryMenu:
  11517. properties:
  11518. ExExchangeCode:
  11519. description: 外部交易所代码
  11520. type: string
  11521. ExExchangeID:
  11522. description: 外部交易所ID
  11523. type: integer
  11524. GoodsGroupIDs:
  11525. description: 商品组ID列表
  11526. items:
  11527. type: integer
  11528. type: array
  11529. Index:
  11530. description: 序号
  11531. type: integer
  11532. MarketID:
  11533. description: 市场ID
  11534. type: integer
  11535. MenuTitle:
  11536. description: 菜单标题(市场名称或外部交易所名称)
  11537. type: string
  11538. TradeMode:
  11539. description: 交易模式
  11540. type: integer
  11541. type: object
  11542. models.SearchGoods:
  11543. properties:
  11544. goodscode:
  11545. description: 商品代码(内部)
  11546. type: string
  11547. goodsid:
  11548. description: 商品ID(自增ID SEQ_GOODS)
  11549. type: integer
  11550. goodsname:
  11551. description: 商品名称
  11552. type: string
  11553. marketid:
  11554. description: 所属市场ID
  11555. type: integer
  11556. marketname:
  11557. description: 市场名称
  11558. type: string
  11559. trademode:
  11560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11561. 21:竞拍-大宗式 22:受托竞价
  11562. type: integer
  11563. required:
  11564. - goodscode
  11565. - goodsid
  11566. - goodsname
  11567. - marketid
  11568. - trademode
  11569. type: object
  11570. models.Systemparam:
  11571. properties:
  11572. loginid:
  11573. description: 更新用户账号,登录账号
  11574. type: string
  11575. modifyflag:
  11576. description: 修改标志0 不允许修改 1 允许修改
  11577. type: integer
  11578. paramcode:
  11579. description: 参数代码
  11580. type: string
  11581. paramname:
  11582. description: 参数名
  11583. type: string
  11584. paramtype:
  11585. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  11586. type: integer
  11587. paramvalue:
  11588. description: 参数值
  11589. type: string
  11590. paramvalue2:
  11591. description: 参数值(CLOB)
  11592. type: string
  11593. regexpress:
  11594. description: 正则表达式
  11595. type: string
  11596. remark:
  11597. description: 备注
  11598. type: string
  11599. serverip:
  11600. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  11601. type: string
  11602. showflag:
  11603. description: 是否显示0 不显示 1 显示
  11604. type: integer
  11605. updatetime:
  11606. description: 更新时间
  11607. type: string
  11608. userid:
  11609. description: 更新用户ID
  11610. type: integer
  11611. required:
  11612. - paramcode
  11613. type: object
  11614. models.Szdz3convertconfig:
  11615. properties:
  11616. canin:
  11617. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  11618. type: integer
  11619. canout:
  11620. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  11621. type: integer
  11622. converttype:
  11623. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  11624. 6:交易转花生米(不设置)
  11625. type: integer
  11626. createtime:
  11627. description: 创建时间
  11628. type: string
  11629. creatorid:
  11630. description: 创建人
  11631. type: integer
  11632. daymaxvalue:
  11633. description: 当日最大转入限制
  11634. type: number
  11635. freezedays:
  11636. description: 冻结天数 [5:花生米转交易]
  11637. type: integer
  11638. innergoodsid:
  11639. description: 内部商品ID[交易]
  11640. type: integer
  11641. inratio:
  11642. description: 目标值
  11643. type: integer
  11644. modifierid:
  11645. description: 修改人
  11646. type: integer
  11647. modifytime:
  11648. description: 修改时间
  11649. type: string
  11650. outergoodscode:
  11651. description: 外部商品代码[JD\PD]
  11652. type: string
  11653. outratio:
  11654. description: 源值
  11655. type: integer
  11656. pddecimalplace:
  11657. description: PD小数位
  11658. type: integer
  11659. timemaxvalue:
  11660. description: 单次最大转入限制
  11661. type: number
  11662. timeminvalue:
  11663. description: 单次最小转入限制
  11664. type: number
  11665. required:
  11666. - converttype
  11667. - innergoodsid
  11668. - outergoodscode
  11669. type: object
  11670. models.Szdz3searchwhitelist:
  11671. properties:
  11672. createtime:
  11673. description: 创建时间
  11674. type: string
  11675. creatorid:
  11676. description: 创建人
  11677. type: integer
  11678. modifierid:
  11679. description: 修改人
  11680. type: integer
  11681. modifytime:
  11682. description: 修改时间
  11683. type: string
  11684. userid:
  11685. description: 用户ID
  11686. type: integer
  11687. required:
  11688. - userid
  11689. type: object
  11690. models.Taaccount:
  11691. properties:
  11692. accountflag:
  11693. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  11694. type: integer
  11695. accountid:
  11696. description: 资金账户ID
  11697. type: integer
  11698. accountname:
  11699. description: 账户名称
  11700. type: string
  11701. balance:
  11702. description: 期初余额
  11703. type: number
  11704. capitalbalance:
  11705. description: 本金余额[外部子账户实际出入金余额]
  11706. type: number
  11707. changeflag:
  11708. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  11709. type: integer
  11710. changetime:
  11711. description: 账户状态变更时间
  11712. type: string
  11713. closepl:
  11714. description: 今日平仓盈亏
  11715. type: number
  11716. creditdecrease:
  11717. description: 今日授信减少
  11718. type: number
  11719. creditincrease:
  11720. description: 今日授信增加
  11721. type: number
  11722. currencyid:
  11723. description: 货币ID
  11724. type: integer
  11725. currentbalance:
  11726. description: 期末余额
  11727. type: number
  11728. freezecharge:
  11729. description: 手续费冻结
  11730. type: number
  11731. freezemargin:
  11732. description: 冻结保证金
  11733. type: number
  11734. fromaccountid:
  11735. description: 所属上级账户
  11736. type: integer
  11737. inamount:
  11738. description: 今日入金金额(包括三方入金)
  11739. type: number
  11740. ismain:
  11741. description: 是否母账号 0:不是母账户 1:是母账户
  11742. type: integer
  11743. ismarketaccount:
  11744. description: 是否机构接单账号 0:不是 1:是
  11745. type: integer
  11746. isreckonaccount:
  11747. description: 是否机构分润账号 0:不是 1:是
  11748. type: integer
  11749. mortgagecredit:
  11750. description: 授信金额
  11751. type: number
  11752. orifreezecharge:
  11753. description: 期初手续费冻结
  11754. type: number
  11755. orifreezemargin:
  11756. description: 期初冻结保证金
  11757. type: number
  11758. orimortgagecredit:
  11759. description: 期初授信金额
  11760. type: number
  11761. oriothercredit:
  11762. description: 期初其它授信金额
  11763. type: number
  11764. oriotherfreezemargin:
  11765. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  11766. type: number
  11767. orioutamountfreeze:
  11768. description: 期初出金冻结
  11769. type: number
  11770. oriusedmargin:
  11771. description: 期初占用保证金
  11772. type: number
  11773. othercredit:
  11774. description: 其它授信金额
  11775. type: number
  11776. othercreditdecrease:
  11777. description: 今日其它授信减少
  11778. type: number
  11779. othercreditincrease:
  11780. description: 今日其它授信增加
  11781. type: number
  11782. otherfreezemargin:
  11783. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  11784. type: number
  11785. otherincome:
  11786. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  11787. type: number
  11788. otherpay:
  11789. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  11790. type: number
  11791. outamount:
  11792. description: 今日出金金额(包括三方出金)
  11793. type: number
  11794. outamountfreeze:
  11795. description: 出金冻结
  11796. type: number
  11797. outthreshold:
  11798. description: 出金阈值
  11799. type: number
  11800. parentaccountid:
  11801. description: 所属根账号
  11802. type: integer
  11803. paycharge:
  11804. description: 今日手续费支出
  11805. type: number
  11806. relatedaccountstatus:
  11807. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  11808. type: integer
  11809. relateduserid:
  11810. description: 关联用户
  11811. type: integer
  11812. serivcegroup:
  11813. description: 服务分组
  11814. type: integer
  11815. signstatus:
  11816. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11817. type: integer
  11818. sublevelpath:
  11819. description: 账号层级路径(逗号分隔,首尾加逗号)
  11820. type: string
  11821. taaccounttype:
  11822. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  11823. type: integer
  11824. thirdinamount:
  11825. description: 今日三方入金
  11826. type: number
  11827. thirdoutamount:
  11828. description: 今日三方出金
  11829. type: number
  11830. tradestatus:
  11831. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  11832. type: integer
  11833. tradestatuschangetime:
  11834. description: 激活时间
  11835. type: string
  11836. transferamount:
  11837. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  11838. type: number
  11839. usedmargin:
  11840. description: 占用保证金
  11841. type: number
  11842. userid:
  11843. description: 用户ID
  11844. type: integer
  11845. required:
  11846. - accountid
  11847. - userid
  11848. type: object
  11849. models.Tablecolumnconfig:
  11850. properties:
  11851. aligntype:
  11852. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  11853. type: integer
  11854. autoid:
  11855. description: AutoID
  11856. type: integer
  11857. columnfield:
  11858. description: 列字段
  11859. type: string
  11860. columntitle:
  11861. description: 列Title
  11862. type: string
  11863. columnwidth:
  11864. description: 列宽
  11865. type: string
  11866. formatterstring:
  11867. description: 格式化字符
  11868. type: string
  11869. formattertype:
  11870. description: 格式化类型
  11871. type: string
  11872. groupname:
  11873. description: 表头分组名称
  11874. type: string
  11875. isshow:
  11876. description: 是否显示 - 0:不显示 1:显示
  11877. type: integer
  11878. needsummary:
  11879. description: 是否需要汇总 - 0:不需要 1:需要
  11880. type: integer
  11881. orderindex:
  11882. description: 顺序
  11883. type: integer
  11884. remark:
  11885. description: 备注
  11886. type: string
  11887. summarytype:
  11888. description: 汇总类型 - 1:加总 2:最后一个
  11889. type: integer
  11890. tablekey:
  11891. description: 列表Key
  11892. type: string
  11893. required:
  11894. - autoid
  11895. type: object
  11896. models.UserCollectConfig:
  11897. properties:
  11898. accountstatus:
  11899. description: 账户状态 - 1:正常 2:停用 3:注销
  11900. type: integer
  11901. collectaccountname:
  11902. description: 收款人账户名称
  11903. type: string
  11904. collectaccountno:
  11905. description: 收款人账户
  11906. type: string
  11907. collectbankname:
  11908. description: 收款人开户行
  11909. type: string
  11910. collectbranchbankname:
  11911. description: 收款人开户支行
  11912. type: string
  11913. collectconfigid:
  11914. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11915. type: string
  11916. remark:
  11917. description: 备注
  11918. type: string
  11919. userid:
  11920. description: 收款人用户ID
  11921. type: integer
  11922. type: object
  11923. models.UserReceiveInfo:
  11924. properties:
  11925. address:
  11926. description: 提货人详细地址
  11927. type: string
  11928. autoid:
  11929. description: AutoID
  11930. type: integer
  11931. cardnum:
  11932. description: 证件号码(加密存储)
  11933. type: string
  11934. cardtypeid:
  11935. description: 证件类型
  11936. type: integer
  11937. cityid:
  11938. description: 市
  11939. type: integer
  11940. cityname:
  11941. description: 城市名称
  11942. type: string
  11943. countryid:
  11944. description: 国家
  11945. type: integer
  11946. countryname:
  11947. description: 国家名称
  11948. type: string
  11949. districtid:
  11950. description: 地区
  11951. type: integer
  11952. districtname:
  11953. description: 地区名称
  11954. type: string
  11955. hasencrypt:
  11956. description: 数据是否已加密 - 0:未加密 1:已加密
  11957. type: integer
  11958. isdefault:
  11959. description: 是否默认地址 - 0:否 1:是
  11960. type: integer
  11961. phonenum:
  11962. description: 提货人联系方式(加密存储)
  11963. type: string
  11964. provinceid:
  11965. description: 省
  11966. type: integer
  11967. provincename:
  11968. description: 省名称
  11969. type: string
  11970. receivername:
  11971. description: 提货人姓名
  11972. type: string
  11973. takeremark:
  11974. description: 提货备注
  11975. type: string
  11976. userid:
  11977. description: 用户ID
  11978. type: integer
  11979. type: object
  11980. models.Useraccount:
  11981. properties:
  11982. accountname:
  11983. description: 账户名称(机构名称)
  11984. type: string
  11985. accountstatus:
  11986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11987. type: integer
  11988. applysrc:
  11989. description: 申请来源 - 1:管理端 2:终端
  11990. type: integer
  11991. auditremark:
  11992. description: 审核备注
  11993. type: string
  11994. auditsrc:
  11995. description: 审核来源 - 1:管理端 2:终端
  11996. type: integer
  11997. audittime:
  11998. description: 审核时间
  11999. type: string
  12000. audituserid:
  12001. description: 审核人
  12002. type: integer
  12003. broker:
  12004. description: 所属经纪人ID
  12005. type: integer
  12006. canceltime:
  12007. description: 销户时间
  12008. type: string
  12009. canceluserid:
  12010. description: 销户人
  12011. type: integer
  12012. canrecommend:
  12013. description: 是否可推荐 - 0:不可 1;可
  12014. type: integer
  12015. createtime:
  12016. description: 创建时间
  12017. type: string
  12018. creatorid:
  12019. description: 创建人
  12020. type: integer
  12021. hasauth:
  12022. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12023. type: integer
  12024. isanonymous:
  12025. description: 是否匿名下单 - 0:否 1:是
  12026. type: integer
  12027. maxinvestornum:
  12028. description: 最大用户数(经纪会员下投资者个数)
  12029. type: integer
  12030. memberuserid:
  12031. description: 所属会员ID
  12032. type: integer
  12033. modifierid:
  12034. description: 修改人
  12035. type: integer
  12036. modifyremark:
  12037. description: 变更备注
  12038. type: string
  12039. modifystatus:
  12040. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12041. type: integer
  12042. modifytime:
  12043. description: 修改时间
  12044. type: string
  12045. parenttopuser:
  12046. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12047. type: string
  12048. parentuserid:
  12049. description: 所属机构ID
  12050. type: integer
  12051. reckonaccountid:
  12052. description: 默认结算资金账号ID(机构分润使用) 作废
  12053. type: integer
  12054. refercount:
  12055. description: 推荐总人数
  12056. type: integer
  12057. refereeuserid:
  12058. description: 推荐人ID
  12059. type: integer
  12060. refernum:
  12061. description: 推荐码
  12062. type: string
  12063. rootuserid:
  12064. description: 根用户ID
  12065. type: integer
  12066. subaccountlevel:
  12067. description: 子账户层数
  12068. type: integer
  12069. subarealevelpath:
  12070. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12071. type: string
  12072. userid:
  12073. description: 用户ID
  12074. type: integer
  12075. usertype:
  12076. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12077. type: integer
  12078. required:
  12079. - userid
  12080. type: object
  12081. models.Userfavoritegoods:
  12082. properties:
  12083. goodsid:
  12084. description: 商品ID
  12085. type: integer
  12086. required:
  12087. - goodsid
  12088. type: object
  12089. models.Userinfo:
  12090. properties:
  12091. address:
  12092. description: 地址
  12093. type: string
  12094. attachment1:
  12095. description: 附件1
  12096. type: string
  12097. attachment2:
  12098. description: 附件2
  12099. type: string
  12100. bankaccount:
  12101. description: 银行帐号 (加密存储)
  12102. type: string
  12103. bankaccountname:
  12104. description: 收款人名称
  12105. type: string
  12106. bankcardfrontphotourl:
  12107. description: 银行卡正面照地址
  12108. type: string
  12109. bankid:
  12110. description: 银行编码
  12111. type: string
  12112. bankname:
  12113. description: 银行名称
  12114. type: string
  12115. biznature:
  12116. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12117. type: integer
  12118. bizscope:
  12119. description: 企业经营范围(企业)
  12120. type: string
  12121. cardbackphotourl:
  12122. description: 证件背面图片地址
  12123. type: string
  12124. cardfrontphotourl:
  12125. description: 证件正面图片地址
  12126. type: string
  12127. cardnum:
  12128. description: 证件号码(加密存储)
  12129. type: string
  12130. cardtypeid:
  12131. description: 证件类型ID
  12132. type: integer
  12133. cityid:
  12134. description: 市
  12135. type: integer
  12136. company:
  12137. description: 公司(个人)
  12138. type: string
  12139. contactname:
  12140. description: 联系人
  12141. type: string
  12142. countryid:
  12143. description: 国家
  12144. type: integer
  12145. createtime:
  12146. description: 创建时间
  12147. type: string
  12148. creatorid:
  12149. description: 创建人
  12150. type: integer
  12151. customername:
  12152. description: 客户名称(企业名称)
  12153. type: string
  12154. districtid:
  12155. description: 地区
  12156. type: integer
  12157. email:
  12158. description: 邮件(加密存储)
  12159. type: string
  12160. fax:
  12161. description: 传真(加密存储)
  12162. type: string
  12163. halfbodyphotourl:
  12164. description: 半身照地址
  12165. type: string
  12166. hasencrypt:
  12167. description: 数据是否已加密 - 0:未加密 1:已加密
  12168. type: integer
  12169. headurl:
  12170. description: 头像地址
  12171. type: string
  12172. legalcardbackphotourl:
  12173. description: 法人身份证背面照地址
  12174. type: string
  12175. legalcardfrontphotourl:
  12176. description: 法人身份证正面照地址
  12177. type: string
  12178. legalpersonname:
  12179. description: 法人姓名(企业)
  12180. type: string
  12181. mobile:
  12182. description: 手机号码(加密存储)
  12183. type: string
  12184. mobile2:
  12185. description: 手机号码[明文-尚志]
  12186. type: string
  12187. modifierid:
  12188. description: 修改人
  12189. type: integer
  12190. modifiertime:
  12191. description: 修改时间
  12192. type: string
  12193. needinvoice:
  12194. description: 是否需要发票 - 0:不需要 1:需要
  12195. type: integer
  12196. nickname:
  12197. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  12198. type: string
  12199. openmode:
  12200. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  12201. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  12202. type: integer
  12203. otherurl:
  12204. description: 其它图片地址[使用分号分隔]
  12205. type: string
  12206. postalcode:
  12207. description: 邮政编码
  12208. type: string
  12209. provinceid:
  12210. description: 省
  12211. type: integer
  12212. qq:
  12213. description: QQ(加密存储
  12214. type: string
  12215. remark:
  12216. description: 备注
  12217. type: string
  12218. sex:
  12219. description: '用户性别 0: 女 1: 男'
  12220. type: integer
  12221. signpdfurl:
  12222. description: 签约pdf文件
  12223. type: string
  12224. telphone:
  12225. description: 联系电话(加密存储)
  12226. type: string
  12227. userid:
  12228. description: 用户ID
  12229. type: integer
  12230. userinfotype:
  12231. description: 用户信息类型 - 1:个人 2:企业
  12232. type: integer
  12233. userstatus:
  12234. description: 用户状态 - 1:正常 2:注销
  12235. type: integer
  12236. usertype:
  12237. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  12238. type: integer
  12239. wechat:
  12240. description: 微信(加密存储)
  12241. type: string
  12242. wskhinfo:
  12243. description: 开户申请信息(JSON)
  12244. type: string
  12245. required:
  12246. - userid
  12247. type: object
  12248. models.WRSConverTDetail:
  12249. properties:
  12250. convertratio:
  12251. description: 套保系数
  12252. type: number
  12253. deliverygoodscode:
  12254. description: 现货商品代码
  12255. type: string
  12256. deliverygoodsid:
  12257. description: 现货品种ID
  12258. type: integer
  12259. deliverygoodsname:
  12260. description: 现货商品名称
  12261. type: string
  12262. enumdicname:
  12263. description: 单位名称
  12264. type: string
  12265. goodsunitid:
  12266. description: 套保品种单位id
  12267. type: integer
  12268. middlegoodscode:
  12269. description: 套保品种代码
  12270. type: string
  12271. middlegoodsid:
  12272. description: 套保品种ID
  12273. type: integer
  12274. middlegoodsname:
  12275. description: 套保品种名称
  12276. type: string
  12277. modifytime:
  12278. description: 修改时间
  12279. type: string
  12280. wrstandardid:
  12281. description: 品类ID
  12282. type: integer
  12283. type: object
  12284. models.WRStandardInfo:
  12285. properties:
  12286. areauserid:
  12287. description: 所属机构
  12288. type: integer
  12289. convertfactor:
  12290. description: 标仓系数
  12291. type: number
  12292. createtime:
  12293. description: 创建时间
  12294. type: string
  12295. creatorid:
  12296. description: 创建人
  12297. type: integer
  12298. deliverygoodsid:
  12299. description: 品种ID
  12300. type: integer
  12301. deliverygoodsname:
  12302. description: 交割商品名称
  12303. type: string
  12304. factoryitemjson:
  12305. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  12306. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  12307. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  12308. 逗号分隔'
  12309. type: string
  12310. isvalid:
  12311. description: 是否有效 - 0:无效 1:有效
  12312. type: integer
  12313. minivalue:
  12314. description: 最小变动值
  12315. type: integer
  12316. minivaluedp:
  12317. description: 最小变动值小数位
  12318. type: integer
  12319. realminivalue:
  12320. description: 实际最小变动值
  12321. type: integer
  12322. realminivaluedp:
  12323. description: 实际最小变动值小数位
  12324. type: integer
  12325. remark:
  12326. description: 备注
  12327. type: string
  12328. unitid:
  12329. description: 单位ID
  12330. type: integer
  12331. unitname:
  12332. description: 单位
  12333. type: string
  12334. updatetime:
  12335. description: 更新时间
  12336. type: string
  12337. updatorid:
  12338. description: 更新人
  12339. type: integer
  12340. wrsstatus:
  12341. description: 状态 - 作废 - 0:未激活 1:正常
  12342. type: integer
  12343. wrstandardcode:
  12344. description: 现货品类代码
  12345. type: string
  12346. wrstandardid:
  12347. description: 现货品类ID(SEQ_WRSTANDARD)
  12348. type: integer
  12349. wrstandardname:
  12350. description: 现货品类名称
  12351. type: string
  12352. required:
  12353. - wrstandardid
  12354. type: object
  12355. models.Warehouseinfo:
  12356. properties:
  12357. address:
  12358. description: 详细地址
  12359. type: string
  12360. areauserid:
  12361. description: 所属机构
  12362. type: integer
  12363. autoid:
  12364. description: 自增ID
  12365. type: integer
  12366. cityid:
  12367. description: 市
  12368. type: integer
  12369. contactname:
  12370. description: 联系人
  12371. type: string
  12372. contactnum:
  12373. description: 联系电话
  12374. type: string
  12375. countryid:
  12376. description: 国家
  12377. type: integer
  12378. createtime:
  12379. description: 创建时间
  12380. type: string
  12381. districtid:
  12382. description: 区
  12383. type: integer
  12384. hasvideo:
  12385. description: 是否有视频 - 0:无 1:有
  12386. type: integer
  12387. provinceid:
  12388. description: 省
  12389. type: integer
  12390. remark:
  12391. description: 审核备注
  12392. type: string
  12393. videourl:
  12394. description: 视频地址
  12395. type: string
  12396. warehousecode:
  12397. description: 仓库代码
  12398. type: string
  12399. warehousename:
  12400. description: 仓库名称
  12401. type: string
  12402. warehousestatus:
  12403. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  12404. type: integer
  12405. warehousetype:
  12406. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  12407. type: integer
  12408. required:
  12409. - autoid
  12410. - warehousecode
  12411. type: object
  12412. order.QueryHisTradeDetailRsp:
  12413. properties:
  12414. accountid:
  12415. description: 账户ID[报价币种]
  12416. type: integer
  12417. advanceratio:
  12418. description: 首付比率
  12419. type: number
  12420. buildtype:
  12421. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12422. type: integer
  12423. buyorsell:
  12424. description: 方向 - 0:买 1:卖
  12425. type: integer
  12426. charge:
  12427. description: 手续费
  12428. type: number
  12429. closecharge:
  12430. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12431. type: number
  12432. closeexchagechargevalue:
  12433. description: 平仓交易所手续费设置值
  12434. type: number
  12435. closefeealgorithm:
  12436. description: 平仓手续费收取方式 1:比率 2:固定
  12437. type: integer
  12438. closememberchargevalue:
  12439. description: 平仓会员手续费设置值
  12440. type: number
  12441. closepl:
  12442. description: 平仓盈亏
  12443. type: number
  12444. closepl2:
  12445. description: 平仓盈亏[逐笔]
  12446. type: number
  12447. closeqty:
  12448. description: 平仓数量(先建后平操作 需要记录)
  12449. type: number
  12450. creditamount:
  12451. description: 授信金额
  12452. type: number
  12453. decimalplace:
  12454. description: 商品报价小数位
  12455. type: integer
  12456. enumdicname:
  12457. description: 单位名称
  12458. type: string
  12459. gcaccountid:
  12460. description: 账户ID[合约币种]
  12461. type: integer
  12462. goodscode:
  12463. description: 商品代码
  12464. type: string
  12465. goodsid:
  12466. description: 商品ID
  12467. type: integer
  12468. goodsname:
  12469. description: 商品名称
  12470. type: string
  12471. goodunitid:
  12472. description: 商品单位id
  12473. type: integer
  12474. histradedate:
  12475. description: 历史交易日
  12476. type: string
  12477. intclosepl:
  12478. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12479. type: integer
  12480. isconfirmexercise:
  12481. description: 是否确认行权- 0:否 1:是
  12482. type: integer
  12483. ismain:
  12484. description: 是否主单 - 0:不是 1:是
  12485. type: integer
  12486. ispreexercise:
  12487. description: 是否预申报- 0:否 1:是
  12488. type: integer
  12489. isreckoned:
  12490. description: 是否结算 - 0:未结算 1:已结算
  12491. type: integer
  12492. isvaliddata:
  12493. description: 是否有效 - 0:无效 1:有效
  12494. type: integer
  12495. listingselecttype:
  12496. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12497. type: integer
  12498. marketid:
  12499. description: 市场ID
  12500. type: integer
  12501. marketname:
  12502. description: 市场名称
  12503. type: string
  12504. matchaccountid:
  12505. description: 对手账号id
  12506. type: integer
  12507. memberuserid:
  12508. description: 会员id 个人投资者 需要填写
  12509. type: integer
  12510. opencharge:
  12511. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12512. type: number
  12513. openexchagechargevalue:
  12514. description: 建仓交易所手续费设置值
  12515. type: number
  12516. openfeealgorithm:
  12517. description: 建仓手续费收取方式 1:比率 2:固定
  12518. type: integer
  12519. openmemberchargevalue:
  12520. description: 建仓会员手续费设置值
  12521. type: number
  12522. openqty:
  12523. description: 开仓数量(先建后平操作 需要记录)
  12524. type: number
  12525. optiontype:
  12526. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12527. type: integer
  12528. orderid:
  12529. description: 委托单号
  12530. type: string
  12531. payamount:
  12532. description: 支付金额(付款金额)
  12533. type: number
  12534. performanceplanid:
  12535. description: 履约计划ID[期权]
  12536. type: integer
  12537. performancestatus:
  12538. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12539. type: integer
  12540. preexerciseprice:
  12541. description: 预申报价格
  12542. type: number
  12543. premium:
  12544. description: 权利金 - [持仓单的权利金]
  12545. type: number
  12546. qtydecimalplace:
  12547. description: 商品报价小数位
  12548. type: integer
  12549. recvamount:
  12550. description: 到账金额 = 成交金额 - 手续费
  12551. type: number
  12552. relatedouttradeid:
  12553. description: 关联外部成交单ID
  12554. type: integer
  12555. status:
  12556. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12557. type: integer
  12558. totalamount:
  12559. description: 订单总额 = 成交金额 + 手续费
  12560. type: number
  12561. tradeamount:
  12562. description: 成交金额[账户币种,用于所有权]
  12563. type: number
  12564. tradedate:
  12565. description: 交易日(yyyyMMdd)
  12566. type: string
  12567. tradeid:
  12568. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12569. type: string
  12570. trademode:
  12571. description: 交易模式
  12572. type: integer
  12573. tradeprice:
  12574. description: 成交价格
  12575. type: number
  12576. tradeproperty:
  12577. description: 交易属性
  12578. type: integer
  12579. tradeqty:
  12580. description: 成交数量
  12581. type: number
  12582. tradetime:
  12583. description: 成交时间
  12584. type: string
  12585. tradetype:
  12586. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12587. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12588. type: integer
  12589. required:
  12590. - accountid
  12591. - buyorsell
  12592. - goodsid
  12593. - histradedate
  12594. - marketid
  12595. - memberuserid
  12596. - orderid
  12597. - tradeamount
  12598. - tradedate
  12599. - tradeid
  12600. - tradeprice
  12601. - tradeqty
  12602. - tradetime
  12603. type: object
  12604. order.QueryHisTradeOrderDetailRsp:
  12605. properties:
  12606. accountid:
  12607. description: 账户ID[报价币种]
  12608. type: integer
  12609. buildtype:
  12610. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12611. type: integer
  12612. buyorsell:
  12613. description: 买卖 - 0:买 1:卖
  12614. type: integer
  12615. cancelorderid:
  12616. description: 撤单单号(撤单时填写)
  12617. type: string
  12618. cancelqty:
  12619. description: 撤单数量
  12620. type: number
  12621. clientordertime:
  12622. description: 客户端委托时间
  12623. type: string
  12624. clientticket:
  12625. description: 客户端流水号
  12626. type: string
  12627. clienttype:
  12628. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12629. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12630. type: integer
  12631. closeexchagechargevalue:
  12632. description: 平仓交易所手续费设置值
  12633. type: number
  12634. closefeealgorithm:
  12635. description: 平仓手续费收取方式 1:比率 2:固定
  12636. type: integer
  12637. closefreezecharge:
  12638. description: 平仓冻结手续费(先建后平操作,需要记录)
  12639. type: number
  12640. closememberchargevalue:
  12641. description: 平仓会员手续费设置值
  12642. type: number
  12643. closeqty:
  12644. description: 平仓数量(先建后平操作 需要记录)
  12645. type: number
  12646. closetradeqty:
  12647. description: 平仓成交数量(先建后平操作,需要记录)
  12648. type: number
  12649. closeunfreezecharge:
  12650. description: 平仓解冻手续费(先建后平操作,需要记录)
  12651. type: number
  12652. decimalplace:
  12653. description: 商品报价小数位
  12654. type: integer
  12655. delistingtype:
  12656. description: 摘牌类型 - 1:价格最优 2:点选成交
  12657. type: integer
  12658. enumdicname:
  12659. description: 单位名称
  12660. type: string
  12661. freezecharge:
  12662. description: 冻结手续费
  12663. type: number
  12664. freezemargin:
  12665. description: 冻结保证金(冻结交易金额)
  12666. type: number
  12667. gcaccountid:
  12668. description: 账户ID[合约币种]
  12669. type: integer
  12670. goodscode:
  12671. description: 商品代码
  12672. type: string
  12673. goodsid:
  12674. description: 商品ID
  12675. type: integer
  12676. goodsname:
  12677. description: 商品名称
  12678. type: string
  12679. goodunitid:
  12680. description: 商品单位id
  12681. type: integer
  12682. histradedate:
  12683. description: 历史交易日
  12684. type: string
  12685. isconfirmexercise:
  12686. description: 是否确认行权- 0:否 1:是
  12687. type: integer
  12688. ispreexercise:
  12689. description: 是否预申报- 0:否 1:是
  12690. type: integer
  12691. isvaliddata:
  12692. description: 是否有效 - 0:无效 1:有效
  12693. type: integer
  12694. listingselecttype:
  12695. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12696. type: integer
  12697. marginalgorithm:
  12698. description: 保证金收取方式 1:比率 2:固定
  12699. type: integer
  12700. marginvalue:
  12701. description: 即市保证金设置值
  12702. type: number
  12703. marketid:
  12704. description: 市场ID
  12705. type: integer
  12706. marketmaxsub:
  12707. description: 市价最大偏移范围
  12708. type: number
  12709. marketname:
  12710. description: 市场名称
  12711. type: string
  12712. memberuserid:
  12713. description: 所属会员UserID
  12714. type: integer
  12715. openexchagechargevalue:
  12716. description: 建仓交易所手续费设置值
  12717. type: number
  12718. openfeealgorithm:
  12719. description: 建仓手续费收取方式 1:比率 2:固定
  12720. type: integer
  12721. openfreezecharge:
  12722. description: 开仓冻结手续费(先建后平操作,需要记录)
  12723. type: number
  12724. openmemberchargevalue:
  12725. description: 建仓会员手续费设置值
  12726. type: number
  12727. openqty:
  12728. description: 开仓数量(先建后平操作,需要记录)
  12729. type: number
  12730. opentradeqty:
  12731. description: 开仓成交数量(先建后平操作,需要记录)
  12732. type: number
  12733. openunfreezecharge:
  12734. description: 开仓解冻手续费(先建后平操作,需要记录)
  12735. type: number
  12736. operatetype:
  12737. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12738. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12739. 15:管理端协议转让
  12740. type: integer
  12741. operatorid:
  12742. description: 登录账号(LoginID)
  12743. type: integer
  12744. optiontype:
  12745. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12746. type: integer
  12747. orderid:
  12748. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12749. type: string
  12750. orderprice:
  12751. description: 委托价格
  12752. type: number
  12753. orderqty:
  12754. description: 委托数量
  12755. type: number
  12756. ordersrc:
  12757. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12758. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12759. type: integer
  12760. orderstatus:
  12761. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12762. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12763. 16:成交失败违约(荷兰式竞拍专用)
  12764. type: integer
  12765. ordertime:
  12766. description: 委托时间
  12767. type: string
  12768. preexerciseprice:
  12769. description: 预申报价格
  12770. type: number
  12771. premium:
  12772. description: 权利金
  12773. type: number
  12774. preorderid:
  12775. description: 关联预埋单号(止盈止损单时填写)
  12776. type: string
  12777. pricemode:
  12778. description: '取价方式 - 1:市价 2: 限价'
  12779. type: integer
  12780. qtydecimalplace:
  12781. description: 成交量小数位
  12782. type: integer
  12783. quoteid:
  12784. description: 报价单ID
  12785. type: integer
  12786. relatedid:
  12787. description: 关联单号(交割单)
  12788. type: string
  12789. retcode:
  12790. description: 错误代码
  12791. type: integer
  12792. sessionid:
  12793. description: 会话ID
  12794. type: integer
  12795. tradedate:
  12796. description: 交易日(yyyyMMdd)
  12797. type: string
  12798. trademode:
  12799. description: 交易模式
  12800. type: integer
  12801. tradeproperty:
  12802. description: 交易属性
  12803. type: integer
  12804. tradeqty:
  12805. description: 成交数量
  12806. type: number
  12807. unfreezecharge:
  12808. description: 解冻手续费
  12809. type: number
  12810. unfreezemargin:
  12811. description: 解冻保证金
  12812. type: number
  12813. updatetime:
  12814. description: 更新时间
  12815. type: string
  12816. uuid:
  12817. description: 发起端唯一id
  12818. type: string
  12819. validtime:
  12820. description: 有效期限
  12821. type: string
  12822. validtype:
  12823. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12824. type: integer
  12825. volumetype:
  12826. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12827. type: integer
  12828. required:
  12829. - accountid
  12830. - buildtype
  12831. - buyorsell
  12832. - goodsid
  12833. - histradedate
  12834. - marketid
  12835. - memberuserid
  12836. - operatetype
  12837. - orderid
  12838. - orderqty
  12839. - ordertime
  12840. - pricemode
  12841. - tradedate
  12842. - validtype
  12843. type: object
  12844. order.QueryTradeDetailRsp:
  12845. properties:
  12846. accountid:
  12847. description: 账户ID[报价币种]
  12848. type: integer
  12849. advanceratio:
  12850. description: 首付比率
  12851. type: number
  12852. buildtype:
  12853. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12854. type: integer
  12855. buyorsell:
  12856. description: 方向 - 0:买 1:卖
  12857. type: integer
  12858. charge:
  12859. description: 手续费
  12860. type: number
  12861. closecharge:
  12862. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12863. type: number
  12864. closeexchagechargevalue:
  12865. description: 平仓交易所手续费设置值
  12866. type: number
  12867. closefeealgorithm:
  12868. description: 平仓手续费收取方式 1:比率 2:固定
  12869. type: integer
  12870. closememberchargevalue:
  12871. description: 平仓会员手续费设置值
  12872. type: number
  12873. closepl:
  12874. description: 平仓盈亏
  12875. type: number
  12876. closepl2:
  12877. description: 平仓盈亏[逐笔]
  12878. type: number
  12879. closeqty:
  12880. description: 平仓数量(先建后平操作 需要记录)
  12881. type: number
  12882. creditamount:
  12883. description: 授信金额
  12884. type: number
  12885. decimalplace:
  12886. description: 商品报价小数位
  12887. type: integer
  12888. enumdicname:
  12889. description: 单位名称
  12890. type: string
  12891. gcaccountid:
  12892. description: 账户ID[合约币种]
  12893. type: integer
  12894. goodscode:
  12895. description: 商品代码
  12896. type: string
  12897. goodsid:
  12898. description: 商品ID
  12899. type: integer
  12900. goodsname:
  12901. description: 商品名称
  12902. type: string
  12903. goodunitid:
  12904. description: 商品单位id
  12905. type: integer
  12906. intclosepl:
  12907. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12908. type: integer
  12909. isconfirmexercise:
  12910. description: 是否确认行权- 0:否 1:是
  12911. type: integer
  12912. ismain:
  12913. description: 是否主单 - 0:不是 1:是
  12914. type: integer
  12915. ispreexercise:
  12916. description: 是否预申报- 0:否 1:是
  12917. type: integer
  12918. isreckoned:
  12919. description: 是否结算 - 0:未结算 1:已结算
  12920. type: integer
  12921. listingselecttype:
  12922. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12923. type: integer
  12924. marketid:
  12925. description: 市场ID
  12926. type: integer
  12927. marketname:
  12928. description: 市场名称
  12929. type: string
  12930. matchaccountid:
  12931. description: 对手账号id
  12932. type: integer
  12933. memberuserid:
  12934. description: 会员id 个人投资者 需要填写
  12935. type: integer
  12936. opencharge:
  12937. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12938. type: number
  12939. openexchagechargevalue:
  12940. description: 建仓交易所手续费设置值
  12941. type: number
  12942. openfeealgorithm:
  12943. description: 建仓手续费收取方式 1:比率 2:固定
  12944. type: integer
  12945. openmemberchargevalue:
  12946. description: 建仓会员手续费设置值
  12947. type: number
  12948. openqty:
  12949. description: 开仓数量(先建后平操作 需要记录)
  12950. type: number
  12951. optiontype:
  12952. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12953. type: integer
  12954. orderid:
  12955. description: 委托单号
  12956. type: string
  12957. payamount:
  12958. description: 支付金额(付款金额)
  12959. type: number
  12960. performanceplanid:
  12961. description: 履约计划ID[期权]
  12962. type: integer
  12963. performancestatus:
  12964. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12965. type: integer
  12966. preexerciseprice:
  12967. description: 预申报价格
  12968. type: number
  12969. premium:
  12970. description: 权利金 - [持仓单的权利金]
  12971. type: number
  12972. qtydecimalplace:
  12973. description: 商品报价小数位
  12974. type: integer
  12975. recvamount:
  12976. description: 到账金额 = 成交金额 - 手续费
  12977. type: number
  12978. relatedouttradeid:
  12979. description: 关联外部成交单ID
  12980. type: integer
  12981. status:
  12982. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12983. type: integer
  12984. totalamount:
  12985. description: 订单总额 = 成交金额 + 手续费
  12986. type: number
  12987. tradeamount:
  12988. description: 成交金额[账户币种,用于所有权]
  12989. type: number
  12990. tradedate:
  12991. description: 交易日(yyyyMMdd)
  12992. type: string
  12993. tradeid:
  12994. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12995. type: string
  12996. trademode:
  12997. description: 交易模式
  12998. type: integer
  12999. tradeprice:
  13000. description: 成交价格
  13001. type: number
  13002. tradeproperty:
  13003. description: 交易属性
  13004. type: integer
  13005. tradeqty:
  13006. description: 成交数量
  13007. type: number
  13008. tradetime:
  13009. description: 成交时间
  13010. type: string
  13011. tradetype:
  13012. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13013. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13014. type: integer
  13015. required:
  13016. - accountid
  13017. - buyorsell
  13018. - goodsid
  13019. - marketid
  13020. - memberuserid
  13021. - orderid
  13022. - tradeamount
  13023. - tradedate
  13024. - tradeid
  13025. - tradeprice
  13026. - tradeqty
  13027. - tradetime
  13028. type: object
  13029. order.QueryTradeOrderDetailRsp:
  13030. properties:
  13031. accountid:
  13032. description: 账户ID[报价币种]
  13033. type: integer
  13034. buildtype:
  13035. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13036. type: integer
  13037. buyorsell:
  13038. description: 买卖 - 0:买 1:卖
  13039. type: integer
  13040. cancelorderid:
  13041. description: 撤单单号(撤单时填写)
  13042. type: string
  13043. cancelqty:
  13044. description: 撤单数量
  13045. type: number
  13046. clienttype:
  13047. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13048. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13049. type: integer
  13050. closefreezecharge:
  13051. description: 平仓冻结手续费(先建后平操作,需要记录)
  13052. type: number
  13053. closeqty:
  13054. description: 平仓数量(先建后平操作 需要记录)
  13055. type: number
  13056. closetradeqty:
  13057. description: 平仓成交数量(先建后平操作,需要记录)
  13058. type: number
  13059. closeunfreezecharge:
  13060. description: 平仓解冻手续费(先建后平操作,需要记录)
  13061. type: number
  13062. decimalplace:
  13063. description: 商品报价小数位
  13064. type: integer
  13065. delistingtype:
  13066. description: 摘牌类型 - 1:价格最优 2:点选成交
  13067. type: integer
  13068. enableqty:
  13069. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  13070. type: number
  13071. enumdicname:
  13072. description: 单位名称
  13073. type: string
  13074. freezecharge:
  13075. description: 冻结手续费
  13076. type: number
  13077. freezemargin:
  13078. description: 冻结保证金(冻结交易金额)
  13079. type: number
  13080. goodscode:
  13081. description: 商品代码
  13082. type: string
  13083. goodsid:
  13084. description: 商品ID
  13085. type: integer
  13086. goodsname:
  13087. description: 商品名称
  13088. type: string
  13089. goodunitid:
  13090. description: 商品单位id
  13091. type: integer
  13092. listingselecttype:
  13093. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13094. type: integer
  13095. marketid:
  13096. description: 市场ID
  13097. type: integer
  13098. marketname:
  13099. description: 市场名称
  13100. type: string
  13101. openfreezecharge:
  13102. description: 开仓冻结手续费(先建后平操作,需要记录)
  13103. type: number
  13104. openqty:
  13105. description: 开仓数量(先建后平操作,需要记录)
  13106. type: number
  13107. opentradeqty:
  13108. description: 开仓成交数量(先建后平操作,需要记录)
  13109. type: number
  13110. openunfreezecharge:
  13111. description: 开仓解冻手续费(先建后平操作,需要记录)
  13112. type: number
  13113. operatetype:
  13114. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13115. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13116. 15:管理端协议转让
  13117. type: integer
  13118. operatorid:
  13119. description: 登录账号(LoginID)
  13120. type: integer
  13121. orderid:
  13122. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13123. type: string
  13124. orderprice:
  13125. description: 委托价格
  13126. type: number
  13127. orderqty:
  13128. description: 委托数量
  13129. type: number
  13130. ordersrc:
  13131. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13132. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13133. type: integer
  13134. orderstatus:
  13135. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13136. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13137. 16:成交失败违约(荷兰式竞拍专用)
  13138. type: integer
  13139. ordertime:
  13140. description: 委托时间
  13141. type: string
  13142. preorderid:
  13143. description: 关联预埋单号(止盈止损单时填写)
  13144. type: string
  13145. pricemode:
  13146. description: '取价方式 - 1:市价 2: 限价'
  13147. type: integer
  13148. qtydecimalplace:
  13149. description: 商品报价小数位
  13150. type: integer
  13151. relatedid:
  13152. description: 关联单号(交割单)
  13153. type: string
  13154. tradedate:
  13155. description: 交易日(yyyyMMdd)
  13156. type: string
  13157. trademode:
  13158. description: 交易模式
  13159. type: integer
  13160. tradeqty:
  13161. description: 成交数量
  13162. type: number
  13163. unfreezecharge:
  13164. description: 解冻手续费
  13165. type: number
  13166. unfreezemargin:
  13167. description: 解冻保证金
  13168. type: number
  13169. validtime:
  13170. description: 有效期限
  13171. type: string
  13172. validtype:
  13173. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13174. type: integer
  13175. volumetype:
  13176. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13177. type: integer
  13178. required:
  13179. - accountid
  13180. - buildtype
  13181. - buyorsell
  13182. - goodsid
  13183. - marketid
  13184. - operatetype
  13185. - orderqty
  13186. - ordertime
  13187. - pricemode
  13188. - tradedate
  13189. - validtype
  13190. type: object
  13191. order.QueryTradePositionRsp:
  13192. properties:
  13193. accountid:
  13194. description: 资金账户
  13195. type: integer
  13196. agreeunit:
  13197. description: 合约单位
  13198. type: number
  13199. averageprice:
  13200. description: 持仓均价
  13201. type: number
  13202. buyorsell:
  13203. description: 方向 - 0:买 1:卖
  13204. type: integer
  13205. closetotalqty:
  13206. description: 平仓总数量
  13207. type: number
  13208. curholderamount:
  13209. description: 当前持仓总金额[商品币种]
  13210. type: number
  13211. curpositionqty:
  13212. description: 当前持仓总数量
  13213. type: number
  13214. currencyid:
  13215. description: 报价货币ID
  13216. type: integer
  13217. curtdposition:
  13218. description: 期末今日头寸
  13219. type: number
  13220. decimalplace:
  13221. description: 报价小数位
  13222. type: integer
  13223. enableqty:
  13224. description: 可用量
  13225. type: number
  13226. fretdposition:
  13227. description: 冻结今日头寸
  13228. type: number
  13229. frozenqty:
  13230. description: 持仓冻结数量
  13231. type: number
  13232. goodscode:
  13233. description: 商品代码
  13234. type: string
  13235. goodsid:
  13236. description: 商品Id
  13237. type: integer
  13238. goodsname:
  13239. description: 商品名称
  13240. type: string
  13241. goodunit:
  13242. description: 报价单位
  13243. type: string
  13244. goodunitid:
  13245. description: 报价单位ID
  13246. type: integer
  13247. holderamount:
  13248. description: 期初持仓总金额[商品币种]
  13249. type: number
  13250. marketid:
  13251. description: 所属市场ID
  13252. type: integer
  13253. openreqqty:
  13254. description: 开仓申请数量(用于比较最大持仓数量)
  13255. type: number
  13256. opentotalqty:
  13257. description: 开仓总数量
  13258. type: number
  13259. otherfrozenqty:
  13260. description: 持仓其他冻结数量(交割冻结)
  13261. type: number
  13262. positionqty:
  13263. description: 期初持仓数量
  13264. type: number
  13265. qtydecimalplace:
  13266. description: 成交量小数位
  13267. type: integer
  13268. tnqty:
  13269. description: T+N冻结总量
  13270. type: number
  13271. tnusedqty:
  13272. description: T+N使用量(可以使用T+N的冻结数量)
  13273. type: number
  13274. trademode:
  13275. description: 交易模式
  13276. type: integer
  13277. usedmargin:
  13278. description: 占用保证金[商品币种]
  13279. type: number
  13280. required:
  13281. - goodsid
  13282. type: object
  13283. quote.HistoryData:
  13284. properties:
  13285. c:
  13286. description: 收盘价
  13287. type: number
  13288. f:
  13289. description: 是否补充数据
  13290. type: boolean
  13291. h:
  13292. description: 最高价
  13293. type: number
  13294. hv:
  13295. description: 持仓量
  13296. type: integer
  13297. l:
  13298. description: 最低价
  13299. type: number
  13300. o:
  13301. description: 开盘价
  13302. type: number
  13303. s:
  13304. description: 结算价,日线周期(包括)以上才有
  13305. type: number
  13306. ts:
  13307. description: 时间
  13308. type: string
  13309. tt:
  13310. description: 总金额
  13311. type: number
  13312. tv:
  13313. description: 总量
  13314. type: integer
  13315. type: object
  13316. quote.HistoryTikData:
  13317. properties:
  13318. AV:
  13319. description: 卖量
  13320. type: integer
  13321. Ask:
  13322. description: 卖价
  13323. type: number
  13324. BV:
  13325. description: 买量
  13326. type: integer
  13327. Bid:
  13328. description: 买价
  13329. type: number
  13330. HI:
  13331. description: 单笔持仓
  13332. type: integer
  13333. HV:
  13334. description: 持仓量
  13335. type: integer
  13336. PE:
  13337. description: 现价
  13338. type: number
  13339. TDR:
  13340. description: 交易方向,0:买 1:卖
  13341. type: integer
  13342. TK:
  13343. description: 交易类型
  13344. type: integer
  13345. TS:
  13346. description: 行情时间文本
  13347. type: string
  13348. TT:
  13349. description: 现金额
  13350. type: number
  13351. Vol:
  13352. description: 现量
  13353. type: integer
  13354. type: object
  13355. quote.QueryQuoteDayRsp:
  13356. properties:
  13357. ask:
  13358. description: 卖1
  13359. type: number
  13360. ask2:
  13361. description: 卖2
  13362. type: number
  13363. ask3:
  13364. description: 卖3
  13365. type: number
  13366. ask4:
  13367. description: 卖4
  13368. type: number
  13369. ask5:
  13370. description: 卖5
  13371. type: number
  13372. ask6:
  13373. description: 卖6
  13374. type: number
  13375. ask7:
  13376. description: 卖7
  13377. type: number
  13378. ask8:
  13379. description: 卖8
  13380. type: number
  13381. ask9:
  13382. description: 卖9
  13383. type: number
  13384. ask10:
  13385. description: 卖10
  13386. type: number
  13387. askorderid:
  13388. description: 卖单号1
  13389. type: integer
  13390. askorderid2:
  13391. description: 卖单号2
  13392. type: integer
  13393. askorderid3:
  13394. description: 卖单号3
  13395. type: integer
  13396. askorderid4:
  13397. description: 卖单号4
  13398. type: integer
  13399. askorderid5:
  13400. description: 卖单号5
  13401. type: integer
  13402. askordervolume:
  13403. description: 卖单量1
  13404. type: integer
  13405. askordervolume2:
  13406. description: 卖单量2
  13407. type: integer
  13408. askordervolume3:
  13409. description: 卖单量3
  13410. type: integer
  13411. askordervolume4:
  13412. description: 卖单量4
  13413. type: integer
  13414. askordervolume5:
  13415. description: 卖单量5
  13416. type: integer
  13417. askordervolume6:
  13418. description: 卖单量6
  13419. type: integer
  13420. askordervolume7:
  13421. description: 卖单量7
  13422. type: integer
  13423. askordervolume8:
  13424. description: 卖单量8
  13425. type: integer
  13426. askordervolume9:
  13427. description: 卖单量9
  13428. type: integer
  13429. askordervolume10:
  13430. description: 卖单量10
  13431. type: integer
  13432. askqueueinfo:
  13433. description: 大利市卖港股用
  13434. type: string
  13435. askvolume:
  13436. description: 卖量1
  13437. type: integer
  13438. askvolume2:
  13439. description: 卖量2
  13440. type: integer
  13441. askvolume3:
  13442. description: 卖量3
  13443. type: integer
  13444. askvolume4:
  13445. description: 卖量4
  13446. type: integer
  13447. askvolume5:
  13448. description: 卖量5
  13449. type: integer
  13450. askvolume6:
  13451. description: 卖量6
  13452. type: integer
  13453. askvolume7:
  13454. description: 卖量7
  13455. type: integer
  13456. askvolume8:
  13457. description: 卖量8
  13458. type: integer
  13459. askvolume9:
  13460. description: 卖量9
  13461. type: integer
  13462. askvolume10:
  13463. description: 卖量10
  13464. type: integer
  13465. averageprice:
  13466. description: 均价
  13467. type: number
  13468. bid:
  13469. description: 买1
  13470. type: number
  13471. bid2:
  13472. description: 买2
  13473. type: number
  13474. bid3:
  13475. description: 买3
  13476. type: number
  13477. bid4:
  13478. description: 买4
  13479. type: number
  13480. bid5:
  13481. description: 买5
  13482. type: number
  13483. bid6:
  13484. description: 买6
  13485. type: number
  13486. bid7:
  13487. description: 买7
  13488. type: number
  13489. bid8:
  13490. description: 买8
  13491. type: number
  13492. bid9:
  13493. description: 买9
  13494. type: number
  13495. bid10:
  13496. description: 买10
  13497. type: number
  13498. bidorderid:
  13499. description: 买单号1
  13500. type: integer
  13501. bidorderid2:
  13502. description: 买单号2
  13503. type: integer
  13504. bidorderid3:
  13505. description: 买单号3
  13506. type: integer
  13507. bidorderid4:
  13508. description: 买单号4
  13509. type: integer
  13510. bidorderid5:
  13511. description: 买单号5
  13512. type: integer
  13513. bidordervolume:
  13514. description: 买单量1
  13515. type: integer
  13516. bidordervolume2:
  13517. description: 买单量2
  13518. type: integer
  13519. bidordervolume3:
  13520. description: 买单量3
  13521. type: integer
  13522. bidordervolume4:
  13523. description: 买单量4
  13524. type: integer
  13525. bidordervolume5:
  13526. description: 买单量5
  13527. type: integer
  13528. bidordervolume6:
  13529. description: 买单量6
  13530. type: integer
  13531. bidordervolume7:
  13532. description: 买单量7
  13533. type: integer
  13534. bidordervolume8:
  13535. description: 买单量8
  13536. type: integer
  13537. bidordervolume9:
  13538. description: 买单量9
  13539. type: integer
  13540. bidordervolume10:
  13541. description: 买单量10
  13542. type: integer
  13543. bidqueueinfo:
  13544. description: 大利市买港股用
  13545. type: string
  13546. bidvolume:
  13547. description: 买量1
  13548. type: integer
  13549. bidvolume2:
  13550. description: 买量2
  13551. type: integer
  13552. bidvolume3:
  13553. description: 买量3
  13554. type: integer
  13555. bidvolume4:
  13556. description: 买量4
  13557. type: integer
  13558. bidvolume5:
  13559. description: 买量5
  13560. type: integer
  13561. bidvolume6:
  13562. description: 买量6
  13563. type: integer
  13564. bidvolume7:
  13565. description: 买量7
  13566. type: integer
  13567. bidvolume8:
  13568. description: 买量8
  13569. type: integer
  13570. bidvolume9:
  13571. description: 买量9
  13572. type: integer
  13573. bidvolume10:
  13574. description: 买量10
  13575. type: integer
  13576. calloptionpremiums:
  13577. description: 认购期权1
  13578. type: integer
  13579. calloptionpremiums2:
  13580. description: 认购期权2
  13581. type: integer
  13582. calloptionpremiums3:
  13583. description: 认购期权3
  13584. type: integer
  13585. calloptionpremiums4:
  13586. description: 认购期权4
  13587. type: integer
  13588. calloptionpremiums5:
  13589. description: 认购期权5
  13590. type: integer
  13591. cleartime:
  13592. description: 清盘时间
  13593. type: integer
  13594. exchangecode:
  13595. description: 交易所代码
  13596. type: integer
  13597. exchangedate:
  13598. description: 交易日
  13599. type: integer
  13600. goodscode:
  13601. description: 商品代码
  13602. type: string
  13603. grepmarketprice:
  13604. description: 暗盘价 港股专用
  13605. type: number
  13606. highest:
  13607. description: 最高价
  13608. type: number
  13609. holdincrement:
  13610. description: 单笔持仓
  13611. type: integer
  13612. holdvolume:
  13613. description: 持仓
  13614. type: integer
  13615. iep:
  13616. description: 平衡价 港股专用
  13617. type: number
  13618. iev:
  13619. description: 平衡量 港股专用
  13620. type: number
  13621. inventory:
  13622. description: 库存
  13623. type: integer
  13624. iscleared:
  13625. description: 是否清盘标志
  13626. type: integer
  13627. issettled:
  13628. description: 是否结算标志
  13629. type: integer
  13630. last:
  13631. description: 最新价
  13632. type: number
  13633. lastlot:
  13634. description: 最新成交手数
  13635. type: integer
  13636. lasttime:
  13637. description: 行情时间(只有现价变化行情时间才变化)
  13638. type: string
  13639. lastturnover:
  13640. description: 最新成交金额
  13641. type: number
  13642. lastvolume:
  13643. description: 最新成交量
  13644. type: integer
  13645. limitdown:
  13646. description: 跌停价
  13647. type: number
  13648. limitup:
  13649. description: 涨停价
  13650. type: number
  13651. lowest:
  13652. description: 最低价
  13653. type: number
  13654. nontotalholdervolume:
  13655. description: 非交易持仓量
  13656. type: integer
  13657. nontotallot:
  13658. description: 非交易总手数
  13659. type: integer
  13660. nontotalturnover:
  13661. description: 非交易总金额
  13662. type: integer
  13663. nontotalvolume:
  13664. description: 非交易总量
  13665. type: integer
  13666. opened:
  13667. description: 开盘价
  13668. type: number
  13669. opentime:
  13670. description: 开盘时间
  13671. type: string
  13672. orderid:
  13673. description: 序号
  13674. type: integer
  13675. preclose:
  13676. description: 昨收
  13677. type: number
  13678. preholdvolume:
  13679. description: 昨持仓
  13680. type: integer
  13681. presettle:
  13682. description: 昨结价
  13683. type: number
  13684. publictradetype:
  13685. description: 公共交易标志类型 港股专用
  13686. type: string
  13687. putoptionpremiums:
  13688. description: 认沽期权1
  13689. type: integer
  13690. putoptionpremiums2:
  13691. description: 认沽期权2
  13692. type: integer
  13693. putoptionpremiums3:
  13694. description: 认沽期权3
  13695. type: integer
  13696. putoptionpremiums4:
  13697. description: 认沽期权4
  13698. type: integer
  13699. putoptionpremiums5:
  13700. description: 认沽期权5
  13701. type: integer
  13702. settle:
  13703. description: 结算价
  13704. type: number
  13705. strikeprice:
  13706. description: 发行价
  13707. type: number
  13708. totalaskvolume:
  13709. description: 内盘
  13710. type: integer
  13711. totalbidvolume:
  13712. description: 外盘
  13713. type: integer
  13714. totallot:
  13715. description: 总手数
  13716. type: integer
  13717. totalturnover:
  13718. description: 总金额
  13719. type: number
  13720. totalvolume:
  13721. description: 总量
  13722. type: integer
  13723. utclasttime:
  13724. description: utc的行情时间
  13725. type: string
  13726. type: object
  13727. quote.QueryTSDataRsp:
  13728. properties:
  13729. Count:
  13730. description: 交易日应有数据个数
  13731. type: integer
  13732. decimalPlace:
  13733. description: 小数位
  13734. type: integer
  13735. endTime:
  13736. description: 结束时间
  13737. type: string
  13738. goodsCode:
  13739. description: 商品代码
  13740. type: string
  13741. historyDatas:
  13742. description: 历史数据
  13743. items:
  13744. $ref: '#/definitions/quote.HistoryData'
  13745. type: array
  13746. outGoodsCode:
  13747. description: 外部商品代码
  13748. type: string
  13749. preSettle:
  13750. description: 昨结价
  13751. type: number
  13752. runSteps:
  13753. description: 交易日开休市计划
  13754. items:
  13755. $ref: '#/definitions/quote.TSDataRunStep'
  13756. type: array
  13757. startTime:
  13758. description: 开始时间
  13759. type: string
  13760. tradeDate:
  13761. description: 交易日
  13762. type: string
  13763. type: object
  13764. quote.TSDataRunStep:
  13765. properties:
  13766. end:
  13767. description: 真实结束时间
  13768. type: string
  13769. endflag:
  13770. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  13771. type: integer
  13772. endtime:
  13773. description: 结束时间(HH:mm)
  13774. type: string
  13775. endweekday:
  13776. description: 结束周几
  13777. type: integer
  13778. groupid:
  13779. description: 分组ID
  13780. type: integer
  13781. runstep:
  13782. description: 运行阶段 - 2:连续交易
  13783. type: integer
  13784. sectionid:
  13785. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  13786. 结束时间=结算时间 结束周几=结算周几
  13787. type: integer
  13788. start:
  13789. description: 真实开始时间
  13790. type: string
  13791. startflag:
  13792. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  13793. type: integer
  13794. starttime:
  13795. description: 起始时间(HH:mm)
  13796. type: string
  13797. startweekday:
  13798. description: 起始周几
  13799. type: integer
  13800. tradeweekday:
  13801. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  13802. type: integer
  13803. type: object
  13804. szdz.QueryConvertLogRsp:
  13805. properties:
  13806. accountid:
  13807. description: 资金账户ID
  13808. type: integer
  13809. clientticket:
  13810. description: 客户端流水号
  13811. type: string
  13812. converttype:
  13813. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  13814. type: integer
  13815. createtime:
  13816. description: 记账时间
  13817. type: string
  13818. daymaxvalue:
  13819. description: 配置当日最大转入限制
  13820. type: number
  13821. daymaxvalue2:
  13822. description: 配置当日最大转入限制(转入)
  13823. type: number
  13824. goodscode:
  13825. description: 商品代码
  13826. type: string
  13827. goodsname:
  13828. description: 商品名称
  13829. type: string
  13830. handlestatus:
  13831. description: 处理状态
  13832. type: integer
  13833. innergoodsid:
  13834. description: 内部商品ID
  13835. type: integer
  13836. inratio:
  13837. description: 配置转入比值
  13838. type: integer
  13839. invalue:
  13840. description: 目标值
  13841. type: number
  13842. logid:
  13843. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13844. type: integer
  13845. mobile:
  13846. description: 手机号码(加密存储)
  13847. type: string
  13848. outergoodscode:
  13849. description: 外部商品代码[JD\PD]
  13850. type: string
  13851. outratio:
  13852. description: 配置转出比值
  13853. type: integer
  13854. outvalue:
  13855. description: 源值
  13856. type: number
  13857. pddecimalplace:
  13858. description: PD小数位
  13859. type: integer
  13860. qty:
  13861. description: 数量
  13862. type: string
  13863. remark:
  13864. description: 备注
  13865. type: string
  13866. sessionid:
  13867. description: 会话ID
  13868. type: integer
  13869. timemaxvalue:
  13870. description: 配置单次最大转入限制
  13871. type: number
  13872. timemaxvalue2:
  13873. description: 配置单次最大转入限制(转入)
  13874. type: number
  13875. timeminvalue:
  13876. description: 配置单次最小数量限制
  13877. type: number
  13878. timeminvalue2:
  13879. description: 配置单次最小数量限制(转入)
  13880. type: number
  13881. tradedate:
  13882. description: 交易日(yyyyMMdd)
  13883. type: string
  13884. userid:
  13885. description: 用户ID
  13886. type: integer
  13887. required:
  13888. - logid
  13889. type: object
  13890. szdz.QueryGoodsPickupRsp:
  13891. properties:
  13892. accountid:
  13893. description: 账户ID
  13894. type: integer
  13895. address:
  13896. description: 提货人详细地址
  13897. type: string
  13898. auditer:
  13899. description: 审核人
  13900. type: integer
  13901. audittime:
  13902. description: 审核时间
  13903. type: string
  13904. cardnum:
  13905. description: 提货人证件号码
  13906. type: string
  13907. cardtypeid:
  13908. description: 提货人证件类型
  13909. type: integer
  13910. checkremark:
  13911. description: 审核备注
  13912. type: string
  13913. goodscode:
  13914. description: 商品代码
  13915. type: string
  13916. goodsid:
  13917. description: 商品ID
  13918. type: integer
  13919. goodsname:
  13920. description: 商品名称
  13921. type: string
  13922. handlestatus:
  13923. description: 处理状态
  13924. type: integer
  13925. marketid:
  13926. description: 市场ID
  13927. type: integer
  13928. phonenum:
  13929. description: 提货人联系方式
  13930. type: string
  13931. qty:
  13932. description: 提货数量
  13933. type: number
  13934. recivername:
  13935. description: 提货人姓名
  13936. type: string
  13937. reqtime:
  13938. description: 更新时间
  13939. type: string
  13940. takemode:
  13941. description: 提货方式 - 2:自提 3:配送
  13942. type: integer
  13943. takeorderid:
  13944. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13945. type: string
  13946. takeorderstatus:
  13947. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13948. type: integer
  13949. takeremark:
  13950. description: 提货备注
  13951. type: string
  13952. tradedate:
  13953. description: 交易日(yyyyMMdd)
  13954. type: string
  13955. userid:
  13956. description: 用户ID
  13957. type: integer
  13958. required:
  13959. - takeorderid
  13960. type: object
  13961. szdz.QueryRecieptOrderRsp:
  13962. properties:
  13963. accountName:
  13964. description: 所属账号名称(已脱敏)
  13965. type: string
  13966. accountid:
  13967. description: 资金账号
  13968. type: integer
  13969. buyorsell:
  13970. description: 方向 - 0:买 1:卖
  13971. type: integer
  13972. enableqty:
  13973. description: 可摘数量
  13974. type: integer
  13975. goodscode:
  13976. description: 商品代码
  13977. type: string
  13978. goodsid:
  13979. description: 商品ID
  13980. type: integer
  13981. goodsname:
  13982. description: 商品名称
  13983. type: string
  13984. orderid:
  13985. description: 委托单号
  13986. type: string
  13987. orderprice:
  13988. description: 委托价格
  13989. type: number
  13990. ordertime:
  13991. description: 委托时间
  13992. type: string
  13993. tradedate:
  13994. description: 交易日(yyyyMMdd)
  13995. type: string
  13996. required:
  13997. - ordertime
  13998. type: object
  13999. szdz.QuerySZDZTradePositionRsp:
  14000. properties:
  14001. accountid:
  14002. description: 账号Id
  14003. type: integer
  14004. agreeunit:
  14005. description: 合约单位
  14006. type: number
  14007. averageprice:
  14008. description: 持仓均价
  14009. type: number
  14010. buyorsell:
  14011. description: 方向 - 0:买 1:卖
  14012. type: integer
  14013. closetotalqty:
  14014. description: 平仓总数量
  14015. type: integer
  14016. curholderamount:
  14017. description: 当前持仓总金额
  14018. type: number
  14019. curpositionqty:
  14020. description: 当前持仓总数量
  14021. type: integer
  14022. currencyid:
  14023. description: 报价货币ID
  14024. type: integer
  14025. curtdposition:
  14026. description: 期末今日头寸
  14027. type: integer
  14028. decimalplace:
  14029. description: 报价小数位
  14030. type: integer
  14031. enableqty:
  14032. description: 可用量
  14033. type: integer
  14034. fretdposition:
  14035. description: 冻结今日头寸
  14036. type: integer
  14037. frozenqty:
  14038. description: 持仓冻结数量
  14039. type: integer
  14040. goodscode:
  14041. description: 商品代码(内部)
  14042. type: string
  14043. goodsid:
  14044. description: 商品Id
  14045. type: integer
  14046. goodsname:
  14047. description: 商品名称
  14048. type: string
  14049. goodunit:
  14050. description: 报价单位
  14051. type: string
  14052. goodunitid:
  14053. description: 报价单位ID
  14054. type: integer
  14055. holderamount:
  14056. description: 期初持仓总金额
  14057. type: number
  14058. marketid:
  14059. description: 市场ID
  14060. type: integer
  14061. openreqqty:
  14062. description: 开仓申请数量
  14063. type: integer
  14064. opentotalqty:
  14065. description: 开仓总数量
  14066. type: integer
  14067. otherfrozenqty:
  14068. description: 持仓其他冻结数量(交割冻结)
  14069. type: integer
  14070. positionqty:
  14071. description: 期初持仓数量
  14072. type: integer
  14073. szdz3freezqty:
  14074. description: 尚志大宗转换冻结总数量
  14075. type: integer
  14076. tnqty:
  14077. description: T+N冻结总量
  14078. type: integer
  14079. tnusedqty:
  14080. description: T+N使用量
  14081. type: integer
  14082. trademode:
  14083. description: 交易模式
  14084. type: integer
  14085. usedmargin:
  14086. description: 占用保证金
  14087. type: number
  14088. type: object
  14089. taaccount.QueryAmountLogRsp:
  14090. properties:
  14091. OPERATETYPENAME:
  14092. description: 资金操作类型名称
  14093. type: string
  14094. accountid:
  14095. description: 资金账户ID
  14096. type: integer
  14097. agoodscode:
  14098. description: 竞拍商品代码
  14099. type: string
  14100. agoodsname:
  14101. description: 竞拍商品名称
  14102. type: string
  14103. amount:
  14104. description: 资金金额
  14105. type: number
  14106. amountadjusttype:
  14107. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14108. type: integer
  14109. autoid:
  14110. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14111. type: integer
  14112. balance:
  14113. description: 期初余额
  14114. type: number
  14115. businesscode:
  14116. description: 业务编号
  14117. type: integer
  14118. createtime:
  14119. description: 发生时间
  14120. type: string
  14121. currencyid:
  14122. description: 币种ID
  14123. type: integer
  14124. currentbalance:
  14125. description: 期末余额(变动后金额)
  14126. type: number
  14127. dgoodscode:
  14128. description: 交割商品代码
  14129. type: string
  14130. dgoodsname:
  14131. description: 交割商品名称
  14132. type: string
  14133. goodscode:
  14134. description: 商品代码
  14135. type: string
  14136. goodsid:
  14137. description: 商品ID
  14138. type: integer
  14139. goodsname:
  14140. description: 商品名称
  14141. type: string
  14142. marketid:
  14143. description: 市场ID
  14144. type: integer
  14145. marketname:
  14146. description: 市场名称
  14147. type: string
  14148. moneyticket:
  14149. description: 资金流水号:银行端流水号
  14150. type: integer
  14151. operatetype:
  14152. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14153. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14154. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14155. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14156. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14157. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14158. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14159. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14160. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14161. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14162. type: integer
  14163. relationorderid:
  14164. description: 关联单号
  14165. type: string
  14166. remark:
  14167. description: 备注
  14168. type: string
  14169. trademode:
  14170. description: 交易模式
  14171. type: integer
  14172. required:
  14173. - accountid
  14174. - amount
  14175. - amountadjusttype
  14176. - autoid
  14177. - balance
  14178. - createtime
  14179. - currentbalance
  14180. - operatetype
  14181. type: object
  14182. taaccount.QueryHisAmountLogRsp:
  14183. properties:
  14184. OPERATETYPENAME:
  14185. description: 资金操作类型名称
  14186. type: string
  14187. accountid:
  14188. description: 资金账户ID
  14189. type: integer
  14190. agoodscode:
  14191. description: 竞拍商品代码
  14192. type: string
  14193. agoodsname:
  14194. description: 竞拍商品名称
  14195. type: string
  14196. amount:
  14197. description: 资金金额
  14198. type: number
  14199. amountadjusttype:
  14200. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14201. type: integer
  14202. autoid:
  14203. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14204. type: integer
  14205. balance:
  14206. description: 期初余额
  14207. type: number
  14208. businesscode:
  14209. description: 业务编号
  14210. type: integer
  14211. createtime:
  14212. description: 发生时间
  14213. type: string
  14214. currencyid:
  14215. description: 币种ID
  14216. type: integer
  14217. currentbalance:
  14218. description: 期末余额(变动后金额)
  14219. type: number
  14220. dgoodscode:
  14221. description: 交割商品代码
  14222. type: string
  14223. dgoodsname:
  14224. description: 交割商品名称
  14225. type: string
  14226. goodscode:
  14227. description: 商品代码
  14228. type: string
  14229. goodsid:
  14230. description: 商品ID
  14231. type: integer
  14232. goodsname:
  14233. description: 商品名称
  14234. type: string
  14235. histradedate:
  14236. description: 历史交易日
  14237. type: string
  14238. isvaliddata:
  14239. description: 是否有效 - 0:无效 1:有效
  14240. type: integer
  14241. marketid:
  14242. description: 市场ID
  14243. type: integer
  14244. marketname:
  14245. description: 市场名称
  14246. type: string
  14247. moneyticket:
  14248. description: 资金流水号:银行端流水号
  14249. type: integer
  14250. operatetype:
  14251. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14252. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14253. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14254. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14255. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14256. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14257. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14258. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14259. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14260. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14261. type: integer
  14262. relationorderid:
  14263. description: 关联单号
  14264. type: string
  14265. remark:
  14266. description: 备注
  14267. type: string
  14268. trademode:
  14269. description: 交易模式
  14270. type: integer
  14271. required:
  14272. - accountid
  14273. - amount
  14274. - amountadjusttype
  14275. - autoid
  14276. - balance
  14277. - createtime
  14278. - currentbalance
  14279. - histradedate
  14280. - operatetype
  14281. type: object
  14282. trade.QueryRecieptOrderRsp:
  14283. properties:
  14284. accountName:
  14285. description: 所属账号名称(已脱敏)
  14286. type: string
  14287. accountid:
  14288. description: 资金账号
  14289. type: integer
  14290. buyorsell:
  14291. description: 方向 - 0:买 1:卖
  14292. type: integer
  14293. enableqty:
  14294. description: 可摘数量
  14295. type: integer
  14296. goodscode:
  14297. description: 商品代码
  14298. type: string
  14299. goodsid:
  14300. description: 商品ID
  14301. type: integer
  14302. goodsname:
  14303. description: 商品名称
  14304. type: string
  14305. orderid:
  14306. description: 委托单号
  14307. type: string
  14308. orderprice:
  14309. description: 委托价格
  14310. type: number
  14311. ordertime:
  14312. description: 委托时间
  14313. type: string
  14314. tradedate:
  14315. description: 交易日(yyyyMMdd)
  14316. type: string
  14317. required:
  14318. - ordertime
  14319. type: object
  14320. user.LoginQueryRsp:
  14321. properties:
  14322. areaRoles:
  14323. description: 所属角色信息
  14324. items:
  14325. $ref: '#/definitions/models.Arearole'
  14326. type: array
  14327. externalExchanges:
  14328. description: 外部交易所
  14329. items:
  14330. $ref: '#/definitions/models.Externalexchange'
  14331. type: array
  14332. goodsgroups:
  14333. description: 商品组
  14334. items:
  14335. $ref: '#/definitions/models.Goodsgroup'
  14336. type: array
  14337. loginAccount:
  14338. $ref: '#/definitions/models.Loginaccount'
  14339. description: 登录账号
  14340. type: object
  14341. markets:
  14342. description: 市场
  14343. items:
  14344. $ref: '#/definitions/models.Market'
  14345. type: array
  14346. systemParams:
  14347. description: 系统参数
  14348. items:
  14349. $ref: '#/definitions/models.Systemparam'
  14350. type: array
  14351. userAccount:
  14352. $ref: '#/definitions/models.Useraccount'
  14353. description: 用户账号
  14354. type: object
  14355. userInfo:
  14356. $ref: '#/definitions/models.Userinfo'
  14357. description: 用户信息
  14358. type: object
  14359. username:
  14360. description: 用户姓名
  14361. type: string
  14362. type: object
  14363. info:
  14364. contact: {}
  14365. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  14366. license: {}
  14367. termsOfService: http://www.muchinfo.cn
  14368. title: MTP2.0 查询服务 API
  14369. version: "1.0"
  14370. paths:
  14371. /CPTrade/QueryCPTradeMyBidInfos:
  14372. get:
  14373. parameters:
  14374. - description: 资金账户
  14375. in: query
  14376. name: accountid
  14377. required: true
  14378. type: integer
  14379. - description: 预售市场ID
  14380. in: query
  14381. name: marketid
  14382. type: integer
  14383. - description: 预售商品ID
  14384. in: query
  14385. name: goodsid
  14386. type: integer
  14387. produces:
  14388. - application/json
  14389. responses:
  14390. "200":
  14391. description: OK
  14392. schema:
  14393. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  14394. "500":
  14395. description: Internal Server Error
  14396. schema:
  14397. $ref: '#/definitions/app.Response'
  14398. security:
  14399. - ApiKeyAuth: []
  14400. summary: 查询产能预售我的出价信息
  14401. tags:
  14402. - 产能预售
  14403. /CPTrade/QueryCPTradeOrderDetail:
  14404. get:
  14405. parameters:
  14406. - description: 预售商品ID
  14407. in: query
  14408. name: goodsid
  14409. type: integer
  14410. - description: 预售市场ID
  14411. in: query
  14412. name: marketid
  14413. type: integer
  14414. - description: 预售商品ID列表 - 格式:1,2,3
  14415. in: query
  14416. name: goodsids
  14417. type: string
  14418. produces:
  14419. - application/json
  14420. responses:
  14421. "200":
  14422. description: OK
  14423. schema:
  14424. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  14425. "500":
  14426. description: Internal Server Error
  14427. schema:
  14428. $ref: '#/definitions/app.Response'
  14429. security:
  14430. - ApiKeyAuth: []
  14431. summary: 查询产能预售委托单信息
  14432. tags:
  14433. - 产能预售
  14434. /CPTrade/QueryMyCPTradeGoods:
  14435. get:
  14436. parameters:
  14437. - description: 资金账户
  14438. in: query
  14439. name: accountid
  14440. required: true
  14441. type: integer
  14442. produces:
  14443. - application/json
  14444. responses:
  14445. "200":
  14446. description: OK
  14447. schema:
  14448. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  14449. "500":
  14450. description: Internal Server Error
  14451. schema:
  14452. $ref: '#/definitions/app.Response'
  14453. security:
  14454. - ApiKeyAuth: []
  14455. summary: 查询我的预售信息
  14456. tags:
  14457. - 产能预售
  14458. /CPTrade/QueryPositionCancel:
  14459. get:
  14460. parameters:
  14461. - description: 账户ID
  14462. in: query
  14463. name: userid
  14464. required: true
  14465. type: integer
  14466. - description: 注销ID
  14467. in: query
  14468. name: cancelid
  14469. type: integer
  14470. - description: 资金账户ID
  14471. in: query
  14472. name: accountid
  14473. type: integer
  14474. produces:
  14475. - application/json
  14476. responses:
  14477. "200":
  14478. description: OK
  14479. schema:
  14480. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  14481. "500":
  14482. description: Internal Server Error
  14483. schema:
  14484. $ref: '#/definitions/app.Response'
  14485. security:
  14486. - ApiKeyAuth: []
  14487. summary: 查询远期订单注销申请信息
  14488. tags:
  14489. - 产能预售
  14490. /CPTrade/QueryPreasleApply:
  14491. get:
  14492. parameters:
  14493. - description: 账户ID
  14494. in: query
  14495. name: userid
  14496. required: true
  14497. type: integer
  14498. - description: 申请ID
  14499. in: query
  14500. name: applyid
  14501. type: integer
  14502. - description: 资金账户ID
  14503. in: query
  14504. name: accountid
  14505. type: integer
  14506. produces:
  14507. - application/json
  14508. responses:
  14509. "200":
  14510. description: OK
  14511. schema:
  14512. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  14513. "500":
  14514. description: Internal Server Error
  14515. schema:
  14516. $ref: '#/definitions/app.Response'
  14517. security:
  14518. - ApiKeyAuth: []
  14519. summary: 查询产能预售申请信息
  14520. tags:
  14521. - 产能预售
  14522. /CPTrade/QueryPresaleGoodsEx:
  14523. get:
  14524. parameters:
  14525. - description: 预售商品ID
  14526. in: query
  14527. name: goodsid
  14528. type: integer
  14529. - description: 预售市场ID
  14530. in: query
  14531. name: marketid
  14532. type: integer
  14533. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  14534. in: query
  14535. name: presalemode
  14536. type: integer
  14537. - description: 预售商品ID列表 - 格式:1,2,3
  14538. in: query
  14539. name: goodsids
  14540. type: string
  14541. - description: 预售商品代码
  14542. in: query
  14543. name: goodscode
  14544. type: string
  14545. produces:
  14546. - application/json
  14547. responses:
  14548. "200":
  14549. description: OK
  14550. schema:
  14551. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  14552. "500":
  14553. description: Internal Server Error
  14554. schema:
  14555. $ref: '#/definitions/app.Response'
  14556. security:
  14557. - ApiKeyAuth: []
  14558. summary: 查询产能预售商品扩展信息
  14559. tags:
  14560. - 产能预售
  14561. /CPTrade/QueryUserGoodsData:
  14562. get:
  14563. parameters:
  14564. - description: 资金账户ID
  14565. in: query
  14566. name: accountid
  14567. required: true
  14568. type: integer
  14569. produces:
  14570. - application/json
  14571. responses:
  14572. "200":
  14573. description: OK
  14574. schema:
  14575. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  14576. "500":
  14577. description: Internal Server Error
  14578. schema:
  14579. $ref: '#/definitions/app.Response'
  14580. security:
  14581. - ApiKeyAuth: []
  14582. summary: 查询远期订单信息
  14583. tags:
  14584. - 产能预售
  14585. /Common/GetAllEnums:
  14586. get:
  14587. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  14588. parameters:
  14589. - description: 起始自增ID
  14590. in: query
  14591. name: autoid
  14592. type: integer
  14593. produces:
  14594. - application/json
  14595. responses:
  14596. "200":
  14597. description: OK
  14598. schema:
  14599. $ref: '#/definitions/models.Enumdicitem'
  14600. "500":
  14601. description: Internal Server Error
  14602. schema:
  14603. $ref: '#/definitions/app.Response'
  14604. summary: 获取所有枚举信息
  14605. tags:
  14606. - 通用服务
  14607. /Common/GetClientMenus:
  14608. get:
  14609. parameters:
  14610. - description: 登录账号
  14611. in: query
  14612. name: loginID
  14613. required: true
  14614. type: integer
  14615. - description: 终端类型,0:PC 1:Mobile
  14616. in: query
  14617. name: clientType
  14618. type: integer
  14619. produces:
  14620. - application/json
  14621. responses:
  14622. "200":
  14623. description: OK
  14624. schema:
  14625. items:
  14626. $ref: '#/definitions/common.ClientMenu'
  14627. type: array
  14628. "500":
  14629. description: Internal Server Error
  14630. schema:
  14631. $ref: '#/definitions/app.Response'
  14632. security:
  14633. - ApiKeyAuth: []
  14634. summary: 获取交易端菜单
  14635. tags:
  14636. - 通用服务
  14637. /Common/GetDivisions:
  14638. get:
  14639. produces:
  14640. - application/json
  14641. responses:
  14642. "200":
  14643. description: OK
  14644. schema:
  14645. $ref: '#/definitions/models.Division'
  14646. "500":
  14647. description: Internal Server Error
  14648. schema:
  14649. $ref: '#/definitions/app.Response'
  14650. summary: 查询区域信息
  14651. tags:
  14652. - 通用服务
  14653. /Common/GetServerTime:
  14654. get:
  14655. produces:
  14656. - application/json
  14657. responses:
  14658. "200":
  14659. description: OK
  14660. schema:
  14661. $ref: '#/definitions/app.Response'
  14662. "500":
  14663. description: Internal Server Error
  14664. schema:
  14665. $ref: '#/definitions/app.Response'
  14666. summary: 获取服务器时间
  14667. tags:
  14668. - 通用服务
  14669. /Common/NoticeReaded:
  14670. post:
  14671. parameters:
  14672. - description: 登录账号
  14673. in: query
  14674. name: loginID
  14675. required: true
  14676. type: integer
  14677. - description: 通知公告ID
  14678. in: query
  14679. name: noticeID
  14680. required: true
  14681. type: integer
  14682. produces:
  14683. - application/json
  14684. responses:
  14685. "200":
  14686. description: OK
  14687. schema:
  14688. $ref: '#/definitions/app.Response'
  14689. "500":
  14690. description: Internal Server Error
  14691. schema:
  14692. $ref: '#/definitions/app.Response'
  14693. security:
  14694. - ApiKeyAuth: []
  14695. summary: 通知公告设置已读请求
  14696. tags:
  14697. - 通用服务
  14698. /Common/QueryErrorInfos:
  14699. get:
  14700. description: 如果传入rowNumber,则返回此rowNumber后的数据
  14701. parameters:
  14702. - description: 起始行号前索引
  14703. in: query
  14704. name: rowNumber
  14705. type: string
  14706. produces:
  14707. - application/json
  14708. responses:
  14709. "200":
  14710. description: OK
  14711. schema:
  14712. $ref: '#/definitions/models.QueryErrorInfosRsp'
  14713. "500":
  14714. description: Internal Server Error
  14715. schema:
  14716. $ref: '#/definitions/app.Response'
  14717. summary: 获取数据库错误信息
  14718. tags:
  14719. - 通用服务
  14720. /Common/QueryImageConfigs:
  14721. get:
  14722. parameters:
  14723. - description: 用户id
  14724. in: query
  14725. name: userId
  14726. type: integer
  14727. - description: 类型 - 1:App首页轮播 2:我的
  14728. in: query
  14729. name: imageType
  14730. type: integer
  14731. produces:
  14732. - application/json
  14733. responses:
  14734. "200":
  14735. description: OK
  14736. schema:
  14737. $ref: '#/definitions/common.QueryImageConfigsRsp'
  14738. "500":
  14739. description: Internal Server Error
  14740. schema:
  14741. $ref: '#/definitions/app.Response'
  14742. summary: 查询轮播图配置信息
  14743. tags:
  14744. - 通用服务
  14745. /Common/QueryNotice:
  14746. get:
  14747. parameters:
  14748. - description: 页码
  14749. in: query
  14750. name: page
  14751. type: integer
  14752. - description: 每页条数
  14753. in: query
  14754. name: pagesize
  14755. type: integer
  14756. - description: 登录账号
  14757. in: query
  14758. name: loginID
  14759. required: true
  14760. type: integer
  14761. - description: 消息类型 - 1:公告通知 2:系统消息
  14762. in: query
  14763. name: msgType
  14764. type: integer
  14765. - description: 是否只获取未读信息
  14766. in: query
  14767. name: onlyUnRead
  14768. type: boolean
  14769. - description: 自增ID,传入后会返回这个ID后面的记录
  14770. in: query
  14771. name: lastID
  14772. type: integer
  14773. produces:
  14774. - application/json
  14775. responses:
  14776. "200":
  14777. description: OK
  14778. schema:
  14779. $ref: '#/definitions/common.QueryNoticeRsp'
  14780. "500":
  14781. description: Internal Server Error
  14782. schema:
  14783. $ref: '#/definitions/app.Response'
  14784. security:
  14785. - ApiKeyAuth: []
  14786. summary: 通知公告系统消息查询
  14787. tags:
  14788. - 通用服务
  14789. /Common/QueryProvincesAndCities:
  14790. get:
  14791. parameters:
  14792. - description: 省ID
  14793. in: query
  14794. name: provinceID
  14795. type: integer
  14796. produces:
  14797. - application/json
  14798. responses:
  14799. "200":
  14800. description: OK
  14801. schema:
  14802. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  14803. "500":
  14804. description: Internal Server Error
  14805. schema:
  14806. $ref: '#/definitions/app.Response'
  14807. summary: 查询省市信息(不包括区)
  14808. tags:
  14809. - 通用服务
  14810. /Common/QueryTableDefine:
  14811. get:
  14812. parameters:
  14813. - description: 表key
  14814. in: query
  14815. name: tableKey
  14816. type: string
  14817. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  14818. in: query
  14819. name: tableType
  14820. type: integer
  14821. produces:
  14822. - application/json
  14823. responses:
  14824. "200":
  14825. description: OK
  14826. schema:
  14827. $ref: '#/definitions/common.QueryTableDefineRsp'
  14828. "500":
  14829. description: Internal Server Error
  14830. schema:
  14831. $ref: '#/definitions/app.Response'
  14832. summary: 查询交易端列表头信息
  14833. tags:
  14834. - 通用服务
  14835. /Common/QueryTraderMenu:
  14836. get:
  14837. parameters:
  14838. - description: 登录账号
  14839. in: query
  14840. name: loginid
  14841. required: true
  14842. type: integer
  14843. produces:
  14844. - application/json
  14845. responses:
  14846. "200":
  14847. description: OK
  14848. schema:
  14849. $ref: '#/definitions/common.QueryTraderMenuRsp'
  14850. "500":
  14851. description: Internal Server Error
  14852. schema:
  14853. $ref: '#/definitions/app.Response'
  14854. summary: 查询交易端菜单
  14855. tags:
  14856. - 通用服务
  14857. /Delivery/QueryDeliveryRelation:
  14858. get:
  14859. parameters:
  14860. - description: 商品ID
  14861. in: query
  14862. name: goodsid
  14863. type: integer
  14864. - description: 品种ID
  14865. in: query
  14866. name: deliverygoodsid
  14867. type: integer
  14868. - description: 市场ID
  14869. in: query
  14870. name: marketid
  14871. type: integer
  14872. produces:
  14873. - application/json
  14874. responses:
  14875. "200":
  14876. description: OK
  14877. schema:
  14878. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  14879. "500":
  14880. description: Internal Server Error
  14881. schema:
  14882. $ref: '#/definitions/app.Response'
  14883. security:
  14884. - ApiKeyAuth: []
  14885. summary: 查询商品交割关系表
  14886. tags:
  14887. - 交割服务
  14888. /Ermcp/GetErmcpGoods:
  14889. get:
  14890. parameters:
  14891. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14892. in: query
  14893. name: lastUpdateTime
  14894. type: string
  14895. produces:
  14896. - application/json
  14897. responses:
  14898. "200":
  14899. description: OK
  14900. schema:
  14901. $ref: '#/definitions/models.ErmcpGoods'
  14902. "500":
  14903. description: Internal Server Error
  14904. schema:
  14905. $ref: '#/definitions/app.Response'
  14906. security:
  14907. - ApiKeyAuth: []
  14908. summary: 查询企业风管期货商品信息
  14909. tags:
  14910. - 企业风险管理(app)
  14911. /Ermcp/GetErmcpGoodsSortByPosition:
  14912. get:
  14913. parameters:
  14914. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  14915. in: query
  14916. name: sortIndex
  14917. type: string
  14918. produces:
  14919. - application/json
  14920. responses:
  14921. "200":
  14922. description: OK
  14923. schema:
  14924. $ref: '#/definitions/models.Goodssortbypreposition'
  14925. "500":
  14926. description: Internal Server Error
  14927. schema:
  14928. $ref: '#/definitions/app.Response'
  14929. security:
  14930. - ApiKeyAuth: []
  14931. summary: 查询企业风管期货主力、次主力商品信息
  14932. tags:
  14933. - 企业风险管理(app)
  14934. /Ermcp/GetErmcpOutAccountStatus:
  14935. get:
  14936. parameters:
  14937. - description: 登录账号
  14938. in: query
  14939. name: loginID
  14940. required: true
  14941. type: integer
  14942. produces:
  14943. - application/json
  14944. responses:
  14945. "200":
  14946. description: OK
  14947. schema:
  14948. $ref: '#/definitions/models.Hedgemarketopenlog'
  14949. "500":
  14950. description: Internal Server Error
  14951. schema:
  14952. $ref: '#/definitions/app.Response'
  14953. security:
  14954. - ApiKeyAuth: []
  14955. summary: 获取目标登录账号当前对冲账号在线状态
  14956. tags:
  14957. - 企业风险管理(app)
  14958. /Ermcp/GetErmcpRoleFuncMenuLists:
  14959. get:
  14960. parameters:
  14961. - description: 登录账号
  14962. in: query
  14963. name: loginID
  14964. required: true
  14965. type: integer
  14966. produces:
  14967. - application/json
  14968. responses:
  14969. "200":
  14970. description: OK
  14971. schema:
  14972. $ref: '#/definitions/models.Funcmenulist'
  14973. "500":
  14974. description: Internal Server Error
  14975. schema:
  14976. $ref: '#/definitions/app.Response'
  14977. security:
  14978. - ApiKeyAuth: []
  14979. summary: 获取企业风管终端权限
  14980. tags:
  14981. - 企业风险管理(app)
  14982. /Ermcp/QueryAccMgrBizGroupSet:
  14983. get:
  14984. parameters:
  14985. - description: 用户ID
  14986. in: query
  14987. name: userid
  14988. required: true
  14989. type: integer
  14990. - description: 现货商品id
  14991. in: query
  14992. name: deliverygoodsid
  14993. type: integer
  14994. produces:
  14995. - application/json
  14996. responses:
  14997. "200":
  14998. description: OK
  14999. schema:
  15000. items:
  15001. $ref: '#/definitions/models.ErmcpBizGroupEx'
  15002. type: array
  15003. "500":
  15004. description: Internal Server Error
  15005. schema:
  15006. $ref: '#/definitions/app.Response'
  15007. security:
  15008. - ApiKeyAuth: []
  15009. summary: 查询业务类型分组(账户管理/账户设置)
  15010. tags:
  15011. - 企业风险管理(app)
  15012. /Ermcp/QueryAccMgrLoginUser:
  15013. get:
  15014. parameters:
  15015. - description: 用户ID
  15016. in: query
  15017. name: userid
  15018. required: true
  15019. type: integer
  15020. - description: 用户类型 2-机构 7-企业成员
  15021. in: query
  15022. name: usertype
  15023. type: integer
  15024. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  15025. in: query
  15026. name: querytype
  15027. required: true
  15028. type: integer
  15029. produces:
  15030. - application/json
  15031. responses:
  15032. "200":
  15033. description: OK
  15034. schema:
  15035. items:
  15036. $ref: '#/definitions/models.ErmcpLoginUserEx'
  15037. type: array
  15038. "500":
  15039. description: Internal Server Error
  15040. schema:
  15041. $ref: '#/definitions/app.Response'
  15042. security:
  15043. - ApiKeyAuth: []
  15044. summary: 查询账户管理登录账号(账户管理/登录账号)
  15045. tags:
  15046. - 企业风险管理(app)
  15047. /Ermcp/QueryAccMgrMainAccountInfo:
  15048. get:
  15049. parameters:
  15050. - description: 用户ID
  15051. in: query
  15052. name: userid
  15053. type: integer
  15054. - description: 主账号id
  15055. in: query
  15056. name: accountid
  15057. type: integer
  15058. produces:
  15059. - application/json
  15060. responses:
  15061. "200":
  15062. description: OK
  15063. schema:
  15064. items:
  15065. $ref: '#/definitions/models.MainAccountInfo'
  15066. type: array
  15067. "500":
  15068. description: Internal Server Error
  15069. schema:
  15070. $ref: '#/definitions/app.Response'
  15071. security:
  15072. - ApiKeyAuth: []
  15073. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  15074. tags:
  15075. - 企业风险管理(app)
  15076. /Ermcp/QueryAccMgrRole:
  15077. get:
  15078. parameters:
  15079. - description: 用户ID
  15080. in: query
  15081. name: userid
  15082. required: true
  15083. type: integer
  15084. produces:
  15085. - application/json
  15086. responses:
  15087. "200":
  15088. description: OK
  15089. schema:
  15090. items:
  15091. $ref: '#/definitions/models.ErmcpRole'
  15092. type: array
  15093. "500":
  15094. description: Internal Server Error
  15095. schema:
  15096. $ref: '#/definitions/app.Response'
  15097. security:
  15098. - ApiKeyAuth: []
  15099. summary: 查询账户管理角色设置(账户管理/角色设置)
  15100. tags:
  15101. - 企业风险管理(app)
  15102. /Ermcp/QueryAccMgrRoleMenu:
  15103. get:
  15104. parameters:
  15105. - description: 用户ID
  15106. in: query
  15107. name: userid
  15108. required: true
  15109. type: integer
  15110. - description: 角色id(可多个,逗号隔开)
  15111. in: query
  15112. name: roleid
  15113. type: string
  15114. produces:
  15115. - application/json
  15116. responses:
  15117. "200":
  15118. description: OK
  15119. schema:
  15120. items:
  15121. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  15122. type: array
  15123. "500":
  15124. description: Internal Server Error
  15125. schema:
  15126. $ref: '#/definitions/app.Response'
  15127. security:
  15128. - ApiKeyAuth: []
  15129. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  15130. tags:
  15131. - 企业风险管理(app)
  15132. /Ermcp/QueryAccMgrTaAccountInfo:
  15133. get:
  15134. parameters:
  15135. - description: 用户ID
  15136. in: query
  15137. name: userid
  15138. required: true
  15139. type: integer
  15140. - description: 账号id
  15141. in: query
  15142. name: accountid
  15143. type: integer
  15144. produces:
  15145. - application/json
  15146. responses:
  15147. "200":
  15148. description: OK
  15149. schema:
  15150. items:
  15151. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  15152. type: array
  15153. "500":
  15154. description: Internal Server Error
  15155. schema:
  15156. $ref: '#/definitions/app.Response'
  15157. security:
  15158. - ApiKeyAuth: []
  15159. summary: 查询账户管理授信(账户管理/账户设置/授信)
  15160. tags:
  15161. - 企业风险管理(app)
  15162. /Ermcp/QueryAccMgrTaaccount:
  15163. get:
  15164. parameters:
  15165. - description: 用户ID
  15166. in: query
  15167. name: userid
  15168. required: true
  15169. type: integer
  15170. produces:
  15171. - application/json
  15172. responses:
  15173. "200":
  15174. description: OK
  15175. schema:
  15176. items:
  15177. $ref: '#/definitions/models.ErmcpTaAccountEx'
  15178. type: array
  15179. "500":
  15180. description: Internal Server Error
  15181. schema:
  15182. $ref: '#/definitions/app.Response'
  15183. security:
  15184. - ApiKeyAuth: []
  15185. summary: 查询账户管理期货账号(账户管理/期货账号)
  15186. tags:
  15187. - 企业风险管理(app)
  15188. /Ermcp/QueryAvaildGoodsGroup:
  15189. get:
  15190. parameters:
  15191. - description: 所属机构ID
  15192. in: query
  15193. name: userid
  15194. required: true
  15195. type: integer
  15196. produces:
  15197. - application/json
  15198. responses:
  15199. "200":
  15200. description: OK
  15201. schema:
  15202. items:
  15203. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  15204. type: array
  15205. "500":
  15206. description: Internal Server Error
  15207. schema:
  15208. $ref: '#/definitions/app.Response'
  15209. security:
  15210. - ApiKeyAuth: []
  15211. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  15212. tags:
  15213. - 企业风险管理(app)
  15214. /Ermcp/QueryBusinessDj:
  15215. get:
  15216. parameters:
  15217. - description: 用户ID
  15218. in: query
  15219. name: UserId
  15220. required: true
  15221. type: integer
  15222. - description: 用户类型 2-机构 7-企业成员
  15223. in: query
  15224. name: usertype
  15225. type: integer
  15226. - description: 现货合同ID, 不填则查所有
  15227. in: query
  15228. name: relatedid
  15229. type: string
  15230. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15231. in: query
  15232. name: applystatus
  15233. type: string
  15234. produces:
  15235. - application/json
  15236. responses:
  15237. "200":
  15238. description: OK
  15239. schema:
  15240. items:
  15241. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  15242. type: array
  15243. "500":
  15244. description: Internal Server Error
  15245. schema:
  15246. $ref: '#/definitions/app.Response'
  15247. security:
  15248. - ApiKeyAuth: []
  15249. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  15250. tags:
  15251. - 企业风险管理(app)
  15252. /Ermcp/QueryBusinessFp:
  15253. get:
  15254. parameters:
  15255. - description: 用户ID
  15256. in: query
  15257. name: UserId
  15258. required: true
  15259. type: integer
  15260. - description: 用户类型 2-机构 7-企业成员
  15261. in: query
  15262. name: usertype
  15263. type: integer
  15264. - description: 现货合同ID, 不填则查所有
  15265. in: query
  15266. name: relatedid
  15267. type: string
  15268. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15269. in: query
  15270. name: applystatus
  15271. type: string
  15272. produces:
  15273. - application/json
  15274. responses:
  15275. "200":
  15276. description: OK
  15277. schema:
  15278. items:
  15279. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  15280. type: array
  15281. "500":
  15282. description: Internal Server Error
  15283. schema:
  15284. $ref: '#/definitions/app.Response'
  15285. security:
  15286. - ApiKeyAuth: []
  15287. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  15288. tags:
  15289. - 企业风险管理(app)
  15290. /Ermcp/QueryBusinessJs:
  15291. get:
  15292. parameters:
  15293. - description: 用户ID
  15294. in: query
  15295. name: UserId
  15296. required: true
  15297. type: integer
  15298. - description: 用户类型 2-机构 7-企业成员
  15299. in: query
  15300. name: usertype
  15301. type: integer
  15302. - description: 现货合同ID, 不填则查所有
  15303. in: query
  15304. name: relatedid
  15305. type: string
  15306. - description: 操作申请id
  15307. in: query
  15308. name: operateapplyid
  15309. type: string
  15310. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15311. in: query
  15312. name: applystatus
  15313. type: string
  15314. produces:
  15315. - application/json
  15316. responses:
  15317. "200":
  15318. description: OK
  15319. schema:
  15320. items:
  15321. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  15322. type: array
  15323. "500":
  15324. description: Internal Server Error
  15325. schema:
  15326. $ref: '#/definitions/app.Response'
  15327. security:
  15328. - ApiKeyAuth: []
  15329. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  15330. tags:
  15331. - 企业风险管理(app)
  15332. /Ermcp/QueryBusinessJsEx:
  15333. get:
  15334. parameters:
  15335. - description: 用户ID
  15336. in: query
  15337. name: UserId
  15338. required: true
  15339. type: integer
  15340. - description: 用户类型 2-机构 7-企业成员
  15341. in: query
  15342. name: usertype
  15343. type: integer
  15344. - description: 现货合同ID, 不填则查所有
  15345. in: query
  15346. name: relatedid
  15347. type: string
  15348. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15349. in: query
  15350. name: applystatus
  15351. type: string
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. items:
  15359. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  15360. type: array
  15361. "500":
  15362. description: Internal Server Error
  15363. schema:
  15364. $ref: '#/definitions/app.Response'
  15365. security:
  15366. - ApiKeyAuth: []
  15367. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  15368. tags:
  15369. - 企业风险管理(app)
  15370. /Ermcp/QueryBusinessKx:
  15371. get:
  15372. parameters:
  15373. - description: 用户ID
  15374. in: query
  15375. name: UserId
  15376. required: true
  15377. type: integer
  15378. - description: 用户类型 2-机构 7-企业成员
  15379. in: query
  15380. name: usertype
  15381. type: integer
  15382. - description: 现货合同ID, 不填则查所有
  15383. in: query
  15384. name: relatedid
  15385. type: string
  15386. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15387. in: query
  15388. name: applystatus
  15389. type: string
  15390. produces:
  15391. - application/json
  15392. responses:
  15393. "200":
  15394. description: OK
  15395. schema:
  15396. items:
  15397. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  15398. type: array
  15399. "500":
  15400. description: Internal Server Error
  15401. schema:
  15402. $ref: '#/definitions/app.Response'
  15403. security:
  15404. - ApiKeyAuth: []
  15405. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  15406. tags:
  15407. - 企业风险管理(app)
  15408. /Ermcp/QueryChangeLog:
  15409. get:
  15410. parameters:
  15411. - description: 合同ID
  15412. in: query
  15413. name: RelatedId
  15414. required: true
  15415. type: string
  15416. produces:
  15417. - application/json
  15418. responses:
  15419. "200":
  15420. description: OK
  15421. schema:
  15422. items:
  15423. $ref: '#/definitions/ermcp.QryOPLogRsp'
  15424. type: array
  15425. "500":
  15426. description: Internal Server Error
  15427. schema:
  15428. $ref: '#/definitions/app.Response'
  15429. security:
  15430. - ApiKeyAuth: []
  15431. summary: 查询变更记录
  15432. tags:
  15433. - 企业风险管理(app)
  15434. /Ermcp/QueryErmcpHisOrderDetails:
  15435. get:
  15436. parameters:
  15437. - description: 资金账户ID
  15438. in: query
  15439. name: accountID
  15440. required: true
  15441. type: integer
  15442. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15443. in: query
  15444. name: startDate
  15445. type: string
  15446. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15447. in: query
  15448. name: endDate
  15449. type: string
  15450. produces:
  15451. - application/json
  15452. responses:
  15453. "200":
  15454. description: OK
  15455. schema:
  15456. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  15457. "500":
  15458. description: Internal Server Error
  15459. schema:
  15460. $ref: '#/definitions/app.Response'
  15461. security:
  15462. - ApiKeyAuth: []
  15463. summary: 获取企业风管期货历史委托单信息
  15464. tags:
  15465. - 企业风险管理(app)
  15466. /Ermcp/QueryErmcpHisTradeDetails:
  15467. get:
  15468. parameters:
  15469. - description: 资金账户ID
  15470. in: query
  15471. name: accountID
  15472. required: true
  15473. type: integer
  15474. - description: 商品ID
  15475. in: query
  15476. name: goodsID
  15477. type: integer
  15478. - description: 买卖方向,0:买 1:卖
  15479. in: query
  15480. name: buyOrSell
  15481. type: integer
  15482. - description: 关联委托单号
  15483. in: query
  15484. name: orderID
  15485. type: integer
  15486. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15487. in: query
  15488. name: startDate
  15489. type: string
  15490. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15491. in: query
  15492. name: endDate
  15493. type: string
  15494. produces:
  15495. - application/json
  15496. responses:
  15497. "200":
  15498. description: OK
  15499. schema:
  15500. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  15501. "500":
  15502. description: Internal Server Error
  15503. schema:
  15504. $ref: '#/definitions/app.Response'
  15505. security:
  15506. - ApiKeyAuth: []
  15507. summary: 获取企业风管期货历史成交单信息
  15508. tags:
  15509. - 企业风险管理(app)
  15510. /Ermcp/QueryErmcpInnerHolderDetails:
  15511. get:
  15512. parameters:
  15513. - description: 资金账户ID
  15514. in: query
  15515. name: accountID
  15516. required: true
  15517. type: integer
  15518. - description: 商品ID
  15519. in: query
  15520. name: goodsID
  15521. type: integer
  15522. - description: 买卖方向,0:买 1:卖
  15523. in: query
  15524. name: buyOrSell
  15525. type: integer
  15526. produces:
  15527. - application/json
  15528. responses:
  15529. "200":
  15530. description: OK
  15531. schema:
  15532. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  15533. "500":
  15534. description: Internal Server Error
  15535. schema:
  15536. $ref: '#/definitions/app.Response'
  15537. security:
  15538. - ApiKeyAuth: []
  15539. summary: 获取企业风管期货内部持仓单信息
  15540. tags:
  15541. - 企业风险管理(app)
  15542. /Ermcp/QueryErmcpOrderDetails:
  15543. get:
  15544. parameters:
  15545. - description: 资金账户ID
  15546. in: query
  15547. name: accountID
  15548. required: true
  15549. type: integer
  15550. produces:
  15551. - application/json
  15552. responses:
  15553. "200":
  15554. description: OK
  15555. schema:
  15556. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  15557. "500":
  15558. description: Internal Server Error
  15559. schema:
  15560. $ref: '#/definitions/app.Response'
  15561. security:
  15562. - ApiKeyAuth: []
  15563. summary: 获取企业风管期货委托单信息
  15564. tags:
  15565. - 企业风险管理(app)
  15566. /Ermcp/QueryErmcpTradeDetails:
  15567. get:
  15568. parameters:
  15569. - description: 资金账户ID
  15570. in: query
  15571. name: accountID
  15572. required: true
  15573. type: integer
  15574. - description: 商品ID
  15575. in: query
  15576. name: goodsID
  15577. type: integer
  15578. - description: 买卖方向,0:买 1:卖
  15579. in: query
  15580. name: buyOrSell
  15581. type: integer
  15582. - description: 关联委托单号
  15583. in: query
  15584. name: orderID
  15585. type: integer
  15586. produces:
  15587. - application/json
  15588. responses:
  15589. "200":
  15590. description: OK
  15591. schema:
  15592. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  15593. "500":
  15594. description: Internal Server Error
  15595. schema:
  15596. $ref: '#/definitions/app.Response'
  15597. security:
  15598. - ApiKeyAuth: []
  15599. summary: 获取企业风管期货成交单信息
  15600. tags:
  15601. - 企业风险管理(app)
  15602. /Ermcp/QueryErmcpTradePosition:
  15603. get:
  15604. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  15605. parameters:
  15606. - description: 资金账户ID
  15607. in: query
  15608. name: accountID
  15609. required: true
  15610. type: integer
  15611. - description: 所属市场ID
  15612. in: query
  15613. name: marketID
  15614. type: integer
  15615. produces:
  15616. - application/json
  15617. responses:
  15618. "200":
  15619. description: OK
  15620. schema:
  15621. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  15622. "500":
  15623. description: Internal Server Error
  15624. schema:
  15625. $ref: '#/definitions/app.Response'
  15626. security:
  15627. - ApiKeyAuth: []
  15628. summary: 获取企业风管期货持仓头寸信息
  15629. tags:
  15630. - 企业风险管理(app)
  15631. /Ermcp/QueryExposureDetail:
  15632. get:
  15633. parameters:
  15634. - description: 所属机构ID
  15635. in: query
  15636. name: areaUserId
  15637. required: true
  15638. type: integer
  15639. - description: 套保商品
  15640. in: query
  15641. name: middleGoodsId
  15642. required: true
  15643. type: integer
  15644. produces:
  15645. - application/json
  15646. responses:
  15647. "200":
  15648. description: OK
  15649. schema:
  15650. items:
  15651. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  15652. type: array
  15653. "500":
  15654. description: Internal Server Error
  15655. schema:
  15656. $ref: '#/definitions/app.Response'
  15657. security:
  15658. - ApiKeyAuth: []
  15659. summary: 查询敞口现货明细
  15660. tags:
  15661. - 企业风险管理(app)
  15662. /Ermcp/QueryExposureGoods:
  15663. get:
  15664. parameters:
  15665. - description: 套保商品id
  15666. in: query
  15667. name: middlegoodsid
  15668. required: true
  15669. type: integer
  15670. produces:
  15671. - application/json
  15672. responses:
  15673. "200":
  15674. description: OK
  15675. schema:
  15676. items:
  15677. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  15678. type: array
  15679. "500":
  15680. description: Internal Server Error
  15681. schema:
  15682. $ref: '#/definitions/app.Response'
  15683. security:
  15684. - ApiKeyAuth: []
  15685. summary: 查询敞口主力合约
  15686. tags:
  15687. - 企业风险管理(app)
  15688. /Ermcp/QueryExposureHedgePosition:
  15689. get:
  15690. parameters:
  15691. - description: 用户id
  15692. in: query
  15693. name: userid
  15694. required: true
  15695. type: integer
  15696. produces:
  15697. - application/json
  15698. responses:
  15699. "200":
  15700. description: OK
  15701. schema:
  15702. items:
  15703. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  15704. type: array
  15705. "500":
  15706. description: Internal Server Error
  15707. schema:
  15708. $ref: '#/definitions/app.Response'
  15709. security:
  15710. - ApiKeyAuth: []
  15711. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  15712. tags:
  15713. - 企业风险管理(app)
  15714. /Ermcp/QueryExposureHedgePositionDetail:
  15715. get:
  15716. parameters:
  15717. - description: 所属机构ID
  15718. in: query
  15719. name: userid
  15720. required: true
  15721. type: integer
  15722. - description: 商品id
  15723. in: query
  15724. name: goodsId
  15725. required: true
  15726. type: integer
  15727. produces:
  15728. - application/json
  15729. responses:
  15730. "200":
  15731. description: OK
  15732. schema:
  15733. items:
  15734. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  15735. type: array
  15736. "500":
  15737. description: Internal Server Error
  15738. schema:
  15739. $ref: '#/definitions/app.Response'
  15740. security:
  15741. - ApiKeyAuth: []
  15742. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  15743. tags:
  15744. - 企业风险管理(app)
  15745. /Ermcp/QueryExposureSpot:
  15746. get:
  15747. parameters:
  15748. - description: 所属机构ID
  15749. in: query
  15750. name: areaUserId
  15751. required: true
  15752. type: integer
  15753. produces:
  15754. - application/json
  15755. responses:
  15756. "200":
  15757. description: OK
  15758. schema:
  15759. items:
  15760. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  15761. type: array
  15762. "500":
  15763. description: Internal Server Error
  15764. schema:
  15765. $ref: '#/definitions/app.Response'
  15766. security:
  15767. - ApiKeyAuth: []
  15768. summary: 查询敞口现货头寸(敞口/现货头寸)
  15769. tags:
  15770. - 企业风险管理(app)
  15771. /Ermcp/QueryExposureSpotDetail:
  15772. get:
  15773. parameters:
  15774. - description: 所属机构ID
  15775. in: query
  15776. name: areaUserId
  15777. required: true
  15778. type: integer
  15779. - description: 现货品种ID
  15780. in: query
  15781. name: wrstandardId
  15782. required: true
  15783. type: integer
  15784. produces:
  15785. - application/json
  15786. responses:
  15787. "200":
  15788. description: OK
  15789. schema:
  15790. items:
  15791. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  15792. type: array
  15793. "500":
  15794. description: Internal Server Error
  15795. schema:
  15796. $ref: '#/definitions/app.Response'
  15797. security:
  15798. - ApiKeyAuth: []
  15799. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15800. tags:
  15801. - 企业风险管理(app)
  15802. /Ermcp/QueryFuturesCompany:
  15803. get:
  15804. produces:
  15805. - application/json
  15806. responses:
  15807. "200":
  15808. description: OK
  15809. schema:
  15810. items:
  15811. $ref: '#/definitions/models.ErmcpFuturesCompany'
  15812. type: array
  15813. "500":
  15814. description: Internal Server Error
  15815. schema:
  15816. $ref: '#/definitions/app.Response'
  15817. security:
  15818. - ApiKeyAuth: []
  15819. summary: 查询期货公司
  15820. tags:
  15821. - 企业风险管理(app)
  15822. /Ermcp/QueryGGConvertConfig:
  15823. get:
  15824. parameters:
  15825. - description: 品种id(不填则查所有)
  15826. in: query
  15827. name: goodsgroupid
  15828. type: integer
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. items:
  15836. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  15837. type: array
  15838. "500":
  15839. description: Internal Server Error
  15840. schema:
  15841. $ref: '#/definitions/app.Response'
  15842. security:
  15843. - ApiKeyAuth: []
  15844. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  15845. tags:
  15846. - 企业风险管理(app)
  15847. /Ermcp/QueryGoodsBrand:
  15848. get:
  15849. parameters:
  15850. - description: 用户ID
  15851. in: query
  15852. name: userid
  15853. required: true
  15854. type: integer
  15855. - description: 现货商品ID
  15856. in: query
  15857. name: wrstandardid
  15858. type: integer
  15859. produces:
  15860. - application/json
  15861. responses:
  15862. "200":
  15863. description: OK
  15864. schema:
  15865. items:
  15866. $ref: '#/definitions/models.ErmcpGoodsBrand'
  15867. type: array
  15868. "500":
  15869. description: Internal Server Error
  15870. schema:
  15871. $ref: '#/definitions/app.Response'
  15872. security:
  15873. - ApiKeyAuth: []
  15874. summary: 查询商品品牌
  15875. tags:
  15876. - 企业风险管理(app)
  15877. /Ermcp/QueryGoodsModel:
  15878. get:
  15879. parameters:
  15880. - description: 用户ID
  15881. in: query
  15882. name: userid
  15883. required: true
  15884. type: integer
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. items:
  15892. $ref: '#/definitions/models.ErmcpGoodsModel'
  15893. type: array
  15894. "500":
  15895. description: Internal Server Error
  15896. schema:
  15897. $ref: '#/definitions/app.Response'
  15898. security:
  15899. - ApiKeyAuth: []
  15900. summary: 查询商品型号
  15901. tags:
  15902. - 企业风险管理(app)
  15903. /Ermcp/QueryHisExposure:
  15904. get:
  15905. parameters:
  15906. - description: 用户id
  15907. in: query
  15908. name: userid
  15909. required: true
  15910. type: integer
  15911. - description: 每个品种记录数
  15912. in: query
  15913. name: lastNum
  15914. required: true
  15915. type: integer
  15916. produces:
  15917. - application/json
  15918. responses:
  15919. "200":
  15920. description: OK
  15921. schema:
  15922. items:
  15923. $ref: '#/definitions/ermcp.HisExposureRsp'
  15924. type: array
  15925. "500":
  15926. description: Internal Server Error
  15927. schema:
  15928. $ref: '#/definitions/app.Response'
  15929. security:
  15930. - ApiKeyAuth: []
  15931. summary: 查询历史敞口(菜单:敞口/历史敞口)
  15932. tags:
  15933. - 企业风险管理(app)
  15934. /Ermcp/QueryMiddleGoods:
  15935. get:
  15936. parameters:
  15937. - description: 所属机构ID
  15938. in: query
  15939. name: userid
  15940. required: true
  15941. type: integer
  15942. - description: 状态 0-停用 1-正常
  15943. in: query
  15944. name: status
  15945. required: true
  15946. type: integer
  15947. produces:
  15948. - application/json
  15949. responses:
  15950. "200":
  15951. description: OK
  15952. schema:
  15953. items:
  15954. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  15955. type: array
  15956. "500":
  15957. description: Internal Server Error
  15958. schema:
  15959. $ref: '#/definitions/app.Response'
  15960. security:
  15961. - ApiKeyAuth: []
  15962. summary: 查询套保品种(菜单:套保品种)
  15963. tags:
  15964. - 企业风险管理(app)
  15965. /Ermcp/QueryMiddleGoodsChangeLog:
  15966. get:
  15967. parameters:
  15968. - description: 所属机构ID
  15969. in: query
  15970. name: userid
  15971. required: true
  15972. type: integer
  15973. - description: 套保品种id
  15974. in: query
  15975. name: middlegoodsid
  15976. required: true
  15977. type: integer
  15978. produces:
  15979. - application/json
  15980. responses:
  15981. "200":
  15982. description: OK
  15983. schema:
  15984. items:
  15985. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15986. type: array
  15987. "500":
  15988. description: Internal Server Error
  15989. schema:
  15990. $ref: '#/definitions/app.Response'
  15991. security:
  15992. - ApiKeyAuth: []
  15993. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15994. tags:
  15995. - 企业风险管理(app)
  15996. /Ermcp/QueryMiddleGoodsDetail:
  15997. get:
  15998. parameters:
  15999. - description: 所属机构ID
  16000. in: query
  16001. name: userid
  16002. required: true
  16003. type: integer
  16004. - description: 套保品种id
  16005. in: query
  16006. name: middlegoodsid
  16007. type: integer
  16008. produces:
  16009. - application/json
  16010. responses:
  16011. "200":
  16012. description: OK
  16013. schema:
  16014. items:
  16015. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  16016. type: array
  16017. "500":
  16018. description: Internal Server Error
  16019. schema:
  16020. $ref: '#/definitions/app.Response'
  16021. security:
  16022. - ApiKeyAuth: []
  16023. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  16024. tags:
  16025. - 企业风险管理(app)
  16026. /Ermcp/QueryPendingAuditInfo:
  16027. get:
  16028. parameters:
  16029. - description: 用户ID
  16030. in: query
  16031. name: UserId
  16032. required: true
  16033. type: integer
  16034. produces:
  16035. - application/json
  16036. responses:
  16037. "200":
  16038. description: OK
  16039. schema:
  16040. items:
  16041. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  16042. type: array
  16043. "500":
  16044. description: Internal Server Error
  16045. schema:
  16046. $ref: '#/definitions/app.Response'
  16047. security:
  16048. - ApiKeyAuth: []
  16049. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  16050. tags:
  16051. - 企业风险管理(app)
  16052. /Ermcp/QueryRealtimeExposure:
  16053. get:
  16054. parameters:
  16055. - description: 所属机构ID
  16056. in: query
  16057. name: userid
  16058. required: true
  16059. type: integer
  16060. produces:
  16061. - application/json
  16062. responses:
  16063. "200":
  16064. description: OK
  16065. schema:
  16066. items:
  16067. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  16068. type: array
  16069. "500":
  16070. description: Internal Server Error
  16071. schema:
  16072. $ref: '#/definitions/app.Response'
  16073. security:
  16074. - ApiKeyAuth: []
  16075. summary: 查询实时敞口
  16076. tags:
  16077. - 企业风险管理(app)
  16078. /Ermcp/QueryRealtimeExposurePosition:
  16079. get:
  16080. parameters:
  16081. - description: 用户id
  16082. in: query
  16083. name: userid
  16084. required: true
  16085. type: integer
  16086. - description: 套保商品ID
  16087. in: query
  16088. name: middleGoodsId
  16089. required: true
  16090. type: integer
  16091. produces:
  16092. - application/json
  16093. responses:
  16094. "200":
  16095. description: OK
  16096. schema:
  16097. items:
  16098. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  16099. type: array
  16100. "500":
  16101. description: Internal Server Error
  16102. schema:
  16103. $ref: '#/definitions/app.Response'
  16104. security:
  16105. - ApiKeyAuth: []
  16106. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  16107. tags:
  16108. - 企业风险管理(app)
  16109. /Ermcp/QueryTradeConfigTMP:
  16110. get:
  16111. parameters:
  16112. - description: 所属机构id
  16113. in: query
  16114. name: areauserid
  16115. type: integer
  16116. produces:
  16117. - application/json
  16118. responses:
  16119. "200":
  16120. description: OK
  16121. schema:
  16122. items:
  16123. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  16124. type: array
  16125. "500":
  16126. description: Internal Server Error
  16127. schema:
  16128. $ref: '#/definitions/app.Response'
  16129. security:
  16130. - ApiKeyAuth: []
  16131. summary: 查询交易模板配置
  16132. tags:
  16133. - 企业风险管理(app)
  16134. /Ermcp/QueryUserInfo:
  16135. get:
  16136. parameters:
  16137. - description: 所属机构用户ID
  16138. in: query
  16139. name: MemberUserID
  16140. required: true
  16141. type: integer
  16142. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  16143. in: query
  16144. name: queryType
  16145. required: true
  16146. type: integer
  16147. produces:
  16148. - application/json
  16149. responses:
  16150. "200":
  16151. description: OK
  16152. schema:
  16153. items:
  16154. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  16155. type: array
  16156. "500":
  16157. description: Internal Server Error
  16158. schema:
  16159. $ref: '#/definitions/app.Response'
  16160. security:
  16161. - ApiKeyAuth: []
  16162. summary: 查询客户资料
  16163. tags:
  16164. - 企业风险管理(app)
  16165. /Ermcp/QueryWarehouseInfo:
  16166. get:
  16167. parameters:
  16168. - description: 用户ID
  16169. in: query
  16170. name: userid
  16171. required: true
  16172. type: integer
  16173. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  16174. in: query
  16175. name: status
  16176. type: string
  16177. produces:
  16178. - application/json
  16179. responses:
  16180. "200":
  16181. description: OK
  16182. schema:
  16183. items:
  16184. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  16185. type: array
  16186. "500":
  16187. description: Internal Server Error
  16188. schema:
  16189. $ref: '#/definitions/app.Response'
  16190. security:
  16191. - ApiKeyAuth: []
  16192. summary: 查询仓库信息
  16193. tags:
  16194. - 企业风险管理(app)
  16195. /Ermcp3/QryAreaExpourseContractDetail:
  16196. get:
  16197. parameters:
  16198. - description: 用户ID
  16199. in: query
  16200. name: userid
  16201. required: true
  16202. type: integer
  16203. - description: 套保商品id
  16204. in: query
  16205. name: middlegoodsid
  16206. required: true
  16207. type: integer
  16208. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16209. in: query
  16210. name: cycletype
  16211. required: true
  16212. type: integer
  16213. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16214. 全(0)【原值】
  16215. in: query
  16216. name: cycletime
  16217. required: true
  16218. type: string
  16219. produces:
  16220. - application/json
  16221. responses:
  16222. "200":
  16223. description: OK
  16224. schema:
  16225. items:
  16226. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  16227. type: array
  16228. "500":
  16229. description: Internal Server Error
  16230. schema:
  16231. $ref: '#/definitions/app.Response'
  16232. security:
  16233. - ApiKeyAuth: []
  16234. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  16235. tags:
  16236. - 企业风险管理v3(app)
  16237. /Ermcp3/QryAreaExpourseFutuDetail:
  16238. get:
  16239. parameters:
  16240. - description: 用户ID
  16241. in: query
  16242. name: userid
  16243. required: true
  16244. type: integer
  16245. - description: 套保商品id
  16246. in: query
  16247. name: middlegoodsid
  16248. required: true
  16249. type: integer
  16250. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16251. in: query
  16252. name: cycletype
  16253. required: true
  16254. type: integer
  16255. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16256. 全(0)【原值】
  16257. in: query
  16258. name: cycletime
  16259. required: true
  16260. type: string
  16261. produces:
  16262. - application/json
  16263. responses:
  16264. "200":
  16265. description: OK
  16266. schema:
  16267. items:
  16268. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  16269. type: array
  16270. "500":
  16271. description: Internal Server Error
  16272. schema:
  16273. $ref: '#/definitions/app.Response'
  16274. security:
  16275. - ApiKeyAuth: []
  16276. summary: 查询敞口期货明细(敞口报表/期货明细)
  16277. tags:
  16278. - 企业风险管理v3(app)
  16279. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  16280. get:
  16281. parameters:
  16282. - description: 用户ID
  16283. in: query
  16284. name: userid
  16285. required: true
  16286. type: integer
  16287. - description: 套保商品id
  16288. in: query
  16289. name: middlegoodsid
  16290. required: true
  16291. type: integer
  16292. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16293. in: query
  16294. name: cycletype
  16295. required: true
  16296. type: integer
  16297. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16298. 全(0)【原值】
  16299. in: query
  16300. name: cycletime
  16301. required: true
  16302. type: string
  16303. produces:
  16304. - application/json
  16305. responses:
  16306. "200":
  16307. description: OK
  16308. schema:
  16309. items:
  16310. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  16311. type: array
  16312. "500":
  16313. description: Internal Server Error
  16314. schema:
  16315. $ref: '#/definitions/app.Response'
  16316. security:
  16317. - ApiKeyAuth: []
  16318. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  16319. tags:
  16320. - 企业风险管理v3(app)
  16321. /Ermcp3/QryAreaExpourseParamChLogDetail:
  16322. get:
  16323. parameters:
  16324. - description: 用户ID
  16325. in: query
  16326. name: userid
  16327. required: true
  16328. type: integer
  16329. - description: 套保商品id
  16330. in: query
  16331. name: middlegoodsid
  16332. required: true
  16333. type: integer
  16334. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16335. in: query
  16336. name: cycletype
  16337. required: true
  16338. type: integer
  16339. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16340. 全(0)【原值】
  16341. in: query
  16342. name: cycletime
  16343. required: true
  16344. type: string
  16345. produces:
  16346. - application/json
  16347. responses:
  16348. "200":
  16349. description: OK
  16350. schema:
  16351. items:
  16352. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  16353. type: array
  16354. "500":
  16355. description: Internal Server Error
  16356. schema:
  16357. $ref: '#/definitions/app.Response'
  16358. security:
  16359. - ApiKeyAuth: []
  16360. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  16361. tags:
  16362. - 企业风险管理v3(app)
  16363. /Ermcp3/QryAreaExpourseReport:
  16364. get:
  16365. parameters:
  16366. - description: 用户ID
  16367. in: query
  16368. name: userid
  16369. required: true
  16370. type: integer
  16371. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  16372. in: query
  16373. name: querytype
  16374. required: true
  16375. type: integer
  16376. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16377. in: query
  16378. name: cycletype
  16379. required: true
  16380. type: integer
  16381. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16382. 全(0)【原值】
  16383. in: query
  16384. name: cycletime
  16385. required: true
  16386. type: string
  16387. produces:
  16388. - application/json
  16389. responses:
  16390. "200":
  16391. description: OK
  16392. schema:
  16393. items:
  16394. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  16395. type: array
  16396. "500":
  16397. description: Internal Server Error
  16398. schema:
  16399. $ref: '#/definitions/app.Response'
  16400. security:
  16401. - ApiKeyAuth: []
  16402. summary: 查询敞口报表
  16403. tags:
  16404. - 企业风险管理v3(app)
  16405. /Ermcp3/QryAreaSpotplReport:
  16406. get:
  16407. parameters:
  16408. - description: 用户ID
  16409. in: query
  16410. name: userid
  16411. required: true
  16412. type: integer
  16413. - description: 查询类型 1-报表 2-报表明细
  16414. in: query
  16415. name: querytype
  16416. required: true
  16417. type: integer
  16418. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16419. in: query
  16420. name: cycletype
  16421. required: true
  16422. type: integer
  16423. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16424. 全(0)【原值】
  16425. in: query
  16426. name: cycletime
  16427. required: true
  16428. type: string
  16429. - description: 现货品种id(明细必填)
  16430. in: query
  16431. name: deliverygoodsid
  16432. type: integer
  16433. - description: 币种id(明细必填)
  16434. in: query
  16435. name: currencyid
  16436. type: integer
  16437. produces:
  16438. - application/json
  16439. responses:
  16440. "200":
  16441. description: OK
  16442. schema:
  16443. items:
  16444. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  16445. type: array
  16446. "500":
  16447. description: Internal Server Error
  16448. schema:
  16449. $ref: '#/definitions/app.Response'
  16450. security:
  16451. - ApiKeyAuth: []
  16452. summary: 查询现货报表
  16453. tags:
  16454. - 企业风险管理v3(app)
  16455. /Ermcp3/QryAreaStockReport:
  16456. get:
  16457. parameters:
  16458. - description: 用户ID
  16459. in: query
  16460. name: userid
  16461. required: true
  16462. type: integer
  16463. - description: 查询类型 1-报表 2-报表明细
  16464. in: query
  16465. name: querytype
  16466. required: true
  16467. type: integer
  16468. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16469. in: query
  16470. name: cycletype
  16471. required: true
  16472. type: integer
  16473. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16474. 全(0)【原值】
  16475. in: query
  16476. name: cycletime
  16477. required: true
  16478. type: string
  16479. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  16480. in: query
  16481. name: sumfields
  16482. type: string
  16483. - description: 品种ID
  16484. in: query
  16485. name: deliverygoodsid
  16486. type: integer
  16487. - description: 品类ID
  16488. in: query
  16489. name: wrstandardid
  16490. type: integer
  16491. - description: 品牌ID
  16492. in: query
  16493. name: spotgoodsbrandid
  16494. type: integer
  16495. - description: 仓库ID
  16496. in: query
  16497. name: warehouseinfoid
  16498. type: integer
  16499. produces:
  16500. - application/json
  16501. responses:
  16502. "200":
  16503. description: OK
  16504. schema:
  16505. items:
  16506. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  16507. type: array
  16508. "500":
  16509. description: Internal Server Error
  16510. schema:
  16511. $ref: '#/definitions/app.Response'
  16512. security:
  16513. - ApiKeyAuth: []
  16514. summary: 查询库存报表
  16515. tags:
  16516. - 企业风险管理v3(app)
  16517. /Ermcp3/QryAreaSumPL:
  16518. get:
  16519. parameters:
  16520. - description: 用户ID
  16521. in: query
  16522. name: userid
  16523. required: true
  16524. type: integer
  16525. - description: 查询类型 1-报表 2-报表明细
  16526. in: query
  16527. name: querytype
  16528. required: true
  16529. type: integer
  16530. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16531. in: query
  16532. name: cycletype
  16533. required: true
  16534. type: integer
  16535. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16536. 全(0)【原值】
  16537. in: query
  16538. name: cycletime
  16539. required: true
  16540. type: string
  16541. - description: 币种id(明细必填)
  16542. in: query
  16543. name: currencyid
  16544. type: integer
  16545. produces:
  16546. - application/json
  16547. responses:
  16548. "200":
  16549. description: OK
  16550. schema:
  16551. items:
  16552. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  16553. type: array
  16554. "500":
  16555. description: Internal Server Error
  16556. schema:
  16557. $ref: '#/definitions/app.Response'
  16558. security:
  16559. - ApiKeyAuth: []
  16560. summary: 查询汇总损益表
  16561. tags:
  16562. - 企业风险管理v3(app)
  16563. /Ermcp3/QryFinanceReport:
  16564. get:
  16565. parameters:
  16566. - description: 用户ID
  16567. in: query
  16568. name: userid
  16569. required: true
  16570. type: integer
  16571. - description: 查询类型 1-报表 2-报表明细
  16572. in: query
  16573. name: querytype
  16574. required: true
  16575. type: integer
  16576. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16577. in: query
  16578. name: cycletype
  16579. required: true
  16580. type: integer
  16581. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16582. 全(0)【原值】
  16583. in: query
  16584. name: cycletime
  16585. required: true
  16586. type: string
  16587. - description: 币种id(报表明细必填)
  16588. in: query
  16589. name: currencyid
  16590. type: integer
  16591. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  16592. in: query
  16593. name: sumfields
  16594. type: string
  16595. produces:
  16596. - application/json
  16597. responses:
  16598. "200":
  16599. description: OK
  16600. schema:
  16601. items:
  16602. $ref: '#/definitions/models.Ermcp3FinanceReport'
  16603. type: array
  16604. "500":
  16605. description: Internal Server Error
  16606. schema:
  16607. $ref: '#/definitions/app.Response'
  16608. security:
  16609. - ApiKeyAuth: []
  16610. summary: 查询财务报表
  16611. tags:
  16612. - 企业风险管理v3(app)
  16613. /Ermcp3/QryTaFutureDataReport:
  16614. get:
  16615. parameters:
  16616. - description: 用户ID
  16617. in: query
  16618. name: userid
  16619. required: true
  16620. type: integer
  16621. - description: 查询类型 1-报表 2-报表明细
  16622. in: query
  16623. name: querytype
  16624. required: true
  16625. type: integer
  16626. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16627. in: query
  16628. name: cycletype
  16629. required: true
  16630. type: integer
  16631. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16632. 全(0)【原值】
  16633. in: query
  16634. name: cycletime
  16635. required: true
  16636. type: string
  16637. - description: 币种id(查明细必填)
  16638. in: query
  16639. name: currencyid
  16640. type: integer
  16641. - description: 品种id(查明细必填)
  16642. in: query
  16643. name: goodsgroupid
  16644. type: integer
  16645. - description: 商品id(查明细必填)
  16646. in: query
  16647. name: goodsid
  16648. type: integer
  16649. - description: 买卖方向(查明细必填)
  16650. in: query
  16651. name: buyorsell
  16652. type: integer
  16653. produces:
  16654. - application/json
  16655. responses:
  16656. "200":
  16657. description: OK
  16658. schema:
  16659. items:
  16660. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  16661. type: array
  16662. "500":
  16663. description: Internal Server Error
  16664. schema:
  16665. $ref: '#/definitions/app.Response'
  16666. security:
  16667. - ApiKeyAuth: []
  16668. summary: 查询期货报表
  16669. tags:
  16670. - 企业风险管理v3(app)
  16671. /Ermcp3/QueryAreaStock:
  16672. get:
  16673. parameters:
  16674. - description: 用户ID
  16675. in: query
  16676. name: userid
  16677. required: true
  16678. type: integer
  16679. produces:
  16680. - application/json
  16681. responses:
  16682. "200":
  16683. description: OK
  16684. schema:
  16685. items:
  16686. $ref: '#/definitions/models.Ermcp3AreaStock'
  16687. type: array
  16688. "500":
  16689. description: Internal Server Error
  16690. schema:
  16691. $ref: '#/definitions/app.Response'
  16692. security:
  16693. - ApiKeyAuth: []
  16694. summary: 查询机构库存(库存管理/当前库存)
  16695. tags:
  16696. - 企业风险管理v3(app)
  16697. /Ermcp3/QueryAreaStockApply:
  16698. get:
  16699. parameters:
  16700. - description: 用户ID
  16701. in: query
  16702. name: userid
  16703. required: true
  16704. type: integer
  16705. - description: 用户类型 2-机构 7-企业成员
  16706. in: query
  16707. name: usertype
  16708. type: integer
  16709. - description: 现货商品ID
  16710. in: query
  16711. name: deliverygoodsid
  16712. type: integer
  16713. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  16714. in: query
  16715. name: inouttype
  16716. type: string
  16717. - description: 合同ID
  16718. in: query
  16719. name: spotcontractid
  16720. type: integer
  16721. - description: 品类ID
  16722. in: query
  16723. name: wrstandardid
  16724. type: integer
  16725. - description: 品牌ID
  16726. in: query
  16727. name: spotgoodsbrandid
  16728. type: integer
  16729. - description: 仓库ID
  16730. in: query
  16731. name: warehouseinfoid
  16732. type: integer
  16733. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16734. in: query
  16735. name: applystatus
  16736. type: string
  16737. produces:
  16738. - application/json
  16739. responses:
  16740. "200":
  16741. description: OK
  16742. schema:
  16743. items:
  16744. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  16745. type: array
  16746. "500":
  16747. description: Internal Server Error
  16748. schema:
  16749. $ref: '#/definitions/app.Response'
  16750. security:
  16751. - ApiKeyAuth: []
  16752. summary: 查询库存申请(出入库记录|库存审核)
  16753. tags:
  16754. - 企业风险管理v3(app)
  16755. /Ermcp3/QueryAreaStockApplySum:
  16756. get:
  16757. parameters:
  16758. - description: 合同ID
  16759. in: query
  16760. name: spotcontractid
  16761. type: integer
  16762. produces:
  16763. - application/json
  16764. responses:
  16765. "200":
  16766. description: OK
  16767. schema:
  16768. items:
  16769. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  16770. type: array
  16771. "500":
  16772. description: Internal Server Error
  16773. schema:
  16774. $ref: '#/definitions/app.Response'
  16775. security:
  16776. - ApiKeyAuth: []
  16777. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  16778. tags:
  16779. - 企业风险管理v3(app)
  16780. /Ermcp3/QueryDGFactoryItem:
  16781. get:
  16782. parameters:
  16783. - description: 用户id
  16784. in: query
  16785. name: userid
  16786. type: integer
  16787. - description: 用户类型 2-机构 7-企业成员
  16788. in: query
  16789. name: usertype
  16790. type: integer
  16791. - description: 选择项ID(SEQ_DGFACTORYITEM)
  16792. in: query
  16793. name: dgfactoryitemid
  16794. type: integer
  16795. - description: 现货品种ID
  16796. in: query
  16797. name: deliverygoodsid
  16798. type: integer
  16799. - description: 要素项类型
  16800. in: query
  16801. name: dgfactoryitemtypeid
  16802. type: integer
  16803. - description: 顺序
  16804. in: query
  16805. name: orderindex
  16806. type: integer
  16807. produces:
  16808. - application/json
  16809. responses:
  16810. "200":
  16811. description: OK
  16812. schema:
  16813. items:
  16814. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  16815. type: array
  16816. "500":
  16817. description: Internal Server Error
  16818. schema:
  16819. $ref: '#/definitions/app.Response'
  16820. security:
  16821. - ApiKeyAuth: []
  16822. summary: 查询品种要素定义项
  16823. tags:
  16824. - 企业风险管理v3(app)
  16825. /Ermcp3/QueryDeliveryGoods:
  16826. get:
  16827. parameters:
  16828. - description: 用户id
  16829. in: query
  16830. name: userid
  16831. required: true
  16832. type: integer
  16833. - description: 用户类型 2-机构 7-企业成员
  16834. in: query
  16835. name: usertype
  16836. type: integer
  16837. - description: 排除已配置的业务类型商品 1-套保 2-套利
  16838. in: query
  16839. name: excludecfg
  16840. type: integer
  16841. produces:
  16842. - application/json
  16843. responses:
  16844. "200":
  16845. description: OK
  16846. schema:
  16847. items:
  16848. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  16849. type: array
  16850. "500":
  16851. description: Internal Server Error
  16852. schema:
  16853. $ref: '#/definitions/app.Response'
  16854. security:
  16855. - ApiKeyAuth: []
  16856. summary: 查询现货商品
  16857. tags:
  16858. - 企业风险管理v3(app)
  16859. /Ermcp3/QueryDeliveryGoodsDetail:
  16860. get:
  16861. parameters:
  16862. - description: 用户id
  16863. in: query
  16864. name: userid
  16865. required: true
  16866. type: integer
  16867. - description: 用户类型 2-机构 7-企业成员
  16868. in: query
  16869. name: usertype
  16870. type: integer
  16871. - description: 现货商品id
  16872. in: query
  16873. name: deliverygoodsid
  16874. type: integer
  16875. produces:
  16876. - application/json
  16877. responses:
  16878. "200":
  16879. description: OK
  16880. schema:
  16881. items:
  16882. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  16883. type: array
  16884. "500":
  16885. description: Internal Server Error
  16886. schema:
  16887. $ref: '#/definitions/app.Response'
  16888. security:
  16889. - ApiKeyAuth: []
  16890. summary: 查询现货商品详情
  16891. tags:
  16892. - 企业风险管理v3(app)
  16893. /Ermcp3/QueryExposureDetail:
  16894. get:
  16895. parameters:
  16896. - description: 用户id
  16897. in: query
  16898. name: userid
  16899. required: true
  16900. type: integer
  16901. - description: 用户类型 2-机构 7-企业成员
  16902. in: query
  16903. name: usertype
  16904. type: integer
  16905. - description: 套保商品
  16906. in: query
  16907. name: middlegoodsid
  16908. required: true
  16909. type: integer
  16910. produces:
  16911. - application/json
  16912. responses:
  16913. "200":
  16914. description: OK
  16915. schema:
  16916. items:
  16917. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  16918. type: array
  16919. "500":
  16920. description: Internal Server Error
  16921. schema:
  16922. $ref: '#/definitions/app.Response'
  16923. security:
  16924. - ApiKeyAuth: []
  16925. summary: 查询敞口现货明细
  16926. tags:
  16927. - 企业风险管理v3(app)
  16928. /Ermcp3/QueryExposureSpot:
  16929. get:
  16930. parameters:
  16931. - description: 用户id
  16932. in: query
  16933. name: userid
  16934. required: true
  16935. type: integer
  16936. - description: 用户类型 2-机构 7-企业成员
  16937. in: query
  16938. name: usertype
  16939. type: integer
  16940. produces:
  16941. - application/json
  16942. responses:
  16943. "200":
  16944. description: OK
  16945. schema:
  16946. items:
  16947. $ref: '#/definitions/models.Ermcp3AreaSpot'
  16948. type: array
  16949. "500":
  16950. description: Internal Server Error
  16951. schema:
  16952. $ref: '#/definitions/app.Response'
  16953. security:
  16954. - ApiKeyAuth: []
  16955. summary: 查询敞口现货头寸(敞口/现货头寸)
  16956. tags:
  16957. - 企业风险管理v3(app)
  16958. /Ermcp3/QueryExposureSpotDetail:
  16959. get:
  16960. parameters:
  16961. - description: 用户id
  16962. in: query
  16963. name: userid
  16964. required: true
  16965. type: integer
  16966. - description: 用户类型 2-机构 7-企业成员
  16967. in: query
  16968. name: usertype
  16969. type: integer
  16970. - description: 现货品种ID
  16971. in: query
  16972. name: deliverygoodsid
  16973. required: true
  16974. type: integer
  16975. produces:
  16976. - application/json
  16977. responses:
  16978. "200":
  16979. description: OK
  16980. schema:
  16981. items:
  16982. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  16983. type: array
  16984. "500":
  16985. description: Internal Server Error
  16986. schema:
  16987. $ref: '#/definitions/app.Response'
  16988. security:
  16989. - ApiKeyAuth: []
  16990. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16991. tags:
  16992. - 企业风险管理v3(app)
  16993. /Ermcp3/QueryGoodsGroup:
  16994. get:
  16995. parameters:
  16996. - description: 用户id
  16997. in: query
  16998. name: userid
  16999. required: true
  17000. type: integer
  17001. - description: 用户类型 2-机构 7-企业成员
  17002. in: query
  17003. name: usertype
  17004. type: integer
  17005. - description: 排除套保品中已关联的商品组 1-排除
  17006. in: query
  17007. name: excludecfg
  17008. type: integer
  17009. produces:
  17010. - application/json
  17011. responses:
  17012. "200":
  17013. description: OK
  17014. schema:
  17015. items:
  17016. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  17017. type: array
  17018. "500":
  17019. description: Internal Server Error
  17020. schema:
  17021. $ref: '#/definitions/app.Response'
  17022. security:
  17023. - ApiKeyAuth: []
  17024. summary: 查询期货商品组
  17025. tags:
  17026. - 企业风险管理v3(app)
  17027. /Ermcp3/QueryGoodsWrstandard:
  17028. get:
  17029. parameters:
  17030. - description: 用户id
  17031. in: query
  17032. name: userid
  17033. required: true
  17034. type: integer
  17035. - description: 用户类型 2-机构 7-企业成员
  17036. in: query
  17037. name: usertype
  17038. type: integer
  17039. - description: 现货商品id
  17040. in: query
  17041. name: deliverygoodsid
  17042. type: integer
  17043. produces:
  17044. - application/json
  17045. responses:
  17046. "200":
  17047. description: OK
  17048. schema:
  17049. items:
  17050. $ref: '#/definitions/models.Ermcp3Wrstandard'
  17051. type: array
  17052. "500":
  17053. description: Internal Server Error
  17054. schema:
  17055. $ref: '#/definitions/app.Response'
  17056. security:
  17057. - ApiKeyAuth: []
  17058. summary: 查询商品品类
  17059. tags:
  17060. - 企业风险管理v3(app)
  17061. /Ermcp3/QueryGoodsbrand:
  17062. get:
  17063. parameters:
  17064. - description: 用户id
  17065. in: query
  17066. name: userid
  17067. required: true
  17068. type: integer
  17069. - description: 用户类型 2-机构 7-企业成员
  17070. in: query
  17071. name: usertype
  17072. type: integer
  17073. produces:
  17074. - application/json
  17075. responses:
  17076. "200":
  17077. description: OK
  17078. schema:
  17079. items:
  17080. $ref: '#/definitions/models.Ermcp3Brand'
  17081. type: array
  17082. "500":
  17083. description: Internal Server Error
  17084. schema:
  17085. $ref: '#/definitions/app.Response'
  17086. security:
  17087. - ApiKeyAuth: []
  17088. summary: 查询商品品牌
  17089. tags:
  17090. - 企业风险管理v3(app)
  17091. /Ermcp3/QueryHedgePlan:
  17092. get:
  17093. parameters:
  17094. - description: 用户ID
  17095. in: query
  17096. name: userid
  17097. required: true
  17098. type: integer
  17099. - description: 用户类型 2-机构 7-企业成员
  17100. in: query
  17101. name: usertype
  17102. type: integer
  17103. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  17104. in: query
  17105. name: hedgeplanstatus
  17106. required: true
  17107. type: string
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. items:
  17115. $ref: '#/definitions/models.Ermcp3HedgePlan'
  17116. type: array
  17117. "500":
  17118. description: Internal Server Error
  17119. schema:
  17120. $ref: '#/definitions/app.Response'
  17121. security:
  17122. - ApiKeyAuth: []
  17123. summary: 查询套保计划
  17124. tags:
  17125. - 企业风险管理v3(app)
  17126. /Ermcp3/QueryMiddleGoodsDetail:
  17127. get:
  17128. parameters:
  17129. - description: 用户id
  17130. in: query
  17131. name: userid
  17132. required: true
  17133. type: integer
  17134. - description: 用户类型 2-机构 7-企业成员
  17135. in: query
  17136. name: usertype
  17137. type: integer
  17138. - description: 套保品种id
  17139. in: query
  17140. name: middlegoodsid
  17141. type: integer
  17142. produces:
  17143. - application/json
  17144. responses:
  17145. "200":
  17146. description: OK
  17147. schema:
  17148. items:
  17149. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  17150. type: array
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 查询套保品种详情(套保品种/商品详情)
  17158. tags:
  17159. - 企业风险管理v3(app)
  17160. /Ermcp3/QueryRootUserAccount:
  17161. get:
  17162. parameters:
  17163. - description: 用户ID
  17164. in: query
  17165. name: userid
  17166. required: true
  17167. type: integer
  17168. produces:
  17169. - application/json
  17170. responses:
  17171. "200":
  17172. description: OK
  17173. schema:
  17174. items:
  17175. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  17176. type: array
  17177. "500":
  17178. description: Internal Server Error
  17179. schema:
  17180. $ref: '#/definitions/app.Response'
  17181. security:
  17182. - ApiKeyAuth: []
  17183. summary: 查询顶级用户信息
  17184. tags:
  17185. - 企业风险管理v3(app)
  17186. /Ermcp3/QuerySpotContract:
  17187. get:
  17188. parameters:
  17189. - description: 用户id
  17190. in: query
  17191. name: userid
  17192. required: true
  17193. type: integer
  17194. - description: 用户类型 2-机构 7-企业成员
  17195. in: query
  17196. name: usertype
  17197. type: integer
  17198. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  17199. in: query
  17200. name: querytype
  17201. required: true
  17202. type: integer
  17203. - description: 合同ID(SpotContractId)
  17204. in: query
  17205. name: contractid
  17206. type: string
  17207. produces:
  17208. - application/json
  17209. responses:
  17210. "200":
  17211. description: OK
  17212. schema:
  17213. items:
  17214. $ref: '#/definitions/models.Ermcp3Contract'
  17215. type: array
  17216. "500":
  17217. description: Internal Server Error
  17218. schema:
  17219. $ref: '#/definitions/app.Response'
  17220. security:
  17221. - ApiKeyAuth: []
  17222. summary: 查询现货合同
  17223. tags:
  17224. - 企业风险管理v3(app)
  17225. /Ermcp3/QuerySpotContractBS:
  17226. get:
  17227. parameters:
  17228. - description: 用户id
  17229. in: query
  17230. name: userid
  17231. required: true
  17232. type: integer
  17233. - description: 用户类型 2-机构 7-企业成员
  17234. in: query
  17235. name: usertype
  17236. type: integer
  17237. - description: 合同类型 1-采购, -1-销售
  17238. in: query
  17239. name: contracttype
  17240. required: true
  17241. type: integer
  17242. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  17243. in: query
  17244. name: querytype
  17245. required: true
  17246. type: integer
  17247. - description: 合同ID(SpotContractId)
  17248. in: query
  17249. name: contractid
  17250. type: string
  17251. produces:
  17252. - application/json
  17253. responses:
  17254. "200":
  17255. description: OK
  17256. schema:
  17257. items:
  17258. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  17259. type: array
  17260. "500":
  17261. description: Internal Server Error
  17262. schema:
  17263. $ref: '#/definitions/app.Response'
  17264. security:
  17265. - ApiKeyAuth: []
  17266. summary: 查询合同(采购/销售)
  17267. tags:
  17268. - 企业风险管理v3(app)
  17269. /Ermcp3/QuerySpotGoodsPrice:
  17270. get:
  17271. parameters:
  17272. - description: 用户ID
  17273. in: query
  17274. name: userid
  17275. required: true
  17276. type: integer
  17277. produces:
  17278. - application/json
  17279. responses:
  17280. "200":
  17281. description: OK
  17282. schema:
  17283. items:
  17284. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  17285. type: array
  17286. "500":
  17287. description: Internal Server Error
  17288. schema:
  17289. $ref: '#/definitions/app.Response'
  17290. security:
  17291. - ApiKeyAuth: []
  17292. summary: 查询现货市价(现货市价)
  17293. tags:
  17294. - 企业风险管理v3(app)
  17295. /Ermcp3/QuerySpotGoodsPriceLog:
  17296. get:
  17297. parameters:
  17298. - description: 用户ID
  17299. in: query
  17300. name: userid
  17301. required: true
  17302. type: integer
  17303. - description: 现货商品ID
  17304. in: query
  17305. name: deliverygoodsid
  17306. required: true
  17307. type: integer
  17308. - description: 品牌ID
  17309. in: query
  17310. name: brandid
  17311. type: integer
  17312. - description: 品类ID
  17313. in: query
  17314. name: wrstandardid
  17315. type: integer
  17316. produces:
  17317. - application/json
  17318. responses:
  17319. "200":
  17320. description: OK
  17321. schema:
  17322. items:
  17323. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  17324. type: array
  17325. "500":
  17326. description: Internal Server Error
  17327. schema:
  17328. $ref: '#/definitions/app.Response'
  17329. security:
  17330. - ApiKeyAuth: []
  17331. summary: 查询现货市价详情(现货市价/详情)
  17332. tags:
  17333. - 企业风险管理v3(app)
  17334. /Erms2/QueryArbitrageStrategy:
  17335. get:
  17336. parameters:
  17337. - description: 账户ID
  17338. in: query
  17339. name: userid
  17340. required: true
  17341. type: integer
  17342. - description: 商品组ID(品种ID)
  17343. in: query
  17344. name: goodsgroupid
  17345. type: string
  17346. produces:
  17347. - application/json
  17348. responses:
  17349. "200":
  17350. description: OK
  17351. schema:
  17352. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  17353. "500":
  17354. description: Internal Server Error
  17355. schema:
  17356. $ref: '#/definitions/app.Response'
  17357. security:
  17358. - ApiKeyAuth: []
  17359. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  17360. tags:
  17361. - 风险管理
  17362. /Erms2/QueryInnerTradeDetail:
  17363. get:
  17364. parameters:
  17365. - description: 资金账户
  17366. in: query
  17367. name: accountid
  17368. required: true
  17369. type: integer
  17370. produces:
  17371. - application/json
  17372. responses:
  17373. "200":
  17374. description: OK
  17375. schema:
  17376. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  17377. "500":
  17378. description: Internal Server Error
  17379. schema:
  17380. $ref: '#/definitions/app.Response'
  17381. security:
  17382. - ApiKeyAuth: []
  17383. summary: 查询内部成交单信息
  17384. tags:
  17385. - 风险管理
  17386. /Erms2/QuerySpotContract:
  17387. get:
  17388. parameters:
  17389. - description: 策略申请ID
  17390. in: query
  17391. name: asapplyid
  17392. required: true
  17393. type: integer
  17394. - description: 现货合同ID
  17395. in: query
  17396. name: spotcontractid
  17397. type: integer
  17398. produces:
  17399. - application/json
  17400. responses:
  17401. "200":
  17402. description: OK
  17403. schema:
  17404. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  17405. "500":
  17406. description: Internal Server Error
  17407. schema:
  17408. $ref: '#/definitions/app.Response'
  17409. security:
  17410. - ApiKeyAuth: []
  17411. summary: 查询现货合同表信息(指定策略ID、未结束的)
  17412. tags:
  17413. - 风险管理
  17414. /Erms3/AddErms2ASApply:
  17415. post:
  17416. parameters:
  17417. - description: 申请参数
  17418. in: body
  17419. name: jsonBody
  17420. required: true
  17421. schema:
  17422. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  17423. produces:
  17424. - application/json
  17425. responses:
  17426. "200":
  17427. description: OK
  17428. schema:
  17429. $ref: '#/definitions/app.Response'
  17430. "500":
  17431. description: Internal Server Error
  17432. schema:
  17433. $ref: '#/definitions/app.Response'
  17434. security:
  17435. - ApiKeyAuth: []
  17436. summary: 新增期现套利业务申请
  17437. tags:
  17438. - 风险管理v3
  17439. /Erms3/AddErms2SpotTradeApply:
  17440. post:
  17441. parameters:
  17442. - description: 申请参数
  17443. in: body
  17444. name: jsonBody
  17445. required: true
  17446. schema:
  17447. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  17448. produces:
  17449. - application/json
  17450. responses:
  17451. "200":
  17452. description: OK
  17453. schema:
  17454. $ref: '#/definitions/app.Response'
  17455. "500":
  17456. description: Internal Server Error
  17457. schema:
  17458. $ref: '#/definitions/app.Response'
  17459. security:
  17460. - ApiKeyAuth: []
  17461. summary: 新增现货贸易业务申请
  17462. tags:
  17463. - 风险管理v3
  17464. /Erms3/AddSpotContractApply:
  17465. post:
  17466. parameters:
  17467. - description: 申请参数
  17468. in: body
  17469. name: jsonBody
  17470. required: true
  17471. schema:
  17472. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  17473. produces:
  17474. - application/json
  17475. responses:
  17476. "200":
  17477. description: OK
  17478. schema:
  17479. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  17480. "500":
  17481. description: Internal Server Error
  17482. schema:
  17483. $ref: '#/definitions/app.Response'
  17484. security:
  17485. - ApiKeyAuth: []
  17486. summary: 新增现货合同申请
  17487. tags:
  17488. - 风险管理v3
  17489. /Erms3/AddUserInfoApply:
  17490. post:
  17491. parameters:
  17492. - description: 用户信息
  17493. in: body
  17494. name: jsonBody
  17495. required: true
  17496. schema:
  17497. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  17498. produces:
  17499. - application/json
  17500. responses:
  17501. "200":
  17502. description: OK
  17503. schema:
  17504. $ref: '#/definitions/app.Response'
  17505. "500":
  17506. description: Internal Server Error
  17507. schema:
  17508. $ref: '#/definitions/app.Response'
  17509. security:
  17510. - ApiKeyAuth: []
  17511. summary: 新增客户申请
  17512. tags:
  17513. - 风险管理v3
  17514. /Erms3/DeleteUserInfoApply:
  17515. get:
  17516. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  17517. parameters:
  17518. - description: 用户ID
  17519. in: query
  17520. name: userID
  17521. required: true
  17522. type: integer
  17523. produces:
  17524. - application/json
  17525. responses:
  17526. "200":
  17527. description: OK
  17528. schema:
  17529. $ref: '#/definitions/app.Response'
  17530. "500":
  17531. description: Internal Server Error
  17532. schema:
  17533. $ref: '#/definitions/app.Response'
  17534. security:
  17535. - ApiKeyAuth: []
  17536. summary: 删除客户申请
  17537. tags:
  17538. - 风险管理v3
  17539. /Erms3/ModifyUserInfoApply:
  17540. post:
  17541. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  17542. int, "userstate": 2 }'
  17543. parameters:
  17544. - description: 用户信息
  17545. in: body
  17546. name: jsonBody
  17547. required: true
  17548. schema:
  17549. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  17550. produces:
  17551. - application/json
  17552. responses:
  17553. "200":
  17554. description: OK
  17555. schema:
  17556. $ref: '#/definitions/app.Response'
  17557. "500":
  17558. description: Internal Server Error
  17559. schema:
  17560. $ref: '#/definitions/app.Response'
  17561. security:
  17562. - ApiKeyAuth: []
  17563. summary: 修改客户申请
  17564. tags:
  17565. - 风险管理v3
  17566. /Erms3/QueryBusinessInfo:
  17567. get:
  17568. parameters:
  17569. - description: 资金账号ID列表,用逗号分隔
  17570. in: query
  17571. name: accountids
  17572. required: true
  17573. type: string
  17574. - description: 状态,0为未结束 1为已结束
  17575. in: query
  17576. name: status
  17577. required: true
  17578. type: integer
  17579. produces:
  17580. - application/json
  17581. responses:
  17582. "200":
  17583. description: OK
  17584. schema:
  17585. items:
  17586. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  17587. type: array
  17588. "500":
  17589. description: Internal Server Error
  17590. schema:
  17591. $ref: '#/definitions/app.Response'
  17592. security:
  17593. - ApiKeyAuth: []
  17594. summary: 查询业务表单数据
  17595. tags:
  17596. - 风险管理v3
  17597. /Erms3/QueryPendingAuditContract:
  17598. get:
  17599. parameters:
  17600. - description: 资金账号ID列表,逗号隔开
  17601. in: query
  17602. name: accountids
  17603. required: true
  17604. type: string
  17605. - description: 合同类型 1-采购 -1-销售
  17606. in: query
  17607. name: contracttype
  17608. required: true
  17609. type: integer
  17610. - description: 合同模式 1-普通 2-回购
  17611. in: query
  17612. name: contractmode
  17613. required: true
  17614. type: integer
  17615. produces:
  17616. - application/json
  17617. responses:
  17618. "200":
  17619. description: OK
  17620. schema:
  17621. items:
  17622. $ref: '#/definitions/erms3.QryAuditContractRsp'
  17623. type: array
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 查询待审核合同
  17631. tags:
  17632. - 风险管理v3
  17633. /Erms3/QueryPendingBusiness:
  17634. get:
  17635. parameters:
  17636. - description: 资金账号ID列表,逗号隔开
  17637. in: query
  17638. name: accountids
  17639. required: true
  17640. type: string
  17641. produces:
  17642. - application/json
  17643. responses:
  17644. "200":
  17645. description: OK
  17646. schema:
  17647. items:
  17648. $ref: '#/definitions/erms3.QryPendingBizRsp'
  17649. type: array
  17650. "500":
  17651. description: Internal Server Error
  17652. schema:
  17653. $ref: '#/definitions/app.Response'
  17654. security:
  17655. - ApiKeyAuth: []
  17656. summary: 查询待审核基差贸易业务
  17657. tags:
  17658. - 风险管理v3
  17659. /Erms3/QuerySpotContractAppleForm:
  17660. get:
  17661. parameters:
  17662. - description: 登录账号
  17663. in: query
  17664. name: loginID
  17665. required: true
  17666. type: integer
  17667. produces:
  17668. - application/json
  17669. responses:
  17670. "200":
  17671. description: OK
  17672. schema:
  17673. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  17674. "500":
  17675. description: Internal Server Error
  17676. schema:
  17677. $ref: '#/definitions/app.Response'
  17678. security:
  17679. - ApiKeyAuth: []
  17680. summary: 查询合同申请表单数据
  17681. tags:
  17682. - 风险管理v3
  17683. /Erms3/QuerySpotContractDetail:
  17684. get:
  17685. parameters:
  17686. - description: 资金账号ID列表,用逗号分隔
  17687. in: query
  17688. name: accountids
  17689. required: true
  17690. type: string
  17691. - description: 合同类型,1为采购合同 -1为销售合同
  17692. in: query
  17693. name: contracttype
  17694. required: true
  17695. type: integer
  17696. - description: 合同模式,1为普通合同 2为回购销售合同
  17697. in: query
  17698. name: contractmode
  17699. required: true
  17700. type: integer
  17701. - description: 状态,0为履约中 1为已完成
  17702. in: query
  17703. name: status
  17704. required: true
  17705. type: integer
  17706. produces:
  17707. - application/json
  17708. responses:
  17709. "200":
  17710. description: OK
  17711. schema:
  17712. items:
  17713. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  17714. type: array
  17715. "500":
  17716. description: Internal Server Error
  17717. schema:
  17718. $ref: '#/definitions/app.Response'
  17719. security:
  17720. - ApiKeyAuth: []
  17721. summary: 查询合同详细信息
  17722. tags:
  17723. - 风险管理v3
  17724. /Erms3/QueryUserInfoApplies:
  17725. get:
  17726. parameters:
  17727. - description: 页码
  17728. in: query
  17729. name: page
  17730. type: integer
  17731. - description: 每页条数
  17732. in: query
  17733. name: pagesize
  17734. type: integer
  17735. - description: 客户名称,支持模糊查询
  17736. in: query
  17737. name: userName
  17738. type: string
  17739. produces:
  17740. - application/json
  17741. responses:
  17742. "200":
  17743. description: OK
  17744. schema:
  17745. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  17746. "500":
  17747. description: Internal Server Error
  17748. schema:
  17749. $ref: '#/definitions/app.Response'
  17750. security:
  17751. - ApiKeyAuth: []
  17752. summary: 客户申请信息查询
  17753. tags:
  17754. - 风险管理v3
  17755. /Erms3/QueryUserInfos:
  17756. get:
  17757. parameters:
  17758. - description: 页码
  17759. in: query
  17760. name: page
  17761. type: integer
  17762. - description: 每页条数
  17763. in: query
  17764. name: pagesize
  17765. type: integer
  17766. - description: 客户名称,支持模糊查询
  17767. in: query
  17768. name: userName
  17769. type: string
  17770. produces:
  17771. - application/json
  17772. responses:
  17773. "200":
  17774. description: OK
  17775. schema:
  17776. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  17777. "500":
  17778. description: Internal Server Error
  17779. schema:
  17780. $ref: '#/definitions/app.Response'
  17781. security:
  17782. - ApiKeyAuth: []
  17783. summary: 客户信息查询
  17784. tags:
  17785. - 风险管理v3
  17786. /HSBY/GetHsbyMyCount:
  17787. get:
  17788. description: 说明: 不包括已完成的数量。
  17789. parameters:
  17790. - description: 资金账户列表,格式:1,2,3
  17791. in: query
  17792. name: accountIDs
  17793. required: true
  17794. type: string
  17795. produces:
  17796. - application/json
  17797. responses:
  17798. "200":
  17799. description: OK
  17800. schema:
  17801. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  17802. "500":
  17803. description: Internal Server Error
  17804. schema:
  17805. $ref: '#/definitions/app.Response'
  17806. security:
  17807. - ApiKeyAuth: []
  17808. summary: 获取我的订单与包裹数量
  17809. tags:
  17810. - 定制【海商报业】
  17811. /HSBY/QueryClientFixedADConfigs:
  17812. get:
  17813. produces:
  17814. - application/json
  17815. responses:
  17816. "200":
  17817. description: OK
  17818. schema:
  17819. $ref: '#/definitions/models.Clientfixedadconfig'
  17820. "500":
  17821. description: Internal Server Error
  17822. schema:
  17823. $ref: '#/definitions/app.Response'
  17824. security:
  17825. - ApiKeyAuth: []
  17826. summary: 获取终端固定广告配置
  17827. tags:
  17828. - 定制【海商报业】
  17829. /HSBY/QueryHsbyBuyMyTradeDetail:
  17830. get:
  17831. parameters:
  17832. - description: 页码
  17833. in: query
  17834. name: page
  17835. type: integer
  17836. - description: 每页条数
  17837. in: query
  17838. name: pagesize
  17839. type: integer
  17840. - description: 资金账户列表,格式:1,2,3
  17841. in: query
  17842. name: accountIDs
  17843. required: true
  17844. type: string
  17845. produces:
  17846. - application/json
  17847. responses:
  17848. "200":
  17849. description: OK
  17850. schema:
  17851. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  17852. "500":
  17853. description: Internal Server Error
  17854. schema:
  17855. $ref: '#/definitions/app.Response'
  17856. security:
  17857. - ApiKeyAuth: []
  17858. summary: 查询"我的订单 - 已完成"单据信息
  17859. tags:
  17860. - 定制【海商报业】
  17861. /HSBY/QueryHsbyGoodsOrderDetails:
  17862. get:
  17863. description: 说明:查询结果已按委托价格和委托时间排序
  17864. parameters:
  17865. - description: 商品ID
  17866. in: query
  17867. name: goodsID
  17868. required: true
  17869. type: integer
  17870. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  17871. in: query
  17872. name: accountIDs
  17873. type: string
  17874. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  17875. in: query
  17876. name: buyOrSell
  17877. type: integer
  17878. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  17879. in: query
  17880. name: price
  17881. type: number
  17882. - description: 档位,不传则默认为3档
  17883. in: query
  17884. name: speed
  17885. type: integer
  17886. produces:
  17887. - application/json
  17888. responses:
  17889. "200":
  17890. description: OK
  17891. schema:
  17892. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  17893. "500":
  17894. description: Internal Server Error
  17895. schema:
  17896. $ref: '#/definitions/app.Response'
  17897. security:
  17898. - ApiKeyAuth: []
  17899. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  17900. tags:
  17901. - 定制【海商报业】
  17902. /HSBY/QueryHsbyListingGoodsDetail:
  17903. get:
  17904. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  17905. parameters:
  17906. - description: 商品ID
  17907. in: query
  17908. name: goodsID
  17909. required: true
  17910. type: integer
  17911. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  17912. in: query
  17913. name: accountID
  17914. type: integer
  17915. produces:
  17916. - application/json
  17917. responses:
  17918. "200":
  17919. description: OK
  17920. schema:
  17921. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  17922. "500":
  17923. description: Internal Server Error
  17924. schema:
  17925. $ref: '#/definitions/app.Response'
  17926. security:
  17927. - ApiKeyAuth: []
  17928. summary: 查询二级市场(挂牌点选)商品信息详情
  17929. tags:
  17930. - 定制【海商报业】
  17931. /HSBY/QueryHsbyMarketGoodsDetail:
  17932. get:
  17933. parameters:
  17934. - description: 委托单号
  17935. in: query
  17936. name: orderID
  17937. required: true
  17938. type: integer
  17939. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  17940. in: query
  17941. name: accountID
  17942. type: integer
  17943. produces:
  17944. - application/json
  17945. responses:
  17946. "200":
  17947. description: OK
  17948. schema:
  17949. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17950. "500":
  17951. description: Internal Server Error
  17952. schema:
  17953. $ref: '#/definitions/app.Response'
  17954. security:
  17955. - ApiKeyAuth: []
  17956. summary: 查询三级市场(商城)商品信息详情
  17957. tags:
  17958. - 定制【海商报业】
  17959. /HSBY/QueryHsbyMarketGoodses:
  17960. get:
  17961. parameters:
  17962. - description: 页码
  17963. in: query
  17964. name: page
  17965. type: integer
  17966. - description: 每页条数
  17967. in: query
  17968. name: pagesize
  17969. type: integer
  17970. - description: 市场ID列表,格式:1,2,3
  17971. in: query
  17972. name: marketIDs
  17973. required: true
  17974. type: string
  17975. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  17976. in: query
  17977. name: accountID
  17978. required: true
  17979. type: integer
  17980. - description: 类别ID
  17981. in: query
  17982. name: categoryID
  17983. type: integer
  17984. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17985. in: query
  17986. name: goodsIDs
  17987. type: string
  17988. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17989. in: query
  17990. name: couponTypeID
  17991. type: integer
  17992. produces:
  17993. - application/json
  17994. responses:
  17995. "200":
  17996. description: OK
  17997. schema:
  17998. $ref: '#/definitions/models.HsbyMarketGoods'
  17999. "500":
  18000. description: Internal Server Error
  18001. schema:
  18002. $ref: '#/definitions/app.Response'
  18003. security:
  18004. - ApiKeyAuth: []
  18005. summary: 查询特卖商品列表(三级商城)
  18006. tags:
  18007. - 定制【海商报业】
  18008. /HSBY/QueryHsbyMarkets:
  18009. get:
  18010. produces:
  18011. - application/json
  18012. responses:
  18013. "200":
  18014. description: OK
  18015. schema:
  18016. $ref: '#/definitions/models.HsbyMarketInfo'
  18017. "500":
  18018. description: Internal Server Error
  18019. schema:
  18020. $ref: '#/definitions/app.Response'
  18021. security:
  18022. - ApiKeyAuth: []
  18023. summary: 查询海商报业相关市场信息
  18024. tags:
  18025. - 定制【海商报业】
  18026. /HSBY/QueryHsbyMyBuyOrderDetails:
  18027. get:
  18028. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  18029. parameters:
  18030. - description: 资金账户列表,格式:1,2,3
  18031. in: query
  18032. name: accountIDs
  18033. required: true
  18034. type: string
  18035. produces:
  18036. - application/json
  18037. responses:
  18038. "200":
  18039. description: OK
  18040. schema:
  18041. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  18042. "500":
  18043. description: Internal Server Error
  18044. schema:
  18045. $ref: '#/definitions/app.Response'
  18046. security:
  18047. - ApiKeyAuth: []
  18048. summary: 查询“我的订单”信息
  18049. tags:
  18050. - 定制【海商报业】
  18051. /HSBY/QueryHsbyMyGoods:
  18052. get:
  18053. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  18054. parameters:
  18055. - description: 资金账户列表,格式:1,2,3
  18056. in: query
  18057. name: accountIDs
  18058. required: true
  18059. type: string
  18060. produces:
  18061. - application/json
  18062. responses:
  18063. "200":
  18064. description: OK
  18065. schema:
  18066. $ref: '#/definitions/models.HsbyMyGoods'
  18067. "500":
  18068. description: Internal Server Error
  18069. schema:
  18070. $ref: '#/definitions/app.Response'
  18071. security:
  18072. - ApiKeyAuth: []
  18073. summary: 查询“我的商品”信息
  18074. tags:
  18075. - 定制【海商报业】
  18076. /HSBY/QueryHsbyMyPackages:
  18077. get:
  18078. parameters:
  18079. - description: 资金账户列表,格式:1,2,3
  18080. in: query
  18081. name: accountIDs
  18082. required: true
  18083. type: string
  18084. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18085. in: query
  18086. name: takeOrderStatus
  18087. type: integer
  18088. produces:
  18089. - application/json
  18090. responses:
  18091. "200":
  18092. description: OK
  18093. schema:
  18094. $ref: '#/definitions/models.HsbyMyPackage'
  18095. "500":
  18096. description: Internal Server Error
  18097. schema:
  18098. $ref: '#/definitions/app.Response'
  18099. security:
  18100. - ApiKeyAuth: []
  18101. summary: 查询我的包裹信息
  18102. tags:
  18103. - 定制【海商报业】
  18104. /HSBY/QueryHsbyPreGoodsDetail:
  18105. get:
  18106. parameters:
  18107. - description: 商品ID
  18108. in: query
  18109. name: goodsID
  18110. required: true
  18111. type: integer
  18112. - description: 资金账户,主要用于获取预售商品购买上限
  18113. in: query
  18114. name: accountID
  18115. type: integer
  18116. produces:
  18117. - application/json
  18118. responses:
  18119. "200":
  18120. description: OK
  18121. schema:
  18122. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  18123. "500":
  18124. description: Internal Server Error
  18125. schema:
  18126. $ref: '#/definitions/app.Response'
  18127. security:
  18128. - ApiKeyAuth: []
  18129. summary: 查询一级市场(预售)商品信息详情
  18130. tags:
  18131. - 定制【海商报业】
  18132. /HSBY/QueryHsbyPreGoodses:
  18133. get:
  18134. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  18135. parameters:
  18136. - description: 页码
  18137. in: query
  18138. name: page
  18139. type: integer
  18140. - description: 每页条数
  18141. in: query
  18142. name: pagesize
  18143. type: integer
  18144. - description: 市场ID列表,格式:1,2,3
  18145. in: query
  18146. name: marketIDs
  18147. required: true
  18148. type: string
  18149. - description: 目的地(省)ID
  18150. in: query
  18151. name: descProvinceID
  18152. type: integer
  18153. - description: 目的地(市)ID
  18154. in: query
  18155. name: descCityID
  18156. type: integer
  18157. produces:
  18158. - application/json
  18159. responses:
  18160. "200":
  18161. description: OK
  18162. schema:
  18163. $ref: '#/definitions/models.HsbyPreGoods'
  18164. "500":
  18165. description: Internal Server Error
  18166. schema:
  18167. $ref: '#/definitions/app.Response'
  18168. security:
  18169. - ApiKeyAuth: []
  18170. summary: 查询新品上市商品列表(一级市场预售)
  18171. tags:
  18172. - 定制【海商报业】
  18173. /HSBY/QueryHsbySellMyDetails:
  18174. get:
  18175. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  18176. parameters:
  18177. - description: 页码
  18178. in: query
  18179. name: page
  18180. type: integer
  18181. - description: 每页条数
  18182. in: query
  18183. name: pagesize
  18184. type: integer
  18185. - description: 资金账户列表,格式:1,2,3
  18186. in: query
  18187. name: accountIDs
  18188. required: true
  18189. type: string
  18190. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  18191. in: query
  18192. name: orderType
  18193. type: integer
  18194. produces:
  18195. - application/json
  18196. responses:
  18197. "200":
  18198. description: OK
  18199. schema:
  18200. $ref: '#/definitions/models.HsbySellMyDetail'
  18201. "500":
  18202. description: Internal Server Error
  18203. schema:
  18204. $ref: '#/definitions/app.Response'
  18205. security:
  18206. - ApiKeyAuth: []
  18207. summary: 查询"我的闲置"单据信息
  18208. tags:
  18209. - 定制【海商报业】
  18210. /HSBY/QueryHsbyTopGoodses:
  18211. get:
  18212. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  18213. parameters:
  18214. - description: 页码
  18215. in: query
  18216. name: page
  18217. type: integer
  18218. - description: 每页条数
  18219. in: query
  18220. name: pagesize
  18221. type: integer
  18222. - description: 市场ID列表,格式:1,2,3
  18223. in: query
  18224. name: marketIDs
  18225. required: true
  18226. type: string
  18227. - description: 目的地(省)ID
  18228. in: query
  18229. name: descProvinceID
  18230. type: integer
  18231. - description: 目的地(市)ID
  18232. in: query
  18233. name: descCityID
  18234. type: integer
  18235. produces:
  18236. - application/json
  18237. responses:
  18238. "200":
  18239. description: OK
  18240. schema:
  18241. $ref: '#/definitions/models.HsbyTopGoods'
  18242. "500":
  18243. description: Internal Server Error
  18244. schema:
  18245. $ref: '#/definitions/app.Response'
  18246. security:
  18247. - ApiKeyAuth: []
  18248. summary: 查询热卖商品列表(二级市场挂牌点选)
  18249. tags:
  18250. - 定制【海商报业】
  18251. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  18252. get:
  18253. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  18254. parameters:
  18255. - description: 商品ID
  18256. in: query
  18257. name: goodsID
  18258. required: true
  18259. type: integer
  18260. produces:
  18261. - application/json
  18262. responses:
  18263. "200":
  18264. description: OK
  18265. schema:
  18266. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18267. "500":
  18268. description: Internal Server Error
  18269. schema:
  18270. $ref: '#/definitions/app.Response'
  18271. security:
  18272. - ApiKeyAuth: []
  18273. summary: 查询游客三级市场(商城)商品信息详情
  18274. tags:
  18275. - 定制【海商报业】
  18276. /HSBY/QueryHsbyVisitorMarketGoodses:
  18277. get:
  18278. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  18279. parameters:
  18280. - description: 页码
  18281. in: query
  18282. name: page
  18283. type: integer
  18284. - description: 每页条数
  18285. in: query
  18286. name: pagesize
  18287. type: integer
  18288. - description: 市场ID列表,格式:1,2,3
  18289. in: query
  18290. name: marketIDs
  18291. required: true
  18292. type: string
  18293. - description: 类别ID
  18294. in: query
  18295. name: categoryID
  18296. type: integer
  18297. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18298. in: query
  18299. name: goodsIDs
  18300. type: string
  18301. produces:
  18302. - application/json
  18303. responses:
  18304. "200":
  18305. description: OK
  18306. schema:
  18307. $ref: '#/definitions/models.HsbyMarketGoods'
  18308. "500":
  18309. description: Internal Server Error
  18310. schema:
  18311. $ref: '#/definitions/app.Response'
  18312. security:
  18313. - ApiKeyAuth: []
  18314. summary: 查询游客特卖商品列表(三级商城)
  18315. tags:
  18316. - 定制【海商报业】
  18317. /HSBY/QueryMyCollectionOrders:
  18318. get:
  18319. parameters:
  18320. - description: 页码
  18321. in: query
  18322. name: page
  18323. type: integer
  18324. - description: 每页条数
  18325. in: query
  18326. name: pagesize
  18327. type: integer
  18328. - description: 资金账户,格式:1,2,3
  18329. in: query
  18330. name: accountIDs
  18331. required: true
  18332. type: string
  18333. produces:
  18334. - application/json
  18335. responses:
  18336. "200":
  18337. description: OK
  18338. schema:
  18339. $ref: '#/definitions/models.HsbySellCollectionOrder'
  18340. "500":
  18341. description: Internal Server Error
  18342. schema:
  18343. $ref: '#/definitions/app.Response'
  18344. security:
  18345. - ApiKeyAuth: []
  18346. summary: 我的闲置中收款信息查询
  18347. tags:
  18348. - 定制【海商报业】
  18349. /HSBY/QueryMyCouponHolds:
  18350. get:
  18351. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  18352. parameters:
  18353. - description: 资金账户列表,格式:1,2,3
  18354. in: query
  18355. name: accountIDs
  18356. required: true
  18357. type: string
  18358. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  18359. in: query
  18360. name: holdStatus
  18361. type: string
  18362. produces:
  18363. - application/json
  18364. responses:
  18365. "200":
  18366. description: OK
  18367. schema:
  18368. $ref: '#/definitions/models.MyCouponHold'
  18369. "500":
  18370. description: Internal Server Error
  18371. schema:
  18372. $ref: '#/definitions/app.Response'
  18373. security:
  18374. - ApiKeyAuth: []
  18375. summary: 我的优惠卷持仓查询
  18376. tags:
  18377. - 定制【海商报业】
  18378. /HSBY/QueryMyCoupons:
  18379. get:
  18380. parameters:
  18381. - description: 资金账户列表,格式:1,2,3
  18382. in: query
  18383. name: accountIDs
  18384. required: true
  18385. type: string
  18386. - description: 商品ID, 一般与sellUserID配套传入
  18387. in: query
  18388. name: goodsID
  18389. type: integer
  18390. - description: 卖方UserID
  18391. in: query
  18392. name: sellUserID
  18393. type: integer
  18394. produces:
  18395. - application/json
  18396. responses:
  18397. "200":
  18398. description: OK
  18399. schema:
  18400. $ref: '#/definitions/models.MyCoupon'
  18401. "500":
  18402. description: Internal Server Error
  18403. schema:
  18404. $ref: '#/definitions/app.Response'
  18405. security:
  18406. - ApiKeyAuth: []
  18407. summary: 我的优惠卷查询
  18408. tags:
  18409. - 定制【海商报业】
  18410. /HSBY/QueryMyPayOrders:
  18411. get:
  18412. parameters:
  18413. - description: 页码
  18414. in: query
  18415. name: page
  18416. type: integer
  18417. - description: 每页条数
  18418. in: query
  18419. name: pagesize
  18420. type: integer
  18421. - description: 资金账户列表,格式:1,2,3
  18422. in: query
  18423. name: accountIDs
  18424. required: true
  18425. type: string
  18426. - description: 买方委托单号
  18427. in: query
  18428. name: buyOrderID
  18429. type: integer
  18430. - description: 卖方委托单号
  18431. in: query
  18432. name: sellOrderID
  18433. type: integer
  18434. produces:
  18435. - application/json
  18436. responses:
  18437. "200":
  18438. description: OK
  18439. schema:
  18440. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  18441. "500":
  18442. description: Internal Server Error
  18443. schema:
  18444. $ref: '#/definitions/app.Response'
  18445. security:
  18446. - ApiKeyAuth: []
  18447. summary: 获取我的订单中待付款信息
  18448. tags:
  18449. - 定制【海商报业】
  18450. /HSBY/QueryMyUsedCoupon:
  18451. get:
  18452. parameters:
  18453. - description: 资金账户列表,格式:1,2,3
  18454. in: query
  18455. name: accountIDs
  18456. required: true
  18457. type: string
  18458. produces:
  18459. - application/json
  18460. responses:
  18461. "200":
  18462. description: OK
  18463. schema:
  18464. $ref: '#/definitions/models.MyUsedCoupon'
  18465. "500":
  18466. description: Internal Server Error
  18467. schema:
  18468. $ref: '#/definitions/app.Response'
  18469. security:
  18470. - ApiKeyAuth: []
  18471. summary: 已使用优惠卷查询
  18472. tags:
  18473. - 定制【海商报业】
  18474. /HSBY/QueryProvincesAndCities:
  18475. get:
  18476. description: 查询结果只包括二级市场商品已关连的省市信息。
  18477. parameters:
  18478. - description: 省ID
  18479. in: query
  18480. name: provinceID
  18481. type: integer
  18482. produces:
  18483. - application/json
  18484. responses:
  18485. "200":
  18486. description: OK
  18487. schema:
  18488. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  18489. "500":
  18490. description: Internal Server Error
  18491. schema:
  18492. $ref: '#/definitions/app.Response'
  18493. security:
  18494. - ApiKeyAuth: []
  18495. summary: 查询省市信息(不包括区)
  18496. tags:
  18497. - 定制【海商报业】
  18498. /HSBY/SetHsbyMyPackagesStatus:
  18499. post:
  18500. parameters:
  18501. - description: 提货单号
  18502. in: query
  18503. name: takeOrderID
  18504. required: true
  18505. type: string
  18506. - description: 资金账号
  18507. in: query
  18508. name: accountID
  18509. required: true
  18510. type: integer
  18511. produces:
  18512. - application/json
  18513. responses:
  18514. "200":
  18515. description: OK
  18516. schema:
  18517. $ref: '#/definitions/app.Response'
  18518. "500":
  18519. description: Internal Server Error
  18520. schema:
  18521. $ref: '#/definitions/app.Response'
  18522. security:
  18523. - ApiKeyAuth: []
  18524. summary: 设置我的包裹已收货状态
  18525. tags:
  18526. - 定制【海商报业】
  18527. /Market/QueryGoodsesByLoginID:
  18528. get:
  18529. parameters:
  18530. - description: 登录账号
  18531. in: query
  18532. name: loginID
  18533. required: true
  18534. type: integer
  18535. - description: 市场ID列表,格式:1,2,3
  18536. in: query
  18537. name: marketIDs
  18538. type: string
  18539. produces:
  18540. - application/json
  18541. responses:
  18542. "200":
  18543. description: OK
  18544. schema:
  18545. $ref: '#/definitions/models.Goods'
  18546. "500":
  18547. description: Internal Server Error
  18548. schema:
  18549. $ref: '#/definitions/app.Response'
  18550. security:
  18551. - ApiKeyAuth: []
  18552. summary: 获取登录账号有权限的商品信息
  18553. tags:
  18554. - 通用市场
  18555. /Market/QueryMarketRun:
  18556. get:
  18557. parameters:
  18558. - description: 市场ID,不传返回所有
  18559. in: query
  18560. name: marketID
  18561. type: integer
  18562. produces:
  18563. - application/json
  18564. responses:
  18565. "200":
  18566. description: OK
  18567. schema:
  18568. $ref: '#/definitions/models.Marketrun'
  18569. "500":
  18570. description: Internal Server Error
  18571. schema:
  18572. $ref: '#/definitions/app.Response'
  18573. security:
  18574. - ApiKeyAuth: []
  18575. summary: 查询市场运行信息
  18576. tags:
  18577. - 通用市场
  18578. /Market/QueryMarketsByLoginID:
  18579. get:
  18580. parameters:
  18581. - description: 登录账号
  18582. in: query
  18583. name: loginID
  18584. required: true
  18585. type: integer
  18586. produces:
  18587. - application/json
  18588. responses:
  18589. "200":
  18590. description: OK
  18591. schema:
  18592. $ref: '#/definitions/models.Market'
  18593. "500":
  18594. description: Internal Server Error
  18595. schema:
  18596. $ref: '#/definitions/app.Response'
  18597. security:
  18598. - ApiKeyAuth: []
  18599. summary: 获取登录账号有权限的市场信息
  18600. tags:
  18601. - 通用市场
  18602. /Order/QueryHisTradeDetail:
  18603. get:
  18604. parameters:
  18605. - description: 资金账户 - 格式:1,2,3
  18606. in: query
  18607. name: accountID
  18608. required: true
  18609. type: string
  18610. - description: 成交单号
  18611. in: query
  18612. name: tradeID
  18613. type: integer
  18614. - description: 委托单号
  18615. in: query
  18616. name: orderID
  18617. type: integer
  18618. - description: 商品ID
  18619. in: query
  18620. name: goodsID
  18621. type: integer
  18622. - description: 交易模式 - 格式:1,2,3
  18623. in: query
  18624. name: tradeMode
  18625. type: string
  18626. - description: 委托单据类型
  18627. in: query
  18628. name: buildType
  18629. type: integer
  18630. - description: 成交类别 - 格式:1,2,3
  18631. in: query
  18632. name: tradeType
  18633. type: string
  18634. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18635. in: query
  18636. name: startDate
  18637. type: string
  18638. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18639. in: query
  18640. name: endDate
  18641. type: string
  18642. produces:
  18643. - application/json
  18644. responses:
  18645. "200":
  18646. description: OK
  18647. schema:
  18648. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  18649. "500":
  18650. description: Internal Server Error
  18651. schema:
  18652. $ref: '#/definitions/app.Response'
  18653. security:
  18654. - ApiKeyAuth: []
  18655. summary: 历史成交单查询(合约市场)
  18656. tags:
  18657. - 通用单据
  18658. /Order/QueryHisTradeOrderDetail:
  18659. get:
  18660. parameters:
  18661. - description: 资金账户 - 格式:1,2,3
  18662. in: query
  18663. name: accountID
  18664. required: true
  18665. type: string
  18666. - description: 交易模式 - 格式:1,2,3
  18667. in: query
  18668. name: tradeMode
  18669. type: string
  18670. - description: 委托状态 - 格式:1,2,3
  18671. in: query
  18672. name: orderStatus
  18673. type: string
  18674. - description: 委托单号
  18675. in: query
  18676. name: orderID
  18677. type: integer
  18678. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18679. in: query
  18680. name: startDate
  18681. type: string
  18682. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18683. in: query
  18684. name: endDate
  18685. type: string
  18686. produces:
  18687. - application/json
  18688. responses:
  18689. "200":
  18690. description: OK
  18691. schema:
  18692. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  18693. "500":
  18694. description: Internal Server Error
  18695. schema:
  18696. $ref: '#/definitions/app.Response'
  18697. security:
  18698. - ApiKeyAuth: []
  18699. summary: 历史委托单查询请求(合约市场)
  18700. tags:
  18701. - 通用单据
  18702. /Order/QueryTradeDetail:
  18703. get:
  18704. parameters:
  18705. - description: 资金账户 - 格式:1,2,3
  18706. in: query
  18707. name: accountID
  18708. required: true
  18709. type: string
  18710. - description: 成交单号
  18711. in: query
  18712. name: tradeID
  18713. type: integer
  18714. - description: 委托单号
  18715. in: query
  18716. name: orderID
  18717. type: integer
  18718. - description: 交易模式 - 格式:1,2,3
  18719. in: query
  18720. name: tradeMode
  18721. type: string
  18722. - description: 委托单据类型
  18723. in: query
  18724. name: buildType
  18725. type: integer
  18726. - description: 成交类别 - 格式:1,2,3
  18727. in: query
  18728. name: tradeType
  18729. type: string
  18730. - description: 商品ID
  18731. in: query
  18732. name: goodsID
  18733. type: integer
  18734. produces:
  18735. - application/json
  18736. responses:
  18737. "200":
  18738. description: OK
  18739. schema:
  18740. $ref: '#/definitions/order.QueryTradeDetailRsp'
  18741. "500":
  18742. description: Internal Server Error
  18743. schema:
  18744. $ref: '#/definitions/app.Response'
  18745. security:
  18746. - ApiKeyAuth: []
  18747. summary: 成交单查询(合约市场)
  18748. tags:
  18749. - 通用单据
  18750. /Order/QueryTradeOrderDetail:
  18751. get:
  18752. parameters:
  18753. - description: 资金账户 - 格式:1,2,3
  18754. in: query
  18755. name: accountID
  18756. required: true
  18757. type: string
  18758. - description: 交易模式 - 格式:1,2,3
  18759. in: query
  18760. name: tradeMode
  18761. type: string
  18762. - description: 委托状态 - 格式:1,2,3
  18763. in: query
  18764. name: orderStatus
  18765. type: string
  18766. - description: 委托单号
  18767. in: query
  18768. name: orderID
  18769. type: integer
  18770. produces:
  18771. - application/json
  18772. responses:
  18773. "200":
  18774. description: OK
  18775. schema:
  18776. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  18777. "500":
  18778. description: Internal Server Error
  18779. schema:
  18780. $ref: '#/definitions/app.Response'
  18781. security:
  18782. - ApiKeyAuth: []
  18783. summary: 委托单查询请求(合约市场)
  18784. tags:
  18785. - 通用单据
  18786. /Order/QueryTradePosition:
  18787. get:
  18788. parameters:
  18789. - description: 资金账户 - 格式:1,2,3
  18790. in: query
  18791. name: accountID
  18792. required: true
  18793. type: string
  18794. - description: 交易模式 - 格式:1,2,3
  18795. in: query
  18796. name: tradeMode
  18797. type: string
  18798. produces:
  18799. - application/json
  18800. responses:
  18801. "200":
  18802. description: OK
  18803. schema:
  18804. $ref: '#/definitions/order.QueryTradePositionRsp'
  18805. "500":
  18806. description: Internal Server Error
  18807. schema:
  18808. $ref: '#/definitions/app.Response'
  18809. security:
  18810. - ApiKeyAuth: []
  18811. summary: 持仓汇总查询(合约市场)
  18812. tags:
  18813. - 通用单据
  18814. /Qhj/QueryAccountInOutApply:
  18815. get:
  18816. parameters:
  18817. - description: 用户ID
  18818. in: query
  18819. name: userid
  18820. required: true
  18821. type: integer
  18822. - description: 申请起始日期(格式yyyymmdd)
  18823. in: query
  18824. name: begindate
  18825. type: string
  18826. - description: 申请截止日期(格式yyyymmdd)
  18827. in: query
  18828. name: enddate
  18829. type: string
  18830. - description: 模糊搜索名称
  18831. in: query
  18832. name: likename
  18833. type: string
  18834. produces:
  18835. - application/json
  18836. responses:
  18837. "200":
  18838. description: OK
  18839. schema:
  18840. items:
  18841. $ref: '#/definitions/models.QhjAccountOutInApply'
  18842. type: array
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. security:
  18848. - ApiKeyAuth: []
  18849. summary: 查询充值提现
  18850. tags:
  18851. - 大连千海金
  18852. /Qhj/QueryBankAccountSign:
  18853. get:
  18854. parameters:
  18855. - description: 用户ID
  18856. in: query
  18857. name: userid
  18858. required: true
  18859. type: integer
  18860. produces:
  18861. - application/json
  18862. responses:
  18863. "200":
  18864. description: OK
  18865. schema:
  18866. items:
  18867. $ref: '#/definitions/models.QhjBankAccountSign'
  18868. type: array
  18869. "500":
  18870. description: Internal Server Error
  18871. schema:
  18872. $ref: '#/definitions/app.Response'
  18873. security:
  18874. - ApiKeyAuth: []
  18875. summary: 查询签约银行信息(提现账户管理)
  18876. tags:
  18877. - 大连千海金
  18878. /Qhj/QueryBankInfo:
  18879. get:
  18880. produces:
  18881. - application/json
  18882. responses:
  18883. "200":
  18884. description: OK
  18885. schema:
  18886. items:
  18887. $ref: '#/definitions/models.QhjBankInfo'
  18888. type: array
  18889. "500":
  18890. description: Internal Server Error
  18891. schema:
  18892. $ref: '#/definitions/app.Response'
  18893. security:
  18894. - ApiKeyAuth: []
  18895. summary: 查询开户行
  18896. tags:
  18897. - 大连千海金
  18898. /Qhj/QueryContract:
  18899. get:
  18900. parameters:
  18901. - description: 用户ID
  18902. in: query
  18903. name: userid
  18904. type: integer
  18905. - description: scf合同id
  18906. in: query
  18907. name: scfcontractid
  18908. type: integer
  18909. produces:
  18910. - application/json
  18911. responses:
  18912. "200":
  18913. description: OK
  18914. schema:
  18915. items:
  18916. $ref: '#/definitions/models.QhjContract'
  18917. type: array
  18918. "500":
  18919. description: Internal Server Error
  18920. schema:
  18921. $ref: '#/definitions/app.Response'
  18922. security:
  18923. - ApiKeyAuth: []
  18924. summary: 查询融资明细(合同)
  18925. tags:
  18926. - 大连千海金
  18927. /Qhj/QueryContractLog:
  18928. get:
  18929. parameters:
  18930. - description: scf合同id
  18931. in: query
  18932. name: scfcontractid
  18933. required: true
  18934. type: integer
  18935. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  18936. in: query
  18937. name: amounttype
  18938. type: string
  18939. produces:
  18940. - application/json
  18941. responses:
  18942. "200":
  18943. description: OK
  18944. schema:
  18945. items:
  18946. $ref: '#/definitions/models.QhjContractLog'
  18947. type: array
  18948. "500":
  18949. description: Internal Server Error
  18950. schema:
  18951. $ref: '#/definitions/app.Response'
  18952. security:
  18953. - ApiKeyAuth: []
  18954. summary: 查询融资明细流水(融资明细详情页中的流水)
  18955. tags:
  18956. - 大连千海金
  18957. /Qhj/QueryCusBankSignBank:
  18958. get:
  18959. produces:
  18960. - application/json
  18961. responses:
  18962. "200":
  18963. description: OK
  18964. schema:
  18965. items:
  18966. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  18967. type: array
  18968. "500":
  18969. description: Internal Server Error
  18970. schema:
  18971. $ref: '#/definitions/app.Response'
  18972. security:
  18973. - ApiKeyAuth: []
  18974. summary: 查询托管银行
  18975. tags:
  18976. - 大连千海金
  18977. /Qhj/QueryCustomerInfo:
  18978. get:
  18979. parameters:
  18980. - description: 用户ID
  18981. in: query
  18982. name: userid
  18983. required: true
  18984. type: integer
  18985. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18986. in: query
  18987. name: querytype
  18988. required: true
  18989. type: integer
  18990. - description: 客户类型 1-个人 2-企业
  18991. in: query
  18992. name: userinfotype
  18993. type: integer
  18994. - description: 客户名称(模糊匹配)
  18995. in: query
  18996. name: customername
  18997. type: string
  18998. - description: 昵称(模糊匹配)
  18999. in: query
  19000. name: nickname
  19001. type: string
  19002. - description: 是否包含子级 1-包含
  19003. in: query
  19004. name: includesub
  19005. type: integer
  19006. produces:
  19007. - application/json
  19008. responses:
  19009. "200":
  19010. description: OK
  19011. schema:
  19012. items:
  19013. $ref: '#/definitions/models.QhjCustomer'
  19014. type: array
  19015. "500":
  19016. description: Internal Server Error
  19017. schema:
  19018. $ref: '#/definitions/app.Response'
  19019. security:
  19020. - ApiKeyAuth: []
  19021. summary: 查询客户资料
  19022. tags:
  19023. - 大连千海金
  19024. /Qhj/QueryGoodsEx:
  19025. get:
  19026. parameters:
  19027. - description: 商品id
  19028. in: query
  19029. name: goodsid
  19030. type: integer
  19031. produces:
  19032. - application/json
  19033. responses:
  19034. "200":
  19035. description: OK
  19036. schema:
  19037. items:
  19038. $ref: '#/definitions/models.Qhjgoodsex'
  19039. type: array
  19040. "500":
  19041. description: Internal Server Error
  19042. schema:
  19043. $ref: '#/definitions/app.Response'
  19044. security:
  19045. - ApiKeyAuth: []
  19046. summary: 交易商品扩展表
  19047. tags:
  19048. - 大连千海金
  19049. /Qhj/QueryParentAreaList:
  19050. get:
  19051. parameters:
  19052. - description: 用户ID
  19053. in: query
  19054. name: userid
  19055. required: true
  19056. type: integer
  19057. produces:
  19058. - application/json
  19059. responses:
  19060. "200":
  19061. description: OK
  19062. schema:
  19063. items:
  19064. $ref: '#/definitions/models.QhjParentAreaList'
  19065. type: array
  19066. "500":
  19067. description: Internal Server Error
  19068. schema:
  19069. $ref: '#/definitions/app.Response'
  19070. security:
  19071. - ApiKeyAuth: []
  19072. summary: 查询所属机构列表
  19073. tags:
  19074. - 大连千海金
  19075. /Qhj/QueryPayOrder:
  19076. get:
  19077. parameters:
  19078. - description: 资金账号id
  19079. in: query
  19080. name: accountid
  19081. required: true
  19082. type: integer
  19083. - description: 成交单号
  19084. in: query
  19085. name: tradeid
  19086. type: integer
  19087. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  19088. in: query
  19089. name: payflag
  19090. type: integer
  19091. produces:
  19092. - application/json
  19093. responses:
  19094. "200":
  19095. description: OK
  19096. schema:
  19097. items:
  19098. $ref: '#/definitions/models.QhjPayOrder'
  19099. type: array
  19100. "500":
  19101. description: Internal Server Error
  19102. schema:
  19103. $ref: '#/definitions/app.Response'
  19104. security:
  19105. - ApiKeyAuth: []
  19106. summary: 查询待付款单据
  19107. tags:
  19108. - 大连千海金
  19109. /Qhj/QueryPickArea:
  19110. get:
  19111. parameters:
  19112. - description: 用户ID
  19113. in: query
  19114. name: userid
  19115. type: integer
  19116. produces:
  19117. - application/json
  19118. responses:
  19119. "200":
  19120. description: OK
  19121. schema:
  19122. items:
  19123. $ref: '#/definitions/models.QhjPickArea'
  19124. type: array
  19125. "500":
  19126. description: Internal Server Error
  19127. schema:
  19128. $ref: '#/definitions/app.Response'
  19129. security:
  19130. - ApiKeyAuth: []
  19131. summary: 查询提货门店
  19132. tags:
  19133. - 大连千海金
  19134. /Qhj/QueryPickGoods:
  19135. get:
  19136. parameters:
  19137. - description: 交易商品id
  19138. in: query
  19139. name: goodsid
  19140. required: true
  19141. type: integer
  19142. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  19143. in: query
  19144. name: status
  19145. type: string
  19146. produces:
  19147. - application/json
  19148. responses:
  19149. "200":
  19150. description: OK
  19151. schema:
  19152. items:
  19153. $ref: '#/definitions/models.QhjPickGoods'
  19154. type: array
  19155. "500":
  19156. description: Internal Server Error
  19157. schema:
  19158. $ref: '#/definitions/app.Response'
  19159. security:
  19160. - ApiKeyAuth: []
  19161. summary: 查询提货商品
  19162. tags:
  19163. - 大连千海金
  19164. /Qhj/QueryRSTriggerLog:
  19165. get:
  19166. parameters:
  19167. - description: 用户ID
  19168. in: query
  19169. name: userid
  19170. type: integer
  19171. - description: 定投策略id
  19172. in: query
  19173. name: regularlystrategyid
  19174. type: integer
  19175. - description: 商品id
  19176. in: query
  19177. name: goodsid
  19178. type: integer
  19179. - description: 开始交易日(yyyymmdd)
  19180. in: query
  19181. name: begindate
  19182. type: string
  19183. - description: 结束交易日(yyyymmdd)
  19184. in: query
  19185. name: enddate
  19186. type: string
  19187. - description: 名称(模糊搜索账户)
  19188. in: query
  19189. name: filtername
  19190. type: string
  19191. produces:
  19192. - application/json
  19193. responses:
  19194. "200":
  19195. description: OK
  19196. schema:
  19197. items:
  19198. $ref: '#/definitions/models.QhjRSTriggerLog'
  19199. type: array
  19200. "500":
  19201. description: Internal Server Error
  19202. schema:
  19203. $ref: '#/definitions/app.Response'
  19204. security:
  19205. - ApiKeyAuth: []
  19206. summary: 查询定投记录(定投管理/详情/定投记录)
  19207. tags:
  19208. - 大连千海金
  19209. /Qhj/QueryRStrategy:
  19210. get:
  19211. parameters:
  19212. - description: 用户ID
  19213. in: query
  19214. name: userid
  19215. type: integer
  19216. - description: 商品id
  19217. in: query
  19218. name: goodsid
  19219. type: integer
  19220. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  19221. in: query
  19222. name: status
  19223. type: string
  19224. - description: 名称(模糊搜索账户)
  19225. in: query
  19226. name: filtername
  19227. type: string
  19228. produces:
  19229. - application/json
  19230. responses:
  19231. "200":
  19232. description: OK
  19233. schema:
  19234. items:
  19235. $ref: '#/definitions/models.QhjRStrategy'
  19236. type: array
  19237. "500":
  19238. description: Internal Server Error
  19239. schema:
  19240. $ref: '#/definitions/app.Response'
  19241. security:
  19242. - ApiKeyAuth: []
  19243. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  19244. tags:
  19245. - 大连千海金
  19246. /Qhj/QueryReckonPriceLog:
  19247. get:
  19248. parameters:
  19249. - description: 商品ID
  19250. in: query
  19251. name: goodsid
  19252. type: integer
  19253. - description: 交易日 格式(yyyymmdd)
  19254. in: query
  19255. name: tradedate
  19256. type: string
  19257. produces:
  19258. - application/json
  19259. responses:
  19260. "200":
  19261. description: OK
  19262. schema:
  19263. items:
  19264. $ref: '#/definitions/models.QhjReckonPriceLog'
  19265. type: array
  19266. "500":
  19267. description: Internal Server Error
  19268. schema:
  19269. $ref: '#/definitions/app.Response'
  19270. security:
  19271. - ApiKeyAuth: []
  19272. summary: 查询定投价(结算价)
  19273. tags:
  19274. - 大连千海金
  19275. /Qhj/QuerySiteColumnDetail:
  19276. get:
  19277. parameters:
  19278. - description: 用户ID
  19279. in: query
  19280. name: userid
  19281. required: true
  19282. type: integer
  19283. produces:
  19284. - application/json
  19285. responses:
  19286. "200":
  19287. description: OK
  19288. schema:
  19289. items:
  19290. $ref: '#/definitions/models.QhjSiteColumnDetail'
  19291. type: array
  19292. "500":
  19293. description: Internal Server Error
  19294. schema:
  19295. $ref: '#/definitions/app.Response'
  19296. security:
  19297. - ApiKeyAuth: []
  19298. summary: 查询资讯
  19299. tags:
  19300. - 大连千海金
  19301. /Qhj/QueryTradeGoodsPickup:
  19302. get:
  19303. parameters:
  19304. - description: 用户ID
  19305. in: query
  19306. name: userid
  19307. required: true
  19308. type: integer
  19309. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  19310. 7:已拒绝 8:已撤销
  19311. in: query
  19312. name: takeorderstatus
  19313. type: integer
  19314. produces:
  19315. - application/json
  19316. responses:
  19317. "200":
  19318. description: OK
  19319. schema:
  19320. items:
  19321. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  19322. type: array
  19323. "500":
  19324. description: Internal Server Error
  19325. schema:
  19326. $ref: '#/definitions/app.Response'
  19327. security:
  19328. - ApiKeyAuth: []
  19329. summary: 查询提货
  19330. tags:
  19331. - 大连千海金
  19332. /Qhj/QueryUserCollectConfig:
  19333. get:
  19334. parameters:
  19335. - description: 用户ID
  19336. in: query
  19337. name: userid
  19338. required: true
  19339. type: integer
  19340. produces:
  19341. - application/json
  19342. responses:
  19343. "200":
  19344. description: OK
  19345. schema:
  19346. items:
  19347. $ref: '#/definitions/models.UserCollectConfig'
  19348. type: array
  19349. "500":
  19350. description: Internal Server Error
  19351. schema:
  19352. $ref: '#/definitions/app.Response'
  19353. security:
  19354. - ApiKeyAuth: []
  19355. summary: 查询提现账户设置
  19356. tags:
  19357. - 大连千海金
  19358. /Qhj/QueryUserReceiveInfo:
  19359. get:
  19360. parameters:
  19361. - description: 用户ID
  19362. in: query
  19363. name: userid
  19364. required: true
  19365. type: integer
  19366. produces:
  19367. - application/json
  19368. responses:
  19369. "200":
  19370. description: OK
  19371. schema:
  19372. items:
  19373. $ref: '#/definitions/models.UserReceiveInfo'
  19374. type: array
  19375. "500":
  19376. description: Internal Server Error
  19377. schema:
  19378. $ref: '#/definitions/app.Response'
  19379. security:
  19380. - ApiKeyAuth: []
  19381. summary: 查询收货地址信息
  19382. tags:
  19383. - 大连千海金
  19384. /QhjMgr/QueryAccountInOutApply:
  19385. get:
  19386. parameters:
  19387. - description: 查询类型 1-提现(出金) 2-充值(出金)
  19388. in: query
  19389. name: querytype
  19390. required: true
  19391. type: integer
  19392. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  19393. in: query
  19394. name: applystatus
  19395. type: integer
  19396. - description: 申请起始日期(格式yyyymmdd)
  19397. in: query
  19398. name: begindate
  19399. type: string
  19400. - description: 申请截止日期(格式yyyymmdd)
  19401. in: query
  19402. name: enddate
  19403. type: string
  19404. - description: 模糊搜索名称
  19405. in: query
  19406. name: likename
  19407. type: string
  19408. produces:
  19409. - application/json
  19410. responses:
  19411. "200":
  19412. description: OK
  19413. schema:
  19414. items:
  19415. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  19416. type: array
  19417. "500":
  19418. description: Internal Server Error
  19419. schema:
  19420. $ref: '#/definitions/app.Response'
  19421. security:
  19422. - ApiKeyAuth: []
  19423. summary: 查询充值提现
  19424. tags:
  19425. - 大连千海金(PCWeb)
  19426. /QhjMgr/QueryContract:
  19427. get:
  19428. parameters:
  19429. - description: 用户ID
  19430. in: query
  19431. name: userid
  19432. type: integer
  19433. - description: 商品id
  19434. in: query
  19435. name: goodsid
  19436. type: integer
  19437. - description: 名称(模糊搜索账户)
  19438. in: query
  19439. name: filtername
  19440. type: string
  19441. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  19442. in: query
  19443. name: risklevel
  19444. type: string
  19445. - description: 开始交易日(yyyymmdd)
  19446. in: query
  19447. name: begindate
  19448. type: string
  19449. - description: 结束交易日(yyyymmdd)
  19450. in: query
  19451. name: enddate
  19452. type: string
  19453. produces:
  19454. - application/json
  19455. responses:
  19456. "200":
  19457. description: OK
  19458. schema:
  19459. items:
  19460. $ref: '#/definitions/models.QhjMgrContract'
  19461. type: array
  19462. "500":
  19463. description: Internal Server Error
  19464. schema:
  19465. $ref: '#/definitions/app.Response'
  19466. security:
  19467. - ApiKeyAuth: []
  19468. summary: 查询融资信息(合同)
  19469. tags:
  19470. - 大连千海金(PCWeb)
  19471. /QhjMgr/QueryCustomerInfo:
  19472. get:
  19473. parameters:
  19474. - description: 用户ID
  19475. in: query
  19476. name: userid
  19477. required: true
  19478. type: integer
  19479. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  19480. in: query
  19481. name: querytype
  19482. required: true
  19483. type: integer
  19484. - description: 客户类型 1-个人 2-企业
  19485. in: query
  19486. name: userinfotype
  19487. type: integer
  19488. - description: 客户名称(模糊匹配)
  19489. in: query
  19490. name: customername
  19491. type: string
  19492. - description: 昵称(模糊匹配)
  19493. in: query
  19494. name: nickname
  19495. type: string
  19496. - description: 是否包含子级 1-包含
  19497. in: query
  19498. name: includesub
  19499. type: integer
  19500. produces:
  19501. - application/json
  19502. responses:
  19503. "200":
  19504. description: OK
  19505. schema:
  19506. items:
  19507. $ref: '#/definitions/models.QhjCustomer'
  19508. type: array
  19509. "500":
  19510. description: Internal Server Error
  19511. schema:
  19512. $ref: '#/definitions/app.Response'
  19513. security:
  19514. - ApiKeyAuth: []
  19515. summary: 查询客户资料
  19516. tags:
  19517. - 大连千海金(PCWeb)
  19518. /QhjMgr/QuerySubArea:
  19519. get:
  19520. parameters:
  19521. - description: 用户ID
  19522. in: query
  19523. name: userid
  19524. required: true
  19525. type: integer
  19526. produces:
  19527. - application/json
  19528. responses:
  19529. "200":
  19530. description: OK
  19531. schema:
  19532. items:
  19533. $ref: '#/definitions/models.QhjMgrSubArea'
  19534. type: array
  19535. "500":
  19536. description: Internal Server Error
  19537. schema:
  19538. $ref: '#/definitions/app.Response'
  19539. security:
  19540. - ApiKeyAuth: []
  19541. summary: 查询子机构列表
  19542. tags:
  19543. - 大连千海金(PCWeb)
  19544. /QhjMgr/QueryTradeDetail:
  19545. get:
  19546. parameters:
  19547. - description: 用户ID
  19548. in: query
  19549. name: userid
  19550. required: true
  19551. type: integer
  19552. - description: 用户类型 1-个人 2-企业
  19553. in: query
  19554. name: userinfotype
  19555. type: integer
  19556. - description: 交易模式
  19557. in: query
  19558. name: trademode
  19559. type: integer
  19560. - description: 商品id
  19561. in: query
  19562. name: goodsid
  19563. type: integer
  19564. - description: 名称(模糊搜索账户)
  19565. in: query
  19566. name: filtername
  19567. type: string
  19568. - description: 开始交易日(yyyymmdd)
  19569. in: query
  19570. name: begindate
  19571. type: string
  19572. - description: 结束交易日(yyyymmdd)
  19573. in: query
  19574. name: enddate
  19575. type: string
  19576. - description: 是否包含子级 1-包含
  19577. in: query
  19578. name: includesub
  19579. type: integer
  19580. produces:
  19581. - application/json
  19582. responses:
  19583. "200":
  19584. description: OK
  19585. schema:
  19586. items:
  19587. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  19588. type: array
  19589. "500":
  19590. description: Internal Server Error
  19591. schema:
  19592. $ref: '#/definitions/app.Response'
  19593. security:
  19594. - ApiKeyAuth: []
  19595. summary: 查询成交明细
  19596. tags:
  19597. - 大连千海金(PCWeb)
  19598. /QhjMgr/QueryTradeOrderDetail:
  19599. get:
  19600. parameters:
  19601. - description: 用户ID
  19602. in: query
  19603. name: userid
  19604. required: true
  19605. type: integer
  19606. - description: 用户类型 1-个人 2-企业
  19607. in: query
  19608. name: userinfotype
  19609. type: integer
  19610. - description: 交易模式
  19611. in: query
  19612. name: trademode
  19613. type: integer
  19614. - description: 商品id
  19615. in: query
  19616. name: goodsid
  19617. type: integer
  19618. - description: 名称(模糊搜索账户)
  19619. in: query
  19620. name: filtername
  19621. type: string
  19622. - description: 开始交易日(yyyymmdd)
  19623. in: query
  19624. name: begindate
  19625. type: string
  19626. - description: 结束交易日(yyyymmdd)
  19627. in: query
  19628. name: enddate
  19629. type: string
  19630. - description: 是否包含子级 1-包含
  19631. in: query
  19632. name: includesub
  19633. type: integer
  19634. produces:
  19635. - application/json
  19636. responses:
  19637. "200":
  19638. description: OK
  19639. schema:
  19640. items:
  19641. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  19642. type: array
  19643. "500":
  19644. description: Internal Server Error
  19645. schema:
  19646. $ref: '#/definitions/app.Response'
  19647. security:
  19648. - ApiKeyAuth: []
  19649. summary: 查询委托明细
  19650. tags:
  19651. - 大连千海金(PCWeb)
  19652. /QhjMgr/QueryTradePayOrder:
  19653. get:
  19654. parameters:
  19655. - description: 用户ID
  19656. in: query
  19657. name: userid
  19658. required: true
  19659. type: integer
  19660. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  19661. in: query
  19662. name: payflag
  19663. type: string
  19664. - description: 用户类型 1-个人 2-企业
  19665. in: query
  19666. name: userinfotype
  19667. type: integer
  19668. - description: 交易模式
  19669. in: query
  19670. name: trademode
  19671. type: integer
  19672. - description: 商品id
  19673. in: query
  19674. name: goodsid
  19675. type: integer
  19676. - description: 名称(模糊搜索账户)
  19677. in: query
  19678. name: filtername
  19679. type: string
  19680. - description: 开始交易日(yyyymmdd)
  19681. in: query
  19682. name: begindate
  19683. type: string
  19684. - description: 结束交易日(yyyymmdd)
  19685. in: query
  19686. name: enddate
  19687. type: string
  19688. - description: 是否包含子级 1-包含
  19689. in: query
  19690. name: includesub
  19691. type: integer
  19692. produces:
  19693. - application/json
  19694. responses:
  19695. "200":
  19696. description: OK
  19697. schema:
  19698. items:
  19699. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  19700. type: array
  19701. "500":
  19702. description: Internal Server Error
  19703. schema:
  19704. $ref: '#/definitions/app.Response'
  19705. security:
  19706. - ApiKeyAuth: []
  19707. summary: 查询待付款单
  19708. tags:
  19709. - 大连千海金(PCWeb)
  19710. /QhjMgr/QueryTradePosition:
  19711. get:
  19712. parameters:
  19713. - description: 用户ID
  19714. in: query
  19715. name: userid
  19716. required: true
  19717. type: integer
  19718. - description: 用户类型 1-个人 2-企业
  19719. in: query
  19720. name: userinfotype
  19721. type: integer
  19722. - description: 交易模式
  19723. in: query
  19724. name: trademode
  19725. type: integer
  19726. - description: 商品id
  19727. in: query
  19728. name: goodsid
  19729. type: integer
  19730. - description: 名称(模糊搜索账户)
  19731. in: query
  19732. name: filtername
  19733. type: string
  19734. - description: 是否包含子级 1-包含
  19735. in: query
  19736. name: includesub
  19737. type: integer
  19738. produces:
  19739. - application/json
  19740. responses:
  19741. "200":
  19742. description: OK
  19743. schema:
  19744. items:
  19745. $ref: '#/definitions/models.QhjMgrPositionRsp'
  19746. type: array
  19747. "500":
  19748. description: Internal Server Error
  19749. schema:
  19750. $ref: '#/definitions/app.Response'
  19751. security:
  19752. - ApiKeyAuth: []
  19753. summary: 查询持仓汇总
  19754. tags:
  19755. - 大连千海金(PCWeb)
  19756. /QhjSys/QueryAgreementChangeLog:
  19757. get:
  19758. parameters:
  19759. - description: 协议ID
  19760. in: query
  19761. name: agreementid
  19762. type: integer
  19763. - description: 协议版本号
  19764. in: query
  19765. name: agreementversion
  19766. type: integer
  19767. - description: 协议类型 - 1:注册 2:登录 3:交易
  19768. in: query
  19769. name: agreementtype
  19770. type: integer
  19771. - description: 协议编号(模糊匹配)
  19772. in: query
  19773. name: agreementno
  19774. type: string
  19775. - description: 协议名称(模糊匹配)
  19776. in: query
  19777. name: agreementname
  19778. type: string
  19779. produces:
  19780. - application/json
  19781. responses:
  19782. "200":
  19783. description: OK
  19784. schema:
  19785. items:
  19786. $ref: '#/definitions/models.QhjAgreementChangeLog'
  19787. type: array
  19788. "500":
  19789. description: Internal Server Error
  19790. schema:
  19791. $ref: '#/definitions/app.Response'
  19792. security:
  19793. - ApiKeyAuth: []
  19794. summary: 查询协议配置变更流水
  19795. tags:
  19796. - 大连千海金(协议和签约信息)
  19797. /QhjSys/QueryAgreementConfig:
  19798. get:
  19799. parameters:
  19800. - description: 协议ID
  19801. in: query
  19802. name: agreementid
  19803. type: integer
  19804. - description: 协议版本号
  19805. in: query
  19806. name: agreementversion
  19807. type: integer
  19808. - description: 协议类型 - 1:注册 2:登录 3:交易
  19809. in: query
  19810. name: agreementtype
  19811. type: integer
  19812. - description: 是否有效 - 0:无效 1:有效
  19813. in: query
  19814. name: isvalid
  19815. type: integer
  19816. - description: 协议编号(模糊匹配)
  19817. in: query
  19818. name: agreementno
  19819. type: string
  19820. - description: 协议名称(模糊匹配)
  19821. in: query
  19822. name: agreementname
  19823. type: string
  19824. produces:
  19825. - application/json
  19826. responses:
  19827. "200":
  19828. description: OK
  19829. schema:
  19830. items:
  19831. $ref: '#/definitions/models.QhjAgreementConfig'
  19832. type: array
  19833. "500":
  19834. description: Internal Server Error
  19835. schema:
  19836. $ref: '#/definitions/app.Response'
  19837. security:
  19838. - ApiKeyAuth: []
  19839. summary: 查询协议配置
  19840. tags:
  19841. - 大连千海金(协议和签约信息)
  19842. /QhjSys/QueryCustomerSignStatus:
  19843. get:
  19844. parameters:
  19845. - description: 客户ID
  19846. in: query
  19847. name: userid
  19848. type: integer
  19849. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  19850. in: query
  19851. name: nodetype
  19852. type: integer
  19853. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  19854. in: query
  19855. name: goodsid
  19856. type: integer
  19857. - description: 创建交易日(yyyyMMdd)
  19858. in: query
  19859. name: tradedate
  19860. type: string
  19861. - description: 用户名称(模糊匹配)
  19862. in: query
  19863. name: username
  19864. type: string
  19865. produces:
  19866. - application/json
  19867. responses:
  19868. "200":
  19869. description: OK
  19870. schema:
  19871. items:
  19872. $ref: '#/definitions/models.QhjCustomerSignStatus'
  19873. type: array
  19874. "500":
  19875. description: Internal Server Error
  19876. schema:
  19877. $ref: '#/definitions/app.Response'
  19878. security:
  19879. - ApiKeyAuth: []
  19880. summary: 查询客户协议签约状态
  19881. tags:
  19882. - 大连千海金(协议和签约信息)
  19883. /QhjSys/QueryNodeAgreementConfig:
  19884. get:
  19885. parameters:
  19886. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  19887. in: query
  19888. name: configid
  19889. type: integer
  19890. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  19891. in: query
  19892. name: nodetype
  19893. type: integer
  19894. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  19895. in: query
  19896. name: goodsid
  19897. type: integer
  19898. - description: 协议ID
  19899. in: query
  19900. name: agreementid
  19901. type: integer
  19902. - description: 协议类型 - 1:注册 2:登录 3:交易
  19903. in: query
  19904. name: agreementtype
  19905. type: integer
  19906. - description: 协议版本号
  19907. in: query
  19908. name: agreementversion
  19909. type: integer
  19910. - description: 协议编号(模糊匹配)
  19911. in: query
  19912. name: agreementno
  19913. type: string
  19914. - description: 协议名称(模糊匹配)
  19915. in: query
  19916. name: agreementname
  19917. type: string
  19918. produces:
  19919. - application/json
  19920. responses:
  19921. "200":
  19922. description: OK
  19923. schema:
  19924. items:
  19925. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  19926. type: array
  19927. "500":
  19928. description: Internal Server Error
  19929. schema:
  19930. $ref: '#/definitions/app.Response'
  19931. security:
  19932. - ApiKeyAuth: []
  19933. summary: 查询协议节点配置
  19934. tags:
  19935. - 大连千海金(协议和签约信息)
  19936. /QhjSys/QueryQhjCustomerSignLog:
  19937. get:
  19938. parameters:
  19939. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  19940. in: query
  19941. name: logid
  19942. type: integer
  19943. - description: 客户ID
  19944. in: query
  19945. name: userid
  19946. type: integer
  19947. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  19948. in: query
  19949. name: nodetype
  19950. type: integer
  19951. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  19952. in: query
  19953. name: goodsid
  19954. type: integer
  19955. - description: 协议ID
  19956. in: query
  19957. name: agreementid
  19958. type: integer
  19959. - description: 用户名称(模糊匹配)
  19960. in: query
  19961. name: username
  19962. type: string
  19963. - description: 协议编号(模糊匹配)
  19964. in: query
  19965. name: agreementno
  19966. type: string
  19967. - description: 协议名称(模糊匹配)
  19968. in: query
  19969. name: agreementname
  19970. type: string
  19971. produces:
  19972. - application/json
  19973. responses:
  19974. "200":
  19975. description: OK
  19976. schema:
  19977. items:
  19978. $ref: '#/definitions/models.QhjCustomerSignLog'
  19979. type: array
  19980. "500":
  19981. description: Internal Server Error
  19982. schema:
  19983. $ref: '#/definitions/app.Response'
  19984. security:
  19985. - ApiKeyAuth: []
  19986. summary: 查询客户协议签约流水
  19987. tags:
  19988. - 大连千海金(协议和签约信息)
  19989. /Quote/QueryHistoryDatas:
  19990. get:
  19991. parameters:
  19992. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  19993. 日线'
  19994. in: query
  19995. name: cycleType
  19996. required: true
  19997. type: integer
  19998. - description: 商品代码
  19999. in: query
  20000. name: goodsCode
  20001. required: true
  20002. type: string
  20003. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20004. in: query
  20005. name: startTime
  20006. type: string
  20007. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20008. in: query
  20009. name: endTime
  20010. type: string
  20011. - description: 条数
  20012. in: query
  20013. name: count
  20014. type: integer
  20015. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20016. in: query
  20017. name: isAsc
  20018. type: boolean
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. $ref: '#/definitions/quote.HistoryData'
  20026. "500":
  20027. description: Internal Server Error
  20028. schema:
  20029. $ref: '#/definitions/app.Response'
  20030. security:
  20031. - ApiKeyAuth: []
  20032. summary: 查询行情历史数据
  20033. tags:
  20034. - 行情服务
  20035. /Quote/QueryHistoryTikDatas:
  20036. get:
  20037. parameters:
  20038. - description: 商品代码
  20039. in: query
  20040. name: goodsCode
  20041. required: true
  20042. type: string
  20043. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20044. in: query
  20045. name: startTime
  20046. type: string
  20047. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20048. in: query
  20049. name: endTime
  20050. type: string
  20051. - description: 条数
  20052. in: query
  20053. name: count
  20054. type: integer
  20055. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20056. in: query
  20057. name: isAsc
  20058. type: boolean
  20059. produces:
  20060. - application/json
  20061. responses:
  20062. "200":
  20063. description: OK
  20064. schema:
  20065. $ref: '#/definitions/quote.HistoryTikData'
  20066. "500":
  20067. description: Internal Server Error
  20068. schema:
  20069. $ref: '#/definitions/app.Response'
  20070. security:
  20071. - ApiKeyAuth: []
  20072. summary: 查询行情Tik数据
  20073. tags:
  20074. - 行情服务
  20075. /Quote/QueryQuoteDay:
  20076. get:
  20077. parameters:
  20078. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  20079. in: query
  20080. name: goodsCodes
  20081. required: true
  20082. type: string
  20083. produces:
  20084. - application/json
  20085. responses:
  20086. "200":
  20087. description: OK
  20088. schema:
  20089. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  20090. "500":
  20091. description: Internal Server Error
  20092. schema:
  20093. $ref: '#/definitions/app.Response'
  20094. security:
  20095. - ApiKeyAuth: []
  20096. summary: 获取商品盘面信息
  20097. tags:
  20098. - 行情服务
  20099. /Quote/QueryTSData:
  20100. get:
  20101. parameters:
  20102. - description: 商品代码
  20103. in: query
  20104. name: goodsCode
  20105. required: true
  20106. type: string
  20107. produces:
  20108. - application/json
  20109. responses:
  20110. "200":
  20111. description: OK
  20112. schema:
  20113. $ref: '#/definitions/quote.QueryTSDataRsp'
  20114. "500":
  20115. description: Internal Server Error
  20116. schema:
  20117. $ref: '#/definitions/app.Response'
  20118. security:
  20119. - ApiKeyAuth: []
  20120. summary: 分时图数据查询
  20121. tags:
  20122. - 行情服务
  20123. /SZDZ/QueryConvertConfig:
  20124. get:
  20125. parameters:
  20126. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  20127. 6:交易转花生米(不设置)
  20128. in: query
  20129. name: convertType
  20130. type: integer
  20131. - description: 外部商品代码[JD\PD]
  20132. in: query
  20133. name: outerGoodsCode
  20134. type: string
  20135. - description: 内部商品ID列表[交易],格式:1,2,3
  20136. in: query
  20137. name: innerGoodsIDs
  20138. type: string
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. $ref: '#/definitions/models.Szdz3convertconfig'
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询交易系统转换设置
  20153. tags:
  20154. - 定制【尚志大宗】
  20155. /SZDZ/QueryConvertLog:
  20156. get:
  20157. parameters:
  20158. - description: 资金账户 - 格式:1,2,3
  20159. in: query
  20160. name: accountID
  20161. required: true
  20162. type: string
  20163. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20164. in: query
  20165. name: startDate
  20166. type: string
  20167. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20168. in: query
  20169. name: endDate
  20170. type: string
  20171. produces:
  20172. - application/json
  20173. responses:
  20174. "200":
  20175. description: OK
  20176. schema:
  20177. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  20178. "500":
  20179. description: Internal Server Error
  20180. schema:
  20181. $ref: '#/definitions/app.Response'
  20182. security:
  20183. - ApiKeyAuth: []
  20184. summary: 交易系统转换流水查询
  20185. tags:
  20186. - 定制【尚志大宗】
  20187. /SZDZ/QueryGoodsPickup:
  20188. get:
  20189. parameters:
  20190. - description: 资金账户 - 格式:1,2,3
  20191. in: query
  20192. name: accountID
  20193. required: true
  20194. type: string
  20195. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20196. in: query
  20197. name: takeOrderStatus
  20198. type: integer
  20199. produces:
  20200. - application/json
  20201. responses:
  20202. "200":
  20203. description: OK
  20204. schema:
  20205. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  20206. "500":
  20207. description: Internal Server Error
  20208. schema:
  20209. $ref: '#/definitions/app.Response'
  20210. security:
  20211. - ApiKeyAuth: []
  20212. summary: 商品提货单查询
  20213. tags:
  20214. - 定制【尚志大宗】
  20215. /SZDZ/QueryRecieptOrder:
  20216. get:
  20217. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  20218. parameters:
  20219. - description: 页码
  20220. in: query
  20221. name: page
  20222. type: integer
  20223. - description: 每页条数
  20224. in: query
  20225. name: pagesize
  20226. type: integer
  20227. - description: 商品ID
  20228. in: query
  20229. name: goodsID
  20230. required: true
  20231. type: integer
  20232. - description: 所属账户名称
  20233. in: query
  20234. name: accountName
  20235. type: string
  20236. - description: 市场ID
  20237. in: query
  20238. name: marketID
  20239. type: integer
  20240. - description: 方向 - 0:买 1:卖
  20241. in: query
  20242. name: buyorsell
  20243. required: true
  20244. type: integer
  20245. produces:
  20246. - application/json
  20247. responses:
  20248. "200":
  20249. description: OK
  20250. schema:
  20251. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  20252. "500":
  20253. description: Internal Server Error
  20254. schema:
  20255. $ref: '#/definitions/app.Response'
  20256. security:
  20257. - ApiKeyAuth: []
  20258. summary: 点选挂牌委托单据查询(摘牌大厅)
  20259. tags:
  20260. - 定制【尚志大宗】
  20261. /SZDZ/QuerySZDZTradePosition:
  20262. get:
  20263. parameters:
  20264. - description: 资金账户
  20265. in: query
  20266. name: accountID
  20267. required: true
  20268. type: integer
  20269. produces:
  20270. - application/json
  20271. responses:
  20272. "200":
  20273. description: OK
  20274. schema:
  20275. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  20276. "500":
  20277. description: Internal Server Error
  20278. schema:
  20279. $ref: '#/definitions/app.Response'
  20280. security:
  20281. - ApiKeyAuth: []
  20282. summary: 持仓汇总查询(尚志大宗)
  20283. tags:
  20284. - 定制【尚志大宗】
  20285. /SZDZ/SearchWhite:
  20286. get:
  20287. parameters:
  20288. - description: 用户ID
  20289. in: query
  20290. name: userID
  20291. required: true
  20292. type: integer
  20293. produces:
  20294. - application/json
  20295. responses:
  20296. "200":
  20297. description: OK
  20298. schema:
  20299. $ref: '#/definitions/models.Szdz3searchwhitelist'
  20300. "500":
  20301. description: Internal Server Error
  20302. schema:
  20303. $ref: '#/definitions/app.Response'
  20304. security:
  20305. - ApiKeyAuth: []
  20306. summary: 搜索白名单
  20307. tags:
  20308. - 定制【尚志大宗】
  20309. /Search/SearchGoodses:
  20310. get:
  20311. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  20312. parameters:
  20313. - description: 检索内容
  20314. in: query
  20315. name: content
  20316. required: true
  20317. type: string
  20318. - description: 交易模式,格式:1,2,3
  20319. in: query
  20320. name: tradeModes
  20321. type: string
  20322. produces:
  20323. - application/json
  20324. responses:
  20325. "200":
  20326. description: OK
  20327. schema:
  20328. $ref: '#/definitions/models.SearchGoods'
  20329. "500":
  20330. description: Internal Server Error
  20331. schema:
  20332. $ref: '#/definitions/app.Response'
  20333. summary: 检索商品信息
  20334. tags:
  20335. - 检索服务
  20336. /TaAccount/GetTaAccounts:
  20337. get:
  20338. parameters:
  20339. - description: 登录账户
  20340. in: query
  20341. name: loginID
  20342. required: true
  20343. type: integer
  20344. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  20345. in: query
  20346. name: taAccountType
  20347. type: integer
  20348. produces:
  20349. - application/json
  20350. responses:
  20351. "200":
  20352. description: OK
  20353. schema:
  20354. $ref: '#/definitions/models.Taaccount'
  20355. "500":
  20356. description: Internal Server Error
  20357. schema:
  20358. $ref: '#/definitions/app.Response'
  20359. security:
  20360. - ApiKeyAuth: []
  20361. summary: 获取资金账户信息
  20362. tags:
  20363. - 资金账户
  20364. /TaAccount/QueryAmountLog:
  20365. get:
  20366. parameters:
  20367. - description: 页码
  20368. in: query
  20369. name: page
  20370. type: integer
  20371. - description: 每页条数
  20372. in: query
  20373. name: pagesize
  20374. type: integer
  20375. - description: 资金账户 - 格式:1,2,3
  20376. in: query
  20377. name: accountID
  20378. required: true
  20379. type: string
  20380. - description: 资金操作类型 - 格式:1,2,3
  20381. in: query
  20382. name: OperateType
  20383. type: string
  20384. produces:
  20385. - application/json
  20386. responses:
  20387. "200":
  20388. description: OK
  20389. schema:
  20390. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  20391. "500":
  20392. description: Internal Server Error
  20393. schema:
  20394. $ref: '#/definitions/app.Response'
  20395. security:
  20396. - ApiKeyAuth: []
  20397. summary: 资金流水查询(当前)
  20398. tags:
  20399. - 资金账户
  20400. /TaAccount/QueryHisAmountLog:
  20401. get:
  20402. parameters:
  20403. - description: 页码
  20404. in: query
  20405. name: page
  20406. type: integer
  20407. - description: 每页条数
  20408. in: query
  20409. name: pagesize
  20410. type: integer
  20411. - description: 资金账户 - 格式:1,2,3
  20412. in: query
  20413. name: accountID
  20414. required: true
  20415. type: string
  20416. - description: 资金操作类型 - 格式:1,2,3
  20417. in: query
  20418. name: OperateType
  20419. type: string
  20420. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20421. in: query
  20422. name: startDate
  20423. type: string
  20424. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20425. in: query
  20426. name: endDate
  20427. type: string
  20428. produces:
  20429. - application/json
  20430. responses:
  20431. "200":
  20432. description: OK
  20433. schema:
  20434. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  20435. "500":
  20436. description: Internal Server Error
  20437. schema:
  20438. $ref: '#/definitions/app.Response'
  20439. security:
  20440. - ApiKeyAuth: []
  20441. summary: 资金流水查询(历史)
  20442. tags:
  20443. - 资金账户
  20444. /Trade/QueryRecieptOrder:
  20445. get:
  20446. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  20447. parameters:
  20448. - description: 页码
  20449. in: query
  20450. name: page
  20451. type: integer
  20452. - description: 每页条数
  20453. in: query
  20454. name: pagesize
  20455. type: integer
  20456. - description: 商品ID
  20457. in: query
  20458. name: goodsID
  20459. required: true
  20460. type: integer
  20461. - description: 所属账户名称
  20462. in: query
  20463. name: accountName
  20464. type: string
  20465. - description: 市场ID
  20466. in: query
  20467. name: marketID
  20468. type: integer
  20469. - description: 方向 - 0:买 1:卖
  20470. in: query
  20471. name: buyorsell
  20472. required: true
  20473. type: integer
  20474. produces:
  20475. - application/json
  20476. responses:
  20477. "200":
  20478. description: OK
  20479. schema:
  20480. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  20481. "500":
  20482. description: Internal Server Error
  20483. schema:
  20484. $ref: '#/definitions/app.Response'
  20485. security:
  20486. - ApiKeyAuth: []
  20487. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  20488. tags:
  20489. - 通用交易
  20490. /User/AddMessageBoard:
  20491. post:
  20492. parameters:
  20493. - description: 用户ID
  20494. in: query
  20495. name: userID
  20496. required: true
  20497. type: integer
  20498. - description: 留言信息
  20499. in: query
  20500. name: message
  20501. required: true
  20502. type: string
  20503. - description: 联系电话
  20504. in: query
  20505. name: contactNum
  20506. required: true
  20507. type: string
  20508. produces:
  20509. - application/json
  20510. responses:
  20511. "200":
  20512. description: OK
  20513. schema:
  20514. $ref: '#/definitions/app.Response'
  20515. "500":
  20516. description: Internal Server Error
  20517. schema:
  20518. $ref: '#/definitions/app.Response'
  20519. security:
  20520. - ApiKeyAuth: []
  20521. summary: 添加用户留言板信息
  20522. tags:
  20523. - 用户信息
  20524. /User/AddUserFavoriteGoods:
  20525. post:
  20526. parameters:
  20527. - description: 用户ID
  20528. in: query
  20529. name: userID
  20530. required: true
  20531. type: integer
  20532. - description: 商品ID
  20533. in: query
  20534. name: goodsID
  20535. required: true
  20536. type: integer
  20537. produces:
  20538. - application/json
  20539. responses:
  20540. "200":
  20541. description: OK
  20542. schema:
  20543. $ref: '#/definitions/app.Response'
  20544. "500":
  20545. description: Internal Server Error
  20546. schema:
  20547. $ref: '#/definitions/app.Response'
  20548. security:
  20549. - ApiKeyAuth: []
  20550. summary: 添加用户商品收藏信息
  20551. tags:
  20552. - 用户信息
  20553. /User/GetLoginID:
  20554. get:
  20555. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  20556. parameters:
  20557. - description: 登录代码
  20558. in: query
  20559. name: username
  20560. required: true
  20561. type: string
  20562. produces:
  20563. - application/json
  20564. responses:
  20565. "200":
  20566. description: OK
  20567. schema:
  20568. $ref: '#/definitions/app.Response'
  20569. "500":
  20570. description: Internal Server Error
  20571. schema:
  20572. $ref: '#/definitions/app.Response'
  20573. summary: 获取登录ID
  20574. tags:
  20575. - 用户信息
  20576. /User/GetUserAccount:
  20577. get:
  20578. parameters:
  20579. - description: 用户ID
  20580. in: query
  20581. name: userID
  20582. required: true
  20583. type: integer
  20584. produces:
  20585. - application/json
  20586. responses:
  20587. "200":
  20588. description: OK
  20589. schema:
  20590. $ref: '#/definitions/models.Useraccount'
  20591. "500":
  20592. description: Internal Server Error
  20593. schema:
  20594. $ref: '#/definitions/app.Response'
  20595. security:
  20596. - ApiKeyAuth: []
  20597. summary: 获取用户账号信息
  20598. tags:
  20599. - 用户信息
  20600. /User/GetUserAuthStatus:
  20601. get:
  20602. parameters:
  20603. - description: 用户ID
  20604. in: query
  20605. name: userID
  20606. required: true
  20607. type: integer
  20608. produces:
  20609. - application/json
  20610. responses:
  20611. "200":
  20612. description: OK
  20613. schema:
  20614. $ref: '#/definitions/app.Response'
  20615. "500":
  20616. description: Internal Server Error
  20617. schema:
  20618. $ref: '#/definitions/app.Response'
  20619. security:
  20620. - ApiKeyAuth: []
  20621. summary: 获取用户实名认证状态
  20622. tags:
  20623. - 用户信息
  20624. /User/LoginQuery:
  20625. get:
  20626. parameters:
  20627. - description: 登录账号
  20628. in: query
  20629. name: loginID
  20630. required: true
  20631. type: integer
  20632. produces:
  20633. - application/json
  20634. responses:
  20635. "200":
  20636. description: OK
  20637. schema:
  20638. $ref: '#/definitions/user.LoginQueryRsp'
  20639. "500":
  20640. description: Internal Server Error
  20641. schema:
  20642. $ref: '#/definitions/app.Response'
  20643. security:
  20644. - ApiKeyAuth: []
  20645. summary: 账户登录后信息查询
  20646. tags:
  20647. - 用户信息
  20648. /User/QueryMessageBoard:
  20649. get:
  20650. parameters:
  20651. - description: 用户ID
  20652. in: query
  20653. name: userID
  20654. required: true
  20655. type: integer
  20656. produces:
  20657. - application/json
  20658. responses:
  20659. "200":
  20660. description: OK
  20661. schema:
  20662. $ref: '#/definitions/models.Messageboard'
  20663. "500":
  20664. description: Internal Server Error
  20665. schema:
  20666. $ref: '#/definitions/app.Response'
  20667. security:
  20668. - ApiKeyAuth: []
  20669. summary: 获取用户留言板信息
  20670. tags:
  20671. - 用户信息
  20672. /User/QueryUserFavoriteGoodses:
  20673. get:
  20674. parameters:
  20675. - description: 用户ID
  20676. in: query
  20677. name: userID
  20678. required: true
  20679. type: integer
  20680. produces:
  20681. - application/json
  20682. responses:
  20683. "200":
  20684. description: OK
  20685. schema:
  20686. $ref: '#/definitions/models.Userfavoritegoods'
  20687. "500":
  20688. description: Internal Server Error
  20689. schema:
  20690. $ref: '#/definitions/app.Response'
  20691. security:
  20692. - ApiKeyAuth: []
  20693. summary: 获取用户商品收藏信息
  20694. tags:
  20695. - 用户信息
  20696. /User/QueryUserInfo:
  20697. get:
  20698. parameters:
  20699. - description: 用户ID
  20700. in: query
  20701. name: userID
  20702. required: true
  20703. type: integer
  20704. - description: 是否解密
  20705. in: query
  20706. name: isDecrypt
  20707. type: boolean
  20708. produces:
  20709. - application/json
  20710. responses:
  20711. "200":
  20712. description: OK
  20713. schema:
  20714. $ref: '#/definitions/models.Userinfo'
  20715. "500":
  20716. description: Internal Server Error
  20717. schema:
  20718. $ref: '#/definitions/app.Response'
  20719. security:
  20720. - ApiKeyAuth: []
  20721. summary: 获取用户信息
  20722. tags:
  20723. - 用户信息
  20724. /User/QueryUserReferNum:
  20725. get:
  20726. parameters:
  20727. - description: 用户ID
  20728. in: query
  20729. name: userID
  20730. required: true
  20731. type: integer
  20732. produces:
  20733. - application/json
  20734. responses:
  20735. "200":
  20736. description: OK
  20737. schema:
  20738. $ref: '#/definitions/app.Response'
  20739. "500":
  20740. description: Internal Server Error
  20741. schema:
  20742. $ref: '#/definitions/app.Response'
  20743. summary: 获取用户邀请码
  20744. tags:
  20745. - 用户信息
  20746. /User/RemoveUserFavoriteGoods:
  20747. post:
  20748. parameters:
  20749. - description: 用户ID
  20750. in: query
  20751. name: userID
  20752. required: true
  20753. type: integer
  20754. - description: 商品ID
  20755. in: query
  20756. name: goodsID
  20757. required: true
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. $ref: '#/definitions/app.Response'
  20766. "500":
  20767. description: Internal Server Error
  20768. schema:
  20769. $ref: '#/definitions/app.Response'
  20770. security:
  20771. - ApiKeyAuth: []
  20772. summary: 移除用户商品收藏信息
  20773. tags:
  20774. - 用户信息
  20775. /User/UpdateUserAccountStatus:
  20776. post:
  20777. parameters:
  20778. - description: 用户ID
  20779. in: query
  20780. name: userID
  20781. required: true
  20782. type: integer
  20783. - description: 账户状态 - 4:正常 6:注销(停用)
  20784. in: query
  20785. name: accountStatus
  20786. required: true
  20787. type: integer
  20788. produces:
  20789. - application/json
  20790. responses:
  20791. "200":
  20792. description: OK
  20793. schema:
  20794. $ref: '#/definitions/app.Response'
  20795. "500":
  20796. description: Internal Server Error
  20797. schema:
  20798. $ref: '#/definitions/app.Response'
  20799. security:
  20800. - ApiKeyAuth: []
  20801. summary: 更新用户状态
  20802. tags:
  20803. - 用户信息
  20804. /WRTrade/GetAllDeliveryGoods:
  20805. get:
  20806. produces:
  20807. - application/json
  20808. - application/json
  20809. responses:
  20810. "200":
  20811. description: OK
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. "500":
  20815. description: Internal Server Error
  20816. schema:
  20817. $ref: '#/definitions/app.Response'
  20818. security:
  20819. - ApiKeyAuth: []
  20820. - ApiKeyAuth: []
  20821. summary: 获取带仓单分类的种类信息
  20822. tags:
  20823. - 仓单贸易
  20824. - 仓单贸易
  20825. securityDefinitions:
  20826. ApiKeyAuth:
  20827. in: header
  20828. name: Authorization
  20829. type: apiKey
  20830. swagger: "2.0"