swagger.yaml 592 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486
  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.Ermcp3ExposureParamChLog:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. aftervalue:
  4240. description: 应套保\套利量变更后(调整后应套保总量)
  4241. type: number
  4242. areauserid:
  4243. description: 所属机构\交易用户ID
  4244. type: integer
  4245. beforevalue:
  4246. description: 应套保\套利量变更前(调整前应套保总量)
  4247. type: number
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. changelogtype:
  4252. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4253. type: integer
  4254. curvalue:
  4255. description: 当前套保\套利量(套保总量|套利总量)
  4256. type: number
  4257. diffvalue:
  4258. description: 应套保总量变化量
  4259. type: number
  4260. enddate:
  4261. description: 结束交易日
  4262. type: string
  4263. logdatetime:
  4264. description: 流水日期
  4265. type: string
  4266. logid:
  4267. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4268. type: string
  4269. middlegoodscode:
  4270. description: 套保品种代码
  4271. type: string
  4272. middlegoodsid:
  4273. description: 套保品种
  4274. type: integer
  4275. middlegoodsname:
  4276. description: 套保品种名称
  4277. type: string
  4278. paramaftervalue:
  4279. description: 参数变更后(调整后参数值)
  4280. type: number
  4281. parambeforevalue:
  4282. description: 参数变更前(调整前参数值)
  4283. type: number
  4284. tradedate:
  4285. description: 交易日(yyyyMMdd)
  4286. type: string
  4287. type: object
  4288. models.Ermcp3ExpourseReport:
  4289. properties:
  4290. accountid:
  4291. description: 期货账户ID (作废, 默认为0)
  4292. type: integer
  4293. accountname:
  4294. description: 机构名称
  4295. type: string
  4296. arbitrageqty:
  4297. description: 套利量
  4298. type: number
  4299. areauserid:
  4300. description: 所属机构\交易用户ID
  4301. type: integer
  4302. begindate:
  4303. description: 开始交易日
  4304. type: string
  4305. buyfutureqty:
  4306. description: 买入期货数量
  4307. type: number
  4308. buyplanqty:
  4309. description: 采购计划数量
  4310. type: number
  4311. buypricedqty:
  4312. description: 采购合同已定价数量
  4313. type: number
  4314. cycletime:
  4315. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4316. type: string
  4317. cycletype:
  4318. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4319. type: integer
  4320. diffexposure:
  4321. description: 变动量(套保敞口)
  4322. type: number
  4323. difffutuqty:
  4324. description: 变动量(期货)
  4325. type: number
  4326. diffhedgeqty:
  4327. description: 变动量(现货应套保总量)
  4328. type: number
  4329. diffmgqtya:
  4330. description: 套保变动量
  4331. type: number
  4332. diffmgqtyb:
  4333. description: 套利变动量
  4334. type: number
  4335. diffqty:
  4336. description: 变动量(总敞口)
  4337. type: number
  4338. diffspotqty:
  4339. description: 变动量(现货)
  4340. type: number
  4341. enddate:
  4342. description: 结束交易日
  4343. type: string
  4344. enumdicname:
  4345. description: 单位名称
  4346. type: string
  4347. hedgeqty:
  4348. description: 套保量
  4349. type: number
  4350. mgneedhedgeratio:
  4351. description: 套保比例(套保品的)
  4352. type: number
  4353. middlegoodsid:
  4354. description: 套保品种ID
  4355. type: integer
  4356. middlegoodsname:
  4357. description: 套保商品名称
  4358. type: string
  4359. middlgoodscode:
  4360. description: 套保商品代码
  4361. type: string
  4362. needarbitrageqty:
  4363. description: 应套利量
  4364. type: number
  4365. needarbitrageratio:
  4366. description: 套利比例(套保品的)
  4367. type: number
  4368. needhedgeexposoure:
  4369. description: 应套保敞口(套保敞口)
  4370. type: number
  4371. needhedgeqty:
  4372. description: 应套保量
  4373. type: number
  4374. needhedgeratio:
  4375. description: 应套保敞口比例
  4376. type: number
  4377. oriarbitrageqty:
  4378. description: 期初套利量
  4379. type: number
  4380. oribuyfutureqty:
  4381. description: 期初买入期货数量
  4382. type: number
  4383. oribuyplanqty:
  4384. description: 期初采购计划数量
  4385. type: number
  4386. oribuypricedqty:
  4387. description: 期初采购合同已定价数量
  4388. type: number
  4389. orihedgeqty:
  4390. description: 期初套保量
  4391. type: number
  4392. orineedarbitrageqty:
  4393. description: 期初应套利量
  4394. type: number
  4395. orineedhedgeexposoure:
  4396. description: 期初应套保敞口
  4397. type: number
  4398. orineedhedgeqty:
  4399. description: 期初应套保量
  4400. type: number
  4401. orisellfutureqty:
  4402. description: 期初卖出期货数量
  4403. type: number
  4404. orisellplanqty:
  4405. description: 期初销售计划数量
  4406. type: number
  4407. orisellpricedqty:
  4408. description: 期初销售合同已定价数量
  4409. type: number
  4410. oritotalexposure:
  4411. description: 期初实时总敞口
  4412. type: number
  4413. oritotalfutureqty:
  4414. description: 期初期货头寸总量
  4415. type: number
  4416. oritotalneedhedgeqty:
  4417. description: 期初应套保总量
  4418. type: number
  4419. oritotalspotqty:
  4420. description: 期初现货头寸总量
  4421. type: number
  4422. reckondate:
  4423. description: 日照时期(yyyyMMdd)
  4424. type: string
  4425. sellfutureqty:
  4426. description: 卖出期货数量
  4427. type: number
  4428. sellplanqty:
  4429. description: 销售计划数量
  4430. type: number
  4431. sellpricedqty:
  4432. description: 销售合同已定价数量
  4433. type: number
  4434. totalexposure:
  4435. description: 实时总敞口(总敞口)
  4436. type: number
  4437. totalfutureqty:
  4438. description: 期货头寸总量(期货总量)
  4439. type: number
  4440. totalhedgeratio:
  4441. description: 敞口比例
  4442. type: number
  4443. totalneedhedgeqty:
  4444. description: 应套保总量(现货应套保总量)
  4445. type: number
  4446. totalspotqty:
  4447. description: 现货头寸总量
  4448. type: number
  4449. unitid:
  4450. description: 单位id
  4451. type: integer
  4452. updatetime:
  4453. description: 更新时间
  4454. type: string
  4455. type: object
  4456. models.Ermcp3FinanceReport:
  4457. properties:
  4458. accountname:
  4459. description: 机构名称
  4460. type: string
  4461. areauserid:
  4462. description: 所属机构\交易用户ID
  4463. type: integer
  4464. begindate:
  4465. description: 开始交易日
  4466. type: string
  4467. biztype:
  4468. description: 业务类型 - 1:套保 2:套利
  4469. type: integer
  4470. brandname:
  4471. description: 品牌名称
  4472. type: string
  4473. buypreinvoicedamount:
  4474. description: 采购预收票额(预收票额)
  4475. type: number
  4476. buyprepaidamount:
  4477. description: 采购预付款额(预付货款额)
  4478. type: number
  4479. buytodayinvoiceamount:
  4480. description: 采购今收票额(今收票额)
  4481. type: number
  4482. buytodayrefundamount:
  4483. description: 采购今收退款额(今收退款额)
  4484. type: number
  4485. buytodaysettleamount:
  4486. description: 采购今付款额(今付货款额)
  4487. type: number
  4488. buyuninvoicedamount:
  4489. description: 采购应收票额(应收票额)
  4490. type: number
  4491. buyunpaidamount:
  4492. description: 采购应付款额(应付货款额)
  4493. type: number
  4494. currencyid:
  4495. description: 结算币种ID
  4496. type: integer
  4497. currencyname:
  4498. description: 币种名称
  4499. type: string
  4500. cycletime:
  4501. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4502. type: string
  4503. cycletype:
  4504. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4505. type: integer
  4506. deliverygoodscode:
  4507. description: 现货品种代码
  4508. type: string
  4509. deliverygoodsid:
  4510. description: 现货品种ID
  4511. type: integer
  4512. deliverygoodsname:
  4513. description: 现货品种名称
  4514. type: string
  4515. enddate:
  4516. description: 结束交易日
  4517. type: string
  4518. reckondate:
  4519. description: 日照时期(yyyyMMdd)
  4520. type: string
  4521. sellpreinvoicedamount:
  4522. description: 销售预开票额(预开票额)
  4523. type: number
  4524. sellprepaidamount:
  4525. description: 销售预收款额(预收货款额)
  4526. type: number
  4527. selltodayinvoiceamount:
  4528. description: 销售今开票额(今开票额)
  4529. type: number
  4530. selltodayrefundamount:
  4531. description: 销售今付退款额(今付退款额)
  4532. type: number
  4533. selltodaysettleamount:
  4534. description: 销售今收款额(今收货款额)
  4535. type: number
  4536. selluninvoicedamount:
  4537. description: 销售应开票额(应开票额)
  4538. type: number
  4539. sellunpaidamount:
  4540. description: 销售应收款额(应收货款额)
  4541. type: number
  4542. spotgoodsbrandid:
  4543. description: 现货品牌ID
  4544. type: integer
  4545. todaypaysum:
  4546. description: 今付款合计
  4547. type: number
  4548. todayreceivesum:
  4549. description: 今收款合计
  4550. type: number
  4551. updatetime:
  4552. description: 更新时间
  4553. type: string
  4554. wrfactortypeid:
  4555. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4556. type: integer
  4557. wrstandardcode:
  4558. description: 品类代码
  4559. type: string
  4560. wrstandardid:
  4561. description: 现货商品ID
  4562. type: integer
  4563. wrstandardname:
  4564. description: 品类名称
  4565. type: string
  4566. type: object
  4567. models.Ermcp3Goods:
  4568. properties:
  4569. agreeunit:
  4570. description: 合约单位(合约乘数)
  4571. type: number
  4572. enumdicname:
  4573. description: 单位名称
  4574. type: string
  4575. exexchangecode:
  4576. description: 交易所代码
  4577. type: string
  4578. goodscode:
  4579. description: 期货商品代码
  4580. type: string
  4581. goodsid:
  4582. description: 期货商品id
  4583. type: integer
  4584. goodsname:
  4585. description: 期货商品名称
  4586. type: string
  4587. type: object
  4588. models.Ermcp3GoodsGroup:
  4589. properties:
  4590. agreeunit:
  4591. description: 合约单位
  4592. type: number
  4593. areauserid:
  4594. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4595. type: integer
  4596. canshort:
  4597. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4598. type: integer
  4599. closepricemode:
  4600. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4601. type: integer
  4602. createtime:
  4603. description: 创建时间
  4604. type: string
  4605. creatorid:
  4606. description: 创建人
  4607. type: integer
  4608. currencyid:
  4609. description: 报价货币ID
  4610. type: integer
  4611. decimalplace:
  4612. description: 报价小数位
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位名称
  4616. type: string
  4617. exchangefullname:
  4618. description: 交易所全称
  4619. type: string
  4620. excludecfg:
  4621. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4622. type: integer
  4623. exexchangecode:
  4624. description: 交易所代码
  4625. type: string
  4626. exexchangeid:
  4627. description: 外部交易所ID[通道交易]
  4628. type: integer
  4629. exexchangename:
  4630. description: 交易所名称
  4631. type: string
  4632. goodsgroupid:
  4633. description: 商品组ID(自增ID)
  4634. type: integer
  4635. goodsgroupname:
  4636. description: 商品组名称
  4637. type: string
  4638. goodsgroupstatus:
  4639. description: 商品组状态 - 1:正常 2:注销
  4640. type: integer
  4641. goodunitid:
  4642. description: 报价单位ID
  4643. type: integer
  4644. groupcategroyid:
  4645. description: 品种分类ID
  4646. type: integer
  4647. innerdealmode:
  4648. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4649. type: integer
  4650. marketid:
  4651. description: 所属市场ID
  4652. type: integer
  4653. modifierid:
  4654. description: 修改人
  4655. type: integer
  4656. modifytime:
  4657. description: 修改时间
  4658. type: string
  4659. outerdealmode:
  4660. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. outergroupcode:
  4663. description: 外部商品组代码[通道交易]
  4664. type: string
  4665. quoteminunit:
  4666. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4667. type: integer
  4668. quotesourcegroupid:
  4669. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4670. type: integer
  4671. syncgoodsqty:
  4672. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4673. type: integer
  4674. required:
  4675. - areauserid
  4676. type: object
  4677. models.Ermcp3GoodsGroupEx:
  4678. properties:
  4679. convertratio:
  4680. description: 折算系数(品种系数)
  4681. type: number
  4682. enumdicname:
  4683. description: 单位名称
  4684. type: string
  4685. exexchangecode:
  4686. description: 交易所代码
  4687. type: string
  4688. glist:
  4689. description: 合约列表
  4690. items:
  4691. $ref: '#/definitions/models.Ermcp3Goods'
  4692. type: array
  4693. goodsgroupid:
  4694. description: 商品组id
  4695. type: integer
  4696. goodsgroupname:
  4697. description: 商品组名称
  4698. type: string
  4699. goodsunitid:
  4700. description: 单位id
  4701. type: integer
  4702. middlegoodsid:
  4703. description: 套保商品id
  4704. type: integer
  4705. type: object
  4706. models.Ermcp3HedgePlan:
  4707. properties:
  4708. accountid:
  4709. description: 资金账号
  4710. type: integer
  4711. areauserid:
  4712. description: 用户ID
  4713. type: integer
  4714. audittime:
  4715. description: 审核时间
  4716. type: string
  4717. contracttype:
  4718. description: 计划类型 - 1:采购 -1:销售
  4719. type: integer
  4720. convertfactor:
  4721. description: 标仓系数
  4722. type: number
  4723. createtime:
  4724. description: 创建时间
  4725. type: string
  4726. currencyid:
  4727. description: 币种id
  4728. type: integer
  4729. currencyname:
  4730. description: 币种名称
  4731. type: string
  4732. deliverygoodscode:
  4733. description: 现货品种代码
  4734. type: string
  4735. deliverygoodsid:
  4736. description: 现货品种ID
  4737. type: integer
  4738. deliverygoodsname:
  4739. description: 现货品种名称
  4740. type: string
  4741. enumdicname:
  4742. description: 单位名称(现货商品)
  4743. type: string
  4744. hedgeplanid:
  4745. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4746. type: string
  4747. hedgeplanno:
  4748. description: 套保计划编号(名称)
  4749. type: string
  4750. hedgeplanstatus:
  4751. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4752. type: integer
  4753. planqty:
  4754. description: 计划数量
  4755. type: number
  4756. plantime:
  4757. description: 计划时间
  4758. type: string
  4759. producttype:
  4760. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4761. type: integer
  4762. remark:
  4763. description: 备注
  4764. type: string
  4765. spotgoodsdesc:
  4766. description: 商品型号
  4767. type: string
  4768. taaccountname:
  4769. description: 资金账号名称
  4770. type: string
  4771. tradeuserid:
  4772. description: 交易用户id
  4773. type: integer
  4774. tradeusername:
  4775. description: 交易用户名称
  4776. type: string
  4777. unitid:
  4778. description: 单位id(现货商品)
  4779. type: integer
  4780. updatetime:
  4781. description: 更新时间
  4782. type: string
  4783. wrstandardcode:
  4784. description: 品类代码
  4785. type: string
  4786. wrstandardid:
  4787. description: 品类id
  4788. type: integer
  4789. wrstandardname:
  4790. description: 品类名称
  4791. type: string
  4792. wrunitid:
  4793. description: 品类单位id
  4794. type: integer
  4795. wrunitidame:
  4796. description: 品类单位名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3MiddleGoodsDetail2:
  4800. properties:
  4801. convertratio:
  4802. description: 套保系数(折算系数)
  4803. type: number
  4804. gplist:
  4805. description: 关联商品组列表
  4806. items:
  4807. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4808. type: array
  4809. mg:
  4810. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4811. description: 套保商品信息
  4812. type: object
  4813. type: object
  4814. models.Ermcp3MiddleGoodsDetailEx:
  4815. properties:
  4816. dglist:
  4817. description: 关联的现货品种列表
  4818. items:
  4819. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4820. type: array
  4821. gplist:
  4822. description: 关联商品组列表
  4823. items:
  4824. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4825. type: array
  4826. mg:
  4827. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4828. description: 套保商品信息
  4829. type: object
  4830. type: object
  4831. models.Ermcp3RootUserAccount:
  4832. properties:
  4833. accountname:
  4834. description: 账户名称(机构名称)
  4835. type: string
  4836. accountstatus:
  4837. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4838. type: integer
  4839. applysrc:
  4840. description: 申请来源 - 1:管理端 2:终端
  4841. type: integer
  4842. auditremark:
  4843. description: 审核备注
  4844. type: string
  4845. auditsrc:
  4846. description: 审核来源 - 1:管理端 2:终端
  4847. type: integer
  4848. audittime:
  4849. description: 审核时间
  4850. type: string
  4851. audituserid:
  4852. description: 审核人
  4853. type: integer
  4854. broker:
  4855. description: 所属经纪人ID
  4856. type: integer
  4857. canceltime:
  4858. description: 销户时间
  4859. type: string
  4860. canceluserid:
  4861. description: 销户人
  4862. type: integer
  4863. canrecommend:
  4864. description: 是否可推荐 - 0:不可 1;可
  4865. type: integer
  4866. createtime:
  4867. description: 创建时间
  4868. type: string
  4869. creatorid:
  4870. description: 创建人
  4871. type: integer
  4872. hasauth:
  4873. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4874. type: integer
  4875. isanonymous:
  4876. description: 是否匿名下单 - 0:否 1:是
  4877. type: integer
  4878. maxinvestornum:
  4879. description: 最大用户数(经纪会员下投资者个数)
  4880. type: integer
  4881. memberuserid:
  4882. description: 所属会员ID
  4883. type: integer
  4884. modifierid:
  4885. description: 修改人
  4886. type: integer
  4887. modifyremark:
  4888. description: 变更备注
  4889. type: string
  4890. modifystatus:
  4891. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4892. type: integer
  4893. modifytime:
  4894. description: 修改时间
  4895. type: string
  4896. parenttopuser:
  4897. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4898. type: string
  4899. parentuserid:
  4900. description: 所属机构ID
  4901. type: integer
  4902. reckonaccountid:
  4903. description: 默认结算资金账号ID(机构分润使用) 作废
  4904. type: integer
  4905. refercount:
  4906. description: 推荐总人数
  4907. type: integer
  4908. refereeuserid:
  4909. description: 推荐人ID
  4910. type: integer
  4911. refernum:
  4912. description: 推荐码
  4913. type: string
  4914. rootuserid:
  4915. description: 根用户ID
  4916. type: integer
  4917. subaccountlevel:
  4918. description: 子账户层数
  4919. type: integer
  4920. subarealevelpath:
  4921. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4922. type: string
  4923. userid:
  4924. description: 用户ID
  4925. type: integer
  4926. usertype:
  4927. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4928. type: integer
  4929. type: object
  4930. models.Ermcp3SellBuyContract:
  4931. properties:
  4932. accountid:
  4933. description: 期货账户id
  4934. type: string
  4935. accountname:
  4936. description: 账户名称
  4937. type: string
  4938. attachment:
  4939. description: 附件
  4940. type: string
  4941. audittime:
  4942. description: 审核时间
  4943. type: string
  4944. biztype:
  4945. description: 业务类型 1-套保 2-套利
  4946. type: integer
  4947. brandname:
  4948. description: 品牌名称
  4949. type: string
  4950. contracctstatus:
  4951. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4952. type: integer
  4953. contractmargin:
  4954. description: 合同保证金
  4955. type: number
  4956. contractno:
  4957. description: 合同编号
  4958. type: string
  4959. contracttype:
  4960. description: 合同类型 1-采购, -1-销售
  4961. type: integer
  4962. convertfactor:
  4963. description: 标仓系数(品类)
  4964. type: number
  4965. createtime:
  4966. description: 创建时间
  4967. type: string
  4968. currencyid:
  4969. description: 币种id
  4970. type: integer
  4971. currencyname:
  4972. description: 币种名称
  4973. type: string
  4974. daikaiamount:
  4975. description: 应收(开)票额
  4976. type: number
  4977. deliveryenddate:
  4978. description: 交割结束日
  4979. type: string
  4980. deliverygoodscode:
  4981. description: 现货品种代码
  4982. type: string
  4983. deliverygoodsid:
  4984. description: 现货商品ID
  4985. type: integer
  4986. deliverygoodsname:
  4987. description: 现货品种名称
  4988. type: string
  4989. deliverystartdate:
  4990. description: 交割开始日
  4991. type: string
  4992. enddate:
  4993. description: 点价结束日
  4994. type: string
  4995. enumdicname:
  4996. description: 单位名称
  4997. type: string
  4998. goodscode:
  4999. description: 点价商品代码
  5000. type: string
  5001. goodsid:
  5002. description: 点价商品ID
  5003. type: integer
  5004. goodsname:
  5005. description: 点价商品名称
  5006. type: string
  5007. invoiceamount:
  5008. description: 已开票额
  5009. type: number
  5010. loanamount:
  5011. description: 贷款总额=已定价额+调整金额
  5012. type: number
  5013. margin:
  5014. description: 保证金
  5015. type: number
  5016. meruserid:
  5017. description: 跟单员id
  5018. type: integer
  5019. meruserlogincode:
  5020. description: 跟单员登录代码
  5021. type: string
  5022. nickname:
  5023. description: 账户昵称
  5024. type: string
  5025. payamount:
  5026. description: 已收付额(收款或付款)
  5027. type: number
  5028. preinvoiceamount:
  5029. description: 预收(开)票额
  5030. type: number
  5031. prepayamount:
  5032. description: 预收付额
  5033. type: number
  5034. price:
  5035. description: 价格
  5036. type: number
  5037. pricedamount:
  5038. description: 已定价额
  5039. type: number
  5040. pricedavg:
  5041. description: 已点均价
  5042. type: number
  5043. pricedqty:
  5044. description: 已定价量
  5045. type: number
  5046. pricemove:
  5047. description: 升贴水
  5048. type: number
  5049. pricetype:
  5050. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5051. type: integer
  5052. producttype:
  5053. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5054. type: integer
  5055. qty:
  5056. description: 合同量
  5057. type: number
  5058. reckonadjustamount:
  5059. description: 调整金额
  5060. type: number
  5061. reckonedamount:
  5062. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5063. type: number
  5064. reckonotheramount:
  5065. description: 其它费用
  5066. type: number
  5067. reckonrealqty:
  5068. description: 已确定量
  5069. type: number
  5070. remark:
  5071. description: 备注
  5072. type: string
  5073. saleuserid:
  5074. description: 业务员id
  5075. type: integer
  5076. saleuserlogincode:
  5077. description: 业务员登录代码
  5078. type: string
  5079. spotcontractid:
  5080. description: 合同ID
  5081. type: string
  5082. spotgoodsbrandid:
  5083. description: 现货品牌ID(DGFactoryItem表的ID)
  5084. type: integer
  5085. spotgoodsdesc:
  5086. description: 商品型号(商品规格)
  5087. type: string
  5088. startdate:
  5089. description: 点价开始日
  5090. type: string
  5091. totalamount:
  5092. description: 合计总额
  5093. type: number
  5094. tradeuserid:
  5095. description: 交易员id
  5096. type: integer
  5097. tradeuserlogincode:
  5098. description: 交易员登录代码
  5099. type: string
  5100. tradeusername:
  5101. description: 交易员名称
  5102. type: string
  5103. unpayamount:
  5104. description: 应收付款额(应支付或应收款)
  5105. type: number
  5106. unpricedqty:
  5107. description: 未定价量
  5108. type: number
  5109. unsureqty:
  5110. description: 未确定量
  5111. type: number
  5112. userid:
  5113. description: 机构ID
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3SpotGoodsPrice:
  5126. properties:
  5127. areauserid:
  5128. description: 所属机构id
  5129. type: integer
  5130. brandname:
  5131. description: 品牌名称
  5132. type: string
  5133. currencyid:
  5134. description: 报价货币ID
  5135. type: integer
  5136. currencyname:
  5137. description: 币种名称
  5138. type: string
  5139. deliverygoodscode:
  5140. description: 现货商品代码
  5141. type: string
  5142. deliverygoodsid:
  5143. description: 现货商品id
  5144. type: integer
  5145. deliverygoodsname:
  5146. description: 现货商品名称
  5147. type: string
  5148. enumdicname:
  5149. description: 现货商品单位名称
  5150. type: string
  5151. gbenumdicname:
  5152. description: 品类单位名称
  5153. type: string
  5154. gmunitid:
  5155. description: 品类单位id
  5156. type: integer
  5157. isvalid:
  5158. description: 是否有效 - 0:无效 1:有效
  5159. type: integer
  5160. operateid:
  5161. description: 最后操作人
  5162. type: integer
  5163. operatesrc:
  5164. description: 最后操作来源 - 1:管理端 2:终端
  5165. type: integer
  5166. operatetime:
  5167. description: 最后操作时间
  5168. type: string
  5169. operatorname:
  5170. description: 操作人名称
  5171. type: string
  5172. spotgoodsbrandid:
  5173. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5174. type: integer
  5175. spotgoodsprice:
  5176. description: 现货价格
  5177. type: number
  5178. tradedate:
  5179. description: 交易日(yyyyMMdd)
  5180. type: string
  5181. unitid:
  5182. description: 现货商品单位id
  5183. type: integer
  5184. wrstandardcode:
  5185. description: 品类代码
  5186. type: string
  5187. wrstandardid:
  5188. description: 现货品类ID(通用则为0)
  5189. type: integer
  5190. wrstandardname:
  5191. description: 品类名称
  5192. type: string
  5193. type: object
  5194. models.Ermcp3SpotGoodsPriceLog:
  5195. properties:
  5196. areauserid:
  5197. description: 所属机构id
  5198. type: integer
  5199. brandname:
  5200. description: 品牌名称
  5201. type: string
  5202. currencyid:
  5203. description: 报价货币ID
  5204. type: integer
  5205. deliverygoodscode:
  5206. description: 现货商品代码
  5207. type: string
  5208. deliverygoodsid:
  5209. description: 现货商品id
  5210. type: integer
  5211. deliverygoodsname:
  5212. description: 现货商品名称
  5213. type: string
  5214. enumdicname:
  5215. description: 现货商品单位名称
  5216. type: string
  5217. gbenumdicname:
  5218. description: 品类单位名称
  5219. type: string
  5220. gmunitid:
  5221. description: 品类单位id
  5222. type: integer
  5223. logid:
  5224. description: 日志id
  5225. type: integer
  5226. operateid:
  5227. description: 最后操作人
  5228. type: integer
  5229. operatesrc:
  5230. description: 最后操作来源 - 1:管理端 2:终端
  5231. type: integer
  5232. operatetime:
  5233. description: 最后操作时间
  5234. type: string
  5235. operatorname:
  5236. description: 操作人名称
  5237. type: string
  5238. spotgoodsbrandid:
  5239. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5240. type: integer
  5241. spotgoodsprice:
  5242. description: 现货价格
  5243. type: number
  5244. tradedate:
  5245. description: 交易日(yyyyMMdd)
  5246. type: string
  5247. unitid:
  5248. description: 现货商品单位id
  5249. type: integer
  5250. wrstandardcode:
  5251. description: 品类代码
  5252. type: string
  5253. wrstandardid:
  5254. description: 现货品类ID(通用则为0)
  5255. type: integer
  5256. wrstandardname:
  5257. description: 品类名称
  5258. type: string
  5259. type: object
  5260. models.Ermcp3TaFutuReDataReport:
  5261. properties:
  5262. accountid:
  5263. description: 交易账户
  5264. type: integer
  5265. accountname:
  5266. description: 交易账号名称
  5267. type: string
  5268. begindate:
  5269. description: 开始交易日
  5270. type: string
  5271. buyorsell:
  5272. description: 持仓方向
  5273. type: integer
  5274. charge:
  5275. description: 手续费
  5276. type: number
  5277. closeavgprice:
  5278. description: 平仓均价
  5279. type: number
  5280. closepl:
  5281. description: 平仓损益
  5282. type: number
  5283. currencyid:
  5284. description: 结算币种ID
  5285. type: integer
  5286. cycletime:
  5287. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5288. type: string
  5289. cycletype:
  5290. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5291. type: integer
  5292. enddate:
  5293. description: 结束交易日
  5294. type: string
  5295. enumdicname:
  5296. description: 单位名称(现货商品)
  5297. type: string
  5298. floatpl:
  5299. description: 浮动损益
  5300. type: number
  5301. goodscode:
  5302. description: 交易合约代码
  5303. type: string
  5304. goodsgroupid:
  5305. description: 交易品种
  5306. type: integer
  5307. goodsgroupname:
  5308. description: 交易品种名称
  5309. type: string
  5310. goodsgroupspotqty:
  5311. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5312. type: number
  5313. goodsid:
  5314. description: 交易合约
  5315. type: integer
  5316. goodsname:
  5317. description: 交易合约名称
  5318. type: string
  5319. goodunitid:
  5320. description: 交易合约单位id
  5321. type: integer
  5322. holdamount:
  5323. description: 期末持仓额
  5324. type: number
  5325. holdqty:
  5326. description: 期末持仓量
  5327. type: number
  5328. lastholdamount:
  5329. description: 当前持仓额
  5330. type: number
  5331. lastprice:
  5332. description: 最新价
  5333. type: number
  5334. middlegoodsqty:
  5335. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5336. type: number
  5337. openamount:
  5338. description: 期末开仓额
  5339. type: number
  5340. openavgprice:
  5341. description: 开仓均价
  5342. type: number
  5343. oriholdamount:
  5344. description: 期初持仓额
  5345. type: number
  5346. oriholdqty:
  5347. description: 期初持仓量
  5348. type: number
  5349. oriopenamount:
  5350. description: 期初开仓额
  5351. type: number
  5352. outergroupcode:
  5353. description: 交易品种代码
  5354. type: string
  5355. reckondate:
  5356. description: 日照时期(yyyyMMdd)
  5357. type: string
  5358. reckonholdamount:
  5359. description: 结算持仓额
  5360. type: number
  5361. reckonpl:
  5362. description: 结算损益
  5363. type: number
  5364. reckonpl2:
  5365. description: 结算逐笔盈亏
  5366. type: number
  5367. reckonprice:
  5368. description: 结算价
  5369. type: number
  5370. relateduserid:
  5371. description: 账户关联用户ID
  5372. type: integer
  5373. todaycloseamount:
  5374. description: 今平仓额
  5375. type: number
  5376. todaycloseqty:
  5377. description: 今平仓量
  5378. type: number
  5379. todaygoodsgroupspotqty:
  5380. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5381. type: number
  5382. todaymiddlegoodsqty:
  5383. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5384. type: number
  5385. todayopenamount:
  5386. description: 今开仓额
  5387. type: number
  5388. todayopenqty:
  5389. description: 今开仓量
  5390. type: number
  5391. userid:
  5392. description: 账户所属用户ID
  5393. type: integer
  5394. type: object
  5395. models.Ermcp3Wrstandard:
  5396. properties:
  5397. areauserid:
  5398. description: 所属机构
  5399. type: integer
  5400. convertfactor:
  5401. description: 标仓系数
  5402. type: number
  5403. createtime:
  5404. description: 创建时间
  5405. type: string
  5406. creatorid:
  5407. description: 创建人
  5408. type: integer
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. enumdicname:
  5413. description: 品类单位名称
  5414. type: string
  5415. isvalid:
  5416. description: 是否有效 0-无效(停用) 1-有效(正常)
  5417. type: integer
  5418. minivalue:
  5419. description: 最小变动值
  5420. type: integer
  5421. minivaluedp:
  5422. description: 最小变动值小数位
  5423. type: integer
  5424. realminivalue:
  5425. description: 实际最小变动值
  5426. type: integer
  5427. realminivaluedp:
  5428. description: 实际最小变动值小数位
  5429. type: integer
  5430. remark:
  5431. description: 备注
  5432. type: string
  5433. unitid:
  5434. description: 品类单位ID
  5435. type: integer
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrstandardcode:
  5440. description: 品类代码
  5441. type: string
  5442. wrstandardid:
  5443. description: 品类ID(SEQ_WRSTANDARD)
  5444. type: integer
  5445. wrstandardname:
  5446. description: 品类名称
  5447. type: string
  5448. type: object
  5449. models.ErmcpAreaSpotDetailModel:
  5450. properties:
  5451. contracttype:
  5452. description: 合同类型 1-采购 -1-销售
  5453. type: integer
  5454. createtime:
  5455. description: 创建时间
  5456. type: string
  5457. enumdicname:
  5458. description: 现货商品单位名称
  5459. type: string
  5460. logtype:
  5461. description: 记录类型 1-套保 2-现货合同
  5462. type: integer
  5463. qty:
  5464. description: 数量
  5465. type: number
  5466. recordname:
  5467. description: 类型名称
  5468. type: string
  5469. relatedid:
  5470. description: 套保计划ID/现货合同ID
  5471. type: string
  5472. relatedno:
  5473. description: 编号
  5474. type: string
  5475. strtime:
  5476. description: 时间
  5477. type: string
  5478. wrstandardcode:
  5479. description: 现货商品代码
  5480. type: string
  5481. wrstandardname:
  5482. description: 现货商品名称
  5483. type: string
  5484. type: object
  5485. models.ErmcpAvalidGoodsGroupModel:
  5486. properties:
  5487. goodsgroupid:
  5488. description: 期货品种id
  5489. type: integer
  5490. goodsgroupname:
  5491. description: 期货品种名称
  5492. type: string
  5493. goodunitid:
  5494. description: 品种单位id
  5495. type: integer
  5496. goodunitname:
  5497. description: 品种单位名称
  5498. type: string
  5499. outergroupcode:
  5500. description: 期货品种代码
  5501. type: string
  5502. type: object
  5503. models.ErmcpBizGroupEx:
  5504. properties:
  5505. acclist:
  5506. description: 账号列表
  5507. items:
  5508. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5509. type: array
  5510. bizgroupid:
  5511. description: 业务分组id
  5512. type: integer
  5513. biztype:
  5514. description: 业务类型 1-套保 2-套利
  5515. type: integer
  5516. wrlist:
  5517. description: 现货商品表
  5518. items:
  5519. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5520. type: array
  5521. type: object
  5522. models.ErmcpBizGroupSpotGoods:
  5523. properties:
  5524. areauserid:
  5525. description: 所属机构id
  5526. type: integer
  5527. bizgroupid:
  5528. description: 分组id
  5529. type: integer
  5530. biztype:
  5531. description: 业务类型 1-套保 2-套利
  5532. type: integer
  5533. deliverygoodscode:
  5534. description: 现货商品代码
  5535. type: string
  5536. deliverygoodsid:
  5537. description: 现货商品id
  5538. type: integer
  5539. deliverygoodsname:
  5540. description: 现货商品名称
  5541. type: string
  5542. unitid:
  5543. description: 现货商品单位id
  5544. type: integer
  5545. type: object
  5546. models.ErmcpBizGroupTaAccount:
  5547. properties:
  5548. accountid:
  5549. description: 账号id
  5550. type: integer
  5551. accountname:
  5552. description: 账号名称
  5553. type: string
  5554. areauserid:
  5555. description: 所属机构id
  5556. type: integer
  5557. bizgroupid:
  5558. description: 业务分组id
  5559. type: integer
  5560. ismain:
  5561. description: 是否主账号 1-是 0-否
  5562. type: integer
  5563. type: object
  5564. models.ErmcpDGFactoryItem:
  5565. properties:
  5566. areauserid:
  5567. description: 用户id
  5568. type: integer
  5569. deliverygoodsid:
  5570. description: 现货品种ID
  5571. type: integer
  5572. dgfactoryitemid:
  5573. description: 选择项ID(SEQ_DGFACTORYITEM)
  5574. type: integer
  5575. dgfactoryitemtypeid:
  5576. description: 要素项类型
  5577. type: integer
  5578. dgfactoryitemvalue:
  5579. description: 要素项值(类型为仓库时填写仓库名称)
  5580. type: string
  5581. isvalid:
  5582. description: 是否有效 - 0:无效 1:有效
  5583. type: integer
  5584. orderindex:
  5585. description: 顺序
  5586. type: integer
  5587. warehouseid:
  5588. description: 仓库ID(类型为仓库时填写)
  5589. type: integer
  5590. type: object
  5591. models.ErmcpDeliveryGoods:
  5592. properties:
  5593. agreeunit:
  5594. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5595. type: integer
  5596. areauserid:
  5597. description: 所属机构
  5598. type: integer
  5599. auditflag:
  5600. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5601. type: integer
  5602. categoryid:
  5603. description: 类别ID(SEQ_WRCATEGORY)
  5604. type: integer
  5605. deliverygoodscode:
  5606. description: 现货品种代码
  5607. type: string
  5608. deliverygoodsid:
  5609. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5610. type: integer
  5611. deliverygoodsname:
  5612. description: 现货品种名称
  5613. type: string
  5614. deliverygoodstype:
  5615. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5616. type: integer
  5617. dgstatus:
  5618. description: 品种状态 - 作废 - 0:未激活 1:正常
  5619. type: integer
  5620. enumdicname:
  5621. description: 现货品种单位名称
  5622. type: string
  5623. goodsunitid:
  5624. description: 现货品种单位ID
  5625. type: integer
  5626. isvalid:
  5627. description: 是否有效 - 0:无效 1:有效
  5628. type: integer
  5629. qtydecimalplace:
  5630. description: 成交量小数位
  5631. type: integer
  5632. remark:
  5633. description: 备注
  5634. type: string
  5635. standardqty:
  5636. description: 标准数量(库位数量) [标准品特有]
  5637. type: integer
  5638. standardqtyrange:
  5639. description: 标准数量偏差范围 [标准品特有]
  5640. type: integer
  5641. type: object
  5642. models.ErmcpDeliveryGoodsDetail2:
  5643. properties:
  5644. convertratio:
  5645. description: 套保系数(折算系数)
  5646. type: number
  5647. data:
  5648. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5649. description: 现货商品基本信息(交割品种)
  5650. type: object
  5651. gblist:
  5652. description: 品牌列表
  5653. items:
  5654. $ref: '#/definitions/models.Ermcp3Brand'
  5655. type: array
  5656. gmlist:
  5657. description: 品类列表(仓单标准)
  5658. items:
  5659. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5660. type: array
  5661. type: object
  5662. models.ErmcpDeliveryGoodsDetailEx:
  5663. properties:
  5664. data:
  5665. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5666. description: 现货商品基本信息(交割品种)
  5667. type: object
  5668. gblist:
  5669. description: 品牌列表
  5670. items:
  5671. $ref: '#/definitions/models.Ermcp3Brand'
  5672. type: array
  5673. gmlist:
  5674. description: 品类列表(仓单标准)
  5675. items:
  5676. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5677. type: array
  5678. mgList:
  5679. description: 套保列表
  5680. items:
  5681. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5682. type: array
  5683. type: object
  5684. models.ErmcpExposureDetailModel:
  5685. properties:
  5686. areauserid:
  5687. description: 机构ID
  5688. type: integer
  5689. changeQty:
  5690. description: 套保变动量
  5691. type: number
  5692. contracttype:
  5693. description: 现货合同类型 - 1:采购 -1:销售
  5694. type: integer
  5695. convertfactor:
  5696. description: 标仓系数
  5697. type: number
  5698. convertratio:
  5699. description: 套保系数
  5700. type: number
  5701. createtime:
  5702. description: 时间
  5703. type: string
  5704. enumdicname:
  5705. description: 现货商品单位名称
  5706. type: string
  5707. logtype:
  5708. description: 类型 - 1:套保计划 2:现货合同
  5709. type: integer
  5710. middlegoodsId:
  5711. description: 套保商品id
  5712. type: integer
  5713. middlegoodscode:
  5714. description: 套保商品代码
  5715. type: string
  5716. middlegoodsname:
  5717. description: 套保商品名称
  5718. type: string
  5719. qty:
  5720. description: 数量
  5721. type: number
  5722. relateNo:
  5723. description: 现货合同/套保计划编号
  5724. type: string
  5725. wrstandardcode:
  5726. description: 现货商品代码
  5727. type: string
  5728. wrstandardid:
  5729. description: 现货商品ID
  5730. type: integer
  5731. wrstandardname:
  5732. description: 现货商品名称
  5733. type: string
  5734. type: object
  5735. models.ErmcpExposurePostion:
  5736. properties:
  5737. agreeunit:
  5738. description: 合约单位
  5739. type: string
  5740. areauserid:
  5741. description: 所属机构id
  5742. type: integer
  5743. convertratio:
  5744. description: 期货品种系数(折算系数)
  5745. type: number
  5746. curqty:
  5747. description: 当前持仓
  5748. type: integer
  5749. diffhedgeqty:
  5750. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5751. type: number
  5752. diffqty:
  5753. description: 持仓变动量=当前持仓-昨日持仓
  5754. type: integer
  5755. goodscode:
  5756. description: 商品代码
  5757. type: string
  5758. goodsid:
  5759. description: 商品id
  5760. type: integer
  5761. goodsname:
  5762. description: 商品名称
  5763. type: string
  5764. middlegoodsid:
  5765. description: 套保商品id
  5766. type: integer
  5767. ydqty:
  5768. description: 昨日持仓
  5769. type: integer
  5770. type: object
  5771. models.ErmcpFuturesCompany:
  5772. properties:
  5773. brokerid:
  5774. description: 经纪公司代码
  5775. type: string
  5776. channeladdress:
  5777. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5778. type: string
  5779. channelid:
  5780. description: 对冲渠道ID
  5781. type: string
  5782. createtime:
  5783. description: 创建时间
  5784. type: string
  5785. creatorid:
  5786. description: 创建人
  5787. type: string
  5788. fcid:
  5789. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5790. type: integer
  5791. fcname:
  5792. description: 期货公司名称
  5793. type: string
  5794. isvalid:
  5795. description: 是否有效 - 0:无效 1:有效
  5796. type: integer
  5797. mhpaddress:
  5798. description: MHP服务地址(IP:Port)
  5799. type: string
  5800. riskrulegroupid:
  5801. description: 风控规则组ID
  5802. type: string
  5803. tradefeetmpid:
  5804. description: 手续费模板ID[TradeConfigTmpType为2]
  5805. type: string
  5806. trademargintmpid:
  5807. description: 保证金模板ID [TradeConfigTmpType为1]
  5808. type: string
  5809. traderatetmpid:
  5810. description: 汇率模板ID[TradeConfigTmpType为3]
  5811. type: string
  5812. updatetime:
  5813. description: 更新时间
  5814. type: string
  5815. updatorid:
  5816. description: 更新人
  5817. type: string
  5818. type: object
  5819. models.ErmcpGGConvertCfg:
  5820. properties:
  5821. convertratio:
  5822. description: 折算系数
  5823. type: number
  5824. destgoodsgroupid:
  5825. description: 目标品种ID
  5826. type: integer
  5827. dstcode:
  5828. description: 目录品种代码
  5829. type: string
  5830. dstexchangecode:
  5831. description: 目标期货交易所
  5832. type: string
  5833. dstname:
  5834. description: 目标品种名称
  5835. type: string
  5836. dstunitid:
  5837. description: 目标品种单位ID
  5838. type: integer
  5839. dstunitidname:
  5840. description: 目标品种单位名称
  5841. type: string
  5842. modifytime:
  5843. description: 修改时间
  5844. type: string
  5845. srccode:
  5846. description: 源品种代码
  5847. type: string
  5848. srcexchangecode:
  5849. description: 源期货交易所
  5850. type: string
  5851. srcgoodsgroupid:
  5852. description: 源品种ID
  5853. type: integer
  5854. srcname:
  5855. description: 源品种名称
  5856. type: string
  5857. srcunitid:
  5858. description: 源品种单位ID
  5859. type: integer
  5860. srcunitidname:
  5861. description: 源品种单位名称
  5862. type: string
  5863. type: object
  5864. models.ErmcpGoods:
  5865. properties:
  5866. agreeunit:
  5867. description: 合约单位
  5868. type: number
  5869. areauserid:
  5870. description: 所属机构
  5871. type: integer
  5872. auditaccountid:
  5873. description: 审核操作员账号
  5874. type: integer
  5875. audittime:
  5876. description: 审核时间
  5877. type: string
  5878. cancelaccountid:
  5879. description: 注销操作员账号
  5880. type: integer
  5881. canceltime:
  5882. description: 注销时间
  5883. type: string
  5884. closepricemode:
  5885. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5886. type: integer
  5887. closepriceparam:
  5888. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5889. type: number
  5890. createtime:
  5891. description: 创建时间
  5892. type: string
  5893. creatorid:
  5894. description: 创建人
  5895. type: integer
  5896. currencyid:
  5897. description: 报价货币ID
  5898. type: integer
  5899. cutmode:
  5900. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5901. type: integer
  5902. decimalplace:
  5903. description: 报价小数位
  5904. type: integer
  5905. delistingdate:
  5906. description: 商品退市时间(状态:退市) -- 已作废
  5907. type: string
  5908. delistingmode:
  5909. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5910. type: integer
  5911. deliveryflag:
  5912. description: 交割标志 - 0:不可交割 1:可交割
  5913. type: integer
  5914. enumdicname:
  5915. description: 单位名称
  5916. type: string
  5917. forceclosemode:
  5918. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5919. type: integer
  5920. forceclosevalue:
  5921. description: 定期强平参数 [收益权]
  5922. type: integer
  5923. goodscode:
  5924. description: 商品代码(内部)
  5925. type: string
  5926. goodscurrencyid:
  5927. description: 合约货币ID
  5928. type: integer
  5929. goodsgroupid:
  5930. description: 所属商品组ID
  5931. type: integer
  5932. goodsid:
  5933. description: 商品ID(自增ID SEQ_GOODS)
  5934. type: integer
  5935. goodsname:
  5936. description: 商品名称
  5937. type: string
  5938. goodsquotetype:
  5939. description: '合约报价类型: 1-直接报价 2-间接报价'
  5940. type: integer
  5941. goodsstatus:
  5942. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5943. type: integer
  5944. goodstradetype:
  5945. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5946. type: integer
  5947. goodunitid:
  5948. description: 报价单位ID
  5949. type: integer
  5950. hasquoter:
  5951. description: 是否有报价商 - 0:无报价商 1:有报价商
  5952. type: integer
  5953. hqprotecttime:
  5954. description: 行情保护时间(秒)
  5955. type: integer
  5956. innerdealmode:
  5957. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. isbuylimited:
  5960. description: 是否限制建仓量 - 0:不限制 1:限制
  5961. type: integer
  5962. isvisible:
  5963. description: 游客是否可见 - 0:不可见 1:可见
  5964. type: integer
  5965. lasttradedate:
  5966. description: 最后交易日期(状态:待退市)
  5967. type: string
  5968. listingdate:
  5969. description: 交易开始日期
  5970. type: string
  5971. marketid:
  5972. description: 所属市场ID
  5973. type: integer
  5974. modifierid:
  5975. description: 修改人
  5976. type: integer
  5977. modifystatus:
  5978. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5979. type: integer
  5980. modifytime:
  5981. description: 修改时间
  5982. type: string
  5983. outerdealmode:
  5984. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5985. type: integer
  5986. outgoodscode:
  5987. description: 商品代码(外部)
  5988. type: string
  5989. pictureurl:
  5990. description: 商品图片
  5991. type: string
  5992. qtydecimalplace:
  5993. description: 成交量小数位
  5994. type: integer
  5995. quotegear:
  5996. description: 行情档位(1-10)
  5997. type: integer
  5998. quoteminunit:
  5999. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6000. type: integer
  6001. quoteshowtype:
  6002. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6003. type: integer
  6004. quoteshowtypeinterval:
  6005. description: 行情报价间隔时间(秒)(成交价时为0)
  6006. type: integer
  6007. relatedgoodsid:
  6008. description: 关联参考商品ID
  6009. type: integer
  6010. remark:
  6011. description: 备注
  6012. type: string
  6013. trademode:
  6014. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6015. 21:竞拍-大宗式 22:受托竞价
  6016. type: integer
  6017. required:
  6018. - goodscode
  6019. - goodsid
  6020. - goodsname
  6021. - marketid
  6022. type: object
  6023. models.ErmcpGoodsBrand:
  6024. properties:
  6025. areauserid:
  6026. description: 所属机构
  6027. type: integer
  6028. brandid:
  6029. description: BrandID(SEQ_SPOTGOODSBRAND)
  6030. type: integer
  6031. brandname:
  6032. description: 品牌名称
  6033. type: string
  6034. createtime:
  6035. description: 创建时间
  6036. type: string
  6037. creatorid:
  6038. description: 创建人
  6039. type: integer
  6040. creatorsrc:
  6041. description: 创建人来源 - 1:管理端 2:终端
  6042. type: integer
  6043. deliverygoodsid:
  6044. description: 现货品种ID
  6045. type: integer
  6046. isvalid:
  6047. description: 是否有效 - 0:无效 1:有效
  6048. type: integer
  6049. updatetime:
  6050. description: 更新时间
  6051. type: string
  6052. updatorid:
  6053. description: 更新人
  6054. type: integer
  6055. updatorsrc:
  6056. description: 更新人来源 - 1:管理端 2:终端
  6057. type: integer
  6058. wrstandardid:
  6059. description: 现货商品ID
  6060. type: integer
  6061. type: object
  6062. models.ErmcpGoodsModel:
  6063. properties:
  6064. areauserid:
  6065. description: 所属机构
  6066. type: integer
  6067. convertfactor:
  6068. description: 标仓系数
  6069. type: number
  6070. createtime:
  6071. description: 创建时间
  6072. type: string
  6073. creatorid:
  6074. description: 创建人
  6075. type: integer
  6076. creatorsrc:
  6077. description: 创建人来源 - 1:管理端 2:终端
  6078. type: integer
  6079. deliverygoodsid:
  6080. description: 现货品种ID
  6081. type: integer
  6082. isvalid:
  6083. description: 是否有效 - 0:无效 1:有效
  6084. type: integer
  6085. modelid:
  6086. description: ModelID(SEQ_SPOTGOODSMODEL)
  6087. type: integer
  6088. modelname:
  6089. description: 型号名称
  6090. type: string
  6091. updatetime:
  6092. description: 更新时间
  6093. type: string
  6094. updatorid:
  6095. description: 更新人
  6096. type: integer
  6097. updatorsrc:
  6098. description: 更新人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. wrstandardid:
  6101. description: 现货商品ID
  6102. type: integer
  6103. type: object
  6104. models.ErmcpHedgePosition:
  6105. properties:
  6106. accountid:
  6107. description: 资金账号[外部母账户]
  6108. type: integer
  6109. curbuyposition:
  6110. description: 期末买头寸
  6111. type: integer
  6112. cursellposition:
  6113. description: 期末卖头寸
  6114. type: integer
  6115. curtdbuyposition:
  6116. description: 期末今日买头寸
  6117. type: integer
  6118. curtdsellposition:
  6119. description: 期末今日卖头寸
  6120. type: integer
  6121. curydbuyposition:
  6122. description: 期末上日买头寸
  6123. type: integer
  6124. curydsellposition:
  6125. description: 期末上日卖头寸
  6126. type: integer
  6127. decreaseqty:
  6128. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6129. type: integer
  6130. fretdbuyposition:
  6131. description: 冻结今日买头寸
  6132. type: integer
  6133. fretdsellposition:
  6134. description: 冻结今日卖头寸
  6135. type: integer
  6136. freydbuyposition:
  6137. description: 冻结上日买头寸
  6138. type: integer
  6139. freydsellposition:
  6140. description: 冻结上日卖头寸
  6141. type: integer
  6142. goodscode:
  6143. description: 商品代码
  6144. type: string
  6145. goodsid:
  6146. description: 商品id
  6147. type: integer
  6148. goodsname:
  6149. description: 商品名称
  6150. type: string
  6151. hedgeaccountcode:
  6152. description: 对冲账号
  6153. type: string
  6154. hedgegoodsid:
  6155. description: 对冲合约ID
  6156. type: integer
  6157. increaseqty:
  6158. description: 增加数量 = 期末买头寸 - 期初买头寸
  6159. type: integer
  6160. marketid:
  6161. description: 市场ID
  6162. type: integer
  6163. relateduserid:
  6164. description: 关联用户id
  6165. type: integer
  6166. totalcurqty:
  6167. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6168. type: integer
  6169. totalydqty:
  6170. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6171. type: integer
  6172. tradedate:
  6173. description: 交易日(yyyyMMdd)
  6174. type: string
  6175. ydbuyposition:
  6176. description: 期初买头寸
  6177. type: integer
  6178. ydsellposition:
  6179. description: 期初卖头寸
  6180. type: integer
  6181. type: object
  6182. models.ErmcpHedgePositionDetail:
  6183. properties:
  6184. buyorsell:
  6185. description: 买卖方向 0-买 1-卖
  6186. type: integer
  6187. channelbuildtype:
  6188. description: 开平方向 1-建仓 2-平仓
  6189. type: integer
  6190. goodscode:
  6191. description: 商品代码
  6192. type: string
  6193. goodsname:
  6194. description: 商品名称
  6195. type: string
  6196. hedgegoodsid:
  6197. description: 商品id
  6198. type: integer
  6199. tradeqty:
  6200. description: 数量(成交数量)
  6201. type: integer
  6202. tradetime:
  6203. description: 时间(成交时间)
  6204. type: string
  6205. type: object
  6206. models.ErmcpHisExposure:
  6207. properties:
  6208. needhedgeexposoure:
  6209. description: 应套保敞口
  6210. type: number
  6211. reckondate:
  6212. description: 日照时期(yyyyMMdd)
  6213. type: string
  6214. totalexposure:
  6215. description: 总敞口
  6216. type: number
  6217. type: object
  6218. models.ErmcpHisExposureS:
  6219. properties:
  6220. data:
  6221. description: 历史敞口
  6222. items:
  6223. $ref: '#/definitions/models.ErmcpHisExposure'
  6224. type: array
  6225. enumdicname:
  6226. description: 单位名称
  6227. type: string
  6228. middlegoodscode:
  6229. description: 套保品种代码
  6230. type: string
  6231. middlegoodsid:
  6232. description: 套保品种ID
  6233. type: integer
  6234. middlegoodsname:
  6235. description: 套保品种名称
  6236. type: string
  6237. type: object
  6238. models.ErmcpLoginTaAccount:
  6239. properties:
  6240. accountid:
  6241. description: 账号id
  6242. type: integer
  6243. accountname:
  6244. description: 账号名称
  6245. type: string
  6246. type: object
  6247. models.ErmcpLoginUser:
  6248. properties:
  6249. acclist:
  6250. description: 关联资金账号
  6251. items:
  6252. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6253. type: array
  6254. accountname:
  6255. description: 用户名称
  6256. type: string
  6257. clientroleid:
  6258. description: 角色id(usertype=2)
  6259. type: integer
  6260. createtime:
  6261. description: 创建时间
  6262. type: string
  6263. logincode:
  6264. description: 登录代码
  6265. type: string
  6266. loginid:
  6267. description: 登录id(LOGINID)
  6268. type: integer
  6269. loginname:
  6270. description: 登录名称(loginaccount表中的accountname字段)
  6271. type: string
  6272. loginstatus:
  6273. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6274. type: integer
  6275. memberuserid:
  6276. description: 所属会员id
  6277. type: integer
  6278. mobile:
  6279. description: 手机号
  6280. type: string
  6281. modifytime:
  6282. description: 修改时间
  6283. type: string
  6284. password:
  6285. description: 密码(不可解密)
  6286. type: string
  6287. rolename:
  6288. description: 角色名称
  6289. type: string
  6290. rolestatus:
  6291. description: 角色状态 1-启用 2-停用
  6292. type: integer
  6293. roletype:
  6294. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6295. type: string
  6296. userid:
  6297. description: 用户id
  6298. type: integer
  6299. usertype:
  6300. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6301. type: integer
  6302. type: object
  6303. models.ErmcpLoginUserEx:
  6304. properties:
  6305. accountstatus:
  6306. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6307. type: integer
  6308. mobile:
  6309. description: 手机号
  6310. type: string
  6311. querytype:
  6312. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6313. type: integer
  6314. roleid:
  6315. description: 角色id(交易账户->用户id)
  6316. type: integer
  6317. rolename:
  6318. description: 角色名称(交易账户->用户名称)
  6319. type: string
  6320. userlist:
  6321. description: 用户列表
  6322. items:
  6323. $ref: '#/definitions/models.ErmcpLoginUser'
  6324. type: array
  6325. usertype:
  6326. description: 用户类型 2-机构 7-企业成员(云平台)
  6327. type: integer
  6328. type: object
  6329. models.ErmcpMiddleGoodsChangeLog:
  6330. properties:
  6331. aftervalue:
  6332. description: 变更后
  6333. type: number
  6334. applyid:
  6335. description: 操作人
  6336. type: integer
  6337. applyname:
  6338. description: 操作人名称
  6339. type: string
  6340. applysrc:
  6341. description: 操作来源 - 1:管理端 2:终端
  6342. type: integer
  6343. beforevalue:
  6344. description: 变更前
  6345. type: number
  6346. changelogtype:
  6347. description: 变更流水类型 - 1:套保比率变更
  6348. type: integer
  6349. handlestatus:
  6350. description: 处理状态
  6351. type: integer
  6352. logdatetime:
  6353. description: 流水日期
  6354. type: string
  6355. logid:
  6356. description: 流水ID
  6357. type: integer
  6358. logremark:
  6359. description: 流水备注
  6360. type: string
  6361. middlegoodsid:
  6362. description: 套保品种ID
  6363. type: integer
  6364. tradedate:
  6365. description: 交易日(yyyyMMdd)
  6366. type: string
  6367. updatetime:
  6368. description: 更新时间
  6369. type: string
  6370. type: object
  6371. models.ErmcpMiddleGoodsDetail:
  6372. properties:
  6373. cvList:
  6374. description: 期货品种折算列表
  6375. items:
  6376. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6377. type: array
  6378. mg:
  6379. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6380. description: 套保品种基本信息
  6381. type: object
  6382. wrcList:
  6383. description: 现货品种列表(现货商品折算配置)
  6384. items:
  6385. $ref: '#/definitions/models.WRSConverTDetail'
  6386. type: array
  6387. type: object
  6388. models.ErmcpMiddleGoodsModel:
  6389. properties:
  6390. areauserid:
  6391. description: 机构用户ID
  6392. type: integer
  6393. createtime:
  6394. description: 修改时间
  6395. type: string
  6396. enumdicname:
  6397. description: 单位名称
  6398. type: string
  6399. evaluateratio:
  6400. description: 估价系数
  6401. type: number
  6402. goodsgroupid:
  6403. description: 关联期货品种ID
  6404. type: integer
  6405. goodsunitid:
  6406. description: 单位ID
  6407. type: integer
  6408. isvalid:
  6409. description: 状态 0-无效(停用) 1-有效(正常)
  6410. type: integer
  6411. middlegoodscode:
  6412. description: 套保品种代码
  6413. type: string
  6414. middlegoodsid:
  6415. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6416. type: integer
  6417. middlegoodsname:
  6418. description: 套保品种名称
  6419. type: string
  6420. modifytime:
  6421. description: 修改时间
  6422. type: string
  6423. needarbitrageratio:
  6424. description: 套利比例
  6425. type: number
  6426. needhedgeratio:
  6427. description: 套保比率
  6428. type: number
  6429. qtydecimalplace:
  6430. description: 数量小数位
  6431. type: integer
  6432. relatedgoodsid:
  6433. description: 关联交易商品ID
  6434. type: integer
  6435. relatedgoodstype:
  6436. description: 关联商品类型 - 1:期货合约 2:现货品种
  6437. type: integer
  6438. remark:
  6439. description: 备注
  6440. type: string
  6441. type: object
  6442. models.ErmcpMiddlegoodsRelateGoods:
  6443. properties:
  6444. agreeunit:
  6445. description: 合约乘数
  6446. type: number
  6447. convertratio:
  6448. description: 折算系数
  6449. type: number
  6450. enumdicname:
  6451. description: 单位名称(交易商品)
  6452. type: string
  6453. goodscode:
  6454. description: 交易商品代码
  6455. type: string
  6456. goodsgroupid:
  6457. description: 交易品种id
  6458. type: integer
  6459. goodsid:
  6460. description: 商品Id
  6461. type: integer
  6462. goodsname:
  6463. description: 交易商品名称
  6464. type: string
  6465. goodunitid:
  6466. description: 交易商品单位id
  6467. type: integer
  6468. middlegoodsid:
  6469. description: 套保商品id
  6470. type: integer
  6471. middlegoodsname:
  6472. description: 套保商品名称
  6473. type: string
  6474. middlegoodsswcode:
  6475. description: 套保商品代码
  6476. type: string
  6477. needarbitrageratio:
  6478. description: 应套利比例
  6479. type: number
  6480. needhedgeratio:
  6481. description: 应套保比例
  6482. type: number
  6483. type: object
  6484. models.ErmcpOPLogModel:
  6485. properties:
  6486. aftervalue:
  6487. description: 变更后
  6488. type: number
  6489. applyid:
  6490. description: 操作人ID
  6491. type: string
  6492. applyname:
  6493. description: 操作人名称
  6494. type: string
  6495. beforevalue:
  6496. description: 变更前
  6497. type: number
  6498. biztype:
  6499. description: 业务类型 - 1:套保计划 2:现货合同
  6500. type: integer
  6501. contracttype:
  6502. description: 现货合同类型 - 1:采购 -1:销售
  6503. type: integer
  6504. logvalue:
  6505. description: 数值
  6506. type: number
  6507. operatelogtype:
  6508. description: 操作流水类型
  6509. type: integer
  6510. operatelogtypedesc:
  6511. description: 操作流水类型名称
  6512. type: string
  6513. relatedid:
  6514. description: 现货合同ID\套保计划
  6515. type: string
  6516. updatetime:
  6517. description: 更新时间
  6518. type: string
  6519. type: object
  6520. models.ErmcpPendingAudit:
  6521. properties:
  6522. areastockqty:
  6523. description: '待审核数量: 库存申请'
  6524. type: integer
  6525. businessdjqty:
  6526. description: '待审核数量: 点价'
  6527. type: integer
  6528. businessfpqty:
  6529. description: '待审核数量: 发票'
  6530. type: integer
  6531. businessjsqty:
  6532. description: '待审核数量: 结算'
  6533. type: integer
  6534. businesskxqty:
  6535. description: '待审核数量: 款项'
  6536. type: integer
  6537. hedgeplanqty:
  6538. description: '待审核数量: 套保计划'
  6539. type: integer
  6540. spotcontractqty:
  6541. description: '待审核数量: 现货合同'
  6542. type: integer
  6543. userqty:
  6544. description: '待审核数量: 用户'
  6545. type: integer
  6546. type: object
  6547. models.ErmcpRealExposureModel:
  6548. properties:
  6549. AreaUserID:
  6550. description: 所属机构
  6551. type: integer
  6552. BuyFutureQty:
  6553. description: 买入期货数量
  6554. type: number
  6555. BuyPlanQty:
  6556. description: 采购计划数量
  6557. type: number
  6558. BuyPricedQty:
  6559. description: 采购合同已定价数量
  6560. type: number
  6561. MiddleGoodsCode:
  6562. description: 套保品种代码
  6563. type: string
  6564. MiddleGoodsHedgeRatio:
  6565. description: 套保比例
  6566. type: number
  6567. MiddleGoodsID:
  6568. description: 套保品种
  6569. type: integer
  6570. MiddleGoodsName:
  6571. description: 套保品种名称
  6572. type: string
  6573. NeedHedgeExposoure:
  6574. description: 应套保敞口(套保敞口)
  6575. type: number
  6576. NeedHedgeRatio:
  6577. description: 应套保敞口比例
  6578. type: number
  6579. OriBuyFutureQty:
  6580. description: 期初买入期货数量
  6581. type: number
  6582. OriBuyPlanQty:
  6583. description: 期初采购计划数量
  6584. type: number
  6585. OriBuyPricedQty:
  6586. description: 期初采购合同已定价数量
  6587. type: number
  6588. OriSellFutureQty:
  6589. description: 期初卖出期货数量
  6590. type: number
  6591. OriSellPlanQty:
  6592. description: 期初销售计划数量
  6593. type: number
  6594. OriSellPricedQty:
  6595. description: 期初销售合同已定价数量
  6596. type: number
  6597. SellFutureQty:
  6598. description: 卖出期货数量
  6599. type: number
  6600. SellPlanQty:
  6601. description: 销售计划数量
  6602. type: number
  6603. SellPricedQty:
  6604. description: 销售合同已定价数量
  6605. type: number
  6606. TotalExposure:
  6607. description: 总敞口
  6608. type: number
  6609. TotalFutureQty:
  6610. description: 期货总量
  6611. type: number
  6612. TotalHedgeRatio:
  6613. description: 敞口比例
  6614. type: number
  6615. TotalNeedHedgeQty:
  6616. description: 应套保总量(现货应套保总量)
  6617. type: number
  6618. TotalSpotQty:
  6619. description: 现货总量
  6620. type: number
  6621. arbitrageqty:
  6622. description: 套利量
  6623. type: number
  6624. diffArbitrageQty:
  6625. description: 套利变动量
  6626. type: number
  6627. diffExposoureQty:
  6628. description: 变动量(套保敞口)
  6629. type: number
  6630. diffFutuQty:
  6631. description: 变动量(期货总量)
  6632. type: number
  6633. diffHedgeQty:
  6634. description: 套保变动量
  6635. type: number
  6636. diffQty:
  6637. description: 变动量(总敞口)
  6638. type: number
  6639. diffSpotHedgeQty:
  6640. description: 变动量(现货应套保总量)
  6641. type: number
  6642. diffSpotQty:
  6643. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6644. type: number
  6645. enumdicname:
  6646. description: 单位名称
  6647. type: string
  6648. hedgeqty:
  6649. description: 套保量
  6650. type: number
  6651. needarbitrageqty:
  6652. description: 应套利量
  6653. type: number
  6654. needarbitrageratio:
  6655. description: 套利比例
  6656. type: number
  6657. needhedgeqty:
  6658. description: 应套保量
  6659. type: number
  6660. oriTotalFutuQty:
  6661. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6662. type: number
  6663. oriTotalSpotQty:
  6664. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6665. type: number
  6666. oriarbitrageqty:
  6667. description: 期初套利量
  6668. type: number
  6669. orihedgeqty:
  6670. description: 期初套保量
  6671. type: number
  6672. orineedhedgeexposoure:
  6673. description: 期初套保敞口
  6674. type: number
  6675. oritotalexposure:
  6676. description: 期初总敞口
  6677. type: number
  6678. oritotalfutureqty:
  6679. description: 期初期货总量
  6680. type: number
  6681. oritotalneedhedgeqty:
  6682. description: 期初现货应套保量
  6683. type: number
  6684. type: object
  6685. models.ErmcpRole:
  6686. properties:
  6687. areauserid:
  6688. description: 所属机构
  6689. type: integer
  6690. autoid:
  6691. description: 角色ID(自增ID)
  6692. type: integer
  6693. modifierid:
  6694. description: 修改人(创建人)
  6695. type: integer
  6696. modifiername:
  6697. description: 修改人名称
  6698. type: string
  6699. modifytime:
  6700. description: 修改时间(创建时间)
  6701. type: string
  6702. rolename:
  6703. description: 角色名称
  6704. type: string
  6705. rolestatus:
  6706. description: 角色状态 - 1:启用 2:停用
  6707. type: integer
  6708. roletype:
  6709. description: 角色类型 - 1- 管理端 2- 交易端
  6710. type: integer
  6711. type: object
  6712. models.ErmcpRoleMenu:
  6713. properties:
  6714. iconame:
  6715. description: 菜单图标
  6716. type: string
  6717. ishadrole:
  6718. description: 是否有权限
  6719. type: boolean
  6720. menutype:
  6721. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6722. type: integer
  6723. parentcode:
  6724. description: 上级资源代码
  6725. type: string
  6726. remark:
  6727. description: 菜单备注
  6728. type: string
  6729. resourcecode:
  6730. description: 菜单代码
  6731. type: string
  6732. resourcelevel:
  6733. description: 级别
  6734. type: integer
  6735. resourcename:
  6736. description: 菜单名称
  6737. type: string
  6738. roleid:
  6739. description: 角色id
  6740. type: integer
  6741. sort:
  6742. description: 排序
  6743. type: integer
  6744. url:
  6745. description: URL
  6746. type: string
  6747. userid:
  6748. description: 用户id
  6749. type: integer
  6750. type: object
  6751. models.ErmcpRoleMenuEx:
  6752. properties:
  6753. menu:
  6754. $ref: '#/definitions/models.ErmcpRoleMenu'
  6755. description: 父级菜单
  6756. type: object
  6757. subMenu:
  6758. description: 子级菜单
  6759. items:
  6760. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6761. type: array
  6762. type: object
  6763. models.ErmcpTaAccount:
  6764. properties:
  6765. accountid:
  6766. description: 账户id
  6767. type: integer
  6768. accountname:
  6769. description: 账户名称
  6770. type: string
  6771. currencyid:
  6772. description: 币种id
  6773. type: integer
  6774. hedgeaccountcode:
  6775. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6776. type: string
  6777. ismain:
  6778. description: 是否主账户 0-否 1-是
  6779. type: integer
  6780. parentaccountid:
  6781. description: 父账户id
  6782. type: integer
  6783. relateduserid:
  6784. description: 关联userid
  6785. type: integer
  6786. tradefeetmpid:
  6787. description: 手续费模板id
  6788. type: integer
  6789. tradefeetmpname:
  6790. description: 手续费模板名称
  6791. type: string
  6792. trademargintmpid:
  6793. description: 保证金模板id
  6794. type: integer
  6795. trademargintmpname:
  6796. description: 保证金模板名称
  6797. type: string
  6798. traderatetmpid:
  6799. description: 汇率模板id
  6800. type: integer
  6801. traderatetmpname:
  6802. description: 汇率模板名称
  6803. type: string
  6804. tradestatus:
  6805. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6806. type: integer
  6807. userid:
  6808. description: 用户id
  6809. type: integer
  6810. type: object
  6811. models.ErmcpTaAccountEx:
  6812. properties:
  6813. mainAcc:
  6814. $ref: '#/definitions/models.ErmcpTaAccountM'
  6815. description: 主账号
  6816. type: object
  6817. subacclist:
  6818. description: 子账号列表
  6819. items:
  6820. $ref: '#/definitions/models.ErmcpTaAccount'
  6821. type: array
  6822. type: object
  6823. models.ErmcpTaAccountInfo:
  6824. properties:
  6825. accountid:
  6826. description: 资金账户ID
  6827. type: integer
  6828. accountname:
  6829. description: 账户名称
  6830. type: string
  6831. balance:
  6832. description: 期初余额
  6833. type: number
  6834. capitalbalance:
  6835. description: 本金余额[外部子账户实际出入金余额]
  6836. type: number
  6837. closepl:
  6838. description: 今日平仓盈亏
  6839. type: number
  6840. creditdecrease:
  6841. description: 今日授信减少
  6842. type: number
  6843. creditincrease:
  6844. description: 今日授信增加
  6845. type: number
  6846. curdebt:
  6847. description: 期末欠款
  6848. type: number
  6849. currencyid:
  6850. description: 货币ID
  6851. type: integer
  6852. currentbalance:
  6853. description: 期末余额
  6854. type: number
  6855. freezecharge:
  6856. description: 手续费冻结
  6857. type: number
  6858. freezemargin:
  6859. description: 冻结保证金
  6860. type: number
  6861. fromaccountid:
  6862. description: 所属上级账户
  6863. type: integer
  6864. inamount:
  6865. description: 今日入金金额(包括三方入金)
  6866. type: number
  6867. ismain:
  6868. description: 是否母账号 0:不是母账户 1:是母账户
  6869. type: integer
  6870. mortgagecredit:
  6871. description: 授信金额
  6872. type: number
  6873. oridebt:
  6874. description: 期初欠款
  6875. type: number
  6876. orifreezecharge:
  6877. description: 期初手续费冻结
  6878. type: number
  6879. orifreezemargin:
  6880. description: 期初冻结保证金
  6881. type: number
  6882. orimortgagecredit:
  6883. description: 期初授信金额
  6884. type: number
  6885. oriothercredit:
  6886. description: 期初其它授信金额
  6887. type: number
  6888. oriotherfreezemargin:
  6889. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6890. type: number
  6891. orioutamountfreeze:
  6892. description: 期初出金冻结
  6893. type: number
  6894. oriusedmargin:
  6895. description: 期初占用保证金
  6896. type: number
  6897. othercredit:
  6898. description: 其它授信金额
  6899. type: number
  6900. othercreditdecrease:
  6901. description: 今日其它授信减少
  6902. type: number
  6903. othercreditincrease:
  6904. description: 今日其它授信增加
  6905. type: number
  6906. otherfreezemargin:
  6907. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6908. type: number
  6909. outamount:
  6910. description: 今日出金金额(包括三方出金)
  6911. type: number
  6912. outamountfreeze:
  6913. description: 出金冻结
  6914. type: number
  6915. outthreshold:
  6916. description: 出金阈值
  6917. type: number
  6918. parentaccountid:
  6919. description: 所属根账号
  6920. type: integer
  6921. paycharge:
  6922. description: 今日手续费支出
  6923. type: number
  6924. relateduserid:
  6925. description: 关联用户
  6926. type: integer
  6927. signstatus:
  6928. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6929. type: integer
  6930. sublevelpath:
  6931. description: 账号层级路径(逗号分隔,首尾加逗号)
  6932. type: string
  6933. taaccounttype:
  6934. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6935. type: integer
  6936. thirdinamount:
  6937. description: 今日三方入金
  6938. type: number
  6939. thirdoutamount:
  6940. description: 今日三方出金
  6941. type: number
  6942. tradestatus:
  6943. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6944. type: integer
  6945. transferamount:
  6946. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6947. type: number
  6948. usedmargin:
  6949. description: 占用保证金
  6950. type: number
  6951. userid:
  6952. description: 用户ID
  6953. type: integer
  6954. type: object
  6955. models.ErmcpTaAccountM:
  6956. properties:
  6957. accountid:
  6958. description: 账户id
  6959. type: integer
  6960. accountname:
  6961. description: 账户名称
  6962. type: string
  6963. currencyid:
  6964. description: 币种id
  6965. type: integer
  6966. fcid:
  6967. description: 期货公司id
  6968. type: integer
  6969. fcname:
  6970. description: 期货公司代码
  6971. type: string
  6972. hedgeaccountcode:
  6973. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6974. type: string
  6975. ismain:
  6976. description: 是否主账户 0-否 1-是
  6977. type: integer
  6978. parentaccountid:
  6979. description: 父账户id
  6980. type: integer
  6981. relateduserid:
  6982. description: 关联userid
  6983. type: integer
  6984. tradefeetmpid:
  6985. description: 手续费模板id
  6986. type: integer
  6987. tradefeetmpname:
  6988. description: 手续费模板名称
  6989. type: string
  6990. trademargintmpid:
  6991. description: 保证金模板id
  6992. type: integer
  6993. trademargintmpname:
  6994. description: 保证金模板名称
  6995. type: string
  6996. traderatetmpid:
  6997. description: 汇率模板id
  6998. type: integer
  6999. traderatetmpname:
  7000. description: 汇率模板名称
  7001. type: string
  7002. tradestatus:
  7003. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7004. type: integer
  7005. userid:
  7006. description: 用户id
  7007. type: integer
  7008. type: object
  7009. models.ErmcpTradeConfigTMP:
  7010. properties:
  7011. areauserid:
  7012. description: 所属机构
  7013. type: integer
  7014. basiccurrencyid:
  7015. description: 基本币种ID[汇率] - 目标币种
  7016. type: integer
  7017. mainaccountid:
  7018. description: 主账户ID
  7019. type: integer
  7020. modifierid:
  7021. description: 修改人
  7022. type: integer
  7023. remark:
  7024. description: 备注
  7025. type: string
  7026. tradeconfigtmpid:
  7027. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7028. type: integer
  7029. tradeconfigtmpname:
  7030. description: 交易配置模板名称
  7031. type: string
  7032. tradeconfigtmptype:
  7033. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7034. type: integer
  7035. updatetime:
  7036. description: 更新时间
  7037. type: string
  7038. type: object
  7039. models.ErmcpUserModel:
  7040. properties:
  7041. address:
  7042. description: 通讯地址
  7043. type: string
  7044. attachment1:
  7045. description: 附件1
  7046. type: string
  7047. audittime:
  7048. description: 审核时间
  7049. type: string
  7050. cardbackphotourl:
  7051. description: 证件反面图片地址
  7052. type: string
  7053. cardfrontphotourl:
  7054. description: 证件正面图片地址
  7055. type: string
  7056. cardnum:
  7057. description: 证件号码
  7058. type: string
  7059. cardtype:
  7060. description: 证件类型
  7061. type: integer
  7062. cardtypename:
  7063. description: 证件类型名称
  7064. type: string
  7065. cityid:
  7066. description: 市
  7067. type: integer
  7068. contactname:
  7069. description: 联系人
  7070. type: string
  7071. countryid:
  7072. description: 国家
  7073. type: integer
  7074. createtime:
  7075. description: 创建时间
  7076. type: string
  7077. customername:
  7078. description: 企业名称
  7079. type: string
  7080. districtid:
  7081. description: 区域
  7082. type: integer
  7083. email:
  7084. description: 邮件
  7085. type: string
  7086. legalpersonname:
  7087. description: 法人姓名(企业)
  7088. type: string
  7089. memberuserid:
  7090. description: 所属机构ID
  7091. type: integer
  7092. mobile:
  7093. description: 手机号码
  7094. type: string
  7095. modifytime:
  7096. description: 修改时间
  7097. type: string
  7098. nickname:
  7099. description: 昵称
  7100. type: string
  7101. provinceid:
  7102. description: 省
  7103. type: integer
  7104. remark:
  7105. description: 备注
  7106. type: string
  7107. status:
  7108. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7109. type: integer
  7110. statusdesc:
  7111. description: 账户状态中文描述
  7112. type: string
  7113. taxpayernum:
  7114. description: 纳税人识别号
  7115. type: string
  7116. telphone:
  7117. description: 联系电话
  7118. type: string
  7119. userid:
  7120. description: 用户ID
  7121. type: integer
  7122. userinfotype:
  7123. description: 客户类型
  7124. type: string
  7125. type: object
  7126. models.ErmcpWareHouseInfo:
  7127. properties:
  7128. address:
  7129. description: 详细地址
  7130. type: string
  7131. areauserid:
  7132. description: 所属机构
  7133. type: integer
  7134. autoid:
  7135. description: 自增ID(仓库ID)
  7136. type: integer
  7137. cityid:
  7138. description: 市
  7139. type: integer
  7140. contactname:
  7141. description: 联系人
  7142. type: string
  7143. contactnum:
  7144. description: 联系电话
  7145. type: string
  7146. countryid:
  7147. description: 国家
  7148. type: integer
  7149. createtime:
  7150. description: 创建时间
  7151. type: string
  7152. districtid:
  7153. description: 区
  7154. type: integer
  7155. hasvideo:
  7156. description: 是否有视频 - 0:无 1:有
  7157. type: integer
  7158. provinceid:
  7159. description: 省
  7160. type: integer
  7161. remark:
  7162. description: 审核备注
  7163. type: string
  7164. videourl:
  7165. description: 视频地址
  7166. type: string
  7167. warehousecode:
  7168. description: 仓库代码
  7169. type: string
  7170. warehousename:
  7171. description: 仓库名称
  7172. type: string
  7173. warehousestatus:
  7174. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7175. type: integer
  7176. warehousetype:
  7177. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7178. type: integer
  7179. type: object
  7180. models.Externalexchange:
  7181. properties:
  7182. autoid:
  7183. description: AutoID - SEQ_EXTERNALEXCHANGE
  7184. type: integer
  7185. exchangefullname:
  7186. description: 外部交易所全称
  7187. type: string
  7188. exexchangecode:
  7189. description: 外部交易所代码
  7190. type: string
  7191. exexchangename:
  7192. description: 外部交易所名称(简称)
  7193. type: string
  7194. ismarketprice:
  7195. description: 是否支持市价 - 0:不支持 1:支持
  7196. type: integer
  7197. quotegear:
  7198. description: 行情档位(1-10)
  7199. type: integer
  7200. showbrokerflag:
  7201. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7202. type: integer
  7203. updatetime:
  7204. description: 更新时间
  7205. type: string
  7206. required:
  7207. - autoid
  7208. type: object
  7209. models.Funcmenulist:
  7210. properties:
  7211. iconame:
  7212. description: 菜单图标
  7213. type: string
  7214. menutype:
  7215. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7216. type: integer
  7217. parentcode:
  7218. description: 上级资源代码
  7219. type: string
  7220. remark:
  7221. description: 备注
  7222. type: string
  7223. resourcecode:
  7224. description: 资源代码
  7225. type: string
  7226. resourcelevel:
  7227. description: 级别 1-一级 2-二级 3-三级 4-四级
  7228. type: integer
  7229. resourcename:
  7230. description: 资源名
  7231. type: string
  7232. sort:
  7233. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7234. type: integer
  7235. url:
  7236. description: URL
  7237. type: string
  7238. required:
  7239. - resourcecode
  7240. type: object
  7241. models.Goods:
  7242. properties:
  7243. agreeunit:
  7244. description: 合约单位
  7245. type: number
  7246. areauserid:
  7247. description: 所属机构
  7248. type: integer
  7249. auditaccountid:
  7250. description: 审核操作员账号
  7251. type: integer
  7252. audittime:
  7253. description: 审核时间
  7254. type: string
  7255. cancelaccountid:
  7256. description: 注销操作员账号
  7257. type: integer
  7258. canceltime:
  7259. description: 注销时间
  7260. type: string
  7261. closepricemode:
  7262. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7263. type: integer
  7264. closepriceparam:
  7265. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7266. type: number
  7267. createtime:
  7268. description: 创建时间
  7269. type: string
  7270. creatorid:
  7271. description: 创建人
  7272. type: integer
  7273. currencyid:
  7274. description: 报价货币ID
  7275. type: integer
  7276. cutmode:
  7277. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7278. type: integer
  7279. decimalplace:
  7280. description: 报价小数位
  7281. type: integer
  7282. delistingdate:
  7283. description: 商品退市时间(状态:退市) -- 已作废
  7284. type: string
  7285. delistingmode:
  7286. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7287. type: integer
  7288. deliveryflag:
  7289. description: 交割标志 - 0:不可交割 1:可交割
  7290. type: integer
  7291. forceclosemode:
  7292. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7293. type: integer
  7294. forceclosevalue:
  7295. description: 定期强平参数 [收益权]
  7296. type: integer
  7297. goodscode:
  7298. description: 商品代码(内部)
  7299. type: string
  7300. goodscurrencyid:
  7301. description: 合约货币ID
  7302. type: integer
  7303. goodsgroupid:
  7304. description: 所属商品组ID
  7305. type: integer
  7306. goodsid:
  7307. description: 商品ID(自增ID SEQ_GOODS)
  7308. type: integer
  7309. goodsname:
  7310. description: 商品名称
  7311. type: string
  7312. goodsquotetype:
  7313. description: '合约报价类型: 1-直接报价 2-间接报价'
  7314. type: integer
  7315. goodsstatus:
  7316. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7317. type: integer
  7318. goodstradetype:
  7319. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7320. type: integer
  7321. goodunitid:
  7322. description: 报价单位ID
  7323. type: integer
  7324. hasquoter:
  7325. description: 是否有报价商 - 0:无报价商 1:有报价商
  7326. type: integer
  7327. hqprotecttime:
  7328. description: 行情保护时间(秒)
  7329. type: integer
  7330. innerdealmode:
  7331. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7332. type: integer
  7333. isbuylimited:
  7334. description: 是否限制建仓量 - 0:不限制 1:限制
  7335. type: integer
  7336. isvisible:
  7337. description: 游客是否可见 - 0:不可见 1:可见
  7338. type: integer
  7339. lasttradedate:
  7340. description: 最后交易日期(状态:待退市)
  7341. type: string
  7342. listingdate:
  7343. description: 交易开始日期
  7344. type: string
  7345. marketid:
  7346. description: 所属市场ID
  7347. type: integer
  7348. modifierid:
  7349. description: 修改人
  7350. type: integer
  7351. modifystatus:
  7352. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7353. type: integer
  7354. modifytime:
  7355. description: 修改时间
  7356. type: string
  7357. outerdealmode:
  7358. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7359. type: integer
  7360. outgoodscode:
  7361. description: 商品代码(外部)
  7362. type: string
  7363. pictureurl:
  7364. description: 商品图片
  7365. type: string
  7366. qtydecimalplace:
  7367. description: 成交量小数位
  7368. type: integer
  7369. quotegear:
  7370. description: 行情档位(1-10)
  7371. type: integer
  7372. quoteminunit:
  7373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7374. type: integer
  7375. quoteshowtype:
  7376. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7377. type: integer
  7378. quoteshowtypeinterval:
  7379. description: 行情报价间隔时间(秒)(成交价时为0)
  7380. type: integer
  7381. remark:
  7382. description: 备注
  7383. type: string
  7384. required:
  7385. - goodscode
  7386. - goodsid
  7387. - goodsname
  7388. - marketid
  7389. type: object
  7390. models.GoodsIDAndName:
  7391. properties:
  7392. goodscode:
  7393. description: 商品代码(内部)
  7394. type: string
  7395. goodsid:
  7396. description: 商品ID(自增ID SEQ_GOODS)
  7397. type: integer
  7398. goodsname:
  7399. description: 商品名称
  7400. type: string
  7401. marketid:
  7402. description: 所属市场ID
  7403. type: integer
  7404. required:
  7405. - goodscode
  7406. - goodsid
  7407. - goodsname
  7408. - marketid
  7409. type: object
  7410. models.Goodsgroup:
  7411. properties:
  7412. agreeunit:
  7413. description: 合约单位
  7414. type: number
  7415. canshort:
  7416. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7417. type: integer
  7418. closepricemode:
  7419. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7420. type: integer
  7421. closepriceparam:
  7422. description: 强平最新价浮动比例 - 方式为2时使用
  7423. type: number
  7424. createtime:
  7425. description: 创建时间
  7426. type: string
  7427. creatorid:
  7428. description: 创建人
  7429. type: integer
  7430. currencyid:
  7431. description: 报价货币ID
  7432. type: integer
  7433. decimalplace:
  7434. description: 报价小数位
  7435. type: integer
  7436. exercisetype:
  7437. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7438. type: integer
  7439. exexchangeid:
  7440. description: 外部交易所ID[通道交易]
  7441. type: integer
  7442. goodsgroupid:
  7443. description: 商品组ID(自增ID)
  7444. type: integer
  7445. goodsgroupname:
  7446. description: 商品组名称
  7447. type: string
  7448. goodsgroupstatus:
  7449. description: 商品组状态 - 1:正常 2:注销
  7450. type: integer
  7451. goodunitid:
  7452. description: 报价单位ID
  7453. type: integer
  7454. innerdealmode:
  7455. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7456. type: integer
  7457. isbuylimited:
  7458. description: 是否限制建仓量 - 0:不限制 1:限制
  7459. type: integer
  7460. marketid:
  7461. description: 所属市场ID
  7462. type: integer
  7463. modifierid:
  7464. description: 修改人
  7465. type: integer
  7466. modifytime:
  7467. description: 修改时间
  7468. type: string
  7469. outerdealmode:
  7470. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7471. type: integer
  7472. outergroupcode:
  7473. description: 外部商品组代码[通道交易]
  7474. type: string
  7475. premiumdecimalplace:
  7476. description: 权利金小数位[场外期权]
  7477. type: integer
  7478. premiumspreadalgorithm:
  7479. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7480. type: integer
  7481. premiumspreadvalue:
  7482. description: 权利金点差值[场外期权]
  7483. type: number
  7484. qtydecimalplace:
  7485. description: 成交量小数位
  7486. type: integer
  7487. quotegear:
  7488. description: 行情档位(1-10)
  7489. type: integer
  7490. quoteminunit:
  7491. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7492. type: integer
  7493. quoterid:
  7494. description: 报价商ID[场外期权]
  7495. type: integer
  7496. quotesourcegroupid:
  7497. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7498. type: integer
  7499. syncgoodsqty:
  7500. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7501. type: integer
  7502. required:
  7503. - goodsgroupid
  7504. - goodsgroupname
  7505. - goodsgroupstatus
  7506. - marketid
  7507. type: object
  7508. models.Goodssortbypreposition:
  7509. properties:
  7510. goodscode:
  7511. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7512. type: string
  7513. goodsgroupcode:
  7514. description: 品种代码
  7515. type: string
  7516. prepositionqty:
  7517. description: 昨持仓量
  7518. type: integer
  7519. sortindex:
  7520. description: 排序
  7521. type: integer
  7522. tradedate:
  7523. description: 交易日
  7524. type: string
  7525. updatetime:
  7526. description: 更新时间
  7527. type: string
  7528. required:
  7529. - goodscode
  7530. - tradedate
  7531. type: object
  7532. models.Hedgeinnerholderdetail:
  7533. properties:
  7534. accountid:
  7535. description: 账号ID
  7536. type: integer
  7537. buyorsell:
  7538. description: 方向 - 0:买 1:卖
  7539. type: integer
  7540. freezeqty:
  7541. description: 冻结数量 - 按单平使用
  7542. type: integer
  7543. goodsid:
  7544. description: 商品ID
  7545. type: integer
  7546. holderamount:
  7547. description: 持仓金额 [商品币种]
  7548. type: number
  7549. holderdays:
  7550. description: 剩余冻结天数
  7551. type: integer
  7552. holderprice:
  7553. description: 持仓价格
  7554. type: number
  7555. holderqty:
  7556. description: 持仓数量
  7557. type: integer
  7558. marketid:
  7559. description: 市场ID
  7560. type: integer
  7561. openprice:
  7562. description: 建仓价格
  7563. type: number
  7564. openqty:
  7565. description: 建仓数量
  7566. type: integer
  7567. parentaccountid:
  7568. description: 所属母账户
  7569. type: integer
  7570. releaseamount:
  7571. description: 释放持仓金额[商品币种]
  7572. type: number
  7573. tradeamount:
  7574. description: 成交金额[账户]
  7575. type: number
  7576. tradedate:
  7577. description: 交易日(yyyyMMdd)
  7578. type: string
  7579. tradeid:
  7580. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7581. type: string
  7582. tradetime:
  7583. description: 交易时间
  7584. type: string
  7585. required:
  7586. - buyorsell
  7587. - tradeid
  7588. type: object
  7589. models.Hedgemarketopenlog:
  7590. properties:
  7591. accountid:
  7592. description: 资金账号[外部母账户]
  7593. type: integer
  7594. fcname:
  7595. description: 期货公司名称
  7596. type: string
  7597. handlestatus:
  7598. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7599. type: integer
  7600. marketid:
  7601. description: 市场ID
  7602. type: integer
  7603. status:
  7604. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7605. type: integer
  7606. tradedate:
  7607. description: 交易日(yyyyMMdd)
  7608. type: string
  7609. updatetime:
  7610. description: 更新时间
  7611. type: string
  7612. required:
  7613. - accountid
  7614. type: object
  7615. models.HsbyBuyMyPayOrder:
  7616. properties:
  7617. agreeunit:
  7618. description: 合约单位
  7619. type: number
  7620. buyaccountid:
  7621. description: 买方账号ID[报价币种]
  7622. type: integer
  7623. buyorderid:
  7624. description: 买方委托单号
  7625. type: string
  7626. createtime:
  7627. description: 创建时间
  7628. type: string
  7629. currencysign:
  7630. description: 货币符号
  7631. type: string
  7632. decimalplace:
  7633. description: 报价小数位
  7634. type: integer
  7635. goodscode:
  7636. description: 商品代码(内部)
  7637. type: string
  7638. goodsid:
  7639. description: 商品ID
  7640. type: integer
  7641. goodsname:
  7642. description: 商品名称
  7643. type: string
  7644. marketid:
  7645. description: 市场ID
  7646. type: integer
  7647. offamount:
  7648. description: 优惠金额
  7649. type: number
  7650. originalamount:
  7651. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7652. type: number
  7653. payamount:
  7654. description: 支付金额 = TradeAmount + TradeCharge
  7655. type: number
  7656. payflag:
  7657. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7658. type: integer
  7659. paylimitedtime:
  7660. description: 支付期限
  7661. type: string
  7662. paytime:
  7663. description: 付款时间
  7664. type: string
  7665. picurls1:
  7666. description: 预售商品介绍图片[多张用逗号分隔]
  7667. type: string
  7668. picurls2:
  7669. description: 挂牌商品介绍图片[多张用逗号分隔]
  7670. type: string
  7671. sellaccountid:
  7672. description: 卖方账号ID[报价币种]
  7673. type: integer
  7674. sellorderid:
  7675. description: 卖方委托单号
  7676. type: string
  7677. tradeamount:
  7678. description: 成交金额
  7679. type: number
  7680. tradecharge:
  7681. description: 成交手续费(买方)
  7682. type: number
  7683. tradedate:
  7684. description: 交易日(yyyyMMdd)
  7685. type: string
  7686. tradeid:
  7687. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7688. type: string
  7689. trademode:
  7690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7691. 21:竞拍-大宗式 22:受托竞价
  7692. type: integer
  7693. tradeprice:
  7694. description: 成交价格
  7695. type: number
  7696. tradeqty:
  7697. description: 成交数量
  7698. type: integer
  7699. vendorname1:
  7700. description: 预售商品供应商名称
  7701. type: string
  7702. vendorname2:
  7703. description: 挂牌商品供应商名称
  7704. type: string
  7705. required:
  7706. - goodscode
  7707. - goodsname
  7708. - tradeid
  7709. - trademode
  7710. type: object
  7711. models.HsbyBuyMyTradeDetail:
  7712. properties:
  7713. accountid:
  7714. description: 账户ID[报价币种]
  7715. type: integer
  7716. agreeunit:
  7717. description: 合约单位
  7718. type: number
  7719. amount:
  7720. description: 金额 = 价格 * 数量 * 合约单位
  7721. type: number
  7722. buyorsell:
  7723. description: 买卖 - 0:买 1:卖
  7724. type: integer
  7725. currencysign:
  7726. description: 货币符号
  7727. type: string
  7728. decimalplace:
  7729. description: 报价小数位
  7730. type: integer
  7731. goodscode:
  7732. description: 商品代码(内部)
  7733. type: string
  7734. goodsid:
  7735. description: 商品ID
  7736. type: integer
  7737. goodsname:
  7738. description: 商品名称
  7739. type: string
  7740. marketid:
  7741. description: 市场ID
  7742. type: integer
  7743. orderamount:
  7744. description: 委托金额
  7745. type: number
  7746. orderid:
  7747. description: 单号(成交单号)
  7748. type: string
  7749. picurls1:
  7750. description: 预售商品介绍图片[多张用逗号分隔]
  7751. type: string
  7752. picurls2:
  7753. description: 挂牌商品介绍图片[多张用逗号分隔]
  7754. type: string
  7755. price:
  7756. description: 价格
  7757. type: number
  7758. qty:
  7759. description: 数量
  7760. type: integer
  7761. time:
  7762. description: 时间
  7763. type: string
  7764. trademode:
  7765. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7766. 21:竞拍-大宗式 22:受托竞价
  7767. type: integer
  7768. vendorname1:
  7769. description: 预售商品供应商名称
  7770. type: string
  7771. vendorname2:
  7772. description: 挂牌商品供应商名称
  7773. type: string
  7774. required:
  7775. - accountid
  7776. - buyorsell
  7777. - goodscode
  7778. - goodsid
  7779. - goodsname
  7780. - marketid
  7781. - orderid
  7782. - qty
  7783. - time
  7784. - trademode
  7785. type: object
  7786. models.HsbyGoodsOrderDetail:
  7787. properties:
  7788. buyorsell:
  7789. description: 买卖 - 0:买 1:卖
  7790. type: integer
  7791. currencysign:
  7792. description: 货币符号
  7793. type: string
  7794. customername:
  7795. description: 客户名称(企业名称),已脱敏
  7796. type: string
  7797. enableqty:
  7798. description: 可用数量
  7799. type: integer
  7800. goodunit:
  7801. description: 报价单位
  7802. type: string
  7803. orderid:
  7804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7805. type: string
  7806. orderprice:
  7807. description: 委托价格
  7808. type: number
  7809. ordertime:
  7810. description: 委托时间
  7811. type: string
  7812. required:
  7813. - buyorsell
  7814. - orderid
  7815. - ordertime
  7816. type: object
  7817. models.HsbyListingGoodsDetail:
  7818. properties:
  7819. agreeunit:
  7820. description: 合约单位
  7821. type: number
  7822. buymaxqty:
  7823. description: 购买上限 [71] - 0为不限
  7824. type: integer
  7825. currency:
  7826. description: 货币
  7827. type: string
  7828. currencysign:
  7829. description: 货币符号
  7830. type: string
  7831. decimalplace:
  7832. description: 报价小数位
  7833. type: integer
  7834. desccityid:
  7835. description: 目的地(市)ID
  7836. type: integer
  7837. descprovinceid:
  7838. description: 目的地(省)ID
  7839. type: integer
  7840. goodscode:
  7841. description: 商品代码(内部)
  7842. type: string
  7843. goodsdesc:
  7844. description: 商品详情
  7845. type: string
  7846. goodsid:
  7847. description: 商品ID(自增ID SEQ_GOODS)
  7848. type: integer
  7849. goodsname:
  7850. description: 商品名称
  7851. type: string
  7852. goodsprice:
  7853. description: 商品价格
  7854. type: number
  7855. hotindex:
  7856. description: 景点热度
  7857. type: integer
  7858. last:
  7859. description: 现价
  7860. type: number
  7861. limitdown:
  7862. description: 跌停价
  7863. type: number
  7864. limitup:
  7865. description: 涨停价
  7866. type: number
  7867. lotsize:
  7868. description: 手数最小变动单位
  7869. type: integer
  7870. marketid:
  7871. description: 所属市场ID
  7872. type: integer
  7873. picurls:
  7874. description: 介绍图片[多张用逗号分隔]
  7875. type: string
  7876. quoteminunit:
  7877. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7878. type: integer
  7879. stepvalue:
  7880. description: 价格最小变动单位
  7881. type: number
  7882. trademode:
  7883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7884. 21:竞拍-大宗式 22:受托竞价
  7885. type: integer
  7886. vendorattr:
  7887. description: 供应商附件(多张,逗号分隔)
  7888. type: string
  7889. vendorname:
  7890. description: 供应商名称
  7891. type: string
  7892. vendorphone:
  7893. description: 供应商客服电话
  7894. type: string
  7895. videourls:
  7896. description: 介绍视频[多张用逗号分隔]
  7897. type: string
  7898. required:
  7899. - goodscode
  7900. - goodsid
  7901. - goodsname
  7902. - marketid
  7903. - trademode
  7904. type: object
  7905. models.HsbyMarketGoods:
  7906. properties:
  7907. accountid:
  7908. description: 账户ID[报价币种]
  7909. type: integer
  7910. agreeunit:
  7911. description: 合约单位
  7912. type: number
  7913. buyorsell:
  7914. description: 买卖 - 0:买 1:卖
  7915. type: integer
  7916. categoryid:
  7917. description: 类别ID(WRCATEGORY)
  7918. type: integer
  7919. currency:
  7920. description: 货币
  7921. type: string
  7922. currencysign:
  7923. description: 货币符号
  7924. type: string
  7925. customername:
  7926. description: 卖家名称
  7927. type: string
  7928. decimalplace:
  7929. description: 报价小数位
  7930. type: integer
  7931. goodscode:
  7932. description: 商品代码(内部)
  7933. type: string
  7934. goodsid:
  7935. description: 商品ID
  7936. type: integer
  7937. goodsname:
  7938. description: 商品名称
  7939. type: string
  7940. goodsprice:
  7941. description: 商品价格
  7942. type: number
  7943. hascoupon:
  7944. description: 是否可用优惠卷
  7945. type: boolean
  7946. hotindex:
  7947. description: 景点热度
  7948. type: integer
  7949. marketid:
  7950. description: 市场ID
  7951. type: integer
  7952. orderid:
  7953. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7954. type: string
  7955. orderprice:
  7956. description: 委托价格
  7957. type: number
  7958. orderstatus:
  7959. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7960. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7961. 16:成交失败违约(荷兰式竞拍专用)
  7962. type: integer
  7963. picurls:
  7964. description: 介绍图片[多张用逗号分隔]
  7965. type: string
  7966. quoteminunit:
  7967. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7968. type: integer
  7969. sellUserID:
  7970. description: 卖方UserID
  7971. type: integer
  7972. trademode:
  7973. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7974. 21:竞拍-大宗式 22:受托竞价
  7975. type: integer
  7976. videourls:
  7977. description: 介绍视频[多张用逗号分隔]
  7978. type: string
  7979. required:
  7980. - accountid
  7981. - buyorsell
  7982. - goodscode
  7983. - goodsid
  7984. - goodsname
  7985. - marketid
  7986. - orderid
  7987. - trademode
  7988. type: object
  7989. models.HsbyMarketGoodsDetail:
  7990. properties:
  7991. accountid:
  7992. description: 账户ID[报价币种]
  7993. type: integer
  7994. agreeunit:
  7995. description: 合约单位
  7996. type: number
  7997. buymaxqty:
  7998. description: 购买上限 [71] - 0为不限
  7999. type: integer
  8000. buyorsell:
  8001. description: 买卖 - 0:买 1:卖
  8002. type: integer
  8003. cancelqty:
  8004. description: 撤单数量
  8005. type: integer
  8006. categoryid:
  8007. description: 类别ID(WRCATEGORY)
  8008. type: integer
  8009. currency:
  8010. description: 货币
  8011. type: string
  8012. currencysign:
  8013. description: 货币符号
  8014. type: string
  8015. customername:
  8016. description: 卖家名称
  8017. type: string
  8018. decimalplace:
  8019. description: 报价小数位
  8020. type: integer
  8021. goodscode:
  8022. description: 商品代码(内部)
  8023. type: string
  8024. goodsdesc:
  8025. description: 商品详情
  8026. type: string
  8027. goodsid:
  8028. description: 商品ID
  8029. type: integer
  8030. goodsname:
  8031. description: 商品名称
  8032. type: string
  8033. goodsprice:
  8034. description: 商品价格
  8035. type: number
  8036. hotindex:
  8037. description: 景点热度
  8038. type: integer
  8039. lotsize:
  8040. description: 手数最小变动单位
  8041. type: integer
  8042. marketid:
  8043. description: 市场ID
  8044. type: integer
  8045. orderid:
  8046. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8047. type: string
  8048. orderprice:
  8049. description: 委托价格
  8050. type: number
  8051. orderqty:
  8052. description: 委托数量
  8053. type: integer
  8054. orderstatus:
  8055. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8056. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8057. 16:成交失败违约(荷兰式竞拍专用)
  8058. type: integer
  8059. picurls:
  8060. description: 介绍图片[多张用逗号分隔]
  8061. type: string
  8062. quoteminunit:
  8063. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8064. type: integer
  8065. sellUserID:
  8066. description: 卖方UserID
  8067. type: integer
  8068. trademode:
  8069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8070. 21:竞拍-大宗式 22:受托竞价
  8071. type: integer
  8072. tradeqty:
  8073. description: 成交数量
  8074. type: integer
  8075. vendorattr:
  8076. description: 供应商附件(多张,逗号分隔)
  8077. type: string
  8078. vendorname:
  8079. description: 供应商名称
  8080. type: string
  8081. vendorphone:
  8082. description: 供应商客服电话
  8083. type: string
  8084. videourls:
  8085. description: 介绍视频[多张用逗号分隔]
  8086. type: string
  8087. required:
  8088. - accountid
  8089. - buyorsell
  8090. - goodscode
  8091. - goodsid
  8092. - goodsname
  8093. - marketid
  8094. - orderid
  8095. - orderqty
  8096. - trademode
  8097. type: object
  8098. models.HsbyMarketInfo:
  8099. properties:
  8100. marketid:
  8101. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8102. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8103. type: integer
  8104. marketname:
  8105. description: 市场名称
  8106. type: string
  8107. marketstatus:
  8108. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8109. type: integer
  8110. trademode:
  8111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8112. 21:竞拍-大宗式 22:受托竞价
  8113. type: integer
  8114. required:
  8115. - marketid
  8116. - marketstatus
  8117. - trademode
  8118. type: object
  8119. models.HsbyMyGoods:
  8120. properties:
  8121. accountid:
  8122. description: 账号Id
  8123. type: integer
  8124. agreeunit:
  8125. description: 合约单位
  8126. type: number
  8127. buyaverageprice:
  8128. description: 持仓均价
  8129. type: number
  8130. buycurholderamount:
  8131. description: 买当前持仓总金额[商品币种]
  8132. type: number
  8133. buycurpositionqty:
  8134. description: 买当前持仓总数量
  8135. type: integer
  8136. buymaxqty:
  8137. description: 购买上限 [71] - 0为不限
  8138. type: integer
  8139. currencysign:
  8140. description: 货币符号
  8141. type: string
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. enableqty:
  8146. description: 可用数量
  8147. type: integer
  8148. goodscode:
  8149. description: 商品代码(内部)
  8150. type: string
  8151. goodsid:
  8152. description: 商品Id
  8153. type: integer
  8154. goodsname:
  8155. description: 商品名称
  8156. type: string
  8157. goodsprice:
  8158. description: 商品价格
  8159. type: number
  8160. goodsstatus:
  8161. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8162. type: integer
  8163. last:
  8164. description: 现价(仅使用于挂牌点选)
  8165. type: number
  8166. limitdown:
  8167. description: 跌停价(仅使用于挂牌点选)
  8168. type: number
  8169. limitup:
  8170. description: 涨停价(仅使用于挂牌点选)
  8171. type: number
  8172. lotsize:
  8173. description: 手数最小变动单位
  8174. type: integer
  8175. marketid:
  8176. description: 所属市场ID
  8177. type: integer
  8178. picurls:
  8179. description: 介绍图片[多张用逗号分隔]
  8180. type: string
  8181. quoteminunit:
  8182. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8183. type: integer
  8184. stepvalue:
  8185. description: 价格最小变动单位
  8186. type: number
  8187. trademode:
  8188. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8189. 21:竞拍-大宗式 22:受托竞价
  8190. type: integer
  8191. required:
  8192. - accountid
  8193. - goodscode
  8194. - goodsid
  8195. - goodsname
  8196. - marketid
  8197. - trademode
  8198. type: object
  8199. models.HsbyMyPackage:
  8200. properties:
  8201. accountid:
  8202. description: 账户ID
  8203. type: integer
  8204. address:
  8205. description: 提货人详细地址
  8206. type: string
  8207. agreeunit:
  8208. description: 合约单位
  8209. type: number
  8210. amount:
  8211. description: 提货金额
  8212. type: number
  8213. auditer:
  8214. description: 审核人
  8215. type: integer
  8216. audittime:
  8217. description: 审核时间
  8218. type: string
  8219. averageprice:
  8220. description: 均价
  8221. type: number
  8222. cardnum:
  8223. description: 提货人证件号码
  8224. type: string
  8225. cardtypeid:
  8226. description: 提货人证件类型
  8227. type: integer
  8228. checkremark:
  8229. description: 审核备注
  8230. type: string
  8231. currencysign:
  8232. description: 货币符号
  8233. type: string
  8234. decimalplace:
  8235. description: 报价小数位
  8236. type: integer
  8237. goodscode:
  8238. description: 商品代码(内部)
  8239. type: string
  8240. goodsid:
  8241. description: 商品ID
  8242. type: integer
  8243. goodsname:
  8244. description: 商品名称
  8245. type: string
  8246. handlestatus:
  8247. description: 处理状态
  8248. type: integer
  8249. marketid:
  8250. description: 市场ID
  8251. type: integer
  8252. phonenum:
  8253. description: 提货人联系方式
  8254. type: string
  8255. picurls:
  8256. description: 介绍图片[多张用逗号分隔]
  8257. type: string
  8258. qty:
  8259. description: 提货数量
  8260. type: number
  8261. recivername:
  8262. description: 提货人姓名
  8263. type: string
  8264. reqtime:
  8265. description: 更新时间
  8266. type: string
  8267. takemode:
  8268. description: 提货方式 - 2:自提 3:配送
  8269. type: integer
  8270. takeorderid:
  8271. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8272. type: string
  8273. takeorderstatus:
  8274. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8275. type: integer
  8276. takeremark:
  8277. description: 提货备注
  8278. type: string
  8279. tradedate:
  8280. description: 交易日(yyyyMMdd)
  8281. type: string
  8282. trademode:
  8283. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8284. 21:竞拍-大宗式 22:受托竞价
  8285. type: integer
  8286. userid:
  8287. description: 用户ID
  8288. type: integer
  8289. vendorname:
  8290. description: 供应商名称
  8291. type: string
  8292. required:
  8293. - goodscode
  8294. - goodsname
  8295. - takeorderid
  8296. - trademode
  8297. type: object
  8298. models.HsbyPreGoods:
  8299. properties:
  8300. agreeunit:
  8301. description: 合约单位
  8302. type: number
  8303. currency:
  8304. description: 货币
  8305. type: string
  8306. currencysign:
  8307. description: 货币符号
  8308. type: string
  8309. decimalplace:
  8310. description: 报价小数位
  8311. type: integer
  8312. desccityid:
  8313. description: 目的地(市)
  8314. type: integer
  8315. descprovinceid:
  8316. description: 目的地(省)
  8317. type: integer
  8318. enableqty:
  8319. description: 剩余数量
  8320. type: integer
  8321. goodscode:
  8322. description: 商品代码(内部)
  8323. type: string
  8324. goodsid:
  8325. description: 商品ID(自增ID SEQ_GOODS)
  8326. type: integer
  8327. goodsname:
  8328. description: 商品名称
  8329. type: string
  8330. goodsstatus:
  8331. description: 商品状态- 2:未上市 3:上市
  8332. type: integer
  8333. lasttradedate:
  8334. description: 最后交易日期(状态:待退市)
  8335. type: string
  8336. listingdate:
  8337. description: 交易开始日期
  8338. type: string
  8339. marketid:
  8340. description: 所属市场ID
  8341. type: integer
  8342. picurls:
  8343. description: 介绍图片[多张用逗号分隔]
  8344. type: string
  8345. presaledqty:
  8346. description: 已预售量(预售结束时更新)
  8347. type: integer
  8348. presaleqty:
  8349. description: 预售数量
  8350. type: integer
  8351. quoteminunit:
  8352. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8353. type: integer
  8354. refprice:
  8355. description: 参考价格[一口价]
  8356. type: number
  8357. relatedgoodsid:
  8358. description: 关联交易合约ID
  8359. type: integer
  8360. trademode:
  8361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8362. 21:竞拍-大宗式 22:受托竞价
  8363. type: integer
  8364. videourls:
  8365. description: 介绍视频[多张用逗号分隔]
  8366. type: string
  8367. required:
  8368. - goodscode
  8369. - goodsid
  8370. - goodsname
  8371. - marketid
  8372. - trademode
  8373. type: object
  8374. models.HsbyPreGoodsDetail:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位
  8378. type: number
  8379. buymaxqty:
  8380. description: 购买上限 [71] - 0为不限
  8381. type: integer
  8382. currency:
  8383. description: 货币
  8384. type: string
  8385. currencysign:
  8386. description: 货币符号
  8387. type: string
  8388. customername:
  8389. description: 发行单位
  8390. type: string
  8391. decimalplace:
  8392. description: 报价小数位
  8393. type: integer
  8394. desccityid:
  8395. description: 目的地(市)ID
  8396. type: integer
  8397. descprovinceid:
  8398. description: 目的地(省)ID
  8399. type: integer
  8400. enableqty:
  8401. description: 剩余数量
  8402. type: integer
  8403. goodscode:
  8404. description: 商品代码(内部)
  8405. type: string
  8406. goodsdesc:
  8407. description: 商品详情
  8408. type: string
  8409. goodsid:
  8410. description: 商品ID(自增ID SEQ_GOODS)
  8411. type: integer
  8412. goodsname:
  8413. description: 商品名称
  8414. type: string
  8415. goodsstatus:
  8416. description: 商品状态- 2:未上市 3:上市
  8417. type: integer
  8418. goodunit:
  8419. description: 报价单位
  8420. type: string
  8421. lasttradedate:
  8422. description: 最后交易日期(状态:待退市)
  8423. type: string
  8424. listingdate:
  8425. description: 交易开始日期
  8426. type: string
  8427. lotsize:
  8428. description: 手数最小变动单位
  8429. type: integer
  8430. marketid:
  8431. description: 所属市场ID
  8432. type: integer
  8433. picurls:
  8434. description: 介绍图片[多张用逗号分隔]
  8435. type: string
  8436. presaledqty:
  8437. description: 已预售量(预售结束时更新)
  8438. type: integer
  8439. presaleqty:
  8440. description: 预售数量
  8441. type: integer
  8442. quoteminunit:
  8443. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8444. type: integer
  8445. refprice:
  8446. description: 参考价格[一口价]
  8447. type: number
  8448. relatedgoodsid:
  8449. description: 关联交易合约ID
  8450. type: integer
  8451. stepvalue:
  8452. description: 价格最小变动单位
  8453. type: number
  8454. trademode:
  8455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8456. 21:竞拍-大宗式 22:受托竞价
  8457. type: integer
  8458. vendorattr:
  8459. description: 供应商附件(多张,逗号分隔)
  8460. type: string
  8461. vendorname:
  8462. description: 供应商名称
  8463. type: string
  8464. vendorphone:
  8465. description: 供应商客服电话
  8466. type: string
  8467. videourls:
  8468. description: 介绍视频[多张用逗号分隔]
  8469. type: string
  8470. required:
  8471. - goodscode
  8472. - goodsid
  8473. - goodsname
  8474. - marketid
  8475. - trademode
  8476. type: object
  8477. models.HsbySellCollectionOrder:
  8478. properties:
  8479. agreeunit:
  8480. description: 合约单位
  8481. type: number
  8482. buyaccountid:
  8483. description: 买方账号ID[报价币种]
  8484. type: integer
  8485. buyorderid:
  8486. description: 买方委托单号
  8487. type: string
  8488. createtime:
  8489. description: 创建时间
  8490. type: string
  8491. currencysign:
  8492. description: 货币符号
  8493. type: string
  8494. decimalplace:
  8495. description: 报价小数位
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodsid:
  8501. description: 商品ID
  8502. type: integer
  8503. goodsname:
  8504. description: 商品名称
  8505. type: string
  8506. marketid:
  8507. description: 市场ID
  8508. type: integer
  8509. offamount:
  8510. description: 优惠金额
  8511. type: number
  8512. payamount:
  8513. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8514. type: number
  8515. payflag:
  8516. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8517. type: integer
  8518. paylimitedtime:
  8519. description: 支付期限
  8520. type: string
  8521. paytime:
  8522. description: 付款时间
  8523. type: string
  8524. picurls:
  8525. description: 商品介绍图片[多张用逗号分隔]
  8526. type: string
  8527. sellaccountid:
  8528. description: 卖方账号ID[报价币种]
  8529. type: integer
  8530. sellorderid:
  8531. description: 卖方委托单号
  8532. type: string
  8533. tradeamount:
  8534. description: 成交金额
  8535. type: number
  8536. tradecharge:
  8537. description: 成交手续费(买方)
  8538. type: number
  8539. tradedate:
  8540. description: 交易日(yyyyMMdd)
  8541. type: string
  8542. tradeid:
  8543. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8544. type: string
  8545. trademode:
  8546. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8547. 21:竞拍-大宗式 22:受托竞价
  8548. type: integer
  8549. tradeprice:
  8550. description: 成交价格
  8551. type: number
  8552. tradeqty:
  8553. description: 成交数量
  8554. type: integer
  8555. required:
  8556. - goodscode
  8557. - goodsname
  8558. - tradeid
  8559. - trademode
  8560. type: object
  8561. models.HsbySellMyDetail:
  8562. properties:
  8563. accountid:
  8564. description: 账户ID[报价币种]
  8565. type: integer
  8566. agreeunit:
  8567. description: 合约单位
  8568. type: number
  8569. buyorsell:
  8570. description: 买卖 - 0:买 1:卖
  8571. type: integer
  8572. currencysign:
  8573. description: 货币符号
  8574. type: string
  8575. decimalplace:
  8576. description: 报价小数位
  8577. type: integer
  8578. goodscode:
  8579. description: 商品代码(内部)
  8580. type: string
  8581. goodsid:
  8582. description: 商品ID
  8583. type: integer
  8584. goodsname:
  8585. description: 商品名称
  8586. type: string
  8587. marketid:
  8588. description: 市场ID
  8589. type: integer
  8590. orderid:
  8591. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8592. type: string
  8593. ordertype:
  8594. description: 单据类型:0 - 发布中, 1 - 已完成
  8595. type: integer
  8596. picurls:
  8597. description: 介绍图片[多张用逗号分隔]
  8598. type: string
  8599. price:
  8600. description: 价格
  8601. type: number
  8602. qty:
  8603. description: 数量
  8604. type: integer
  8605. time:
  8606. description: 时间
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. vendorname:
  8613. description: 供应商名称
  8614. type: string
  8615. required:
  8616. - accountid
  8617. - buyorsell
  8618. - goodscode
  8619. - goodsid
  8620. - goodsname
  8621. - marketid
  8622. - orderid
  8623. - time
  8624. - trademode
  8625. type: object
  8626. models.HsbyTopGoods:
  8627. properties:
  8628. agreeunit:
  8629. description: 合约单位
  8630. type: number
  8631. currency:
  8632. description: 货币
  8633. type: string
  8634. currencysign:
  8635. description: 货币符号
  8636. type: string
  8637. decimalplace:
  8638. description: 报价小数位
  8639. type: integer
  8640. desccityid:
  8641. description: 目的地(市)
  8642. type: integer
  8643. descprovinceid:
  8644. description: 目的地(省)
  8645. type: integer
  8646. goodscode:
  8647. description: 商品代码(内部)
  8648. type: string
  8649. goodsid:
  8650. description: 商品ID(自增ID SEQ_GOODS)
  8651. type: integer
  8652. goodsname:
  8653. description: 商品名称
  8654. type: string
  8655. hotindex:
  8656. description: 景点热度
  8657. type: integer
  8658. last:
  8659. description: 现价
  8660. type: number
  8661. marketid:
  8662. description: 所属市场ID
  8663. type: integer
  8664. picurls:
  8665. description: 介绍图片[多张用逗号分隔]
  8666. type: string
  8667. quoteminunit:
  8668. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8669. type: integer
  8670. trademode:
  8671. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8672. 21:竞拍-大宗式 22:受托竞价
  8673. type: integer
  8674. videourls:
  8675. description: 介绍视频[多张用逗号分隔]
  8676. type: string
  8677. required:
  8678. - goodscode
  8679. - goodsid
  8680. - goodsname
  8681. - marketid
  8682. - trademode
  8683. type: object
  8684. models.HybsMyBuyOrderDetail:
  8685. properties:
  8686. accountid:
  8687. description: 账户ID[报价币种]
  8688. type: integer
  8689. agreeunit:
  8690. description: 合约单位
  8691. type: number
  8692. buyorsell:
  8693. description: 买卖 - 0:买 1:卖
  8694. type: integer
  8695. cancelqty:
  8696. description: 撤单数量
  8697. type: integer
  8698. currencysign:
  8699. description: 货币符号
  8700. type: string
  8701. decimalplace:
  8702. description: 报价小数位
  8703. type: integer
  8704. goodscode:
  8705. description: 商品代码(内部)
  8706. type: string
  8707. goodsid:
  8708. description: 商品ID
  8709. type: integer
  8710. goodsname:
  8711. description: 商品名称
  8712. type: string
  8713. listingselecttype:
  8714. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8715. type: integer
  8716. marketid:
  8717. description: 市场ID
  8718. type: integer
  8719. mybuystatus:
  8720. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8721. type: integer
  8722. orderamount:
  8723. description: 委托金额
  8724. type: number
  8725. orderid:
  8726. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8727. type: string
  8728. orderprice:
  8729. description: 委托价格
  8730. type: number
  8731. orderqty:
  8732. description: 委托数量
  8733. type: integer
  8734. orderstatus:
  8735. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8736. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8737. 16:成交失败违约(荷兰式竞拍专用)
  8738. type: integer
  8739. ordertime:
  8740. description: 委托时间
  8741. type: string
  8742. picurls1:
  8743. description: 预售商品介绍图片[多张用逗号分隔]
  8744. type: string
  8745. picurls2:
  8746. description: 挂牌商品介绍图片[多张用逗号分隔]
  8747. type: string
  8748. trademode:
  8749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8750. 21:竞拍-大宗式 22:受托竞价
  8751. type: integer
  8752. tradeqty:
  8753. description: 成交数量
  8754. type: integer
  8755. vendorname1:
  8756. description: 预售商品供应商名称
  8757. type: string
  8758. vendorname2:
  8759. description: 挂牌商品供应商名称
  8760. type: string
  8761. required:
  8762. - accountid
  8763. - buyorsell
  8764. - goodscode
  8765. - goodsid
  8766. - goodsname
  8767. - marketid
  8768. - orderid
  8769. - orderqty
  8770. - ordertime
  8771. - trademode
  8772. type: object
  8773. models.Loginaccount:
  8774. properties:
  8775. canoutin:
  8776. description: 是否可出入金 - 0:不可 1:可
  8777. type: integer
  8778. clientroleid:
  8779. description: 终端角色ID
  8780. type: integer
  8781. haslogined:
  8782. description: 是否已登录 - 0:未登录 1:已登录
  8783. type: integer
  8784. hasupdatedpwd:
  8785. description: 是否已更改密码 - 0:未修改 1:已修改
  8786. type: integer
  8787. lastloginip:
  8788. description: 最新登录地址
  8789. type: string
  8790. lastloginmode:
  8791. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8792. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8793. type: integer
  8794. lastloginremark:
  8795. description: 最新登录描述
  8796. type: string
  8797. lastlogintime:
  8798. description: 最新登录时间
  8799. type: string
  8800. logincode:
  8801. description: 登录代码
  8802. type: string
  8803. loginfailnum:
  8804. description: 连续登录失败次数(登录成功时清零)
  8805. type: integer
  8806. loginid:
  8807. description: 登陆账号
  8808. type: integer
  8809. loginport:
  8810. description: 最新登录端口
  8811. type: integer
  8812. loginstatus:
  8813. description: 登录账号状态 1:正常 2:冻结 3:无效
  8814. type: integer
  8815. loginusertype:
  8816. description: 登录账号类型 - 1:投资者 2:机构交易员
  8817. type: integer
  8818. modifierid:
  8819. description: 修改人
  8820. type: integer
  8821. modifytime:
  8822. description: 修改时间
  8823. type: string
  8824. pwdwrongcount:
  8825. description: 密码错误次数
  8826. type: integer
  8827. taaccountrighttype:
  8828. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8829. type: integer
  8830. unfreezetime:
  8831. description: 账户解冻时间
  8832. type: string
  8833. userid:
  8834. description: 用户ID
  8835. type: integer
  8836. required:
  8837. - loginid
  8838. type: object
  8839. models.MainAccountInfo:
  8840. properties:
  8841. accountid:
  8842. description: 账号id
  8843. type: integer
  8844. accountname:
  8845. description: 账号名称(taaccount表中的名称)
  8846. type: string
  8847. appid:
  8848. description: AppID
  8849. type: string
  8850. authcode:
  8851. description: 授权码
  8852. type: string
  8853. brokerid:
  8854. description: 经纪商id
  8855. type: string
  8856. fcid:
  8857. description: 期货公司id
  8858. type: integer
  8859. fcname:
  8860. description: 期货公司代码
  8861. type: string
  8862. hedgeaccountcode:
  8863. description: 外部账号代码(主账号登录代码)
  8864. type: string
  8865. hedgeaccountpwd:
  8866. description: 密码
  8867. type: string
  8868. ismain:
  8869. description: 是否主账号
  8870. type: integer
  8871. relateduserid:
  8872. description: 关联用户id
  8873. type: integer
  8874. userid:
  8875. description: 关联用户id
  8876. type: integer
  8877. type: object
  8878. models.Market:
  8879. properties:
  8880. auctionwrtype:
  8881. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8882. type: integer
  8883. canacceptquote:
  8884. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8885. type: integer
  8886. cangoodsexercise:
  8887. description: '[期权]是否可现货行权- 0:否 1:是'
  8888. type: integer
  8889. cangoodsexercisetype:
  8890. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8891. type: integer
  8892. canmanualquotestrike:
  8893. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8894. type: integer
  8895. canmutistage:
  8896. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8897. type: integer
  8898. canpreexercise:
  8899. description: '[期权]是否可预申报- 0:否 1:是'
  8900. type: integer
  8901. clearinterval:
  8902. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8903. type: integer
  8904. contracttmp:
  8905. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8906. type: string
  8907. exchareaid:
  8908. description: 所属交易所,可以没有
  8909. type: integer
  8910. goodstype:
  8911. description: 商品类型 - 1:交易商品 2:仓单商品
  8912. type: integer
  8913. hasrebate:
  8914. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8915. type: integer
  8916. hastradecredit:
  8917. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8918. type: integer
  8919. haswr:
  8920. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8921. type: integer
  8922. isdeductmargin:
  8923. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8924. type: integer
  8925. isrecordsource:
  8926. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8927. type: integer
  8928. isreleasemargin:
  8929. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8930. type: integer
  8931. marginformula:
  8932. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8933. type: integer
  8934. marginformula2:
  8935. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8936. type: integer
  8937. marketid:
  8938. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8939. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8940. type: integer
  8941. marketname:
  8942. description: 市场名称
  8943. type: string
  8944. marketserviceid:
  8945. description: 市场服务ID
  8946. type: integer
  8947. marketstatus:
  8948. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8949. type: integer
  8950. markettype:
  8951. description: 市场类型- 1:非交易服务 2:交易服务
  8952. type: integer
  8953. matchermode:
  8954. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8955. type: integer
  8956. openmethod:
  8957. description: 开盘模式 - 0 自动 1手动
  8958. type: integer
  8959. otcuserid:
  8960. description: 场外期权做市商[场外期权]
  8961. type: integer
  8962. outersynctime:
  8963. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8964. type: string
  8965. pendingflag:
  8966. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8967. type: integer
  8968. pendingtime:
  8969. description: 待开市时间[通道交易-对冲](HH:mm)
  8970. type: string
  8971. performancetempid:
  8972. description: 履约计划模板ID - 作废
  8973. type: integer
  8974. premiumquotemode:
  8975. description: 权利金报价方式 - 1:自动 2:手动
  8976. type: integer
  8977. rebateratio:
  8978. description: 返利比率[竞价式]
  8979. type: number
  8980. reckonorder:
  8981. description: 结算顺序
  8982. type: integer
  8983. reckonpricealgorithm:
  8984. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8985. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8986. type: integer
  8987. reckonpriceparam:
  8988. description: 结算价参数
  8989. type: integer
  8990. reckontime:
  8991. description: 结算时间[通道交易-对冲](HH:mm)
  8992. type: string
  8993. roleprioritytype:
  8994. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8995. type: integer
  8996. selllistingauditflag:
  8997. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8998. type: integer
  8999. trademarkettype:
  9000. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9001. type: integer
  9002. trademode:
  9003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9004. 21:竞拍-大宗式 22:受托竞价
  9005. type: integer
  9006. tradeproperty:
  9007. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9008. 8:场外期权
  9009. type: integer
  9010. tradetype:
  9011. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9012. type: integer
  9013. required:
  9014. - marketid
  9015. - marketstatus
  9016. - openmethod
  9017. - reckonpricealgorithm
  9018. - trademode
  9019. - tradeproperty
  9020. type: object
  9021. models.Marketrun:
  9022. properties:
  9023. afternexttradedate:
  9024. description: 下下交易日
  9025. type: string
  9026. clearquoteflag:
  9027. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9028. type: integer
  9029. lastreckondate:
  9030. description: 最新交易日(结算成功)
  9031. type: string
  9032. machinedate:
  9033. description: 机器时间
  9034. type: string
  9035. manualflag:
  9036. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9037. type: integer
  9038. marketid:
  9039. description: 市场ID
  9040. type: integer
  9041. nexttradedate:
  9042. description: 下一交易日
  9043. type: string
  9044. pretradedate:
  9045. description: 上一交易日
  9046. type: string
  9047. reckonflag:
  9048. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9049. type: integer
  9050. runstatus:
  9051. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9052. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9053. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9054. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9055. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9056. 62.今日免清算
  9057. type: integer
  9058. sectionid:
  9059. description: 时间段号[多时段时用]
  9060. type: integer
  9061. tradedate:
  9062. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9063. type: string
  9064. tradedate2:
  9065. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9066. type: string
  9067. updatetime:
  9068. description: 更新时间
  9069. type: string
  9070. required:
  9071. - marketid
  9072. - nexttradedate
  9073. - reckonflag
  9074. - runstatus
  9075. - tradedate
  9076. - tradedate2
  9077. type: object
  9078. models.Messageboard:
  9079. properties:
  9080. contactnum:
  9081. description: 联系电话
  9082. type: string
  9083. createtime:
  9084. description: 创建时间
  9085. type: string
  9086. message:
  9087. description: 留言信息
  9088. type: string
  9089. messageboardid:
  9090. description: 留言簿ID(SEQ_MessageBoard)
  9091. type: integer
  9092. userid:
  9093. description: 用户ID
  9094. type: integer
  9095. required:
  9096. - messageboardid
  9097. type: object
  9098. models.MyCoupon:
  9099. properties:
  9100. accountid:
  9101. description: 资金账户ID
  9102. type: integer
  9103. areauserid:
  9104. description: 所属机构
  9105. type: integer
  9106. conditionvalue:
  9107. description: 条件阈值(可为0)
  9108. type: number
  9109. couponcategroy:
  9110. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9111. type: integer
  9112. couponname:
  9113. description: 优惠券名称
  9114. type: string
  9115. coupontypeid:
  9116. description: 优惠券类型ID
  9117. type: string
  9118. couponvalue:
  9119. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9120. type: number
  9121. curfreezeqty:
  9122. description: 期末冻结数量
  9123. type: integer
  9124. curqty:
  9125. description: 期末数量
  9126. type: integer
  9127. isgeneral:
  9128. description: 是否通用券 - 0:否 1:是
  9129. type: integer
  9130. isunusable:
  9131. description: 是否不可用
  9132. type: boolean
  9133. limitedflag:
  9134. description: 是否指定商品 - 0:不限 1:限制
  9135. type: integer
  9136. limitedgoodsids:
  9137. description: 指定商品IDs[逗号分隔,前后加逗号]
  9138. type: string
  9139. orifreezeqty:
  9140. description: 期初冻结数量
  9141. type: integer
  9142. oriqty:
  9143. description: 期初数量
  9144. type: integer
  9145. reasontype:
  9146. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9147. type: integer
  9148. todaydecrease:
  9149. description: 今日减少
  9150. type: integer
  9151. todayincrease:
  9152. description: 今日增加
  9153. type: integer
  9154. userid:
  9155. description: 用户ID
  9156. type: integer
  9157. userscope:
  9158. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9159. type: string
  9160. required:
  9161. - accountid
  9162. - coupontypeid
  9163. type: object
  9164. models.MyCouponHold:
  9165. properties:
  9166. accountid:
  9167. description: 资金账户ID
  9168. type: integer
  9169. conditionvalue:
  9170. description: 条件阈值(可为0)
  9171. type: number
  9172. couponcategroy:
  9173. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9174. type: integer
  9175. couponholdid:
  9176. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9177. type: string
  9178. couponname:
  9179. description: 优惠券名称
  9180. type: string
  9181. coupontypeid:
  9182. description: 优惠券类型ID - SEQ_COUPONTYPE
  9183. type: string
  9184. couponvalue:
  9185. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9186. type: number
  9187. createtime:
  9188. description: 创建时间
  9189. type: string
  9190. enddate:
  9191. description: 结束日期
  9192. type: string
  9193. giveapplyid:
  9194. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9195. type: integer
  9196. holdstatus:
  9197. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9198. type: integer
  9199. isgeneral:
  9200. description: 是否通用券 - 0:否 1:是
  9201. type: integer
  9202. limitedflag:
  9203. description: 是否指定商品 - 0:不限 1:限制
  9204. type: integer
  9205. limitedgoodsids:
  9206. description: 指定商品IDs[逗号分隔]
  9207. type: string
  9208. qty:
  9209. description: 数量(按1平铺)
  9210. type: integer
  9211. startdate:
  9212. description: 开始日期
  9213. type: string
  9214. userid:
  9215. description: 用户ID
  9216. type: integer
  9217. userscope:
  9218. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9219. type: string
  9220. required:
  9221. - couponholdid
  9222. type: object
  9223. models.MyUsedCoupon:
  9224. properties:
  9225. accountid:
  9226. description: 资金账户ID(买方)
  9227. type: integer
  9228. conditionvalue:
  9229. description: 条件阈值(可为0)
  9230. type: number
  9231. couponcategroy:
  9232. description: 种类 - 1:现金券 2:折扣券
  9233. type: integer
  9234. couponname:
  9235. description: 优惠券名称
  9236. type: string
  9237. coupontypeid:
  9238. description: 优惠券类型ID(买方)
  9239. type: string
  9240. couponvalue:
  9241. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9242. type: number
  9243. createtime:
  9244. description: 创建时间
  9245. type: string
  9246. goodsid:
  9247. description: 商品ID
  9248. type: integer
  9249. handlestatus:
  9250. description: 处理状态
  9251. type: integer
  9252. marketid:
  9253. description: 市场ID
  9254. type: integer
  9255. offamount:
  9256. description: 优惠金额
  9257. type: number
  9258. orderid:
  9259. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9260. type: string
  9261. sellaccountid:
  9262. description: 资金账户ID(卖方)
  9263. type: integer
  9264. tradeamount:
  9265. description: 成交金额
  9266. type: number
  9267. tradeid:
  9268. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9269. type: string
  9270. usedqty:
  9271. description: 使用数量
  9272. type: integer
  9273. required:
  9274. - coupontypeid
  9275. - orderid
  9276. type: object
  9277. models.OperationPrimaryMenu:
  9278. properties:
  9279. Children:
  9280. description: 二级功能菜单
  9281. items:
  9282. $ref: '#/definitions/models.OperationSecondaryMenu'
  9283. type: array
  9284. Key:
  9285. description: 菜单KEY
  9286. type: string
  9287. Label:
  9288. description: 菜单标题
  9289. type: string
  9290. type: object
  9291. models.OperationSecondaryMenu:
  9292. properties:
  9293. Key:
  9294. description: 菜单KEY
  9295. type: string
  9296. Label:
  9297. description: 菜单标题
  9298. type: string
  9299. TabList:
  9300. description: 三级功能菜单
  9301. items:
  9302. $ref: '#/definitions/models.OperationTabMenu'
  9303. type: array
  9304. type: object
  9305. models.OperationTabMenu:
  9306. properties:
  9307. Key:
  9308. description: 菜单KEY
  9309. type: string
  9310. Label:
  9311. description: 菜单标题
  9312. type: string
  9313. type: object
  9314. models.PendingAuditBizModel:
  9315. properties:
  9316. accountid:
  9317. description: 现货账户
  9318. type: string
  9319. areaname:
  9320. description: 所属部门
  9321. type: string
  9322. bizid:
  9323. description: 业务ID
  9324. type: string
  9325. bizname:
  9326. description: 业务名称
  9327. type: string
  9328. status:
  9329. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9330. type: integer
  9331. type:
  9332. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9333. type: integer
  9334. type: object
  9335. models.QhjAccountOutInApply:
  9336. properties:
  9337. accountcode:
  9338. description: 资金账号
  9339. type: string
  9340. accountname:
  9341. description: 用户名称(名称)
  9342. type: string
  9343. accountpwd:
  9344. description: 资金密码
  9345. type: string
  9346. accountticket:
  9347. description: 最新账户服务流水号
  9348. type: string
  9349. amount:
  9350. description: 金额
  9351. type: number
  9352. applyremark:
  9353. description: 申请备注
  9354. type: string
  9355. applystatus:
  9356. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9357. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9358. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9359. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9360. type: integer
  9361. auditid:
  9362. description: 审核人
  9363. type: integer
  9364. audittime:
  9365. description: 审核时间
  9366. type: string
  9367. bank_apply_ticket:
  9368. description: 银行申请流水
  9369. type: string
  9370. bankaccountname:
  9371. description: 银行账户名
  9372. type: string
  9373. bankaccountno:
  9374. description: 银行卡号
  9375. type: string
  9376. bankid:
  9377. description: 银行编号
  9378. type: string
  9379. bankticket:
  9380. description: 银行流水
  9381. type: string
  9382. branchbankid:
  9383. description: 银行支行号
  9384. type: string
  9385. branchbankname:
  9386. description: 银行支行名称
  9387. type: string
  9388. capamountout:
  9389. description: 出金(劣后本金) - 外部子账户
  9390. type: number
  9391. certificatephotourl:
  9392. description: 凭证地址
  9393. type: string
  9394. charge:
  9395. description: 手续费
  9396. type: number
  9397. checkerrorflag:
  9398. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9399. type: integer
  9400. currency:
  9401. description: 币种
  9402. type: string
  9403. cusbankid:
  9404. description: 托管银行编号
  9405. type: string
  9406. exchticket:
  9407. description: 银行服务流水号
  9408. type: string
  9409. executetype:
  9410. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9411. 7:外部子账户:入金 8:外部子账户:出金'
  9412. type: integer
  9413. extendinfo:
  9414. description: 扩展信息
  9415. type: string
  9416. extoperateid:
  9417. description: 交易服务流水号
  9418. type: integer
  9419. infamount:
  9420. description: 劣后金额(自有)
  9421. type: number
  9422. logincode:
  9423. description: 登录账号(账号)
  9424. type: string
  9425. netaddr:
  9426. description: 调转网址
  9427. type: string
  9428. priamount:
  9429. description: 优先金额(授信)
  9430. type: number
  9431. reauditid:
  9432. description: 复审人
  9433. type: integer
  9434. reauditremark:
  9435. description: 复审备注
  9436. type: string
  9437. reaudittime:
  9438. description: 复审时间
  9439. type: string
  9440. relatedorderid:
  9441. description: 三方关联ID
  9442. type: string
  9443. remark:
  9444. description: 备注
  9445. type: string
  9446. remark2:
  9447. description: 备注(失败原因)
  9448. type: string
  9449. soucreamount:
  9450. description: 原始出入金金额
  9451. type: number
  9452. soucrecurrencyid:
  9453. description: 原始出入金币种
  9454. type: integer
  9455. tradedate:
  9456. description: 交易日(yyyyMMdd)
  9457. type: string
  9458. updatetime:
  9459. description: 更新时间(申请时间)
  9460. type: string
  9461. userid:
  9462. description: 用户id
  9463. type: integer
  9464. userinfotype:
  9465. description: 账户类型 1-个人 2-企业
  9466. type: integer
  9467. type: object
  9468. models.QhjAgreementChangeLog:
  9469. properties:
  9470. agreementcontent:
  9471. description: 协议内容
  9472. type: string
  9473. agreementfrequency:
  9474. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9475. type: integer
  9476. agreementid:
  9477. description: 协议ID
  9478. type: integer
  9479. agreementname:
  9480. description: 协议名称
  9481. type: string
  9482. agreementno:
  9483. description: 协议编号
  9484. type: string
  9485. agreementtype:
  9486. description: 协议类型 - 1:注册 2:登录 3:交易
  9487. type: integer
  9488. agreementversion:
  9489. description: 协议版本号
  9490. type: integer
  9491. logid:
  9492. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9493. type: integer
  9494. reviserid:
  9495. description: 修改人
  9496. type: integer
  9497. revisersrc:
  9498. description: 修改来源 - 1:管理端 2:终端
  9499. type: integer
  9500. updatetime:
  9501. description: 更新时间
  9502. type: string
  9503. type: object
  9504. models.QhjAgreementConfig:
  9505. properties:
  9506. agreementcontent:
  9507. description: 协议内容
  9508. type: string
  9509. agreementfrequency:
  9510. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9511. type: integer
  9512. agreementid:
  9513. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9514. type: integer
  9515. agreementname:
  9516. description: 协议名称
  9517. type: string
  9518. agreementno:
  9519. description: 协议编号
  9520. type: string
  9521. agreementtype:
  9522. description: 协议类型 - 1:注册 2:登录 3:交易
  9523. type: integer
  9524. agreementversion:
  9525. description: 协议版本号(从1开始每次修改加1)
  9526. type: integer
  9527. createtime:
  9528. description: 创建时间
  9529. type: string
  9530. creatorid:
  9531. description: 创建人
  9532. type: integer
  9533. creatorsrc:
  9534. description: 创建来源 - 1:管理端 2:终端
  9535. type: integer
  9536. isvalid:
  9537. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9538. type: integer
  9539. reviserid:
  9540. description: 修改人
  9541. type: integer
  9542. revisersrc:
  9543. description: 修改来源 - 1:管理端 2:终端
  9544. type: integer
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. type: object
  9549. models.QhjAreaFinanceConfig:
  9550. properties:
  9551. additionalratio:
  9552. description: 追加款比例
  9553. type: number
  9554. advanceratio:
  9555. description: 预付款比例
  9556. type: number
  9557. alarmratio:
  9558. description: 告警比例
  9559. type: number
  9560. consumptiondirectreward:
  9561. description: 消费直推奖励值
  9562. type: number
  9563. consumptionenabled:
  9564. description: 是否启用消费奖励 - 0:不启用 1:启用
  9565. type: integer
  9566. consumptionindirectreward:
  9567. description: 消费间推奖励值
  9568. type: number
  9569. consumptionmodel:
  9570. description: 消费奖励方式 - 1:比率 2:固定
  9571. type: integer
  9572. customerservicenum:
  9573. description: 客服电话
  9574. type: string
  9575. dayinterestrate:
  9576. description: 日利率
  9577. type: number
  9578. disableconsumptiontips:
  9579. description: 关闭消费奖励提示
  9580. type: string
  9581. modifierid:
  9582. description: 修改人ID
  9583. type: integer
  9584. modifysrc:
  9585. description: 审核来源 - 1:管理端 2:终端
  9586. type: integer
  9587. modifytime:
  9588. description: 修改时间
  9589. type: string
  9590. promotionvalue:
  9591. description: 推广奖励值(固定)
  9592. type: number
  9593. scoreconfigvalue1:
  9594. description: 提货积分配置1
  9595. type: integer
  9596. scoreconfigvalue2:
  9597. description: 提货积分配置2
  9598. type: integer
  9599. userid:
  9600. description: 机构用户ID其他做市关系,都设置为 1
  9601. type: integer
  9602. username:
  9603. description: 用户名称
  9604. type: string
  9605. type: object
  9606. models.QhjBankAccountSign:
  9607. properties:
  9608. accountcode:
  9609. description: 资金账号
  9610. type: string
  9611. accountname:
  9612. description: 资金账号对应的账号名(UserName)
  9613. type: string
  9614. accountname2:
  9615. description: 资金账号对应的账号名(UserName) - 密文
  9616. type: string
  9617. accounttype:
  9618. description: 账户类型(UserType)
  9619. type: integer
  9620. applicationtime:
  9621. description: 最后一次更新的时间
  9622. type: string
  9623. applyexchticket:
  9624. description: 申请流水
  9625. type: string
  9626. auditid:
  9627. description: 审核人
  9628. type: integer
  9629. audittime:
  9630. description: 审核时间
  9631. type: string
  9632. bankaccountname:
  9633. description: 签约银行卡账号名
  9634. type: string
  9635. bankaccountname2:
  9636. description: 签约银行卡账号名 - 密文
  9637. type: string
  9638. bankaccountno:
  9639. description: 银行卡号
  9640. type: string
  9641. bankaccountno2:
  9642. description: 银行卡号 - 密文
  9643. type: string
  9644. bankaccounttype:
  9645. description: 银行账户类型 - 1-对私; 2-对公
  9646. type: integer
  9647. bankcardtype:
  9648. description: 银行卡类型
  9649. type: integer
  9650. bankchildaccount:
  9651. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9652. type: string
  9653. bankcity:
  9654. description: 开户行城市
  9655. type: string
  9656. bankid:
  9657. description: 签约银行ID
  9658. type: string
  9659. bankname:
  9660. description: 签约银行名称
  9661. type: string
  9662. bankprovince:
  9663. description: 开户行省份
  9664. type: string
  9665. branchbankid:
  9666. description: 签约银行支行号
  9667. type: string
  9668. branchbankname:
  9669. description: 签约银行支行名称
  9670. type: string
  9671. cardno:
  9672. description: 证件号码
  9673. type: string
  9674. cardno2:
  9675. description: 证件号码 - 密文
  9676. type: string
  9677. cardtype:
  9678. description: 证件类型
  9679. type: string
  9680. currency:
  9681. description: 币种
  9682. type: string
  9683. cusbankid:
  9684. description: 托管银行编号
  9685. type: string
  9686. direct:
  9687. description: 方向(可以判断那方先发起的签约)
  9688. type: integer
  9689. exchticket:
  9690. description: 最后一次签约成功的流水号
  9691. type: string
  9692. extendinfo:
  9693. description: 扩展信息(JSON字符串)
  9694. type: string
  9695. mobilephone:
  9696. description: 手机号
  9697. type: string
  9698. mobilephone2:
  9699. description: 手机号 - 密文
  9700. type: string
  9701. netaddr:
  9702. description: 调转网址
  9703. type: string
  9704. relateduserid:
  9705. description: 关联使用者userid
  9706. type: integer
  9707. signstatus:
  9708. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9709. 10:审核拒绝 11:换签待审核
  9710. type: integer
  9711. updatetime:
  9712. description: 更新时间(签解约更新时间)
  9713. type: string
  9714. type: object
  9715. models.QhjBankInfo:
  9716. properties:
  9717. bankid:
  9718. description: 银行ID
  9719. type: string
  9720. bankname:
  9721. description: 银行名称
  9722. type: string
  9723. clearbankno:
  9724. description: 清算系统银行编号
  9725. type: string
  9726. orderindex:
  9727. description: 排序顺序
  9728. type: integer
  9729. status:
  9730. description: 状态 - 0:正常 1:注销
  9731. type: integer
  9732. type: object
  9733. models.QhjContract:
  9734. properties:
  9735. contractconfirmtime:
  9736. description: 合同确认时间(时间)
  9737. type: string
  9738. currisklevel:
  9739. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9740. type: integer
  9741. decimalplace:
  9742. description: 商品报价小数位
  9743. type: integer
  9744. enumdicname:
  9745. description: 单位名称
  9746. type: string
  9747. goodscode:
  9748. description: 商品代码
  9749. type: string
  9750. goodsid:
  9751. description: 商品ID [5:融资单]
  9752. type: integer
  9753. goodsname:
  9754. description: 商品名称
  9755. type: string
  9756. goodunitid:
  9757. description: 商品单位id
  9758. type: integer
  9759. initmargin:
  9760. description: 初始保证金(首付款)
  9761. type: number
  9762. lenderamount:
  9763. description: 贷款金额(总额|订单总额)
  9764. type: number
  9765. marginratio:
  9766. description: 保证金比率(首付比例)
  9767. type: number
  9768. payamount:
  9769. description: 已付(已付货款)
  9770. type: number
  9771. reckonrecovermargin:
  9772. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9773. type: number
  9774. recoveredmargin:
  9775. description: 已追缴保证金
  9776. type: number
  9777. remainamount:
  9778. description: 合同剩余金额(融资额)
  9779. type: number
  9780. scfcontractid:
  9781. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9782. type: string
  9783. scfcontractstatus:
  9784. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9785. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9786. type: integer
  9787. scfcontracttype:
  9788. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9789. type: integer
  9790. totalinterest:
  9791. description: 已计总利息(利息)
  9792. type: number
  9793. tradeprice:
  9794. description: 成交价格(成本价格)
  9795. type: number
  9796. userid:
  9797. description: 用户ID
  9798. type: integer
  9799. username:
  9800. description: 用户名称
  9801. type: string
  9802. wrqty:
  9803. description: 仓单数量(数量)
  9804. type: number
  9805. type: object
  9806. models.QhjContractLog:
  9807. properties:
  9808. amount:
  9809. description: 支付金额
  9810. type: number
  9811. amounttype:
  9812. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9813. type: integer
  9814. logid:
  9815. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9816. type: string
  9817. remainamount:
  9818. description: 剩余货款
  9819. type: number
  9820. scfcontractid:
  9821. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9822. type: integer
  9823. updatetime:
  9824. description: 更新时间
  9825. type: string
  9826. type: object
  9827. models.QhjCusBankSignBankEx:
  9828. properties:
  9829. banklst:
  9830. description: 银行列表
  9831. items:
  9832. $ref: '#/definitions/models.QhjBankInfo'
  9833. type: array
  9834. canallot:
  9835. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9836. type: integer
  9837. canallotquery:
  9838. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9839. type: integer
  9840. canbindcard:
  9841. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9842. type: integer
  9843. caninamount:
  9844. description: 是否可入金 - 0:不可 1:可以
  9845. type: integer
  9846. caninamount2:
  9847. description: 是否可入金(网银端) - 0:不可 1:可以
  9848. type: integer
  9849. canmodifybankcard:
  9850. description: 是否可修改银行卡号 - 0:不可 1:可以
  9851. type: integer
  9852. canmodifyphone:
  9853. description: 是否可修改手机号 - 0:不可 1:可以
  9854. type: integer
  9855. canmodifysigninfo:
  9856. description: 是否可修改签约信息 - 0:不可 1:可以
  9857. type: integer
  9858. canoutamount:
  9859. description: 是否可出金 - 0:不可 1:可以
  9860. type: integer
  9861. canoutamount2:
  9862. description: 是否可出金(网银端) - 0:不可 1:可以
  9863. type: integer
  9864. canrelease:
  9865. description: 是否可解约 - 0:不可 1:可以
  9866. type: integer
  9867. canrelease2:
  9868. description: 是否可解约(网银端) - 0:不可 1:可以
  9869. type: integer
  9870. cansign:
  9871. description: 是否可签约 - 0:不可 1:可以
  9872. type: integer
  9873. cansign2:
  9874. description: 是否可签约(网银端) - 0:不可 1:可以
  9875. type: integer
  9876. currency:
  9877. description: 币种
  9878. type: string
  9879. cusbankid:
  9880. description: 托管银行编号(对应清算中心TRAN_NO)
  9881. type: string
  9882. cusbankname:
  9883. description: 银行业务名称
  9884. type: string
  9885. cusbankshortname:
  9886. description: 银行业务简称
  9887. type: string
  9888. exchbankid:
  9889. description: 交易所开户银行ID
  9890. type: string
  9891. exchpaybankaccname:
  9892. description: 交易所支出结算账户户名
  9893. type: string
  9894. exchpaybankaccno:
  9895. description: 交易所支出结算账户
  9896. type: string
  9897. isneedcheck:
  9898. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9899. type: integer
  9900. isneedclear:
  9901. description: 是否需要清算 - 0:不需要 1:需要
  9902. type: integer
  9903. lastcheckstatus:
  9904. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  9905. type: integer
  9906. lastchecktime:
  9907. description: 最后对账时间
  9908. type: string
  9909. lastclearstatus:
  9910. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  9911. type: integer
  9912. lastcleartime:
  9913. description: 最后清算时间
  9914. type: string
  9915. lastsignintime:
  9916. description: 最后签到时间
  9917. type: string
  9918. lastsignouttime:
  9919. description: 最后签退时间
  9920. type: string
  9921. riskinfo:
  9922. description: 签约风险提示书
  9923. type: string
  9924. signstatus:
  9925. description: 当前签到/签退状态 - 1:签到 2:签退
  9926. type: integer
  9927. tradedate:
  9928. description: 交易日(yyyyMMdd)
  9929. type: string
  9930. updatetime:
  9931. description: 当前签到/签退更新时间
  9932. type: string
  9933. type: object
  9934. models.QhjCustomer:
  9935. properties:
  9936. address:
  9937. description: 通讯地址
  9938. type: string
  9939. attachment1:
  9940. description: 附件1
  9941. type: string
  9942. audittime:
  9943. description: 审核时间
  9944. type: string
  9945. cardbackphotourl:
  9946. description: 证件反面图片地址
  9947. type: string
  9948. cardfrontphotourl:
  9949. description: 证件正面图片地址
  9950. type: string
  9951. cardnum:
  9952. description: 证件号码
  9953. type: string
  9954. cardtype:
  9955. description: 证件类型
  9956. type: integer
  9957. cardtypename:
  9958. description: 证件类型名称
  9959. type: string
  9960. cityid:
  9961. description: 市
  9962. type: integer
  9963. cityname:
  9964. description: 城市名称
  9965. type: string
  9966. contactname:
  9967. description: 联系人
  9968. type: string
  9969. countryid:
  9970. description: 国家
  9971. type: integer
  9972. countryname:
  9973. description: 国家名称
  9974. type: string
  9975. createtime:
  9976. description: 创建时间
  9977. type: string
  9978. customername:
  9979. description: 客户名称
  9980. type: string
  9981. districtid:
  9982. description: 区域
  9983. type: integer
  9984. districtname:
  9985. description: 地区名称
  9986. type: string
  9987. email:
  9988. description: 邮件
  9989. type: string
  9990. legalpersonname:
  9991. description: 法人姓名(企业)
  9992. type: string
  9993. logincode:
  9994. description: 登录账号(代码)
  9995. type: string
  9996. memberuserid:
  9997. description: 所属机构ID(所属会员)
  9998. type: integer
  9999. memberusername:
  10000. description: 所属会员名称
  10001. type: string
  10002. mobile:
  10003. description: 手机号码
  10004. type: string
  10005. modifytime:
  10006. description: 修改时间
  10007. type: string
  10008. nickname:
  10009. description: 昵称
  10010. type: string
  10011. parentuserid:
  10012. description: 上级机构(所属机构)
  10013. type: integer
  10014. parentusername:
  10015. description: 所属机构名称
  10016. type: string
  10017. provinceid:
  10018. description: 省
  10019. type: integer
  10020. provincename:
  10021. description: 省名称
  10022. type: string
  10023. proxystatementurl:
  10024. description: 授权委托书
  10025. type: string
  10026. remark:
  10027. description: 备注
  10028. type: string
  10029. status:
  10030. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10031. type: integer
  10032. statusdesc:
  10033. description: 账户状态中文描述
  10034. type: string
  10035. taxpayernum:
  10036. description: 纳税人识别号
  10037. type: string
  10038. telphone:
  10039. description: 联系电话
  10040. type: string
  10041. userid:
  10042. description: 用户ID
  10043. type: integer
  10044. userinfotype:
  10045. description: 客户类型 1-个人 2-企业
  10046. type: integer
  10047. username:
  10048. description: 用户名称
  10049. type: string
  10050. type: object
  10051. models.QhjCustomerSignLog:
  10052. properties:
  10053. agreementcontent:
  10054. description: 协议内容
  10055. type: string
  10056. agreementid:
  10057. description: 协议ID
  10058. type: integer
  10059. agreementname:
  10060. description: 协议名称
  10061. type: string
  10062. agreementno:
  10063. description: 协议编号
  10064. type: string
  10065. agreementtype:
  10066. description: 协议类型 - 1:注册 2:登录 3:交易
  10067. type: integer
  10068. agreementversion:
  10069. description: 协议版本号
  10070. type: integer
  10071. createtime:
  10072. description: 创建时间
  10073. type: string
  10074. goodscode:
  10075. description: 商品代码
  10076. type: string
  10077. goodsid:
  10078. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10079. type: integer
  10080. goodsname:
  10081. description: 商品名称
  10082. type: string
  10083. logid:
  10084. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10085. type: integer
  10086. nodetype:
  10087. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10088. type: integer
  10089. signadressurl:
  10090. description: 签约文件地址
  10091. type: string
  10092. signtimestamp:
  10093. description: 签约状态时间戳
  10094. type: string
  10095. userid:
  10096. description: 客户ID
  10097. type: integer
  10098. username:
  10099. description: 客户名称
  10100. type: string
  10101. type: object
  10102. models.QhjCustomerSignStatus:
  10103. properties:
  10104. createtime:
  10105. description: 创建时间
  10106. type: string
  10107. goodscode:
  10108. description: 商品代码
  10109. type: string
  10110. goodsid:
  10111. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10112. type: integer
  10113. goodsname:
  10114. description: 商品名称
  10115. type: string
  10116. nodetype:
  10117. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10118. type: integer
  10119. signtimestamp:
  10120. description: 签约状态时间戳
  10121. type: string
  10122. tradedate:
  10123. description: 创建交易日(yyyyMMdd)
  10124. type: string
  10125. updatetime:
  10126. description: 更新时间
  10127. type: string
  10128. userid:
  10129. description: 客户ID
  10130. type: integer
  10131. username:
  10132. description: 客户名称
  10133. type: string
  10134. type: object
  10135. models.QhjMgrAccountOutInApply:
  10136. properties:
  10137. accountcode:
  10138. description: 资金账号
  10139. type: string
  10140. accountname:
  10141. description: 用户名称(名称)
  10142. type: string
  10143. accountpwd:
  10144. description: 资金密码
  10145. type: string
  10146. accountticket:
  10147. description: 最新账户服务流水号
  10148. type: string
  10149. amount:
  10150. description: 金额
  10151. type: number
  10152. applyremark:
  10153. description: 申请备注
  10154. type: string
  10155. applystatus:
  10156. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10157. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10158. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10159. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10160. type: integer
  10161. auditid:
  10162. description: 审核人
  10163. type: integer
  10164. audittime:
  10165. description: 审核时间
  10166. type: string
  10167. bank_apply_ticket:
  10168. description: 银行申请流水
  10169. type: string
  10170. bankaccountname:
  10171. description: 银行账户名
  10172. type: string
  10173. bankaccountno:
  10174. description: 银行卡号
  10175. type: string
  10176. bankid:
  10177. description: 银行编号
  10178. type: string
  10179. bankname:
  10180. description: 银行名称
  10181. type: string
  10182. bankticket:
  10183. description: 银行流水
  10184. type: string
  10185. branchbankid:
  10186. description: 银行支行号
  10187. type: string
  10188. branchbankname:
  10189. description: 银行支行名称
  10190. type: string
  10191. capamountout:
  10192. description: 出金(劣后本金) - 外部子账户
  10193. type: number
  10194. certificatephotourl:
  10195. description: 凭证地址
  10196. type: string
  10197. charge:
  10198. description: 手续费
  10199. type: number
  10200. checkerrorflag:
  10201. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10202. type: integer
  10203. currency:
  10204. description: 币种
  10205. type: string
  10206. cusbankid:
  10207. description: 托管银行编号
  10208. type: string
  10209. exchticket:
  10210. description: 银行服务流水号
  10211. type: string
  10212. executetype:
  10213. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10214. 7:外部子账户:入金 8:外部子账户:出金'
  10215. type: integer
  10216. extendinfo:
  10217. description: 扩展信息
  10218. type: string
  10219. extoperateid:
  10220. description: 交易服务流水号
  10221. type: integer
  10222. infamount:
  10223. description: 劣后金额(自有)
  10224. type: number
  10225. logincode:
  10226. description: 登录账号(账号)
  10227. type: string
  10228. netaddr:
  10229. description: 调转网址
  10230. type: string
  10231. priamount:
  10232. description: 优先金额(授信)
  10233. type: number
  10234. reauditid:
  10235. description: 复审人
  10236. type: integer
  10237. reauditremark:
  10238. description: 复审备注
  10239. type: string
  10240. reaudittime:
  10241. description: 复审时间
  10242. type: string
  10243. relatedorderid:
  10244. description: 三方关联ID
  10245. type: string
  10246. remark:
  10247. description: 备注
  10248. type: string
  10249. remark2:
  10250. description: 备注(失败原因)
  10251. type: string
  10252. soucreamount:
  10253. description: 原始出入金金额
  10254. type: number
  10255. soucrecurrencyid:
  10256. description: 原始出入金币种
  10257. type: integer
  10258. tradedate:
  10259. description: 交易日(yyyyMMdd)
  10260. type: string
  10261. updatetime:
  10262. description: 更新时间(申请时间)
  10263. type: string
  10264. userid:
  10265. description: 用户id
  10266. type: integer
  10267. userinfotype:
  10268. description: 账户类型 1-个人 2-企业
  10269. type: integer
  10270. type: object
  10271. models.QhjMgrBrokerApply:
  10272. properties:
  10273. applicantid:
  10274. description: 申请人
  10275. type: integer
  10276. applysrc:
  10277. description: 申请来源 - 1:管理端 2:终端
  10278. type: integer
  10279. applystatus:
  10280. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10281. type: integer
  10282. applytime:
  10283. description: 申请时间
  10284. type: string
  10285. auditorid:
  10286. description: 审核人
  10287. type: integer
  10288. auditremark:
  10289. description: 审核备注
  10290. type: string
  10291. auditsrc:
  10292. description: 审核来源 - 1:管理端 2:终端
  10293. type: integer
  10294. audittime:
  10295. description: 审核时间
  10296. type: string
  10297. audittradedate:
  10298. description: 审核交易日(yyyyMMdd)
  10299. type: string
  10300. brokerapplyid:
  10301. description: 申请ID(SEQ_BROKERAPPLY)
  10302. type: integer
  10303. cardbackphotourl:
  10304. description: 证件背面图片地址
  10305. type: string
  10306. cardfrontphotourl:
  10307. description: 证件正面图片地址
  10308. type: string
  10309. cardnum:
  10310. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10311. type: string
  10312. customername:
  10313. description: 姓名
  10314. type: string
  10315. filterstatus:
  10316. description: 筛选条件
  10317. type: string
  10318. logincode:
  10319. description: 登录代码
  10320. type: string
  10321. mobile:
  10322. description: 手机号码
  10323. type: string
  10324. parentuserid:
  10325. description: 所属机构id
  10326. type: integer
  10327. parentusername:
  10328. description: 所属机构名称
  10329. type: string
  10330. refereeuserid:
  10331. description: 推荐人id(经纪人)
  10332. type: integer
  10333. refernum:
  10334. description: 推荐码
  10335. type: string
  10336. remark:
  10337. description: 备注
  10338. type: string
  10339. subarealevelpath:
  10340. description: 层级路径
  10341. type: string
  10342. tradedate:
  10343. description: 交易日(yyyyMMdd)
  10344. type: string
  10345. userid:
  10346. description: 申请人用户ID
  10347. type: integer
  10348. userinfotype:
  10349. description: 用户类型 1-个人 2-企业
  10350. type: integer
  10351. username:
  10352. description: 用户名称
  10353. type: string
  10354. type: object
  10355. models.QhjMgrBrokerRewardReport:
  10356. properties:
  10357. createtime:
  10358. description: 创建时间(注册时间)
  10359. type: string
  10360. cycletime:
  10361. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10362. type: string
  10363. cycletype:
  10364. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10365. type: integer
  10366. directtotalnum:
  10367. description: 直推总人数【期末】
  10368. type: integer
  10369. indirecttotalnum:
  10370. description: 间推总人数【期末】
  10371. type: integer
  10372. mobile:
  10373. description: 电话号码
  10374. type: string
  10375. refereeuserid:
  10376. description: 推荐人id(经纪人id)
  10377. type: integer
  10378. refereeusername:
  10379. description: 推荐人名称(经纪人) 上级经纪人名称
  10380. type: string
  10381. refernum:
  10382. description: 推荐码
  10383. type: string
  10384. subarealevelpath:
  10385. description: 用户层级路径
  10386. type: string
  10387. todayrewardamount:
  10388. description: 奖励总金额【汇总】
  10389. type: number
  10390. updatetime:
  10391. description: 更新时间
  10392. type: string
  10393. userid:
  10394. description: 经纪人用户ID
  10395. type: integer
  10396. userinfotype:
  10397. description: 用户类型 1-个人 2-企业
  10398. type: integer
  10399. username:
  10400. description: 用户名称
  10401. type: string
  10402. type: object
  10403. models.QhjMgrContract:
  10404. properties:
  10405. contractconfirmtime:
  10406. description: 合同确认时间(时间)
  10407. type: string
  10408. currisklevel:
  10409. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10410. type: integer
  10411. decimalplace:
  10412. description: 商品报价小数位
  10413. type: integer
  10414. enumdicname:
  10415. description: 单位名称
  10416. type: string
  10417. goodscode:
  10418. description: 商品代码
  10419. type: string
  10420. goodsid:
  10421. description: 商品ID [5:融资单]
  10422. type: integer
  10423. goodsname:
  10424. description: 商品名称
  10425. type: string
  10426. goodunitid:
  10427. description: 商品单位id
  10428. type: integer
  10429. initmargin:
  10430. description: 初始保证金(首付款)
  10431. type: number
  10432. lenderamount:
  10433. description: 贷款金额(总额|订单总额)
  10434. type: number
  10435. logincode:
  10436. description: 账号(登录代码)
  10437. type: string
  10438. marginratio:
  10439. description: 保证金比率(首付比例)
  10440. type: number
  10441. mobile:
  10442. description: 电话号码(用户资料里的电话)
  10443. type: string
  10444. payamount:
  10445. description: 已付(已付货款)
  10446. type: number
  10447. reckonrecovermargin:
  10448. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10449. type: number
  10450. recoveredmargin:
  10451. description: 已追缴保证金
  10452. type: number
  10453. remainamount:
  10454. description: 合同剩余金额(融资额)
  10455. type: number
  10456. scfcontractid:
  10457. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10458. type: string
  10459. scfcontractstatus:
  10460. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10461. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10462. type: integer
  10463. scfcontracttype:
  10464. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10465. type: integer
  10466. totalinterest:
  10467. description: 已计总利息(利息)
  10468. type: number
  10469. tradedate:
  10470. description: 交易日
  10471. type: string
  10472. tradeprice:
  10473. description: 成交价格(成本价格)
  10474. type: number
  10475. userid:
  10476. description: 用户ID
  10477. type: integer
  10478. userinfotype:
  10479. description: 用户类型 1-个人 2-企业
  10480. type: integer
  10481. username:
  10482. description: 用户名称
  10483. type: string
  10484. wrqty:
  10485. description: 仓单数量(数量)
  10486. type: number
  10487. type: object
  10488. models.QhjMgrCustomer:
  10489. properties:
  10490. address:
  10491. description: 通讯地址
  10492. type: string
  10493. attachment1:
  10494. description: 附件1
  10495. type: string
  10496. audittime:
  10497. description: 审核时间
  10498. type: string
  10499. cardbackphotourl:
  10500. description: 证件反面图片地址
  10501. type: string
  10502. cardfrontphotourl:
  10503. description: 证件正面图片地址
  10504. type: string
  10505. cardnum:
  10506. description: 证件号码
  10507. type: string
  10508. cardtype:
  10509. description: 证件类型
  10510. type: integer
  10511. cardtypename:
  10512. description: 证件类型名称
  10513. type: string
  10514. cityid:
  10515. description: 市
  10516. type: integer
  10517. cityname:
  10518. description: 城市名称
  10519. type: string
  10520. contactname:
  10521. description: 联系人
  10522. type: string
  10523. countryid:
  10524. description: 国家
  10525. type: integer
  10526. countryname:
  10527. description: 国家名称
  10528. type: string
  10529. createtime:
  10530. description: 创建时间
  10531. type: string
  10532. customername:
  10533. description: 客户名称
  10534. type: string
  10535. districtid:
  10536. description: 区域
  10537. type: integer
  10538. districtname:
  10539. description: 地区名称
  10540. type: string
  10541. email:
  10542. description: 邮件
  10543. type: string
  10544. legalpersonname:
  10545. description: 法人姓名(企业)
  10546. type: string
  10547. logincode:
  10548. description: 登录账号(代码)
  10549. type: string
  10550. memberuserid:
  10551. description: 所属机构ID(所属会员)
  10552. type: integer
  10553. memberusername:
  10554. description: 所属会员名称
  10555. type: string
  10556. mobile:
  10557. description: 手机号码
  10558. type: string
  10559. modifytime:
  10560. description: 修改时间
  10561. type: string
  10562. nickname:
  10563. description: 昵称
  10564. type: string
  10565. parentuserid:
  10566. description: 上级机构(所属机构)
  10567. type: integer
  10568. parentusername:
  10569. description: 所属机构名称
  10570. type: string
  10571. provinceid:
  10572. description: 省
  10573. type: integer
  10574. provincename:
  10575. description: 省名称
  10576. type: string
  10577. proxystatementurl:
  10578. description: 授权委托书
  10579. type: string
  10580. querytype:
  10581. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10582. type: integer
  10583. remark:
  10584. description: 备注
  10585. type: string
  10586. status:
  10587. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10588. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10589. type: integer
  10590. statusdesc:
  10591. description: 账户状态中文描述
  10592. type: string
  10593. taxpayernum:
  10594. description: 纳税人识别号
  10595. type: string
  10596. telphone:
  10597. description: 联系电话
  10598. type: string
  10599. userid:
  10600. description: 用户ID
  10601. type: integer
  10602. userinfotype:
  10603. description: 客户类型 1-个人 2-企业
  10604. type: integer
  10605. username:
  10606. description: 用户名称
  10607. type: string
  10608. type: object
  10609. models.QhjMgrPositionRsp:
  10610. properties:
  10611. accountid:
  10612. description: 账号Id
  10613. type: integer
  10614. accountname:
  10615. description: 用户名称
  10616. type: string
  10617. agreeunit:
  10618. description: 合约乘数
  10619. type: number
  10620. averageprice:
  10621. description: 均价
  10622. type: number
  10623. avialqty:
  10624. description: 可用数量
  10625. type: number
  10626. decimalplace:
  10627. description: 报价小数位
  10628. type: integer
  10629. enumdicname:
  10630. description: 单位名称(商品)
  10631. type: string
  10632. frozenqty:
  10633. description: 冻结数量
  10634. type: number
  10635. goodscode:
  10636. description: 商品代码(内部)
  10637. type: string
  10638. goodsid:
  10639. description: 商品Id
  10640. type: integer
  10641. goodsname:
  10642. description: 商品名称
  10643. type: string
  10644. goodunitid:
  10645. description: 报价单位ID
  10646. type: integer
  10647. holderamount:
  10648. description: 金额
  10649. type: number
  10650. holderqty:
  10651. description: 持有数量
  10652. type: number
  10653. holdertype:
  10654. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10655. type: integer
  10656. logincode:
  10657. description: 登录代码(账户)
  10658. type: string
  10659. marketid:
  10660. description: 市场id
  10661. type: integer
  10662. qtydecimalplace:
  10663. description: 成交量小数位
  10664. type: integer
  10665. trademode:
  10666. description: 交易模式
  10667. type: integer
  10668. userid:
  10669. description: 用户id
  10670. type: integer
  10671. userinfotype:
  10672. description: 账户类型 1-个人 2-企业
  10673. type: integer
  10674. type: object
  10675. models.QhjMgrSubArea:
  10676. properties:
  10677. accountname:
  10678. description: 账户名称(机构名称)
  10679. type: string
  10680. memberuserid:
  10681. description: 所属会员ID
  10682. type: integer
  10683. parenttopuser:
  10684. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10685. type: string
  10686. parentuserid:
  10687. description: 所属机构ID
  10688. type: integer
  10689. rootuserid:
  10690. description: 根用户ID
  10691. type: string
  10692. subaccountlevel:
  10693. description: 子账户层数
  10694. type: integer
  10695. subarealevelpath:
  10696. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10697. type: string
  10698. userid:
  10699. description: 用户ID
  10700. type: integer
  10701. usertype:
  10702. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10703. type: integer
  10704. type: object
  10705. models.QhjMgrTradeDetailRsp:
  10706. properties:
  10707. accountid:
  10708. description: 资金账号
  10709. type: integer
  10710. accountname:
  10711. description: 用户名称
  10712. type: string
  10713. agreeunit:
  10714. description: 合约乘数
  10715. type: number
  10716. buyorsell:
  10717. description: 成交类型(方向) 0:买 1:卖
  10718. type: integer
  10719. decimalplace:
  10720. description: 报价小数位
  10721. type: integer
  10722. enumdicname:
  10723. description: 单位名称(商品)
  10724. type: string
  10725. goodscode:
  10726. description: 商品代码(内部)
  10727. type: string
  10728. goodsid:
  10729. description: 商品id
  10730. type: integer
  10731. goodsname:
  10732. description: 商品名称
  10733. type: string
  10734. goodunitid:
  10735. description: 报价单位ID
  10736. type: integer
  10737. logincode:
  10738. description: 登录代码(账户)
  10739. type: string
  10740. marketid:
  10741. description: 市场id
  10742. type: integer
  10743. orderid:
  10744. description: 关联委托单号
  10745. type: string
  10746. qtydecimalplace:
  10747. description: 成交量小数位
  10748. type: integer
  10749. tradeamount:
  10750. description: 金额
  10751. type: number
  10752. tradedate:
  10753. description: 交易日
  10754. type: string
  10755. tradeid:
  10756. description: 成交单号
  10757. type: string
  10758. trademode:
  10759. description: 交易模式
  10760. type: integer
  10761. tradeprice:
  10762. description: 价格
  10763. type: number
  10764. tradeqty:
  10765. description: 数量
  10766. type: number
  10767. tradetime:
  10768. description: 成交时间
  10769. type: string
  10770. userid:
  10771. description: 用户id
  10772. type: integer
  10773. userinfotype:
  10774. description: 账户类型 1-个人 2-企业
  10775. type: integer
  10776. type: object
  10777. models.QhjMgrTradeOrderDetailRsp:
  10778. properties:
  10779. accountid:
  10780. description: 资金账号
  10781. type: integer
  10782. accountname:
  10783. description: 用户名称
  10784. type: string
  10785. agreeunit:
  10786. description: 合约乘数
  10787. type: number
  10788. amount:
  10789. description: 金额
  10790. type: number
  10791. decimalplace:
  10792. description: 报价小数位
  10793. type: integer
  10794. enumdicname:
  10795. description: 单位名称(商品)
  10796. type: string
  10797. goodscode:
  10798. description: 商品代码(内部)
  10799. type: string
  10800. goodsid:
  10801. description: 商品id
  10802. type: integer
  10803. goodsname:
  10804. description: 商品名称
  10805. type: string
  10806. goodunitid:
  10807. description: 报价单位ID
  10808. type: integer
  10809. logincode:
  10810. description: 登录代码(账户)
  10811. type: string
  10812. marketid:
  10813. description: 市场id
  10814. type: integer
  10815. orderid:
  10816. description: 关联委托单号
  10817. type: string
  10818. orderprice:
  10819. description: 价格
  10820. type: number
  10821. orderqty:
  10822. description: 数量
  10823. type: number
  10824. orderstatus:
  10825. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10826. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10827. 16:成交失败违约(荷兰式竞拍专用)
  10828. type: integer
  10829. ordertime:
  10830. description: 委托时间
  10831. type: string
  10832. qtydecimalplace:
  10833. description: 成交量小数位
  10834. type: integer
  10835. tradedate:
  10836. description: 交易日
  10837. type: string
  10838. trademode:
  10839. description: 交易模式
  10840. type: integer
  10841. userid:
  10842. description: 用户id
  10843. type: integer
  10844. userinfotype:
  10845. description: 账户类型 1-个人 2-企业
  10846. type: integer
  10847. type: object
  10848. models.QhjMgrTradePayOrder:
  10849. properties:
  10850. accountname:
  10851. description: 用户名称
  10852. type: string
  10853. advanceratio:
  10854. description: 首付比率
  10855. type: number
  10856. agreeunit:
  10857. description: 合约乘数
  10858. type: number
  10859. buyaccountid:
  10860. description: 买方账号ID[报价币种]
  10861. type: integer
  10862. buyorderid:
  10863. description: 买方委托单号(关联单号)
  10864. type: string
  10865. createtime:
  10866. description: 创建时间
  10867. type: string
  10868. decimalplace:
  10869. description: 报价小数位
  10870. type: integer
  10871. enumdicname:
  10872. description: 单位名称(商品)
  10873. type: string
  10874. goodscode:
  10875. description: 商品代码(内部)
  10876. type: string
  10877. goodsid:
  10878. description: 商品ID
  10879. type: integer
  10880. goodsname:
  10881. description: 商品名称
  10882. type: string
  10883. goodunitid:
  10884. description: 报价单位ID
  10885. type: integer
  10886. logincode:
  10887. description: 登录代码(账户)
  10888. type: string
  10889. marketid:
  10890. description: 市场id
  10891. type: integer
  10892. offamount:
  10893. description: 优惠金额
  10894. type: number
  10895. operatetype:
  10896. description: 买委托操作类型 - 1:正常下单 16:融资买入
  10897. type: integer
  10898. payamount:
  10899. description: 支付金额(金额)
  10900. type: number
  10901. payflag:
  10902. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10903. type: integer
  10904. paylimitedtime:
  10905. description: 支付期限
  10906. type: string
  10907. paytime:
  10908. description: 付款时间
  10909. type: string
  10910. qtydecimalplace:
  10911. description: 成交量小数位
  10912. type: integer
  10913. sellaccountid:
  10914. description: 卖方账号ID[报价币种]
  10915. type: integer
  10916. sellorderid:
  10917. description: 卖方委托单号
  10918. type: string
  10919. tradeamount:
  10920. description: 成交金额(优惠后金额)
  10921. type: number
  10922. tradecharge:
  10923. description: 成交手续费(买方)
  10924. type: number
  10925. tradedate:
  10926. description: 交易日(yyyyMMdd)
  10927. type: string
  10928. tradeid:
  10929. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10930. type: string
  10931. trademode:
  10932. description: 交易模式
  10933. type: integer
  10934. tradeprice:
  10935. description: 成交价格(价格)
  10936. type: number
  10937. tradeqty:
  10938. description: 成交数量(数量)
  10939. type: number
  10940. tradetime:
  10941. description: 成交时间
  10942. type: string
  10943. userid:
  10944. description: 用户id
  10945. type: integer
  10946. userinfotype:
  10947. description: 账户类型 1-个人 2-企业
  10948. type: integer
  10949. type: object
  10950. models.QhjMyTeam:
  10951. properties:
  10952. accountname:
  10953. description: 用户名称
  10954. type: string
  10955. accountstatus:
  10956. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10957. type: integer
  10958. createtime:
  10959. description: 创建时间
  10960. type: string
  10961. mobile:
  10962. description: 手机号码
  10963. type: string
  10964. refereeuserid:
  10965. description: 推荐人id
  10966. type: integer
  10967. refernum:
  10968. description: 推荐码
  10969. type: string
  10970. userid:
  10971. description: 用户id
  10972. type: integer
  10973. userinfotype:
  10974. description: 用户类型 1-个人 2-企业
  10975. type: integer
  10976. type: object
  10977. models.QhjNodeAgreementConfig:
  10978. properties:
  10979. agreementcontent:
  10980. description: 协议内容
  10981. type: string
  10982. agreementid:
  10983. description: 协议ID
  10984. type: integer
  10985. agreementname:
  10986. description: 协议名称
  10987. type: string
  10988. agreementno:
  10989. description: 协议编号
  10990. type: string
  10991. agreementtype:
  10992. description: 协议类型 - 1:注册 2:登录 3:交易
  10993. type: integer
  10994. agreementversion:
  10995. description: 协议版本号
  10996. type: integer
  10997. configid:
  10998. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  10999. type: integer
  11000. createtime:
  11001. description: 创建时间
  11002. type: string
  11003. goodsid:
  11004. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11005. type: integer
  11006. nodetype:
  11007. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11008. type: integer
  11009. type: object
  11010. models.QhjParentAreaList:
  11011. properties:
  11012. accountname:
  11013. description: 账户名称(机构名称)
  11014. type: string
  11015. userid:
  11016. description: 用户ID
  11017. type: integer
  11018. usertype:
  11019. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11020. type: integer
  11021. type: object
  11022. models.QhjPayOrder:
  11023. properties:
  11024. advanceratio:
  11025. description: 首付比率
  11026. type: number
  11027. buyaccountid:
  11028. description: 买方账号ID[报价币种]
  11029. type: integer
  11030. buyorderid:
  11031. description: 买方委托单号
  11032. type: string
  11033. createtime:
  11034. description: 创建时间
  11035. type: string
  11036. decimalplace:
  11037. description: 商品报价小数位
  11038. type: integer
  11039. enumdicname:
  11040. description: 单位名称
  11041. type: string
  11042. goodscode:
  11043. description: 商品代码
  11044. type: string
  11045. goodsid:
  11046. description: 商品ID
  11047. type: integer
  11048. goodsname:
  11049. description: 商品名称
  11050. type: string
  11051. goodunitid:
  11052. description: 商品单位id
  11053. type: integer
  11054. marketid:
  11055. description: 市场ID
  11056. type: integer
  11057. offamount:
  11058. description: 优惠金额
  11059. type: number
  11060. operatetype:
  11061. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11062. type: integer
  11063. payamount:
  11064. description: 支付金额
  11065. type: number
  11066. payflag:
  11067. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11068. type: integer
  11069. paylimitedtime:
  11070. description: 支付期限
  11071. type: string
  11072. paytime:
  11073. description: 付款时间
  11074. type: string
  11075. qtydecimalplace:
  11076. description: 成交量小数位
  11077. type: integer
  11078. sellaccountid:
  11079. description: 卖方账号ID[报价币种]
  11080. type: integer
  11081. sellorderid:
  11082. description: 卖方委托单号
  11083. type: string
  11084. tradeamount:
  11085. description: 成交金额(优惠后金额)
  11086. type: number
  11087. tradecharge:
  11088. description: 成交手续费(买方)
  11089. type: number
  11090. tradedate:
  11091. description: 交易日(yyyyMMdd)
  11092. type: string
  11093. tradeid:
  11094. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11095. type: string
  11096. tradeprice:
  11097. description: 成交价格
  11098. type: number
  11099. tradeqty:
  11100. description: 成交数量
  11101. type: number
  11102. type: object
  11103. models.QhjPickArea:
  11104. properties:
  11105. address:
  11106. description: 详细地址
  11107. type: string
  11108. cityid:
  11109. description: 市
  11110. type: integer
  11111. cityname:
  11112. description: 城市名称
  11113. type: string
  11114. countryid:
  11115. description: 国家
  11116. type: integer
  11117. countryname:
  11118. description: 国家名称
  11119. type: string
  11120. districtid:
  11121. description: 地区
  11122. type: integer
  11123. districtname:
  11124. description: 地区名称
  11125. type: string
  11126. fromuserid:
  11127. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11128. type: integer
  11129. fromusername:
  11130. description: 所属机构名称
  11131. type: string
  11132. provinceid:
  11133. description: 省
  11134. type: integer
  11135. provincename:
  11136. description: 省名称
  11137. type: string
  11138. suborgtype:
  11139. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11140. type: integer
  11141. userid:
  11142. description: 机构用户ID 其他做市关系,都设置为 1
  11143. type: integer
  11144. username:
  11145. description: 机构用户名称(门店门称)
  11146. type: string
  11147. type: object
  11148. models.QhjPickGoods:
  11149. properties:
  11150. enumdicname:
  11151. description: 单位名称(提货商品)
  11152. type: string
  11153. goodsid:
  11154. description: 商品id
  11155. type: integer
  11156. imageaddress:
  11157. description: 图片
  11158. type: string
  11159. modifierid:
  11160. description: 修改人
  11161. type: integer
  11162. modifiername:
  11163. description: 修改人名称
  11164. type: string
  11165. modifysrc:
  11166. description: 修改来源 - 1:管理端 2:终端
  11167. type: integer
  11168. pickupgoodsagreeunit:
  11169. description: 合约乘数
  11170. type: number
  11171. pickupgoodsdesc:
  11172. description: 描述
  11173. type: string
  11174. pickupgoodsid:
  11175. description: 提货商品ID
  11176. type: string
  11177. pickupgoodsname:
  11178. description: 提货商品名称
  11179. type: string
  11180. pickupgoodsstatus:
  11181. description: 状态 - 1:正常 2:停用 3:注销
  11182. type: integer
  11183. pickupgoodsunitid:
  11184. description: 单位ID
  11185. type: integer
  11186. pickupratio:
  11187. description: 提货系数
  11188. type: number
  11189. preparedays:
  11190. description: 备货期(天)
  11191. type: integer
  11192. remark:
  11193. description: 备注
  11194. type: string
  11195. updatetime:
  11196. description: 更新时间
  11197. type: string
  11198. type: object
  11199. models.QhjRSTriggerLog:
  11200. properties:
  11201. accountid:
  11202. description: 用户资金账户
  11203. type: integer
  11204. accountname:
  11205. description: 账号名称(ACCOUNTID对应的名称)
  11206. type: string
  11207. currencyid:
  11208. description: 币种id
  11209. type: integer
  11210. currencyname:
  11211. description: 币种名称
  11212. type: string
  11213. decimalplace:
  11214. description: 商品报价小数位
  11215. type: integer
  11216. enumdicname:
  11217. description: 单位名称
  11218. type: string
  11219. goodscode:
  11220. description: 定投商品代码
  11221. type: string
  11222. goodsid:
  11223. description: 定投商品ID
  11224. type: integer
  11225. goodsname:
  11226. description: 定投商品名称
  11227. type: string
  11228. goodunitid:
  11229. description: 定投商品单位id
  11230. type: integer
  11231. logid:
  11232. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11233. type: string
  11234. logincode:
  11235. description: 账号(登录代码)
  11236. type: string
  11237. qtydecimalplace:
  11238. description: 成交量小数位
  11239. type: integer
  11240. regularlycycle:
  11241. description: 定投频率 - 1:每周 2:每月
  11242. type: integer
  11243. regularlycyclevalue:
  11244. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11245. type: string
  11246. regularlymode:
  11247. description: 定投方式 - 1:按数量 2:按金额
  11248. type: integer
  11249. regularlymodevalue:
  11250. description: 定投方式值 - 数量或金额
  11251. type: number
  11252. regularlystrategyid:
  11253. description: 定投策略ID
  11254. type: integer
  11255. retcode:
  11256. description: 错误码
  11257. type: string
  11258. tradeid:
  11259. description: 成交单ID
  11260. type: string
  11261. triggeramount:
  11262. description: 触发金额
  11263. type: number
  11264. triggerqty:
  11265. description: 触发数量
  11266. type: number
  11267. triggerstatus:
  11268. description: 触发状态 - 1:成功 2:失败
  11269. type: integer
  11270. triggertime:
  11271. description: 触发时间
  11272. type: string
  11273. triggertradedate:
  11274. description: 触发交易日
  11275. type: string
  11276. userid:
  11277. description: 所属用户ID
  11278. type: integer
  11279. userinfotype:
  11280. description: 用户类型 1-个人 2-企业
  11281. type: integer
  11282. username:
  11283. description: 用户名称(userid对应的名称)
  11284. type: string
  11285. type: object
  11286. models.QhjRStrategy:
  11287. properties:
  11288. accountid:
  11289. description: 用户资金账户
  11290. type: integer
  11291. accountname:
  11292. description: 账号名称(ACCOUNTID对应的名称)
  11293. type: string
  11294. currencyid:
  11295. description: 币种id
  11296. type: integer
  11297. currencyname:
  11298. description: 币种名称
  11299. type: string
  11300. decimalplace:
  11301. description: 商品报价小数位
  11302. type: integer
  11303. enumdicname:
  11304. description: 单位名称
  11305. type: string
  11306. goodscode:
  11307. description: 定投商品代码
  11308. type: string
  11309. goodsid:
  11310. description: 定投商品ID
  11311. type: integer
  11312. goodsname:
  11313. description: 定投商品名称
  11314. type: string
  11315. goodunitid:
  11316. description: 定投商品单位id
  11317. type: integer
  11318. lasteffecttradedate:
  11319. description: 最新生效交易日
  11320. type: string
  11321. laststoptradedate:
  11322. description: 最新暂停交易日
  11323. type: string
  11324. lasttriggertradedate:
  11325. description: 最新触发交易日
  11326. type: string
  11327. logincode:
  11328. description: 账号(登录代码)
  11329. type: string
  11330. nexttriggeramount:
  11331. description: 下次触发金额
  11332. type: number
  11333. nexttriggerdate:
  11334. description: 下次触发日期
  11335. type: string
  11336. nexttriggerqty:
  11337. description: 下次触发数量 [按小数位放大值]
  11338. type: number
  11339. qtydecimalplace:
  11340. description: 成交量小数位
  11341. type: integer
  11342. regularlycycle:
  11343. description: 定投频率 - 1:每周 2:每月
  11344. type: integer
  11345. regularlycyclevalue:
  11346. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11347. type: string
  11348. regularlymode:
  11349. description: 定投方式 - 1:按数量 2:按金额
  11350. type: integer
  11351. regularlymodevalue:
  11352. description: 定投方式值 - 数量或金额
  11353. type: number
  11354. regularlystrategyid:
  11355. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11356. type: integer
  11357. regularlystrategystatus:
  11358. description: 策略状态 - 1:正常 2:暂停 3:终止
  11359. type: integer
  11360. remark:
  11361. description: 备注
  11362. type: string
  11363. triggersuccesstimes:
  11364. description: 累计定投成功次数
  11365. type: string
  11366. triggertotalamount:
  11367. description: 累计定投金额(成功)
  11368. type: number
  11369. triggertotalqty:
  11370. description: 累计定投数量(成功) [按小数位放大值]
  11371. type: number
  11372. triggertotaltimes:
  11373. description: 累计定投总次数
  11374. type: string
  11375. updatesrc:
  11376. description: 更新来源 - 1:管理端 2:终端
  11377. type: integer
  11378. updatetime:
  11379. description: 更新时间
  11380. type: string
  11381. updatorid:
  11382. description: 更新人
  11383. type: string
  11384. userid:
  11385. description: 所属用户ID
  11386. type: integer
  11387. userinfotype:
  11388. description: 用户类型 1-个人 2-企业
  11389. type: integer
  11390. username:
  11391. description: 用户名称(userid对应的名称)
  11392. type: string
  11393. type: object
  11394. models.QhjReckonPriceLog:
  11395. properties:
  11396. decimalplace:
  11397. description: 商品报价小数位
  11398. type: integer
  11399. goodscode:
  11400. description: 商品代码
  11401. type: string
  11402. goodsid:
  11403. description: 商品ID
  11404. type: integer
  11405. goodsname:
  11406. description: 商品名称
  11407. type: string
  11408. lastreckonprice:
  11409. description: 上日结算价
  11410. type: number
  11411. nextdnlimitprice:
  11412. description: 下个交易日跌停价
  11413. type: number
  11414. nexttrade:
  11415. description: 下个交易日
  11416. type: string
  11417. nextuplimitprice:
  11418. description: 下个交易日涨停价
  11419. type: number
  11420. reckonprice:
  11421. description: 今日结算价(定投价)
  11422. type: number
  11423. reckontime:
  11424. description: 结算时间
  11425. type: string
  11426. totalholderqty:
  11427. description: 总持仓数
  11428. type: integer
  11429. totalstock:
  11430. description: 总库存
  11431. type: integer
  11432. tradedate:
  11433. description: 交易日
  11434. type: string
  11435. updowncount:
  11436. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11437. type: integer
  11438. updownflag:
  11439. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11440. type: integer
  11441. updownrate:
  11442. description: 今日涨跌幅
  11443. type: number
  11444. updownrate_2d:
  11445. description: 连续两日涨跌幅
  11446. type: number
  11447. updownrate_3d:
  11448. description: 连续三日涨跌幅
  11449. type: number
  11450. type: object
  11451. models.QhjSiteColumnDetail:
  11452. properties:
  11453. author:
  11454. description: 作者
  11455. type: string
  11456. brief:
  11457. description: 简介
  11458. type: string
  11459. columnid:
  11460. description: 所属栏目
  11461. type: integer
  11462. context:
  11463. description: 内容
  11464. type: string
  11465. coverimage:
  11466. description: 封面图片
  11467. type: string
  11468. creaedate:
  11469. description: 创建时间
  11470. type: string
  11471. creatorid:
  11472. description: 创建人
  11473. type: integer
  11474. hits:
  11475. description: 点击数
  11476. type: integer
  11477. id:
  11478. description: ID(SEQ_SITE_COLUMNDETAIL)
  11479. type: integer
  11480. isshow:
  11481. description: 是否展示 - 0:不展示 1:展示
  11482. type: integer
  11483. istop:
  11484. description: 是否置顶 - 0:不置 1:置顶
  11485. type: integer
  11486. modifierid:
  11487. description: 操作人
  11488. type: integer
  11489. publishdate:
  11490. description: 发布日期
  11491. type: string
  11492. status:
  11493. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11494. type: integer
  11495. title:
  11496. description: 标题
  11497. type: string
  11498. updatedate:
  11499. description: 修改时间
  11500. type: string
  11501. userid:
  11502. description: 用户ID(默认为0, 核心为为机构用户ID)
  11503. type: integer
  11504. username:
  11505. description: 用户名称
  11506. type: string
  11507. type: object
  11508. models.QhjTradeGoodsPickup:
  11509. properties:
  11510. accountid:
  11511. description: 账户ID
  11512. type: integer
  11513. address:
  11514. description: 提货人详细地址
  11515. type: string
  11516. amount:
  11517. description: 提货金额
  11518. type: number
  11519. artradedate:
  11520. description: 自动收货交易日(yyyyMMdd)
  11521. type: string
  11522. auditer:
  11523. description: 审核人
  11524. type: integer
  11525. auditsrc:
  11526. description: 更新来源 - 1:管理端 2:终端
  11527. type: integer
  11528. audittime:
  11529. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11530. type: string
  11531. audittradedate:
  11532. description: 审核交易日(yyyyMMdd)
  11533. type: string
  11534. cardnum:
  11535. description: 提货人证件号码
  11536. type: string
  11537. cardtypeid:
  11538. description: 提货人证件类型
  11539. type: integer
  11540. checkremark:
  11541. description: 审核备注
  11542. type: string
  11543. cityid:
  11544. description: 市
  11545. type: integer
  11546. cityname:
  11547. description: 城市名称
  11548. type: string
  11549. confirmtime:
  11550. description: 取货时间 或 收货时间
  11551. type: string
  11552. countryid:
  11553. description: 国家
  11554. type: integer
  11555. countryname:
  11556. description: 国家名称
  11557. type: string
  11558. decimalplace:
  11559. description: 商品报价小数位
  11560. type: integer
  11561. districtid:
  11562. description: 地区
  11563. type: integer
  11564. districtname:
  11565. description: 地区名称
  11566. type: string
  11567. enumdicname:
  11568. description: 单位名称(提货商品)
  11569. type: string
  11570. expresscompany:
  11571. description: 物流公司
  11572. type: string
  11573. expressnum:
  11574. description: 物流单号
  11575. type: string
  11576. goodsagreeunit:
  11577. description: 交易商品乘数
  11578. type: number
  11579. goodscode:
  11580. description: 商品代码
  11581. type: string
  11582. goodsid:
  11583. description: 商品ID
  11584. type: integer
  11585. goodsname:
  11586. description: 商品名称
  11587. type: string
  11588. goodsqty:
  11589. description: 交易商品手数(69模式按成交量小数位放大取整)
  11590. type: number
  11591. handlestatus:
  11592. description: 处理状态
  11593. type: integer
  11594. logincode:
  11595. description: 账号(登录代码, 有可能为空)
  11596. type: string
  11597. marketid:
  11598. description: 市场ID
  11599. type: integer
  11600. phonenum:
  11601. description: 提货人联系方式
  11602. type: string
  11603. pickupgoodsagreeunit:
  11604. description: 提货商品合约乘数
  11605. type: number
  11606. pickupgoodsid:
  11607. description: 提货商品ID
  11608. type: string
  11609. pickupgoodsname:
  11610. description: 提货商品名称
  11611. type: string
  11612. pickupgoodsqty:
  11613. description: 提货商品手数(数量)
  11614. type: number
  11615. pickupgoodsunitid:
  11616. description: 单位ID(提货商品)
  11617. type: integer
  11618. pickupratio:
  11619. description: 提货系数
  11620. type: number
  11621. preparedays:
  11622. description: 备货期(天)-提货单明细表
  11623. type: integer
  11624. provinceid:
  11625. description: 省
  11626. type: integer
  11627. provincename:
  11628. description: 省名称
  11629. type: string
  11630. qty:
  11631. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  11632. type: number
  11633. qtydecimalplace:
  11634. description: 商品数量小数位
  11635. type: integer
  11636. recivername:
  11637. description: 提货人姓名
  11638. type: string
  11639. reqtime:
  11640. description: 提货申请时间
  11641. type: string
  11642. storeuserid:
  11643. description: 门店用户ID (千海金)
  11644. type: integer
  11645. storeusername:
  11646. description: 门店用户名称
  11647. type: string
  11648. takemode:
  11649. description: 提货方式 - 2:自提 3:配送(邮寄)
  11650. type: integer
  11651. takeorderid:
  11652. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11653. type: string
  11654. takeorderstatus:
  11655. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  11656. 7:已拒绝 8:已撤销
  11657. type: integer
  11658. takeremark:
  11659. description: 提货备注
  11660. type: string
  11661. tradedate:
  11662. description: 交易日(yyyyMMdd)
  11663. type: string
  11664. updatetime:
  11665. description: 更新时间
  11666. type: string
  11667. userid:
  11668. description: 用户ID
  11669. type: integer
  11670. userinfotype:
  11671. description: 客户类型 1-个人 2-企业
  11672. type: integer
  11673. username:
  11674. description: 用户名称
  11675. type: string
  11676. type: object
  11677. models.QhjUserNodeCfgAndStatus:
  11678. properties:
  11679. agreementcontent:
  11680. description: 协议内容
  11681. type: string
  11682. agreementid:
  11683. description: 协议ID
  11684. type: integer
  11685. agreementname:
  11686. description: 协议名称
  11687. type: string
  11688. agreementno:
  11689. description: 协议编号
  11690. type: string
  11691. agreementtype:
  11692. description: 协议类型 - 1:注册 2:登录 3:交易
  11693. type: integer
  11694. agreementversion:
  11695. description: 协议版本号
  11696. type: integer
  11697. configid:
  11698. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11699. type: integer
  11700. createtime:
  11701. description: 创建时间
  11702. type: string
  11703. goodsid:
  11704. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11705. type: integer
  11706. nodetype:
  11707. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11708. type: integer
  11709. signtimestamp:
  11710. description: 签约状态时间戳(最近一次)
  11711. type: string
  11712. tradedate:
  11713. description: 签约交易日(yyyyMMdd)
  11714. type: string
  11715. userid:
  11716. description: 客户ID
  11717. type: integer
  11718. type: object
  11719. models.Qhjgoodsex:
  11720. properties:
  11721. canfinance:
  11722. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  11723. type: integer
  11724. canregularlybuy:
  11725. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  11726. type: integer
  11727. defaulttradeuserid:
  11728. description: 默认交易用户ID
  11729. type: integer
  11730. deliverygoodsid:
  11731. description: 现货品种ID
  11732. type: integer
  11733. goodsid:
  11734. description: 商品ID(自增ID SEQ_GOODS)
  11735. type: integer
  11736. minamount:
  11737. description: 最小购买金额
  11738. type: number
  11739. regularlybuyminamount:
  11740. description: 定投最小金额
  11741. type: number
  11742. regularlybuyminqty:
  11743. description: 定投最小数量
  11744. type: number
  11745. spotgoodsbrandid:
  11746. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  11747. type: integer
  11748. visibilityforenterprise:
  11749. description: 企业客户是否可见 - 0:不可见 1:可见
  11750. type: integer
  11751. visibilityforpersonal:
  11752. description: 个人客户是否可见 - 0:不可见 1:可见
  11753. type: integer
  11754. wrstandardid:
  11755. description: 现货商品ID
  11756. type: integer
  11757. type: object
  11758. models.QueryErrorInfosRsp:
  11759. properties:
  11760. description:
  11761. description: 异常描述
  11762. type: string
  11763. errorcode:
  11764. description: 异常代码
  11765. type: string
  11766. errorid:
  11767. description: 异常ID
  11768. type: integer
  11769. modulecode:
  11770. description: 所属模块
  11771. type: string
  11772. operatecode:
  11773. description: 所属操作
  11774. type: string
  11775. rownumber:
  11776. description: 行号
  11777. type: string
  11778. required:
  11779. - errorid
  11780. type: object
  11781. models.QueryHedgeOrderDetailRsp:
  11782. properties:
  11783. accountid:
  11784. description: 账户ID
  11785. type: integer
  11786. buyorsell:
  11787. description: 买卖 - 0:买 1:卖
  11788. type: integer
  11789. cancellogincode:
  11790. description: 撤单人
  11791. type: string
  11792. channelbuildtype:
  11793. description: 开平标志 - 0:无 1:建仓 2:平仓
  11794. type: integer
  11795. channelinnerorderstatus:
  11796. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11797. 9:全部成交
  11798. type: integer
  11799. channeloperatetype:
  11800. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11801. type: integer
  11802. closetype:
  11803. description: 平仓方式 - 0:无 1:平今 2:平昨
  11804. type: integer
  11805. curexchangerate:
  11806. description: 当前汇率
  11807. type: number
  11808. exchangefullname:
  11809. description: 外部交易所全称
  11810. type: string
  11811. goodscode:
  11812. description: 商品代码(内部)
  11813. type: string
  11814. goodsid:
  11815. description: 商品ID
  11816. type: integer
  11817. goodsname:
  11818. description: 商品名称
  11819. type: string
  11820. marketid:
  11821. description: 市场ID
  11822. type: integer
  11823. openfreezemargin:
  11824. description: 冻结保证金(冻结交易金额)
  11825. type: number
  11826. orderid:
  11827. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11828. type: string
  11829. orderlogincode:
  11830. description: 委托人
  11831. type: string
  11832. orderprice:
  11833. description: 委托价格(账户)
  11834. type: number
  11835. orderqty:
  11836. description: 委托数量
  11837. type: integer
  11838. ordertime:
  11839. description: 委托时间
  11840. type: string
  11841. pricemode:
  11842. description: '取价方式 - 1:市价 2: 限价'
  11843. type: integer
  11844. tradedate:
  11845. description: 交易日(yyyyMMdd)
  11846. type: string
  11847. tradeqty:
  11848. description: 成交数量
  11849. type: integer
  11850. type: object
  11851. models.QueryHedgeTradeDetailRsp:
  11852. properties:
  11853. accountid:
  11854. description: 账号ID
  11855. type: integer
  11856. buyorsell:
  11857. description: 方向 - 0:买 1:卖
  11858. type: integer
  11859. channelbuildtype:
  11860. description: 委托单据类型 0:无 1:建仓 2:平仓
  11861. type: integer
  11862. closecharge:
  11863. description: 平仓手续费(账户)
  11864. type: number
  11865. closecharge2:
  11866. description: 平仓手续费(商品)
  11867. type: number
  11868. closepl:
  11869. description: 平仓盈亏(账户)
  11870. type: number
  11871. closepl2:
  11872. description: 平仓盈亏(商品)
  11873. type: number
  11874. closepl3:
  11875. description: 平仓盈亏(账户)(逐笔)
  11876. type: number
  11877. closepl4:
  11878. description: 平仓盈亏(商品)(逐笔)
  11879. type: number
  11880. closetype:
  11881. description: 平仓方式 - 0:无 1:平今 2:平昨
  11882. type: integer
  11883. curexchangerate:
  11884. description: 当前汇率
  11885. type: number
  11886. exchangefullname:
  11887. description: 外部交易所全称
  11888. type: string
  11889. goodscode:
  11890. description: 商品代码(内部)
  11891. type: string
  11892. goodsid:
  11893. description: 商品ID
  11894. type: integer
  11895. goodsname:
  11896. description: 商品名称
  11897. type: string
  11898. marketid:
  11899. description: 市场ID
  11900. type: integer
  11901. opencharge:
  11902. description: 建仓手续费(账户)
  11903. type: number
  11904. opencharge2:
  11905. description: 建仓手续费(商品)
  11906. type: number
  11907. orderid:
  11908. description: 委托单号
  11909. type: string
  11910. orderlogincode:
  11911. description: 委托人
  11912. type: string
  11913. tradeamount:
  11914. description: 成交金额(账户)
  11915. type: number
  11916. tradedate:
  11917. description: 交易日(yyyyMMdd)
  11918. type: string
  11919. tradeid:
  11920. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11921. type: string
  11922. tradeprice:
  11923. description: 成交价格
  11924. type: number
  11925. tradeqty:
  11926. description: 成交数量
  11927. type: integer
  11928. tradetime:
  11929. description: 成交时间
  11930. type: string
  11931. tradetype:
  11932. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  11933. type: integer
  11934. type: object
  11935. models.QuotePrimaryMenu:
  11936. properties:
  11937. Index:
  11938. description: 序号
  11939. type: integer
  11940. Key:
  11941. description: 键名
  11942. type: string
  11943. Name:
  11944. description: 菜单名称
  11945. type: string
  11946. SubMenus:
  11947. description: 子菜单
  11948. items:
  11949. $ref: '#/definitions/models.QuoteSecondaryMenu'
  11950. type: array
  11951. SubTitleType:
  11952. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  11953. type: integer
  11954. TradeModes:
  11955. description: 包含市场交易类型
  11956. type: string
  11957. type: object
  11958. models.QuoteSecondaryMenu:
  11959. properties:
  11960. ExExchangeCode:
  11961. description: 外部交易所代码
  11962. type: string
  11963. ExExchangeID:
  11964. description: 外部交易所ID
  11965. type: integer
  11966. GoodsGroupIDs:
  11967. description: 商品组ID列表
  11968. items:
  11969. type: integer
  11970. type: array
  11971. Index:
  11972. description: 序号
  11973. type: integer
  11974. MarketID:
  11975. description: 市场ID
  11976. type: integer
  11977. MenuTitle:
  11978. description: 菜单标题(市场名称或外部交易所名称)
  11979. type: string
  11980. TradeMode:
  11981. description: 交易模式
  11982. type: integer
  11983. type: object
  11984. models.SearchGoods:
  11985. properties:
  11986. goodscode:
  11987. description: 商品代码(内部)
  11988. type: string
  11989. goodsid:
  11990. description: 商品ID(自增ID SEQ_GOODS)
  11991. type: integer
  11992. goodsname:
  11993. description: 商品名称
  11994. type: string
  11995. marketid:
  11996. description: 所属市场ID
  11997. type: integer
  11998. marketname:
  11999. description: 市场名称
  12000. type: string
  12001. trademode:
  12002. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12003. 21:竞拍-大宗式 22:受托竞价
  12004. type: integer
  12005. required:
  12006. - goodscode
  12007. - goodsid
  12008. - goodsname
  12009. - marketid
  12010. - trademode
  12011. type: object
  12012. models.Systemparam:
  12013. properties:
  12014. loginid:
  12015. description: 更新用户账号,登录账号
  12016. type: string
  12017. modifyflag:
  12018. description: 修改标志0 不允许修改 1 允许修改
  12019. type: integer
  12020. paramcode:
  12021. description: 参数代码
  12022. type: string
  12023. paramname:
  12024. description: 参数名
  12025. type: string
  12026. paramtype:
  12027. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12028. type: integer
  12029. paramvalue:
  12030. description: 参数值
  12031. type: string
  12032. paramvalue2:
  12033. description: 参数值(CLOB)
  12034. type: string
  12035. regexpress:
  12036. description: 正则表达式
  12037. type: string
  12038. remark:
  12039. description: 备注
  12040. type: string
  12041. serverip:
  12042. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12043. type: string
  12044. showflag:
  12045. description: 是否显示0 不显示 1 显示
  12046. type: integer
  12047. updatetime:
  12048. description: 更新时间
  12049. type: string
  12050. userid:
  12051. description: 更新用户ID
  12052. type: integer
  12053. required:
  12054. - paramcode
  12055. type: object
  12056. models.Szdz3convertconfig:
  12057. properties:
  12058. canin:
  12059. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12060. type: integer
  12061. canout:
  12062. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12063. type: integer
  12064. converttype:
  12065. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12066. 6:交易转花生米(不设置)
  12067. type: integer
  12068. createtime:
  12069. description: 创建时间
  12070. type: string
  12071. creatorid:
  12072. description: 创建人
  12073. type: integer
  12074. daymaxvalue:
  12075. description: 当日最大转入限制
  12076. type: number
  12077. freezedays:
  12078. description: 冻结天数 [5:花生米转交易]
  12079. type: integer
  12080. innergoodsid:
  12081. description: 内部商品ID[交易]
  12082. type: integer
  12083. inratio:
  12084. description: 目标值
  12085. type: integer
  12086. modifierid:
  12087. description: 修改人
  12088. type: integer
  12089. modifytime:
  12090. description: 修改时间
  12091. type: string
  12092. outergoodscode:
  12093. description: 外部商品代码[JD\PD]
  12094. type: string
  12095. outratio:
  12096. description: 源值
  12097. type: integer
  12098. pddecimalplace:
  12099. description: PD小数位
  12100. type: integer
  12101. timemaxvalue:
  12102. description: 单次最大转入限制
  12103. type: number
  12104. timeminvalue:
  12105. description: 单次最小转入限制
  12106. type: number
  12107. required:
  12108. - converttype
  12109. - innergoodsid
  12110. - outergoodscode
  12111. type: object
  12112. models.Szdz3searchwhitelist:
  12113. properties:
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. creatorid:
  12118. description: 创建人
  12119. type: integer
  12120. modifierid:
  12121. description: 修改人
  12122. type: integer
  12123. modifytime:
  12124. description: 修改时间
  12125. type: string
  12126. userid:
  12127. description: 用户ID
  12128. type: integer
  12129. required:
  12130. - userid
  12131. type: object
  12132. models.Taaccount:
  12133. properties:
  12134. accountflag:
  12135. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12136. type: integer
  12137. accountid:
  12138. description: 资金账户ID
  12139. type: integer
  12140. accountname:
  12141. description: 账户名称
  12142. type: string
  12143. balance:
  12144. description: 期初余额
  12145. type: number
  12146. capitalbalance:
  12147. description: 本金余额[外部子账户实际出入金余额]
  12148. type: number
  12149. changeflag:
  12150. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12151. type: integer
  12152. changetime:
  12153. description: 账户状态变更时间
  12154. type: string
  12155. closepl:
  12156. description: 今日平仓盈亏
  12157. type: number
  12158. creditdecrease:
  12159. description: 今日授信减少
  12160. type: number
  12161. creditincrease:
  12162. description: 今日授信增加
  12163. type: number
  12164. currencyid:
  12165. description: 货币ID
  12166. type: integer
  12167. currentbalance:
  12168. description: 期末余额
  12169. type: number
  12170. freezecharge:
  12171. description: 手续费冻结
  12172. type: number
  12173. freezemargin:
  12174. description: 冻结保证金
  12175. type: number
  12176. fromaccountid:
  12177. description: 所属上级账户
  12178. type: integer
  12179. inamount:
  12180. description: 今日入金金额(包括三方入金)
  12181. type: number
  12182. ismain:
  12183. description: 是否母账号 0:不是母账户 1:是母账户
  12184. type: integer
  12185. ismarketaccount:
  12186. description: 是否机构接单账号 0:不是 1:是
  12187. type: integer
  12188. isreckonaccount:
  12189. description: 是否机构分润账号 0:不是 1:是
  12190. type: integer
  12191. mortgagecredit:
  12192. description: 授信金额
  12193. type: number
  12194. orifreezecharge:
  12195. description: 期初手续费冻结
  12196. type: number
  12197. orifreezemargin:
  12198. description: 期初冻结保证金
  12199. type: number
  12200. orimortgagecredit:
  12201. description: 期初授信金额
  12202. type: number
  12203. oriothercredit:
  12204. description: 期初其它授信金额
  12205. type: number
  12206. oriotherfreezemargin:
  12207. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12208. type: number
  12209. orioutamountfreeze:
  12210. description: 期初出金冻结
  12211. type: number
  12212. oriusedmargin:
  12213. description: 期初占用保证金
  12214. type: number
  12215. othercredit:
  12216. description: 其它授信金额
  12217. type: number
  12218. othercreditdecrease:
  12219. description: 今日其它授信减少
  12220. type: number
  12221. othercreditincrease:
  12222. description: 今日其它授信增加
  12223. type: number
  12224. otherfreezemargin:
  12225. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12226. type: number
  12227. otherincome:
  12228. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12229. type: number
  12230. otherpay:
  12231. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12232. type: number
  12233. outamount:
  12234. description: 今日出金金额(包括三方出金)
  12235. type: number
  12236. outamountfreeze:
  12237. description: 出金冻结
  12238. type: number
  12239. outthreshold:
  12240. description: 出金阈值
  12241. type: number
  12242. parentaccountid:
  12243. description: 所属根账号
  12244. type: integer
  12245. paycharge:
  12246. description: 今日手续费支出
  12247. type: number
  12248. relatedaccountstatus:
  12249. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12250. type: integer
  12251. relateduserid:
  12252. description: 关联用户
  12253. type: integer
  12254. serivcegroup:
  12255. description: 服务分组
  12256. type: integer
  12257. signstatus:
  12258. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12259. type: integer
  12260. sublevelpath:
  12261. description: 账号层级路径(逗号分隔,首尾加逗号)
  12262. type: string
  12263. taaccounttype:
  12264. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12265. type: integer
  12266. thirdinamount:
  12267. description: 今日三方入金
  12268. type: number
  12269. thirdoutamount:
  12270. description: 今日三方出金
  12271. type: number
  12272. tradestatus:
  12273. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12274. type: integer
  12275. tradestatuschangetime:
  12276. description: 激活时间
  12277. type: string
  12278. transferamount:
  12279. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12280. type: number
  12281. usedmargin:
  12282. description: 占用保证金
  12283. type: number
  12284. userid:
  12285. description: 用户ID
  12286. type: integer
  12287. required:
  12288. - accountid
  12289. - userid
  12290. type: object
  12291. models.Tablecolumnconfig:
  12292. properties:
  12293. aligntype:
  12294. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12295. type: integer
  12296. autoid:
  12297. description: AutoID
  12298. type: integer
  12299. columnfield:
  12300. description: 列字段
  12301. type: string
  12302. columntitle:
  12303. description: 列Title
  12304. type: string
  12305. columnwidth:
  12306. description: 列宽
  12307. type: string
  12308. formatterstring:
  12309. description: 格式化字符
  12310. type: string
  12311. formattertype:
  12312. description: 格式化类型
  12313. type: string
  12314. groupname:
  12315. description: 表头分组名称
  12316. type: string
  12317. isshow:
  12318. description: 是否显示 - 0:不显示 1:显示
  12319. type: integer
  12320. needsummary:
  12321. description: 是否需要汇总 - 0:不需要 1:需要
  12322. type: integer
  12323. orderindex:
  12324. description: 顺序
  12325. type: integer
  12326. remark:
  12327. description: 备注
  12328. type: string
  12329. summarytype:
  12330. description: 汇总类型 - 1:加总 2:最后一个
  12331. type: integer
  12332. tablekey:
  12333. description: 列表Key
  12334. type: string
  12335. required:
  12336. - autoid
  12337. type: object
  12338. models.UserCollectConfig:
  12339. properties:
  12340. accountstatus:
  12341. description: 账户状态 - 1:正常 2:停用 3:注销
  12342. type: integer
  12343. collectaccountname:
  12344. description: 收款人账户名称
  12345. type: string
  12346. collectaccountno:
  12347. description: 收款人账户
  12348. type: string
  12349. collectbankname:
  12350. description: 收款人开户行
  12351. type: string
  12352. collectbranchbankname:
  12353. description: 收款人开户支行
  12354. type: string
  12355. collectconfigid:
  12356. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12357. type: string
  12358. remark:
  12359. description: 备注
  12360. type: string
  12361. userid:
  12362. description: 收款人用户ID
  12363. type: integer
  12364. type: object
  12365. models.UserReceiveInfo:
  12366. properties:
  12367. address:
  12368. description: 提货人详细地址
  12369. type: string
  12370. autoid:
  12371. description: AutoID
  12372. type: integer
  12373. cardnum:
  12374. description: 证件号码(加密存储)
  12375. type: string
  12376. cardtypeid:
  12377. description: 证件类型
  12378. type: integer
  12379. cityid:
  12380. description: 市
  12381. type: integer
  12382. cityname:
  12383. description: 城市名称
  12384. type: string
  12385. countryid:
  12386. description: 国家
  12387. type: integer
  12388. countryname:
  12389. description: 国家名称
  12390. type: string
  12391. districtid:
  12392. description: 地区
  12393. type: integer
  12394. districtname:
  12395. description: 地区名称
  12396. type: string
  12397. hasencrypt:
  12398. description: 数据是否已加密 - 0:未加密 1:已加密
  12399. type: integer
  12400. isdefault:
  12401. description: 是否默认地址 - 0:否 1:是
  12402. type: integer
  12403. phonenum:
  12404. description: 提货人联系方式(加密存储)
  12405. type: string
  12406. provinceid:
  12407. description: 省
  12408. type: integer
  12409. provincename:
  12410. description: 省名称
  12411. type: string
  12412. receivername:
  12413. description: 提货人姓名
  12414. type: string
  12415. takeremark:
  12416. description: 提货备注
  12417. type: string
  12418. userid:
  12419. description: 用户ID
  12420. type: integer
  12421. type: object
  12422. models.Useraccount:
  12423. properties:
  12424. accountname:
  12425. description: 账户名称(机构名称)
  12426. type: string
  12427. accountstatus:
  12428. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12429. type: integer
  12430. applysrc:
  12431. description: 申请来源 - 1:管理端 2:终端
  12432. type: integer
  12433. auditremark:
  12434. description: 审核备注
  12435. type: string
  12436. auditsrc:
  12437. description: 审核来源 - 1:管理端 2:终端
  12438. type: integer
  12439. audittime:
  12440. description: 审核时间
  12441. type: string
  12442. audituserid:
  12443. description: 审核人
  12444. type: integer
  12445. broker:
  12446. description: 所属经纪人ID
  12447. type: integer
  12448. canceltime:
  12449. description: 销户时间
  12450. type: string
  12451. canceluserid:
  12452. description: 销户人
  12453. type: integer
  12454. canrecommend:
  12455. description: 是否可推荐 - 0:不可 1;可
  12456. type: integer
  12457. createtime:
  12458. description: 创建时间
  12459. type: string
  12460. creatorid:
  12461. description: 创建人
  12462. type: integer
  12463. hasauth:
  12464. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12465. type: integer
  12466. isanonymous:
  12467. description: 是否匿名下单 - 0:否 1:是
  12468. type: integer
  12469. maxinvestornum:
  12470. description: 最大用户数(经纪会员下投资者个数)
  12471. type: integer
  12472. memberuserid:
  12473. description: 所属会员ID
  12474. type: integer
  12475. modifierid:
  12476. description: 修改人
  12477. type: integer
  12478. modifyremark:
  12479. description: 变更备注
  12480. type: string
  12481. modifystatus:
  12482. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12483. type: integer
  12484. modifytime:
  12485. description: 修改时间
  12486. type: string
  12487. parenttopuser:
  12488. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12489. type: string
  12490. parentuserid:
  12491. description: 所属机构ID
  12492. type: integer
  12493. reckonaccountid:
  12494. description: 默认结算资金账号ID(机构分润使用) 作废
  12495. type: integer
  12496. refercount:
  12497. description: 推荐总人数
  12498. type: integer
  12499. refereeuserid:
  12500. description: 推荐人ID
  12501. type: integer
  12502. refernum:
  12503. description: 推荐码
  12504. type: string
  12505. rootuserid:
  12506. description: 根用户ID
  12507. type: integer
  12508. subaccountlevel:
  12509. description: 子账户层数
  12510. type: integer
  12511. subarealevelpath:
  12512. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12513. type: string
  12514. userid:
  12515. description: 用户ID
  12516. type: integer
  12517. usertype:
  12518. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12519. type: integer
  12520. required:
  12521. - userid
  12522. type: object
  12523. models.Userfavoritegoods:
  12524. properties:
  12525. goodsid:
  12526. description: 商品ID
  12527. type: integer
  12528. required:
  12529. - goodsid
  12530. type: object
  12531. models.Userinfo:
  12532. properties:
  12533. address:
  12534. description: 地址
  12535. type: string
  12536. attachment1:
  12537. description: 附件1
  12538. type: string
  12539. attachment2:
  12540. description: 附件2
  12541. type: string
  12542. bankaccount:
  12543. description: 银行帐号 (加密存储)
  12544. type: string
  12545. bankaccountname:
  12546. description: 收款人名称
  12547. type: string
  12548. bankcardfrontphotourl:
  12549. description: 银行卡正面照地址
  12550. type: string
  12551. bankid:
  12552. description: 银行编码
  12553. type: string
  12554. bankname:
  12555. description: 银行名称
  12556. type: string
  12557. biznature:
  12558. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12559. type: integer
  12560. bizscope:
  12561. description: 企业经营范围(企业)
  12562. type: string
  12563. cardbackphotourl:
  12564. description: 证件背面图片地址
  12565. type: string
  12566. cardfrontphotourl:
  12567. description: 证件正面图片地址
  12568. type: string
  12569. cardnum:
  12570. description: 证件号码(加密存储)
  12571. type: string
  12572. cardtypeid:
  12573. description: 证件类型ID
  12574. type: integer
  12575. cityid:
  12576. description: 市
  12577. type: integer
  12578. company:
  12579. description: 公司(个人)
  12580. type: string
  12581. contactname:
  12582. description: 联系人
  12583. type: string
  12584. countryid:
  12585. description: 国家
  12586. type: integer
  12587. createtime:
  12588. description: 创建时间
  12589. type: string
  12590. creatorid:
  12591. description: 创建人
  12592. type: integer
  12593. customername:
  12594. description: 客户名称(企业名称)
  12595. type: string
  12596. districtid:
  12597. description: 地区
  12598. type: integer
  12599. email:
  12600. description: 邮件(加密存储)
  12601. type: string
  12602. fax:
  12603. description: 传真(加密存储)
  12604. type: string
  12605. halfbodyphotourl:
  12606. description: 半身照地址
  12607. type: string
  12608. hasencrypt:
  12609. description: 数据是否已加密 - 0:未加密 1:已加密
  12610. type: integer
  12611. headurl:
  12612. description: 头像地址
  12613. type: string
  12614. legalcardbackphotourl:
  12615. description: 法人身份证背面照地址
  12616. type: string
  12617. legalcardfrontphotourl:
  12618. description: 法人身份证正面照地址
  12619. type: string
  12620. legalpersonname:
  12621. description: 法人姓名(企业)
  12622. type: string
  12623. mobile:
  12624. description: 手机号码(加密存储)
  12625. type: string
  12626. mobile2:
  12627. description: 手机号码[明文-尚志]
  12628. type: string
  12629. modifierid:
  12630. description: 修改人
  12631. type: integer
  12632. modifiertime:
  12633. description: 修改时间
  12634. type: string
  12635. needinvoice:
  12636. description: 是否需要发票 - 0:不需要 1:需要
  12637. type: integer
  12638. nickname:
  12639. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  12640. type: string
  12641. openmode:
  12642. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  12643. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  12644. type: integer
  12645. otherurl:
  12646. description: 其它图片地址[使用分号分隔]
  12647. type: string
  12648. postalcode:
  12649. description: 邮政编码
  12650. type: string
  12651. provinceid:
  12652. description: 省
  12653. type: integer
  12654. qq:
  12655. description: QQ(加密存储
  12656. type: string
  12657. remark:
  12658. description: 备注
  12659. type: string
  12660. sex:
  12661. description: '用户性别 0: 女 1: 男'
  12662. type: integer
  12663. signpdfurl:
  12664. description: 签约pdf文件
  12665. type: string
  12666. telphone:
  12667. description: 联系电话(加密存储)
  12668. type: string
  12669. userid:
  12670. description: 用户ID
  12671. type: integer
  12672. userinfotype:
  12673. description: 用户信息类型 - 1:个人 2:企业
  12674. type: integer
  12675. userstatus:
  12676. description: 用户状态 - 1:正常 2:注销
  12677. type: integer
  12678. usertype:
  12679. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  12680. type: integer
  12681. wechat:
  12682. description: 微信(加密存储)
  12683. type: string
  12684. wskhinfo:
  12685. description: 开户申请信息(JSON)
  12686. type: string
  12687. required:
  12688. - userid
  12689. type: object
  12690. models.WRSConverTDetail:
  12691. properties:
  12692. convertratio:
  12693. description: 套保系数
  12694. type: number
  12695. deliverygoodscode:
  12696. description: 现货商品代码
  12697. type: string
  12698. deliverygoodsid:
  12699. description: 现货品种ID
  12700. type: integer
  12701. deliverygoodsname:
  12702. description: 现货商品名称
  12703. type: string
  12704. enumdicname:
  12705. description: 单位名称
  12706. type: string
  12707. goodsunitid:
  12708. description: 套保品种单位id
  12709. type: integer
  12710. middlegoodscode:
  12711. description: 套保品种代码
  12712. type: string
  12713. middlegoodsid:
  12714. description: 套保品种ID
  12715. type: integer
  12716. middlegoodsname:
  12717. description: 套保品种名称
  12718. type: string
  12719. modifytime:
  12720. description: 修改时间
  12721. type: string
  12722. wrstandardid:
  12723. description: 品类ID
  12724. type: integer
  12725. type: object
  12726. models.WRStandardInfo:
  12727. properties:
  12728. areauserid:
  12729. description: 所属机构
  12730. type: integer
  12731. convertfactor:
  12732. description: 标仓系数
  12733. type: number
  12734. createtime:
  12735. description: 创建时间
  12736. type: string
  12737. creatorid:
  12738. description: 创建人
  12739. type: integer
  12740. deliverygoodsid:
  12741. description: 品种ID
  12742. type: integer
  12743. deliverygoodsname:
  12744. description: 交割商品名称
  12745. type: string
  12746. factoryitemjson:
  12747. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  12748. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  12749. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  12750. 逗号分隔'
  12751. type: string
  12752. isvalid:
  12753. description: 是否有效 - 0:无效 1:有效
  12754. type: integer
  12755. minivalue:
  12756. description: 最小变动值
  12757. type: integer
  12758. minivaluedp:
  12759. description: 最小变动值小数位
  12760. type: integer
  12761. realminivalue:
  12762. description: 实际最小变动值
  12763. type: integer
  12764. realminivaluedp:
  12765. description: 实际最小变动值小数位
  12766. type: integer
  12767. remark:
  12768. description: 备注
  12769. type: string
  12770. unitid:
  12771. description: 单位ID
  12772. type: integer
  12773. unitname:
  12774. description: 单位
  12775. type: string
  12776. updatetime:
  12777. description: 更新时间
  12778. type: string
  12779. updatorid:
  12780. description: 更新人
  12781. type: integer
  12782. wrsstatus:
  12783. description: 状态 - 作废 - 0:未激活 1:正常
  12784. type: integer
  12785. wrstandardcode:
  12786. description: 现货品类代码
  12787. type: string
  12788. wrstandardid:
  12789. description: 现货品类ID(SEQ_WRSTANDARD)
  12790. type: integer
  12791. wrstandardname:
  12792. description: 现货品类名称
  12793. type: string
  12794. required:
  12795. - wrstandardid
  12796. type: object
  12797. models.Warehouseinfo:
  12798. properties:
  12799. address:
  12800. description: 详细地址
  12801. type: string
  12802. areauserid:
  12803. description: 所属机构
  12804. type: integer
  12805. autoid:
  12806. description: 自增ID
  12807. type: integer
  12808. cityid:
  12809. description: 市
  12810. type: integer
  12811. contactname:
  12812. description: 联系人
  12813. type: string
  12814. contactnum:
  12815. description: 联系电话
  12816. type: string
  12817. countryid:
  12818. description: 国家
  12819. type: integer
  12820. createtime:
  12821. description: 创建时间
  12822. type: string
  12823. districtid:
  12824. description: 区
  12825. type: integer
  12826. hasvideo:
  12827. description: 是否有视频 - 0:无 1:有
  12828. type: integer
  12829. provinceid:
  12830. description: 省
  12831. type: integer
  12832. remark:
  12833. description: 审核备注
  12834. type: string
  12835. videourl:
  12836. description: 视频地址
  12837. type: string
  12838. warehousecode:
  12839. description: 仓库代码
  12840. type: string
  12841. warehousename:
  12842. description: 仓库名称
  12843. type: string
  12844. warehousestatus:
  12845. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  12846. type: integer
  12847. warehousetype:
  12848. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  12849. type: integer
  12850. required:
  12851. - autoid
  12852. - warehousecode
  12853. type: object
  12854. order.QueryHisTradeDetailRsp:
  12855. properties:
  12856. accountid:
  12857. description: 账户ID[报价币种]
  12858. type: integer
  12859. advanceratio:
  12860. description: 首付比率
  12861. type: number
  12862. buildtype:
  12863. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12864. type: integer
  12865. buyorsell:
  12866. description: 方向 - 0:买 1:卖
  12867. type: integer
  12868. charge:
  12869. description: 手续费
  12870. type: number
  12871. closecharge:
  12872. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12873. type: number
  12874. closeexchagechargevalue:
  12875. description: 平仓交易所手续费设置值
  12876. type: number
  12877. closefeealgorithm:
  12878. description: 平仓手续费收取方式 1:比率 2:固定
  12879. type: integer
  12880. closememberchargevalue:
  12881. description: 平仓会员手续费设置值
  12882. type: number
  12883. closepl:
  12884. description: 平仓盈亏
  12885. type: number
  12886. closepl2:
  12887. description: 平仓盈亏[逐笔]
  12888. type: number
  12889. closeqty:
  12890. description: 平仓数量(先建后平操作 需要记录)
  12891. type: number
  12892. creditamount:
  12893. description: 授信金额
  12894. type: number
  12895. decimalplace:
  12896. description: 商品报价小数位
  12897. type: integer
  12898. enumdicname:
  12899. description: 单位名称
  12900. type: string
  12901. gcaccountid:
  12902. description: 账户ID[合约币种]
  12903. type: integer
  12904. goodscode:
  12905. description: 商品代码
  12906. type: string
  12907. goodsid:
  12908. description: 商品ID
  12909. type: integer
  12910. goodsname:
  12911. description: 商品名称
  12912. type: string
  12913. goodunitid:
  12914. description: 商品单位id
  12915. type: integer
  12916. histradedate:
  12917. description: 历史交易日
  12918. type: string
  12919. intclosepl:
  12920. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12921. type: integer
  12922. isconfirmexercise:
  12923. description: 是否确认行权- 0:否 1:是
  12924. type: integer
  12925. ismain:
  12926. description: 是否主单 - 0:不是 1:是
  12927. type: integer
  12928. ispreexercise:
  12929. description: 是否预申报- 0:否 1:是
  12930. type: integer
  12931. isreckoned:
  12932. description: 是否结算 - 0:未结算 1:已结算
  12933. type: integer
  12934. isvaliddata:
  12935. description: 是否有效 - 0:无效 1:有效
  12936. type: integer
  12937. listingselecttype:
  12938. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12939. type: integer
  12940. marketid:
  12941. description: 市场ID
  12942. type: integer
  12943. marketname:
  12944. description: 市场名称
  12945. type: string
  12946. matchaccountid:
  12947. description: 对手账号id
  12948. type: integer
  12949. memberuserid:
  12950. description: 会员id 个人投资者 需要填写
  12951. type: integer
  12952. opencharge:
  12953. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12954. type: number
  12955. openexchagechargevalue:
  12956. description: 建仓交易所手续费设置值
  12957. type: number
  12958. openfeealgorithm:
  12959. description: 建仓手续费收取方式 1:比率 2:固定
  12960. type: integer
  12961. openmemberchargevalue:
  12962. description: 建仓会员手续费设置值
  12963. type: number
  12964. openqty:
  12965. description: 开仓数量(先建后平操作 需要记录)
  12966. type: number
  12967. optiontype:
  12968. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12969. type: integer
  12970. orderid:
  12971. description: 委托单号
  12972. type: string
  12973. payamount:
  12974. description: 支付金额(付款金额)
  12975. type: number
  12976. performanceplanid:
  12977. description: 履约计划ID[期权]
  12978. type: integer
  12979. performancestatus:
  12980. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12981. type: integer
  12982. preexerciseprice:
  12983. description: 预申报价格
  12984. type: number
  12985. premium:
  12986. description: 权利金 - [持仓单的权利金]
  12987. type: number
  12988. qtydecimalplace:
  12989. description: 商品报价小数位
  12990. type: integer
  12991. recvamount:
  12992. description: 到账金额 = 成交金额 - 手续费
  12993. type: number
  12994. relatedouttradeid:
  12995. description: 关联外部成交单ID
  12996. type: integer
  12997. status:
  12998. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12999. type: integer
  13000. totalamount:
  13001. description: 订单总额 = 成交金额 + 手续费
  13002. type: number
  13003. tradeamount:
  13004. description: 成交金额[账户币种,用于所有权]
  13005. type: number
  13006. tradedate:
  13007. description: 交易日(yyyyMMdd)
  13008. type: string
  13009. tradeid:
  13010. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13011. type: string
  13012. trademode:
  13013. description: 交易模式
  13014. type: integer
  13015. tradeprice:
  13016. description: 成交价格
  13017. type: number
  13018. tradeproperty:
  13019. description: 交易属性
  13020. type: integer
  13021. tradeqty:
  13022. description: 成交数量
  13023. type: number
  13024. tradetime:
  13025. description: 成交时间
  13026. type: string
  13027. tradetype:
  13028. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13029. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13030. type: integer
  13031. required:
  13032. - accountid
  13033. - buyorsell
  13034. - goodsid
  13035. - histradedate
  13036. - marketid
  13037. - memberuserid
  13038. - orderid
  13039. - tradeamount
  13040. - tradedate
  13041. - tradeid
  13042. - tradeprice
  13043. - tradeqty
  13044. - tradetime
  13045. type: object
  13046. order.QueryHisTradeOrderDetailRsp:
  13047. properties:
  13048. accountid:
  13049. description: 账户ID[报价币种]
  13050. type: integer
  13051. buildtype:
  13052. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13053. type: integer
  13054. buyorsell:
  13055. description: 买卖 - 0:买 1:卖
  13056. type: integer
  13057. cancelorderid:
  13058. description: 撤单单号(撤单时填写)
  13059. type: string
  13060. cancelqty:
  13061. description: 撤单数量
  13062. type: number
  13063. clientordertime:
  13064. description: 客户端委托时间
  13065. type: string
  13066. clientticket:
  13067. description: 客户端流水号
  13068. type: string
  13069. clienttype:
  13070. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13071. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13072. type: integer
  13073. closeexchagechargevalue:
  13074. description: 平仓交易所手续费设置值
  13075. type: number
  13076. closefeealgorithm:
  13077. description: 平仓手续费收取方式 1:比率 2:固定
  13078. type: integer
  13079. closefreezecharge:
  13080. description: 平仓冻结手续费(先建后平操作,需要记录)
  13081. type: number
  13082. closememberchargevalue:
  13083. description: 平仓会员手续费设置值
  13084. type: number
  13085. closeqty:
  13086. description: 平仓数量(先建后平操作 需要记录)
  13087. type: number
  13088. closetradeqty:
  13089. description: 平仓成交数量(先建后平操作,需要记录)
  13090. type: number
  13091. closeunfreezecharge:
  13092. description: 平仓解冻手续费(先建后平操作,需要记录)
  13093. type: number
  13094. decimalplace:
  13095. description: 商品报价小数位
  13096. type: integer
  13097. delistingtype:
  13098. description: 摘牌类型 - 1:价格最优 2:点选成交
  13099. type: integer
  13100. enumdicname:
  13101. description: 单位名称
  13102. type: string
  13103. freezecharge:
  13104. description: 冻结手续费
  13105. type: number
  13106. freezemargin:
  13107. description: 冻结保证金(冻结交易金额)
  13108. type: number
  13109. gcaccountid:
  13110. description: 账户ID[合约币种]
  13111. type: integer
  13112. goodscode:
  13113. description: 商品代码
  13114. type: string
  13115. goodsid:
  13116. description: 商品ID
  13117. type: integer
  13118. goodsname:
  13119. description: 商品名称
  13120. type: string
  13121. goodunitid:
  13122. description: 商品单位id
  13123. type: integer
  13124. histradedate:
  13125. description: 历史交易日
  13126. type: string
  13127. isconfirmexercise:
  13128. description: 是否确认行权- 0:否 1:是
  13129. type: integer
  13130. ispreexercise:
  13131. description: 是否预申报- 0:否 1:是
  13132. type: integer
  13133. isvaliddata:
  13134. description: 是否有效 - 0:无效 1:有效
  13135. type: integer
  13136. listingselecttype:
  13137. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13138. type: integer
  13139. marginalgorithm:
  13140. description: 保证金收取方式 1:比率 2:固定
  13141. type: integer
  13142. marginvalue:
  13143. description: 即市保证金设置值
  13144. type: number
  13145. marketid:
  13146. description: 市场ID
  13147. type: integer
  13148. marketmaxsub:
  13149. description: 市价最大偏移范围
  13150. type: number
  13151. marketname:
  13152. description: 市场名称
  13153. type: string
  13154. memberuserid:
  13155. description: 所属会员UserID
  13156. type: integer
  13157. openexchagechargevalue:
  13158. description: 建仓交易所手续费设置值
  13159. type: number
  13160. openfeealgorithm:
  13161. description: 建仓手续费收取方式 1:比率 2:固定
  13162. type: integer
  13163. openfreezecharge:
  13164. description: 开仓冻结手续费(先建后平操作,需要记录)
  13165. type: number
  13166. openmemberchargevalue:
  13167. description: 建仓会员手续费设置值
  13168. type: number
  13169. openqty:
  13170. description: 开仓数量(先建后平操作,需要记录)
  13171. type: number
  13172. opentradeqty:
  13173. description: 开仓成交数量(先建后平操作,需要记录)
  13174. type: number
  13175. openunfreezecharge:
  13176. description: 开仓解冻手续费(先建后平操作,需要记录)
  13177. type: number
  13178. operatetype:
  13179. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13180. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13181. 15:管理端协议转让
  13182. type: integer
  13183. operatorid:
  13184. description: 登录账号(LoginID)
  13185. type: integer
  13186. optiontype:
  13187. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13188. type: integer
  13189. orderid:
  13190. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13191. type: string
  13192. orderprice:
  13193. description: 委托价格
  13194. type: number
  13195. orderqty:
  13196. description: 委托数量
  13197. type: number
  13198. ordersrc:
  13199. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13200. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13201. type: integer
  13202. orderstatus:
  13203. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13204. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13205. 16:成交失败违约(荷兰式竞拍专用)
  13206. type: integer
  13207. ordertime:
  13208. description: 委托时间
  13209. type: string
  13210. preexerciseprice:
  13211. description: 预申报价格
  13212. type: number
  13213. premium:
  13214. description: 权利金
  13215. type: number
  13216. preorderid:
  13217. description: 关联预埋单号(止盈止损单时填写)
  13218. type: string
  13219. pricemode:
  13220. description: '取价方式 - 1:市价 2: 限价'
  13221. type: integer
  13222. qtydecimalplace:
  13223. description: 成交量小数位
  13224. type: integer
  13225. quoteid:
  13226. description: 报价单ID
  13227. type: integer
  13228. relatedid:
  13229. description: 关联单号(交割单)
  13230. type: string
  13231. retcode:
  13232. description: 错误代码
  13233. type: integer
  13234. sessionid:
  13235. description: 会话ID
  13236. type: integer
  13237. tradedate:
  13238. description: 交易日(yyyyMMdd)
  13239. type: string
  13240. trademode:
  13241. description: 交易模式
  13242. type: integer
  13243. tradeproperty:
  13244. description: 交易属性
  13245. type: integer
  13246. tradeqty:
  13247. description: 成交数量
  13248. type: number
  13249. unfreezecharge:
  13250. description: 解冻手续费
  13251. type: number
  13252. unfreezemargin:
  13253. description: 解冻保证金
  13254. type: number
  13255. updatetime:
  13256. description: 更新时间
  13257. type: string
  13258. uuid:
  13259. description: 发起端唯一id
  13260. type: string
  13261. validtime:
  13262. description: 有效期限
  13263. type: string
  13264. validtype:
  13265. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13266. type: integer
  13267. volumetype:
  13268. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13269. type: integer
  13270. required:
  13271. - accountid
  13272. - buildtype
  13273. - buyorsell
  13274. - goodsid
  13275. - histradedate
  13276. - marketid
  13277. - memberuserid
  13278. - operatetype
  13279. - orderid
  13280. - orderqty
  13281. - ordertime
  13282. - pricemode
  13283. - tradedate
  13284. - validtype
  13285. type: object
  13286. order.QueryTradeDetailRsp:
  13287. properties:
  13288. accountid:
  13289. description: 账户ID[报价币种]
  13290. type: integer
  13291. advanceratio:
  13292. description: 首付比率
  13293. type: number
  13294. buildtype:
  13295. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13296. type: integer
  13297. buyorsell:
  13298. description: 方向 - 0:买 1:卖
  13299. type: integer
  13300. charge:
  13301. description: 手续费
  13302. type: number
  13303. closecharge:
  13304. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13305. type: number
  13306. closeexchagechargevalue:
  13307. description: 平仓交易所手续费设置值
  13308. type: number
  13309. closefeealgorithm:
  13310. description: 平仓手续费收取方式 1:比率 2:固定
  13311. type: integer
  13312. closememberchargevalue:
  13313. description: 平仓会员手续费设置值
  13314. type: number
  13315. closepl:
  13316. description: 平仓盈亏
  13317. type: number
  13318. closepl2:
  13319. description: 平仓盈亏[逐笔]
  13320. type: number
  13321. closeqty:
  13322. description: 平仓数量(先建后平操作 需要记录)
  13323. type: number
  13324. creditamount:
  13325. description: 授信金额
  13326. type: number
  13327. decimalplace:
  13328. description: 商品报价小数位
  13329. type: integer
  13330. enumdicname:
  13331. description: 单位名称
  13332. type: string
  13333. gcaccountid:
  13334. description: 账户ID[合约币种]
  13335. type: integer
  13336. goodscode:
  13337. description: 商品代码
  13338. type: string
  13339. goodsid:
  13340. description: 商品ID
  13341. type: integer
  13342. goodsname:
  13343. description: 商品名称
  13344. type: string
  13345. goodunitid:
  13346. description: 商品单位id
  13347. type: integer
  13348. intclosepl:
  13349. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13350. type: integer
  13351. isconfirmexercise:
  13352. description: 是否确认行权- 0:否 1:是
  13353. type: integer
  13354. ismain:
  13355. description: 是否主单 - 0:不是 1:是
  13356. type: integer
  13357. ispreexercise:
  13358. description: 是否预申报- 0:否 1:是
  13359. type: integer
  13360. isreckoned:
  13361. description: 是否结算 - 0:未结算 1:已结算
  13362. type: integer
  13363. listingselecttype:
  13364. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13365. type: integer
  13366. marketid:
  13367. description: 市场ID
  13368. type: integer
  13369. marketname:
  13370. description: 市场名称
  13371. type: string
  13372. matchaccountid:
  13373. description: 对手账号id
  13374. type: integer
  13375. memberuserid:
  13376. description: 会员id 个人投资者 需要填写
  13377. type: integer
  13378. opencharge:
  13379. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13380. type: number
  13381. openexchagechargevalue:
  13382. description: 建仓交易所手续费设置值
  13383. type: number
  13384. openfeealgorithm:
  13385. description: 建仓手续费收取方式 1:比率 2:固定
  13386. type: integer
  13387. openmemberchargevalue:
  13388. description: 建仓会员手续费设置值
  13389. type: number
  13390. openqty:
  13391. description: 开仓数量(先建后平操作 需要记录)
  13392. type: number
  13393. optiontype:
  13394. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13395. type: integer
  13396. orderid:
  13397. description: 委托单号
  13398. type: string
  13399. payamount:
  13400. description: 支付金额(付款金额)
  13401. type: number
  13402. performanceplanid:
  13403. description: 履约计划ID[期权]
  13404. type: integer
  13405. performancestatus:
  13406. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13407. type: integer
  13408. preexerciseprice:
  13409. description: 预申报价格
  13410. type: number
  13411. premium:
  13412. description: 权利金 - [持仓单的权利金]
  13413. type: number
  13414. qtydecimalplace:
  13415. description: 商品报价小数位
  13416. type: integer
  13417. recvamount:
  13418. description: 到账金额 = 成交金额 - 手续费
  13419. type: number
  13420. relatedouttradeid:
  13421. description: 关联外部成交单ID
  13422. type: integer
  13423. status:
  13424. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13425. type: integer
  13426. totalamount:
  13427. description: 订单总额 = 成交金额 + 手续费
  13428. type: number
  13429. tradeamount:
  13430. description: 成交金额[账户币种,用于所有权]
  13431. type: number
  13432. tradedate:
  13433. description: 交易日(yyyyMMdd)
  13434. type: string
  13435. tradeid:
  13436. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13437. type: string
  13438. trademode:
  13439. description: 交易模式
  13440. type: integer
  13441. tradeprice:
  13442. description: 成交价格
  13443. type: number
  13444. tradeproperty:
  13445. description: 交易属性
  13446. type: integer
  13447. tradeqty:
  13448. description: 成交数量
  13449. type: number
  13450. tradetime:
  13451. description: 成交时间
  13452. type: string
  13453. tradetype:
  13454. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13455. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13456. type: integer
  13457. required:
  13458. - accountid
  13459. - buyorsell
  13460. - goodsid
  13461. - marketid
  13462. - memberuserid
  13463. - orderid
  13464. - tradeamount
  13465. - tradedate
  13466. - tradeid
  13467. - tradeprice
  13468. - tradeqty
  13469. - tradetime
  13470. type: object
  13471. order.QueryTradeOrderDetailRsp:
  13472. properties:
  13473. accountid:
  13474. description: 账户ID[报价币种]
  13475. type: integer
  13476. buildtype:
  13477. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13478. type: integer
  13479. buyorsell:
  13480. description: 买卖 - 0:买 1:卖
  13481. type: integer
  13482. cancelorderid:
  13483. description: 撤单单号(撤单时填写)
  13484. type: string
  13485. cancelqty:
  13486. description: 撤单数量
  13487. type: number
  13488. clienttype:
  13489. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13490. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13491. type: integer
  13492. closefreezecharge:
  13493. description: 平仓冻结手续费(先建后平操作,需要记录)
  13494. type: number
  13495. closeqty:
  13496. description: 平仓数量(先建后平操作 需要记录)
  13497. type: number
  13498. closetradeqty:
  13499. description: 平仓成交数量(先建后平操作,需要记录)
  13500. type: number
  13501. closeunfreezecharge:
  13502. description: 平仓解冻手续费(先建后平操作,需要记录)
  13503. type: number
  13504. decimalplace:
  13505. description: 商品报价小数位
  13506. type: integer
  13507. delistingtype:
  13508. description: 摘牌类型 - 1:价格最优 2:点选成交
  13509. type: integer
  13510. enableqty:
  13511. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  13512. type: number
  13513. enumdicname:
  13514. description: 单位名称
  13515. type: string
  13516. freezecharge:
  13517. description: 冻结手续费
  13518. type: number
  13519. freezemargin:
  13520. description: 冻结保证金(冻结交易金额)
  13521. type: number
  13522. goodscode:
  13523. description: 商品代码
  13524. type: string
  13525. goodsid:
  13526. description: 商品ID
  13527. type: integer
  13528. goodsname:
  13529. description: 商品名称
  13530. type: string
  13531. goodunitid:
  13532. description: 商品单位id
  13533. type: integer
  13534. listingselecttype:
  13535. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13536. type: integer
  13537. marketid:
  13538. description: 市场ID
  13539. type: integer
  13540. marketname:
  13541. description: 市场名称
  13542. type: string
  13543. openfreezecharge:
  13544. description: 开仓冻结手续费(先建后平操作,需要记录)
  13545. type: number
  13546. openqty:
  13547. description: 开仓数量(先建后平操作,需要记录)
  13548. type: number
  13549. opentradeqty:
  13550. description: 开仓成交数量(先建后平操作,需要记录)
  13551. type: number
  13552. openunfreezecharge:
  13553. description: 开仓解冻手续费(先建后平操作,需要记录)
  13554. type: number
  13555. operatetype:
  13556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13558. 15:管理端协议转让
  13559. type: integer
  13560. operatorid:
  13561. description: 登录账号(LoginID)
  13562. type: integer
  13563. orderid:
  13564. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13565. type: string
  13566. orderprice:
  13567. description: 委托价格
  13568. type: number
  13569. orderqty:
  13570. description: 委托数量
  13571. type: number
  13572. ordersrc:
  13573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13575. type: integer
  13576. orderstatus:
  13577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13579. 16:成交失败违约(荷兰式竞拍专用)
  13580. type: integer
  13581. ordertime:
  13582. description: 委托时间
  13583. type: string
  13584. preorderid:
  13585. description: 关联预埋单号(止盈止损单时填写)
  13586. type: string
  13587. pricemode:
  13588. description: '取价方式 - 1:市价 2: 限价'
  13589. type: integer
  13590. qtydecimalplace:
  13591. description: 商品报价小数位
  13592. type: integer
  13593. relatedid:
  13594. description: 关联单号(交割单)
  13595. type: string
  13596. tradedate:
  13597. description: 交易日(yyyyMMdd)
  13598. type: string
  13599. trademode:
  13600. description: 交易模式
  13601. type: integer
  13602. tradeqty:
  13603. description: 成交数量
  13604. type: number
  13605. unfreezecharge:
  13606. description: 解冻手续费
  13607. type: number
  13608. unfreezemargin:
  13609. description: 解冻保证金
  13610. type: number
  13611. validtime:
  13612. description: 有效期限
  13613. type: string
  13614. validtype:
  13615. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13616. type: integer
  13617. volumetype:
  13618. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13619. type: integer
  13620. required:
  13621. - accountid
  13622. - buildtype
  13623. - buyorsell
  13624. - goodsid
  13625. - marketid
  13626. - operatetype
  13627. - orderqty
  13628. - ordertime
  13629. - pricemode
  13630. - tradedate
  13631. - validtype
  13632. type: object
  13633. order.QueryTradePositionRsp:
  13634. properties:
  13635. accountid:
  13636. description: 资金账户
  13637. type: integer
  13638. agreeunit:
  13639. description: 合约单位
  13640. type: number
  13641. averageprice:
  13642. description: 持仓均价
  13643. type: number
  13644. buyorsell:
  13645. description: 方向 - 0:买 1:卖
  13646. type: integer
  13647. closetotalqty:
  13648. description: 平仓总数量
  13649. type: number
  13650. curholderamount:
  13651. description: 当前持仓总金额[商品币种]
  13652. type: number
  13653. curpositionqty:
  13654. description: 当前持仓总数量
  13655. type: number
  13656. currencyid:
  13657. description: 报价货币ID
  13658. type: integer
  13659. curtdposition:
  13660. description: 期末今日头寸
  13661. type: number
  13662. decimalplace:
  13663. description: 报价小数位
  13664. type: integer
  13665. enableqty:
  13666. description: 可用量
  13667. type: number
  13668. fretdposition:
  13669. description: 冻结今日头寸
  13670. type: number
  13671. frozenqty:
  13672. description: 持仓冻结数量
  13673. type: number
  13674. goodscode:
  13675. description: 商品代码
  13676. type: string
  13677. goodsid:
  13678. description: 商品Id
  13679. type: integer
  13680. goodsname:
  13681. description: 商品名称
  13682. type: string
  13683. goodunit:
  13684. description: 报价单位
  13685. type: string
  13686. goodunitid:
  13687. description: 报价单位ID
  13688. type: integer
  13689. holderamount:
  13690. description: 期初持仓总金额[商品币种]
  13691. type: number
  13692. marketid:
  13693. description: 所属市场ID
  13694. type: integer
  13695. openreqqty:
  13696. description: 开仓申请数量(用于比较最大持仓数量)
  13697. type: number
  13698. opentotalqty:
  13699. description: 开仓总数量
  13700. type: number
  13701. otherfrozenqty:
  13702. description: 持仓其他冻结数量(交割冻结)
  13703. type: number
  13704. positionqty:
  13705. description: 期初持仓数量
  13706. type: number
  13707. qtydecimalplace:
  13708. description: 成交量小数位
  13709. type: integer
  13710. tnqty:
  13711. description: T+N冻结总量
  13712. type: number
  13713. tnusedqty:
  13714. description: T+N使用量(可以使用T+N的冻结数量)
  13715. type: number
  13716. trademode:
  13717. description: 交易模式
  13718. type: integer
  13719. usedmargin:
  13720. description: 占用保证金[商品币种]
  13721. type: number
  13722. required:
  13723. - goodsid
  13724. type: object
  13725. quote.HistoryData:
  13726. properties:
  13727. c:
  13728. description: 收盘价
  13729. type: number
  13730. f:
  13731. description: 是否补充数据
  13732. type: boolean
  13733. h:
  13734. description: 最高价
  13735. type: number
  13736. hv:
  13737. description: 持仓量
  13738. type: integer
  13739. l:
  13740. description: 最低价
  13741. type: number
  13742. o:
  13743. description: 开盘价
  13744. type: number
  13745. s:
  13746. description: 结算价,日线周期(包括)以上才有
  13747. type: number
  13748. ts:
  13749. description: 时间
  13750. type: string
  13751. tt:
  13752. description: 总金额
  13753. type: number
  13754. tv:
  13755. description: 总量
  13756. type: integer
  13757. type: object
  13758. quote.HistoryTikData:
  13759. properties:
  13760. AV:
  13761. description: 卖量
  13762. type: integer
  13763. Ask:
  13764. description: 卖价
  13765. type: number
  13766. BV:
  13767. description: 买量
  13768. type: integer
  13769. Bid:
  13770. description: 买价
  13771. type: number
  13772. HI:
  13773. description: 单笔持仓
  13774. type: integer
  13775. HV:
  13776. description: 持仓量
  13777. type: integer
  13778. PE:
  13779. description: 现价
  13780. type: number
  13781. TDR:
  13782. description: 交易方向,0:买 1:卖
  13783. type: integer
  13784. TK:
  13785. description: 交易类型
  13786. type: integer
  13787. TS:
  13788. description: 行情时间文本
  13789. type: string
  13790. TT:
  13791. description: 现金额
  13792. type: number
  13793. Vol:
  13794. description: 现量
  13795. type: integer
  13796. type: object
  13797. quote.QueryQuoteDayRsp:
  13798. properties:
  13799. ask:
  13800. description: 卖1
  13801. type: number
  13802. ask2:
  13803. description: 卖2
  13804. type: number
  13805. ask3:
  13806. description: 卖3
  13807. type: number
  13808. ask4:
  13809. description: 卖4
  13810. type: number
  13811. ask5:
  13812. description: 卖5
  13813. type: number
  13814. ask6:
  13815. description: 卖6
  13816. type: number
  13817. ask7:
  13818. description: 卖7
  13819. type: number
  13820. ask8:
  13821. description: 卖8
  13822. type: number
  13823. ask9:
  13824. description: 卖9
  13825. type: number
  13826. ask10:
  13827. description: 卖10
  13828. type: number
  13829. askorderid:
  13830. description: 卖单号1
  13831. type: integer
  13832. askorderid2:
  13833. description: 卖单号2
  13834. type: integer
  13835. askorderid3:
  13836. description: 卖单号3
  13837. type: integer
  13838. askorderid4:
  13839. description: 卖单号4
  13840. type: integer
  13841. askorderid5:
  13842. description: 卖单号5
  13843. type: integer
  13844. askordervolume:
  13845. description: 卖单量1
  13846. type: integer
  13847. askordervolume2:
  13848. description: 卖单量2
  13849. type: integer
  13850. askordervolume3:
  13851. description: 卖单量3
  13852. type: integer
  13853. askordervolume4:
  13854. description: 卖单量4
  13855. type: integer
  13856. askordervolume5:
  13857. description: 卖单量5
  13858. type: integer
  13859. askordervolume6:
  13860. description: 卖单量6
  13861. type: integer
  13862. askordervolume7:
  13863. description: 卖单量7
  13864. type: integer
  13865. askordervolume8:
  13866. description: 卖单量8
  13867. type: integer
  13868. askordervolume9:
  13869. description: 卖单量9
  13870. type: integer
  13871. askordervolume10:
  13872. description: 卖单量10
  13873. type: integer
  13874. askqueueinfo:
  13875. description: 大利市卖港股用
  13876. type: string
  13877. askvolume:
  13878. description: 卖量1
  13879. type: integer
  13880. askvolume2:
  13881. description: 卖量2
  13882. type: integer
  13883. askvolume3:
  13884. description: 卖量3
  13885. type: integer
  13886. askvolume4:
  13887. description: 卖量4
  13888. type: integer
  13889. askvolume5:
  13890. description: 卖量5
  13891. type: integer
  13892. askvolume6:
  13893. description: 卖量6
  13894. type: integer
  13895. askvolume7:
  13896. description: 卖量7
  13897. type: integer
  13898. askvolume8:
  13899. description: 卖量8
  13900. type: integer
  13901. askvolume9:
  13902. description: 卖量9
  13903. type: integer
  13904. askvolume10:
  13905. description: 卖量10
  13906. type: integer
  13907. averageprice:
  13908. description: 均价
  13909. type: number
  13910. bid:
  13911. description: 买1
  13912. type: number
  13913. bid2:
  13914. description: 买2
  13915. type: number
  13916. bid3:
  13917. description: 买3
  13918. type: number
  13919. bid4:
  13920. description: 买4
  13921. type: number
  13922. bid5:
  13923. description: 买5
  13924. type: number
  13925. bid6:
  13926. description: 买6
  13927. type: number
  13928. bid7:
  13929. description: 买7
  13930. type: number
  13931. bid8:
  13932. description: 买8
  13933. type: number
  13934. bid9:
  13935. description: 买9
  13936. type: number
  13937. bid10:
  13938. description: 买10
  13939. type: number
  13940. bidorderid:
  13941. description: 买单号1
  13942. type: integer
  13943. bidorderid2:
  13944. description: 买单号2
  13945. type: integer
  13946. bidorderid3:
  13947. description: 买单号3
  13948. type: integer
  13949. bidorderid4:
  13950. description: 买单号4
  13951. type: integer
  13952. bidorderid5:
  13953. description: 买单号5
  13954. type: integer
  13955. bidordervolume:
  13956. description: 买单量1
  13957. type: integer
  13958. bidordervolume2:
  13959. description: 买单量2
  13960. type: integer
  13961. bidordervolume3:
  13962. description: 买单量3
  13963. type: integer
  13964. bidordervolume4:
  13965. description: 买单量4
  13966. type: integer
  13967. bidordervolume5:
  13968. description: 买单量5
  13969. type: integer
  13970. bidordervolume6:
  13971. description: 买单量6
  13972. type: integer
  13973. bidordervolume7:
  13974. description: 买单量7
  13975. type: integer
  13976. bidordervolume8:
  13977. description: 买单量8
  13978. type: integer
  13979. bidordervolume9:
  13980. description: 买单量9
  13981. type: integer
  13982. bidordervolume10:
  13983. description: 买单量10
  13984. type: integer
  13985. bidqueueinfo:
  13986. description: 大利市买港股用
  13987. type: string
  13988. bidvolume:
  13989. description: 买量1
  13990. type: integer
  13991. bidvolume2:
  13992. description: 买量2
  13993. type: integer
  13994. bidvolume3:
  13995. description: 买量3
  13996. type: integer
  13997. bidvolume4:
  13998. description: 买量4
  13999. type: integer
  14000. bidvolume5:
  14001. description: 买量5
  14002. type: integer
  14003. bidvolume6:
  14004. description: 买量6
  14005. type: integer
  14006. bidvolume7:
  14007. description: 买量7
  14008. type: integer
  14009. bidvolume8:
  14010. description: 买量8
  14011. type: integer
  14012. bidvolume9:
  14013. description: 买量9
  14014. type: integer
  14015. bidvolume10:
  14016. description: 买量10
  14017. type: integer
  14018. calloptionpremiums:
  14019. description: 认购期权1
  14020. type: integer
  14021. calloptionpremiums2:
  14022. description: 认购期权2
  14023. type: integer
  14024. calloptionpremiums3:
  14025. description: 认购期权3
  14026. type: integer
  14027. calloptionpremiums4:
  14028. description: 认购期权4
  14029. type: integer
  14030. calloptionpremiums5:
  14031. description: 认购期权5
  14032. type: integer
  14033. cleartime:
  14034. description: 清盘时间
  14035. type: integer
  14036. exchangecode:
  14037. description: 交易所代码
  14038. type: integer
  14039. exchangedate:
  14040. description: 交易日
  14041. type: integer
  14042. goodscode:
  14043. description: 商品代码
  14044. type: string
  14045. grepmarketprice:
  14046. description: 暗盘价 港股专用
  14047. type: number
  14048. highest:
  14049. description: 最高价
  14050. type: number
  14051. holdincrement:
  14052. description: 单笔持仓
  14053. type: integer
  14054. holdvolume:
  14055. description: 持仓
  14056. type: integer
  14057. iep:
  14058. description: 平衡价 港股专用
  14059. type: number
  14060. iev:
  14061. description: 平衡量 港股专用
  14062. type: number
  14063. inventory:
  14064. description: 库存
  14065. type: integer
  14066. iscleared:
  14067. description: 是否清盘标志
  14068. type: integer
  14069. issettled:
  14070. description: 是否结算标志
  14071. type: integer
  14072. last:
  14073. description: 最新价
  14074. type: number
  14075. lastlot:
  14076. description: 最新成交手数
  14077. type: integer
  14078. lasttime:
  14079. description: 行情时间(只有现价变化行情时间才变化)
  14080. type: string
  14081. lastturnover:
  14082. description: 最新成交金额
  14083. type: number
  14084. lastvolume:
  14085. description: 最新成交量
  14086. type: integer
  14087. limitdown:
  14088. description: 跌停价
  14089. type: number
  14090. limitup:
  14091. description: 涨停价
  14092. type: number
  14093. lowest:
  14094. description: 最低价
  14095. type: number
  14096. nontotalholdervolume:
  14097. description: 非交易持仓量
  14098. type: integer
  14099. nontotallot:
  14100. description: 非交易总手数
  14101. type: integer
  14102. nontotalturnover:
  14103. description: 非交易总金额
  14104. type: integer
  14105. nontotalvolume:
  14106. description: 非交易总量
  14107. type: integer
  14108. opened:
  14109. description: 开盘价
  14110. type: number
  14111. opentime:
  14112. description: 开盘时间
  14113. type: string
  14114. orderid:
  14115. description: 序号
  14116. type: integer
  14117. preclose:
  14118. description: 昨收
  14119. type: number
  14120. preholdvolume:
  14121. description: 昨持仓
  14122. type: integer
  14123. presettle:
  14124. description: 昨结价
  14125. type: number
  14126. publictradetype:
  14127. description: 公共交易标志类型 港股专用
  14128. type: string
  14129. putoptionpremiums:
  14130. description: 认沽期权1
  14131. type: integer
  14132. putoptionpremiums2:
  14133. description: 认沽期权2
  14134. type: integer
  14135. putoptionpremiums3:
  14136. description: 认沽期权3
  14137. type: integer
  14138. putoptionpremiums4:
  14139. description: 认沽期权4
  14140. type: integer
  14141. putoptionpremiums5:
  14142. description: 认沽期权5
  14143. type: integer
  14144. settle:
  14145. description: 结算价
  14146. type: number
  14147. strikeprice:
  14148. description: 发行价
  14149. type: number
  14150. totalaskvolume:
  14151. description: 内盘
  14152. type: integer
  14153. totalbidvolume:
  14154. description: 外盘
  14155. type: integer
  14156. totallot:
  14157. description: 总手数
  14158. type: integer
  14159. totalturnover:
  14160. description: 总金额
  14161. type: number
  14162. totalvolume:
  14163. description: 总量
  14164. type: integer
  14165. utclasttime:
  14166. description: utc的行情时间
  14167. type: string
  14168. type: object
  14169. quote.QueryTSDataRsp:
  14170. properties:
  14171. Count:
  14172. description: 交易日应有数据个数
  14173. type: integer
  14174. decimalPlace:
  14175. description: 小数位
  14176. type: integer
  14177. endTime:
  14178. description: 结束时间
  14179. type: string
  14180. goodsCode:
  14181. description: 商品代码
  14182. type: string
  14183. historyDatas:
  14184. description: 历史数据
  14185. items:
  14186. $ref: '#/definitions/quote.HistoryData'
  14187. type: array
  14188. outGoodsCode:
  14189. description: 外部商品代码
  14190. type: string
  14191. preSettle:
  14192. description: 昨结价
  14193. type: number
  14194. runSteps:
  14195. description: 交易日开休市计划
  14196. items:
  14197. $ref: '#/definitions/quote.TSDataRunStep'
  14198. type: array
  14199. startTime:
  14200. description: 开始时间
  14201. type: string
  14202. tradeDate:
  14203. description: 交易日
  14204. type: string
  14205. type: object
  14206. quote.TSDataRunStep:
  14207. properties:
  14208. end:
  14209. description: 真实结束时间
  14210. type: string
  14211. endflag:
  14212. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  14213. type: integer
  14214. endtime:
  14215. description: 结束时间(HH:mm)
  14216. type: string
  14217. endweekday:
  14218. description: 结束周几
  14219. type: integer
  14220. groupid:
  14221. description: 分组ID
  14222. type: integer
  14223. runstep:
  14224. description: 运行阶段 - 2:连续交易
  14225. type: integer
  14226. sectionid:
  14227. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  14228. 结束时间=结算时间 结束周几=结算周几
  14229. type: integer
  14230. start:
  14231. description: 真实开始时间
  14232. type: string
  14233. startflag:
  14234. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  14235. type: integer
  14236. starttime:
  14237. description: 起始时间(HH:mm)
  14238. type: string
  14239. startweekday:
  14240. description: 起始周几
  14241. type: integer
  14242. tradeweekday:
  14243. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  14244. type: integer
  14245. type: object
  14246. szdz.QueryConvertLogRsp:
  14247. properties:
  14248. accountid:
  14249. description: 资金账户ID
  14250. type: integer
  14251. clientticket:
  14252. description: 客户端流水号
  14253. type: string
  14254. converttype:
  14255. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  14256. type: integer
  14257. createtime:
  14258. description: 记账时间
  14259. type: string
  14260. daymaxvalue:
  14261. description: 配置当日最大转入限制
  14262. type: number
  14263. daymaxvalue2:
  14264. description: 配置当日最大转入限制(转入)
  14265. type: number
  14266. goodscode:
  14267. description: 商品代码
  14268. type: string
  14269. goodsname:
  14270. description: 商品名称
  14271. type: string
  14272. handlestatus:
  14273. description: 处理状态
  14274. type: integer
  14275. innergoodsid:
  14276. description: 内部商品ID
  14277. type: integer
  14278. inratio:
  14279. description: 配置转入比值
  14280. type: integer
  14281. invalue:
  14282. description: 目标值
  14283. type: number
  14284. logid:
  14285. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14286. type: integer
  14287. mobile:
  14288. description: 手机号码(加密存储)
  14289. type: string
  14290. outergoodscode:
  14291. description: 外部商品代码[JD\PD]
  14292. type: string
  14293. outratio:
  14294. description: 配置转出比值
  14295. type: integer
  14296. outvalue:
  14297. description: 源值
  14298. type: number
  14299. pddecimalplace:
  14300. description: PD小数位
  14301. type: integer
  14302. qty:
  14303. description: 数量
  14304. type: string
  14305. remark:
  14306. description: 备注
  14307. type: string
  14308. sessionid:
  14309. description: 会话ID
  14310. type: integer
  14311. timemaxvalue:
  14312. description: 配置单次最大转入限制
  14313. type: number
  14314. timemaxvalue2:
  14315. description: 配置单次最大转入限制(转入)
  14316. type: number
  14317. timeminvalue:
  14318. description: 配置单次最小数量限制
  14319. type: number
  14320. timeminvalue2:
  14321. description: 配置单次最小数量限制(转入)
  14322. type: number
  14323. tradedate:
  14324. description: 交易日(yyyyMMdd)
  14325. type: string
  14326. userid:
  14327. description: 用户ID
  14328. type: integer
  14329. required:
  14330. - logid
  14331. type: object
  14332. szdz.QueryGoodsPickupRsp:
  14333. properties:
  14334. accountid:
  14335. description: 账户ID
  14336. type: integer
  14337. address:
  14338. description: 提货人详细地址
  14339. type: string
  14340. auditer:
  14341. description: 审核人
  14342. type: integer
  14343. audittime:
  14344. description: 审核时间
  14345. type: string
  14346. cardnum:
  14347. description: 提货人证件号码
  14348. type: string
  14349. cardtypeid:
  14350. description: 提货人证件类型
  14351. type: integer
  14352. checkremark:
  14353. description: 审核备注
  14354. type: string
  14355. goodscode:
  14356. description: 商品代码
  14357. type: string
  14358. goodsid:
  14359. description: 商品ID
  14360. type: integer
  14361. goodsname:
  14362. description: 商品名称
  14363. type: string
  14364. handlestatus:
  14365. description: 处理状态
  14366. type: integer
  14367. marketid:
  14368. description: 市场ID
  14369. type: integer
  14370. phonenum:
  14371. description: 提货人联系方式
  14372. type: string
  14373. qty:
  14374. description: 提货数量
  14375. type: number
  14376. recivername:
  14377. description: 提货人姓名
  14378. type: string
  14379. reqtime:
  14380. description: 更新时间
  14381. type: string
  14382. takemode:
  14383. description: 提货方式 - 2:自提 3:配送
  14384. type: integer
  14385. takeorderid:
  14386. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14387. type: string
  14388. takeorderstatus:
  14389. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14390. type: integer
  14391. takeremark:
  14392. description: 提货备注
  14393. type: string
  14394. tradedate:
  14395. description: 交易日(yyyyMMdd)
  14396. type: string
  14397. userid:
  14398. description: 用户ID
  14399. type: integer
  14400. required:
  14401. - takeorderid
  14402. type: object
  14403. szdz.QueryRecieptOrderRsp:
  14404. properties:
  14405. accountName:
  14406. description: 所属账号名称(已脱敏)
  14407. type: string
  14408. accountid:
  14409. description: 资金账号
  14410. type: integer
  14411. buyorsell:
  14412. description: 方向 - 0:买 1:卖
  14413. type: integer
  14414. enableqty:
  14415. description: 可摘数量
  14416. type: integer
  14417. goodscode:
  14418. description: 商品代码
  14419. type: string
  14420. goodsid:
  14421. description: 商品ID
  14422. type: integer
  14423. goodsname:
  14424. description: 商品名称
  14425. type: string
  14426. orderid:
  14427. description: 委托单号
  14428. type: string
  14429. orderprice:
  14430. description: 委托价格
  14431. type: number
  14432. ordertime:
  14433. description: 委托时间
  14434. type: string
  14435. tradedate:
  14436. description: 交易日(yyyyMMdd)
  14437. type: string
  14438. required:
  14439. - ordertime
  14440. type: object
  14441. szdz.QuerySZDZTradePositionRsp:
  14442. properties:
  14443. accountid:
  14444. description: 账号Id
  14445. type: integer
  14446. agreeunit:
  14447. description: 合约单位
  14448. type: number
  14449. averageprice:
  14450. description: 持仓均价
  14451. type: number
  14452. buyorsell:
  14453. description: 方向 - 0:买 1:卖
  14454. type: integer
  14455. closetotalqty:
  14456. description: 平仓总数量
  14457. type: integer
  14458. curholderamount:
  14459. description: 当前持仓总金额
  14460. type: number
  14461. curpositionqty:
  14462. description: 当前持仓总数量
  14463. type: integer
  14464. currencyid:
  14465. description: 报价货币ID
  14466. type: integer
  14467. curtdposition:
  14468. description: 期末今日头寸
  14469. type: integer
  14470. decimalplace:
  14471. description: 报价小数位
  14472. type: integer
  14473. enableqty:
  14474. description: 可用量
  14475. type: integer
  14476. fretdposition:
  14477. description: 冻结今日头寸
  14478. type: integer
  14479. frozenqty:
  14480. description: 持仓冻结数量
  14481. type: integer
  14482. goodscode:
  14483. description: 商品代码(内部)
  14484. type: string
  14485. goodsid:
  14486. description: 商品Id
  14487. type: integer
  14488. goodsname:
  14489. description: 商品名称
  14490. type: string
  14491. goodunit:
  14492. description: 报价单位
  14493. type: string
  14494. goodunitid:
  14495. description: 报价单位ID
  14496. type: integer
  14497. holderamount:
  14498. description: 期初持仓总金额
  14499. type: number
  14500. marketid:
  14501. description: 市场ID
  14502. type: integer
  14503. openreqqty:
  14504. description: 开仓申请数量
  14505. type: integer
  14506. opentotalqty:
  14507. description: 开仓总数量
  14508. type: integer
  14509. otherfrozenqty:
  14510. description: 持仓其他冻结数量(交割冻结)
  14511. type: integer
  14512. positionqty:
  14513. description: 期初持仓数量
  14514. type: integer
  14515. szdz3freezqty:
  14516. description: 尚志大宗转换冻结总数量
  14517. type: integer
  14518. tnqty:
  14519. description: T+N冻结总量
  14520. type: integer
  14521. tnusedqty:
  14522. description: T+N使用量
  14523. type: integer
  14524. trademode:
  14525. description: 交易模式
  14526. type: integer
  14527. usedmargin:
  14528. description: 占用保证金
  14529. type: number
  14530. type: object
  14531. taaccount.QueryAmountLogRsp:
  14532. properties:
  14533. OPERATETYPENAME:
  14534. description: 资金操作类型名称
  14535. type: string
  14536. accountid:
  14537. description: 资金账户ID
  14538. type: integer
  14539. agoodscode:
  14540. description: 竞拍商品代码
  14541. type: string
  14542. agoodsname:
  14543. description: 竞拍商品名称
  14544. type: string
  14545. amount:
  14546. description: 资金金额
  14547. type: number
  14548. amountadjusttype:
  14549. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14550. type: integer
  14551. autoid:
  14552. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14553. type: integer
  14554. balance:
  14555. description: 期初余额
  14556. type: number
  14557. businesscode:
  14558. description: 业务编号
  14559. type: integer
  14560. createtime:
  14561. description: 发生时间
  14562. type: string
  14563. currencyid:
  14564. description: 币种ID
  14565. type: integer
  14566. currentbalance:
  14567. description: 期末余额(变动后金额)
  14568. type: number
  14569. dgoodscode:
  14570. description: 交割商品代码
  14571. type: string
  14572. dgoodsname:
  14573. description: 交割商品名称
  14574. type: string
  14575. goodscode:
  14576. description: 商品代码
  14577. type: string
  14578. goodsid:
  14579. description: 商品ID
  14580. type: integer
  14581. goodsname:
  14582. description: 商品名称
  14583. type: string
  14584. marketid:
  14585. description: 市场ID
  14586. type: integer
  14587. marketname:
  14588. description: 市场名称
  14589. type: string
  14590. moneyticket:
  14591. description: 资金流水号:银行端流水号
  14592. type: integer
  14593. operatetype:
  14594. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14595. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14596. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14597. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14598. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14599. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14600. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14601. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14602. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14603. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14604. type: integer
  14605. relationorderid:
  14606. description: 关联单号
  14607. type: string
  14608. remark:
  14609. description: 备注
  14610. type: string
  14611. trademode:
  14612. description: 交易模式
  14613. type: integer
  14614. required:
  14615. - accountid
  14616. - amount
  14617. - amountadjusttype
  14618. - autoid
  14619. - balance
  14620. - createtime
  14621. - currentbalance
  14622. - operatetype
  14623. type: object
  14624. taaccount.QueryHisAmountLogRsp:
  14625. properties:
  14626. OPERATETYPENAME:
  14627. description: 资金操作类型名称
  14628. type: string
  14629. accountid:
  14630. description: 资金账户ID
  14631. type: integer
  14632. agoodscode:
  14633. description: 竞拍商品代码
  14634. type: string
  14635. agoodsname:
  14636. description: 竞拍商品名称
  14637. type: string
  14638. amount:
  14639. description: 资金金额
  14640. type: number
  14641. amountadjusttype:
  14642. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14643. type: integer
  14644. autoid:
  14645. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14646. type: integer
  14647. balance:
  14648. description: 期初余额
  14649. type: number
  14650. businesscode:
  14651. description: 业务编号
  14652. type: integer
  14653. createtime:
  14654. description: 发生时间
  14655. type: string
  14656. currencyid:
  14657. description: 币种ID
  14658. type: integer
  14659. currentbalance:
  14660. description: 期末余额(变动后金额)
  14661. type: number
  14662. dgoodscode:
  14663. description: 交割商品代码
  14664. type: string
  14665. dgoodsname:
  14666. description: 交割商品名称
  14667. type: string
  14668. goodscode:
  14669. description: 商品代码
  14670. type: string
  14671. goodsid:
  14672. description: 商品ID
  14673. type: integer
  14674. goodsname:
  14675. description: 商品名称
  14676. type: string
  14677. histradedate:
  14678. description: 历史交易日
  14679. type: string
  14680. isvaliddata:
  14681. description: 是否有效 - 0:无效 1:有效
  14682. type: integer
  14683. marketid:
  14684. description: 市场ID
  14685. type: integer
  14686. marketname:
  14687. description: 市场名称
  14688. type: string
  14689. moneyticket:
  14690. description: 资金流水号:银行端流水号
  14691. type: integer
  14692. operatetype:
  14693. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14694. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14695. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14696. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14697. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14698. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14699. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14700. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14701. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14702. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14703. type: integer
  14704. relationorderid:
  14705. description: 关联单号
  14706. type: string
  14707. remark:
  14708. description: 备注
  14709. type: string
  14710. trademode:
  14711. description: 交易模式
  14712. type: integer
  14713. required:
  14714. - accountid
  14715. - amount
  14716. - amountadjusttype
  14717. - autoid
  14718. - balance
  14719. - createtime
  14720. - currentbalance
  14721. - histradedate
  14722. - operatetype
  14723. type: object
  14724. trade.QueryRecieptOrderRsp:
  14725. properties:
  14726. accountName:
  14727. description: 所属账号名称(已脱敏)
  14728. type: string
  14729. accountid:
  14730. description: 资金账号
  14731. type: integer
  14732. buyorsell:
  14733. description: 方向 - 0:买 1:卖
  14734. type: integer
  14735. enableqty:
  14736. description: 可摘数量
  14737. type: integer
  14738. goodscode:
  14739. description: 商品代码
  14740. type: string
  14741. goodsid:
  14742. description: 商品ID
  14743. type: integer
  14744. goodsname:
  14745. description: 商品名称
  14746. type: string
  14747. orderid:
  14748. description: 委托单号
  14749. type: string
  14750. orderprice:
  14751. description: 委托价格
  14752. type: number
  14753. ordertime:
  14754. description: 委托时间
  14755. type: string
  14756. tradedate:
  14757. description: 交易日(yyyyMMdd)
  14758. type: string
  14759. required:
  14760. - ordertime
  14761. type: object
  14762. user.LoginQueryRsp:
  14763. properties:
  14764. areaRoles:
  14765. description: 所属角色信息
  14766. items:
  14767. $ref: '#/definitions/models.Arearole'
  14768. type: array
  14769. externalExchanges:
  14770. description: 外部交易所
  14771. items:
  14772. $ref: '#/definitions/models.Externalexchange'
  14773. type: array
  14774. goodsgroups:
  14775. description: 商品组
  14776. items:
  14777. $ref: '#/definitions/models.Goodsgroup'
  14778. type: array
  14779. loginAccount:
  14780. $ref: '#/definitions/models.Loginaccount'
  14781. description: 登录账号
  14782. type: object
  14783. markets:
  14784. description: 市场
  14785. items:
  14786. $ref: '#/definitions/models.Market'
  14787. type: array
  14788. systemParams:
  14789. description: 系统参数
  14790. items:
  14791. $ref: '#/definitions/models.Systemparam'
  14792. type: array
  14793. userAccount:
  14794. $ref: '#/definitions/models.Useraccount'
  14795. description: 用户账号
  14796. type: object
  14797. userInfo:
  14798. $ref: '#/definitions/models.Userinfo'
  14799. description: 用户信息
  14800. type: object
  14801. username:
  14802. description: 用户姓名
  14803. type: string
  14804. type: object
  14805. info:
  14806. contact: {}
  14807. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  14808. license: {}
  14809. termsOfService: http://www.muchinfo.cn
  14810. title: MTP2.0 查询服务 API
  14811. version: "1.0"
  14812. paths:
  14813. /CPTrade/QueryCPTradeMyBidInfos:
  14814. get:
  14815. parameters:
  14816. - description: 资金账户
  14817. in: query
  14818. name: accountid
  14819. required: true
  14820. type: integer
  14821. - description: 预售市场ID
  14822. in: query
  14823. name: marketid
  14824. type: integer
  14825. - description: 预售商品ID
  14826. in: query
  14827. name: goodsid
  14828. type: integer
  14829. produces:
  14830. - application/json
  14831. responses:
  14832. "200":
  14833. description: OK
  14834. schema:
  14835. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  14836. "500":
  14837. description: Internal Server Error
  14838. schema:
  14839. $ref: '#/definitions/app.Response'
  14840. security:
  14841. - ApiKeyAuth: []
  14842. summary: 查询产能预售我的出价信息
  14843. tags:
  14844. - 产能预售
  14845. /CPTrade/QueryCPTradeOrderDetail:
  14846. get:
  14847. parameters:
  14848. - description: 预售商品ID
  14849. in: query
  14850. name: goodsid
  14851. type: integer
  14852. - description: 预售市场ID
  14853. in: query
  14854. name: marketid
  14855. type: integer
  14856. - description: 预售商品ID列表 - 格式:1,2,3
  14857. in: query
  14858. name: goodsids
  14859. type: string
  14860. produces:
  14861. - application/json
  14862. responses:
  14863. "200":
  14864. description: OK
  14865. schema:
  14866. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  14867. "500":
  14868. description: Internal Server Error
  14869. schema:
  14870. $ref: '#/definitions/app.Response'
  14871. security:
  14872. - ApiKeyAuth: []
  14873. summary: 查询产能预售委托单信息
  14874. tags:
  14875. - 产能预售
  14876. /CPTrade/QueryMyCPTradeGoods:
  14877. get:
  14878. parameters:
  14879. - description: 资金账户
  14880. in: query
  14881. name: accountid
  14882. required: true
  14883. type: integer
  14884. produces:
  14885. - application/json
  14886. responses:
  14887. "200":
  14888. description: OK
  14889. schema:
  14890. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  14891. "500":
  14892. description: Internal Server Error
  14893. schema:
  14894. $ref: '#/definitions/app.Response'
  14895. security:
  14896. - ApiKeyAuth: []
  14897. summary: 查询我的预售信息
  14898. tags:
  14899. - 产能预售
  14900. /CPTrade/QueryPositionCancel:
  14901. get:
  14902. parameters:
  14903. - description: 账户ID
  14904. in: query
  14905. name: userid
  14906. required: true
  14907. type: integer
  14908. - description: 注销ID
  14909. in: query
  14910. name: cancelid
  14911. type: integer
  14912. - description: 资金账户ID
  14913. in: query
  14914. name: accountid
  14915. type: integer
  14916. produces:
  14917. - application/json
  14918. responses:
  14919. "200":
  14920. description: OK
  14921. schema:
  14922. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  14923. "500":
  14924. description: Internal Server Error
  14925. schema:
  14926. $ref: '#/definitions/app.Response'
  14927. security:
  14928. - ApiKeyAuth: []
  14929. summary: 查询远期订单注销申请信息
  14930. tags:
  14931. - 产能预售
  14932. /CPTrade/QueryPreasleApply:
  14933. get:
  14934. parameters:
  14935. - description: 账户ID
  14936. in: query
  14937. name: userid
  14938. required: true
  14939. type: integer
  14940. - description: 申请ID
  14941. in: query
  14942. name: applyid
  14943. type: integer
  14944. - description: 资金账户ID
  14945. in: query
  14946. name: accountid
  14947. type: integer
  14948. produces:
  14949. - application/json
  14950. responses:
  14951. "200":
  14952. description: OK
  14953. schema:
  14954. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  14955. "500":
  14956. description: Internal Server Error
  14957. schema:
  14958. $ref: '#/definitions/app.Response'
  14959. security:
  14960. - ApiKeyAuth: []
  14961. summary: 查询产能预售申请信息
  14962. tags:
  14963. - 产能预售
  14964. /CPTrade/QueryPresaleGoodsEx:
  14965. get:
  14966. parameters:
  14967. - description: 预售商品ID
  14968. in: query
  14969. name: goodsid
  14970. type: integer
  14971. - description: 预售市场ID
  14972. in: query
  14973. name: marketid
  14974. type: integer
  14975. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  14976. in: query
  14977. name: presalemode
  14978. type: integer
  14979. - description: 预售商品ID列表 - 格式:1,2,3
  14980. in: query
  14981. name: goodsids
  14982. type: string
  14983. - description: 预售商品代码
  14984. in: query
  14985. name: goodscode
  14986. type: string
  14987. produces:
  14988. - application/json
  14989. responses:
  14990. "200":
  14991. description: OK
  14992. schema:
  14993. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  14994. "500":
  14995. description: Internal Server Error
  14996. schema:
  14997. $ref: '#/definitions/app.Response'
  14998. security:
  14999. - ApiKeyAuth: []
  15000. summary: 查询产能预售商品扩展信息
  15001. tags:
  15002. - 产能预售
  15003. /CPTrade/QueryUserGoodsData:
  15004. get:
  15005. parameters:
  15006. - description: 资金账户ID
  15007. in: query
  15008. name: accountid
  15009. required: true
  15010. type: integer
  15011. produces:
  15012. - application/json
  15013. responses:
  15014. "200":
  15015. description: OK
  15016. schema:
  15017. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15018. "500":
  15019. description: Internal Server Error
  15020. schema:
  15021. $ref: '#/definitions/app.Response'
  15022. security:
  15023. - ApiKeyAuth: []
  15024. summary: 查询远期订单信息
  15025. tags:
  15026. - 产能预售
  15027. /Common/GetAllEnums:
  15028. get:
  15029. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15030. parameters:
  15031. - description: 起始自增ID
  15032. in: query
  15033. name: autoid
  15034. type: integer
  15035. produces:
  15036. - application/json
  15037. responses:
  15038. "200":
  15039. description: OK
  15040. schema:
  15041. $ref: '#/definitions/models.Enumdicitem'
  15042. "500":
  15043. description: Internal Server Error
  15044. schema:
  15045. $ref: '#/definitions/app.Response'
  15046. summary: 获取所有枚举信息
  15047. tags:
  15048. - 通用服务
  15049. /Common/GetClientMenus:
  15050. get:
  15051. parameters:
  15052. - description: 登录账号
  15053. in: query
  15054. name: loginID
  15055. required: true
  15056. type: integer
  15057. - description: 终端类型,0:PC 1:Mobile
  15058. in: query
  15059. name: clientType
  15060. type: integer
  15061. produces:
  15062. - application/json
  15063. responses:
  15064. "200":
  15065. description: OK
  15066. schema:
  15067. items:
  15068. $ref: '#/definitions/common.ClientMenu'
  15069. type: array
  15070. "500":
  15071. description: Internal Server Error
  15072. schema:
  15073. $ref: '#/definitions/app.Response'
  15074. security:
  15075. - ApiKeyAuth: []
  15076. summary: 获取交易端菜单
  15077. tags:
  15078. - 通用服务
  15079. /Common/GetDivisions:
  15080. get:
  15081. produces:
  15082. - application/json
  15083. responses:
  15084. "200":
  15085. description: OK
  15086. schema:
  15087. $ref: '#/definitions/models.Division'
  15088. "500":
  15089. description: Internal Server Error
  15090. schema:
  15091. $ref: '#/definitions/app.Response'
  15092. summary: 查询区域信息
  15093. tags:
  15094. - 通用服务
  15095. /Common/GetServerTime:
  15096. get:
  15097. produces:
  15098. - application/json
  15099. responses:
  15100. "200":
  15101. description: OK
  15102. schema:
  15103. $ref: '#/definitions/app.Response'
  15104. "500":
  15105. description: Internal Server Error
  15106. schema:
  15107. $ref: '#/definitions/app.Response'
  15108. summary: 获取服务器时间
  15109. tags:
  15110. - 通用服务
  15111. /Common/NoticeReaded:
  15112. post:
  15113. parameters:
  15114. - description: 登录账号
  15115. in: query
  15116. name: loginID
  15117. required: true
  15118. type: integer
  15119. - description: 通知公告ID
  15120. in: query
  15121. name: noticeID
  15122. required: true
  15123. type: integer
  15124. produces:
  15125. - application/json
  15126. responses:
  15127. "200":
  15128. description: OK
  15129. schema:
  15130. $ref: '#/definitions/app.Response'
  15131. "500":
  15132. description: Internal Server Error
  15133. schema:
  15134. $ref: '#/definitions/app.Response'
  15135. security:
  15136. - ApiKeyAuth: []
  15137. summary: 通知公告设置已读请求
  15138. tags:
  15139. - 通用服务
  15140. /Common/QueryErrorInfos:
  15141. get:
  15142. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15143. parameters:
  15144. - description: 起始行号前索引
  15145. in: query
  15146. name: rowNumber
  15147. type: string
  15148. produces:
  15149. - application/json
  15150. responses:
  15151. "200":
  15152. description: OK
  15153. schema:
  15154. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. summary: 获取数据库错误信息
  15160. tags:
  15161. - 通用服务
  15162. /Common/QueryImageConfigs:
  15163. get:
  15164. parameters:
  15165. - description: 用户id
  15166. in: query
  15167. name: userId
  15168. type: integer
  15169. - description: 类型 - 1:App首页轮播 2:我的
  15170. in: query
  15171. name: imageType
  15172. type: integer
  15173. produces:
  15174. - application/json
  15175. responses:
  15176. "200":
  15177. description: OK
  15178. schema:
  15179. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15180. "500":
  15181. description: Internal Server Error
  15182. schema:
  15183. $ref: '#/definitions/app.Response'
  15184. summary: 查询轮播图配置信息
  15185. tags:
  15186. - 通用服务
  15187. /Common/QueryNotice:
  15188. get:
  15189. parameters:
  15190. - description: 页码
  15191. in: query
  15192. name: page
  15193. type: integer
  15194. - description: 每页条数
  15195. in: query
  15196. name: pagesize
  15197. type: integer
  15198. - description: 登录账号
  15199. in: query
  15200. name: loginID
  15201. required: true
  15202. type: integer
  15203. - description: 消息类型 - 1:公告通知 2:系统消息
  15204. in: query
  15205. name: msgType
  15206. type: integer
  15207. - description: 是否只获取未读信息
  15208. in: query
  15209. name: onlyUnRead
  15210. type: boolean
  15211. - description: 自增ID,传入后会返回这个ID后面的记录
  15212. in: query
  15213. name: lastID
  15214. type: integer
  15215. produces:
  15216. - application/json
  15217. responses:
  15218. "200":
  15219. description: OK
  15220. schema:
  15221. $ref: '#/definitions/common.QueryNoticeRsp'
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. security:
  15227. - ApiKeyAuth: []
  15228. summary: 通知公告系统消息查询
  15229. tags:
  15230. - 通用服务
  15231. /Common/QueryProvincesAndCities:
  15232. get:
  15233. parameters:
  15234. - description: 省ID
  15235. in: query
  15236. name: provinceID
  15237. type: integer
  15238. produces:
  15239. - application/json
  15240. responses:
  15241. "200":
  15242. description: OK
  15243. schema:
  15244. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  15245. "500":
  15246. description: Internal Server Error
  15247. schema:
  15248. $ref: '#/definitions/app.Response'
  15249. summary: 查询省市信息(不包括区)
  15250. tags:
  15251. - 通用服务
  15252. /Common/QueryTableDefine:
  15253. get:
  15254. parameters:
  15255. - description: 表key
  15256. in: query
  15257. name: tableKey
  15258. type: string
  15259. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  15260. in: query
  15261. name: tableType
  15262. type: integer
  15263. produces:
  15264. - application/json
  15265. responses:
  15266. "200":
  15267. description: OK
  15268. schema:
  15269. $ref: '#/definitions/common.QueryTableDefineRsp'
  15270. "500":
  15271. description: Internal Server Error
  15272. schema:
  15273. $ref: '#/definitions/app.Response'
  15274. summary: 查询交易端列表头信息
  15275. tags:
  15276. - 通用服务
  15277. /Common/QueryTraderMenu:
  15278. get:
  15279. parameters:
  15280. - description: 登录账号
  15281. in: query
  15282. name: loginid
  15283. required: true
  15284. type: integer
  15285. produces:
  15286. - application/json
  15287. responses:
  15288. "200":
  15289. description: OK
  15290. schema:
  15291. $ref: '#/definitions/common.QueryTraderMenuRsp'
  15292. "500":
  15293. description: Internal Server Error
  15294. schema:
  15295. $ref: '#/definitions/app.Response'
  15296. summary: 查询交易端菜单
  15297. tags:
  15298. - 通用服务
  15299. /Delivery/QueryDeliveryRelation:
  15300. get:
  15301. parameters:
  15302. - description: 商品ID
  15303. in: query
  15304. name: goodsid
  15305. type: integer
  15306. - description: 品种ID
  15307. in: query
  15308. name: deliverygoodsid
  15309. type: integer
  15310. - description: 市场ID
  15311. in: query
  15312. name: marketid
  15313. type: integer
  15314. produces:
  15315. - application/json
  15316. responses:
  15317. "200":
  15318. description: OK
  15319. schema:
  15320. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  15321. "500":
  15322. description: Internal Server Error
  15323. schema:
  15324. $ref: '#/definitions/app.Response'
  15325. security:
  15326. - ApiKeyAuth: []
  15327. summary: 查询商品交割关系表
  15328. tags:
  15329. - 交割服务
  15330. /Ermcp/GetErmcpGoods:
  15331. get:
  15332. parameters:
  15333. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15334. in: query
  15335. name: lastUpdateTime
  15336. type: string
  15337. produces:
  15338. - application/json
  15339. responses:
  15340. "200":
  15341. description: OK
  15342. schema:
  15343. $ref: '#/definitions/models.ErmcpGoods'
  15344. "500":
  15345. description: Internal Server Error
  15346. schema:
  15347. $ref: '#/definitions/app.Response'
  15348. security:
  15349. - ApiKeyAuth: []
  15350. summary: 查询企业风管期货商品信息
  15351. tags:
  15352. - 企业风险管理(app)
  15353. /Ermcp/GetErmcpGoodsSortByPosition:
  15354. get:
  15355. parameters:
  15356. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  15357. in: query
  15358. name: sortIndex
  15359. type: string
  15360. produces:
  15361. - application/json
  15362. responses:
  15363. "200":
  15364. description: OK
  15365. schema:
  15366. $ref: '#/definitions/models.Goodssortbypreposition'
  15367. "500":
  15368. description: Internal Server Error
  15369. schema:
  15370. $ref: '#/definitions/app.Response'
  15371. security:
  15372. - ApiKeyAuth: []
  15373. summary: 查询企业风管期货主力、次主力商品信息
  15374. tags:
  15375. - 企业风险管理(app)
  15376. /Ermcp/GetErmcpOutAccountStatus:
  15377. get:
  15378. parameters:
  15379. - description: 登录账号
  15380. in: query
  15381. name: loginID
  15382. required: true
  15383. type: integer
  15384. produces:
  15385. - application/json
  15386. responses:
  15387. "200":
  15388. description: OK
  15389. schema:
  15390. $ref: '#/definitions/models.Hedgemarketopenlog'
  15391. "500":
  15392. description: Internal Server Error
  15393. schema:
  15394. $ref: '#/definitions/app.Response'
  15395. security:
  15396. - ApiKeyAuth: []
  15397. summary: 获取目标登录账号当前对冲账号在线状态
  15398. tags:
  15399. - 企业风险管理(app)
  15400. /Ermcp/GetErmcpRoleFuncMenuLists:
  15401. get:
  15402. parameters:
  15403. - description: 登录账号
  15404. in: query
  15405. name: loginID
  15406. required: true
  15407. type: integer
  15408. produces:
  15409. - application/json
  15410. responses:
  15411. "200":
  15412. description: OK
  15413. schema:
  15414. $ref: '#/definitions/models.Funcmenulist'
  15415. "500":
  15416. description: Internal Server Error
  15417. schema:
  15418. $ref: '#/definitions/app.Response'
  15419. security:
  15420. - ApiKeyAuth: []
  15421. summary: 获取企业风管终端权限
  15422. tags:
  15423. - 企业风险管理(app)
  15424. /Ermcp/QueryAccMgrBizGroupSet:
  15425. get:
  15426. parameters:
  15427. - description: 用户ID
  15428. in: query
  15429. name: userid
  15430. required: true
  15431. type: integer
  15432. - description: 现货商品id
  15433. in: query
  15434. name: deliverygoodsid
  15435. type: integer
  15436. produces:
  15437. - application/json
  15438. responses:
  15439. "200":
  15440. description: OK
  15441. schema:
  15442. items:
  15443. $ref: '#/definitions/models.ErmcpBizGroupEx'
  15444. type: array
  15445. "500":
  15446. description: Internal Server Error
  15447. schema:
  15448. $ref: '#/definitions/app.Response'
  15449. security:
  15450. - ApiKeyAuth: []
  15451. summary: 查询业务类型分组(账户管理/账户设置)
  15452. tags:
  15453. - 企业风险管理(app)
  15454. /Ermcp/QueryAccMgrLoginUser:
  15455. get:
  15456. parameters:
  15457. - description: 用户ID
  15458. in: query
  15459. name: userid
  15460. required: true
  15461. type: integer
  15462. - description: 用户类型 2-机构 7-企业成员
  15463. in: query
  15464. name: usertype
  15465. type: integer
  15466. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  15467. in: query
  15468. name: querytype
  15469. required: true
  15470. type: integer
  15471. produces:
  15472. - application/json
  15473. responses:
  15474. "200":
  15475. description: OK
  15476. schema:
  15477. items:
  15478. $ref: '#/definitions/models.ErmcpLoginUserEx'
  15479. type: array
  15480. "500":
  15481. description: Internal Server Error
  15482. schema:
  15483. $ref: '#/definitions/app.Response'
  15484. security:
  15485. - ApiKeyAuth: []
  15486. summary: 查询账户管理登录账号(账户管理/登录账号)
  15487. tags:
  15488. - 企业风险管理(app)
  15489. /Ermcp/QueryAccMgrMainAccountInfo:
  15490. get:
  15491. parameters:
  15492. - description: 用户ID
  15493. in: query
  15494. name: userid
  15495. type: integer
  15496. - description: 主账号id
  15497. in: query
  15498. name: accountid
  15499. type: integer
  15500. produces:
  15501. - application/json
  15502. responses:
  15503. "200":
  15504. description: OK
  15505. schema:
  15506. items:
  15507. $ref: '#/definitions/models.MainAccountInfo'
  15508. type: array
  15509. "500":
  15510. description: Internal Server Error
  15511. schema:
  15512. $ref: '#/definitions/app.Response'
  15513. security:
  15514. - ApiKeyAuth: []
  15515. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  15516. tags:
  15517. - 企业风险管理(app)
  15518. /Ermcp/QueryAccMgrRole:
  15519. get:
  15520. parameters:
  15521. - description: 用户ID
  15522. in: query
  15523. name: userid
  15524. required: true
  15525. type: integer
  15526. produces:
  15527. - application/json
  15528. responses:
  15529. "200":
  15530. description: OK
  15531. schema:
  15532. items:
  15533. $ref: '#/definitions/models.ErmcpRole'
  15534. type: array
  15535. "500":
  15536. description: Internal Server Error
  15537. schema:
  15538. $ref: '#/definitions/app.Response'
  15539. security:
  15540. - ApiKeyAuth: []
  15541. summary: 查询账户管理角色设置(账户管理/角色设置)
  15542. tags:
  15543. - 企业风险管理(app)
  15544. /Ermcp/QueryAccMgrRoleMenu:
  15545. get:
  15546. parameters:
  15547. - description: 用户ID
  15548. in: query
  15549. name: userid
  15550. required: true
  15551. type: integer
  15552. - description: 角色id(可多个,逗号隔开)
  15553. in: query
  15554. name: roleid
  15555. type: string
  15556. produces:
  15557. - application/json
  15558. responses:
  15559. "200":
  15560. description: OK
  15561. schema:
  15562. items:
  15563. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  15564. type: array
  15565. "500":
  15566. description: Internal Server Error
  15567. schema:
  15568. $ref: '#/definitions/app.Response'
  15569. security:
  15570. - ApiKeyAuth: []
  15571. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  15572. tags:
  15573. - 企业风险管理(app)
  15574. /Ermcp/QueryAccMgrTaAccountInfo:
  15575. get:
  15576. parameters:
  15577. - description: 用户ID
  15578. in: query
  15579. name: userid
  15580. required: true
  15581. type: integer
  15582. - description: 账号id
  15583. in: query
  15584. name: accountid
  15585. type: integer
  15586. produces:
  15587. - application/json
  15588. responses:
  15589. "200":
  15590. description: OK
  15591. schema:
  15592. items:
  15593. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  15594. type: array
  15595. "500":
  15596. description: Internal Server Error
  15597. schema:
  15598. $ref: '#/definitions/app.Response'
  15599. security:
  15600. - ApiKeyAuth: []
  15601. summary: 查询账户管理授信(账户管理/账户设置/授信)
  15602. tags:
  15603. - 企业风险管理(app)
  15604. /Ermcp/QueryAccMgrTaaccount:
  15605. get:
  15606. parameters:
  15607. - description: 用户ID
  15608. in: query
  15609. name: userid
  15610. required: true
  15611. type: integer
  15612. produces:
  15613. - application/json
  15614. responses:
  15615. "200":
  15616. description: OK
  15617. schema:
  15618. items:
  15619. $ref: '#/definitions/models.ErmcpTaAccountEx'
  15620. type: array
  15621. "500":
  15622. description: Internal Server Error
  15623. schema:
  15624. $ref: '#/definitions/app.Response'
  15625. security:
  15626. - ApiKeyAuth: []
  15627. summary: 查询账户管理期货账号(账户管理/期货账号)
  15628. tags:
  15629. - 企业风险管理(app)
  15630. /Ermcp/QueryAvaildGoodsGroup:
  15631. get:
  15632. parameters:
  15633. - description: 所属机构ID
  15634. in: query
  15635. name: userid
  15636. required: true
  15637. type: integer
  15638. produces:
  15639. - application/json
  15640. responses:
  15641. "200":
  15642. description: OK
  15643. schema:
  15644. items:
  15645. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  15646. type: array
  15647. "500":
  15648. description: Internal Server Error
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. security:
  15652. - ApiKeyAuth: []
  15653. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  15654. tags:
  15655. - 企业风险管理(app)
  15656. /Ermcp/QueryBusinessDj:
  15657. get:
  15658. parameters:
  15659. - description: 用户ID
  15660. in: query
  15661. name: UserId
  15662. required: true
  15663. type: integer
  15664. - description: 用户类型 2-机构 7-企业成员
  15665. in: query
  15666. name: usertype
  15667. type: integer
  15668. - description: 现货合同ID, 不填则查所有
  15669. in: query
  15670. name: relatedid
  15671. type: string
  15672. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15673. in: query
  15674. name: applystatus
  15675. type: string
  15676. produces:
  15677. - application/json
  15678. responses:
  15679. "200":
  15680. description: OK
  15681. schema:
  15682. items:
  15683. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  15684. type: array
  15685. "500":
  15686. description: Internal Server Error
  15687. schema:
  15688. $ref: '#/definitions/app.Response'
  15689. security:
  15690. - ApiKeyAuth: []
  15691. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  15692. tags:
  15693. - 企业风险管理(app)
  15694. /Ermcp/QueryBusinessFp:
  15695. get:
  15696. parameters:
  15697. - description: 用户ID
  15698. in: query
  15699. name: UserId
  15700. required: true
  15701. type: integer
  15702. - description: 用户类型 2-机构 7-企业成员
  15703. in: query
  15704. name: usertype
  15705. type: integer
  15706. - description: 现货合同ID, 不填则查所有
  15707. in: query
  15708. name: relatedid
  15709. type: string
  15710. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15711. in: query
  15712. name: applystatus
  15713. type: string
  15714. produces:
  15715. - application/json
  15716. responses:
  15717. "200":
  15718. description: OK
  15719. schema:
  15720. items:
  15721. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  15722. type: array
  15723. "500":
  15724. description: Internal Server Error
  15725. schema:
  15726. $ref: '#/definitions/app.Response'
  15727. security:
  15728. - ApiKeyAuth: []
  15729. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  15730. tags:
  15731. - 企业风险管理(app)
  15732. /Ermcp/QueryBusinessJs:
  15733. get:
  15734. parameters:
  15735. - description: 用户ID
  15736. in: query
  15737. name: UserId
  15738. required: true
  15739. type: integer
  15740. - description: 用户类型 2-机构 7-企业成员
  15741. in: query
  15742. name: usertype
  15743. type: integer
  15744. - description: 现货合同ID, 不填则查所有
  15745. in: query
  15746. name: relatedid
  15747. type: string
  15748. - description: 操作申请id
  15749. in: query
  15750. name: operateapplyid
  15751. type: string
  15752. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15753. in: query
  15754. name: applystatus
  15755. type: string
  15756. produces:
  15757. - application/json
  15758. responses:
  15759. "200":
  15760. description: OK
  15761. schema:
  15762. items:
  15763. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  15764. type: array
  15765. "500":
  15766. description: Internal Server Error
  15767. schema:
  15768. $ref: '#/definitions/app.Response'
  15769. security:
  15770. - ApiKeyAuth: []
  15771. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  15772. tags:
  15773. - 企业风险管理(app)
  15774. /Ermcp/QueryBusinessJsEx:
  15775. get:
  15776. parameters:
  15777. - description: 用户ID
  15778. in: query
  15779. name: UserId
  15780. required: true
  15781. type: integer
  15782. - description: 用户类型 2-机构 7-企业成员
  15783. in: query
  15784. name: usertype
  15785. type: integer
  15786. - description: 现货合同ID, 不填则查所有
  15787. in: query
  15788. name: relatedid
  15789. type: string
  15790. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15791. in: query
  15792. name: applystatus
  15793. type: string
  15794. produces:
  15795. - application/json
  15796. responses:
  15797. "200":
  15798. description: OK
  15799. schema:
  15800. items:
  15801. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  15802. type: array
  15803. "500":
  15804. description: Internal Server Error
  15805. schema:
  15806. $ref: '#/definitions/app.Response'
  15807. security:
  15808. - ApiKeyAuth: []
  15809. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  15810. tags:
  15811. - 企业风险管理(app)
  15812. /Ermcp/QueryBusinessKx:
  15813. get:
  15814. parameters:
  15815. - description: 用户ID
  15816. in: query
  15817. name: UserId
  15818. required: true
  15819. type: integer
  15820. - description: 用户类型 2-机构 7-企业成员
  15821. in: query
  15822. name: usertype
  15823. type: integer
  15824. - description: 现货合同ID, 不填则查所有
  15825. in: query
  15826. name: relatedid
  15827. type: string
  15828. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15829. in: query
  15830. name: applystatus
  15831. type: string
  15832. produces:
  15833. - application/json
  15834. responses:
  15835. "200":
  15836. description: OK
  15837. schema:
  15838. items:
  15839. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  15840. type: array
  15841. "500":
  15842. description: Internal Server Error
  15843. schema:
  15844. $ref: '#/definitions/app.Response'
  15845. security:
  15846. - ApiKeyAuth: []
  15847. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  15848. tags:
  15849. - 企业风险管理(app)
  15850. /Ermcp/QueryChangeLog:
  15851. get:
  15852. parameters:
  15853. - description: 合同ID
  15854. in: query
  15855. name: RelatedId
  15856. required: true
  15857. type: string
  15858. produces:
  15859. - application/json
  15860. responses:
  15861. "200":
  15862. description: OK
  15863. schema:
  15864. items:
  15865. $ref: '#/definitions/ermcp.QryOPLogRsp'
  15866. type: array
  15867. "500":
  15868. description: Internal Server Error
  15869. schema:
  15870. $ref: '#/definitions/app.Response'
  15871. security:
  15872. - ApiKeyAuth: []
  15873. summary: 查询变更记录
  15874. tags:
  15875. - 企业风险管理(app)
  15876. /Ermcp/QueryErmcpHisOrderDetails:
  15877. get:
  15878. parameters:
  15879. - description: 资金账户ID
  15880. in: query
  15881. name: accountID
  15882. required: true
  15883. type: integer
  15884. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15885. in: query
  15886. name: startDate
  15887. type: string
  15888. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15889. in: query
  15890. name: endDate
  15891. type: string
  15892. produces:
  15893. - application/json
  15894. responses:
  15895. "200":
  15896. description: OK
  15897. schema:
  15898. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  15899. "500":
  15900. description: Internal Server Error
  15901. schema:
  15902. $ref: '#/definitions/app.Response'
  15903. security:
  15904. - ApiKeyAuth: []
  15905. summary: 获取企业风管期货历史委托单信息
  15906. tags:
  15907. - 企业风险管理(app)
  15908. /Ermcp/QueryErmcpHisTradeDetails:
  15909. get:
  15910. parameters:
  15911. - description: 资金账户ID
  15912. in: query
  15913. name: accountID
  15914. required: true
  15915. type: integer
  15916. - description: 商品ID
  15917. in: query
  15918. name: goodsID
  15919. type: integer
  15920. - description: 买卖方向,0:买 1:卖
  15921. in: query
  15922. name: buyOrSell
  15923. type: integer
  15924. - description: 关联委托单号
  15925. in: query
  15926. name: orderID
  15927. type: integer
  15928. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15929. in: query
  15930. name: startDate
  15931. type: string
  15932. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15933. in: query
  15934. name: endDate
  15935. type: string
  15936. produces:
  15937. - application/json
  15938. responses:
  15939. "200":
  15940. description: OK
  15941. schema:
  15942. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  15943. "500":
  15944. description: Internal Server Error
  15945. schema:
  15946. $ref: '#/definitions/app.Response'
  15947. security:
  15948. - ApiKeyAuth: []
  15949. summary: 获取企业风管期货历史成交单信息
  15950. tags:
  15951. - 企业风险管理(app)
  15952. /Ermcp/QueryErmcpInnerHolderDetails:
  15953. get:
  15954. parameters:
  15955. - description: 资金账户ID
  15956. in: query
  15957. name: accountID
  15958. required: true
  15959. type: integer
  15960. - description: 商品ID
  15961. in: query
  15962. name: goodsID
  15963. type: integer
  15964. - description: 买卖方向,0:买 1:卖
  15965. in: query
  15966. name: buyOrSell
  15967. type: integer
  15968. produces:
  15969. - application/json
  15970. responses:
  15971. "200":
  15972. description: OK
  15973. schema:
  15974. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  15975. "500":
  15976. description: Internal Server Error
  15977. schema:
  15978. $ref: '#/definitions/app.Response'
  15979. security:
  15980. - ApiKeyAuth: []
  15981. summary: 获取企业风管期货内部持仓单信息
  15982. tags:
  15983. - 企业风险管理(app)
  15984. /Ermcp/QueryErmcpOrderDetails:
  15985. get:
  15986. parameters:
  15987. - description: 资金账户ID
  15988. in: query
  15989. name: accountID
  15990. required: true
  15991. type: integer
  15992. produces:
  15993. - application/json
  15994. responses:
  15995. "200":
  15996. description: OK
  15997. schema:
  15998. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  15999. "500":
  16000. description: Internal Server Error
  16001. schema:
  16002. $ref: '#/definitions/app.Response'
  16003. security:
  16004. - ApiKeyAuth: []
  16005. summary: 获取企业风管期货委托单信息
  16006. tags:
  16007. - 企业风险管理(app)
  16008. /Ermcp/QueryErmcpTradeDetails:
  16009. get:
  16010. parameters:
  16011. - description: 资金账户ID
  16012. in: query
  16013. name: accountID
  16014. required: true
  16015. type: integer
  16016. - description: 商品ID
  16017. in: query
  16018. name: goodsID
  16019. type: integer
  16020. - description: 买卖方向,0:买 1:卖
  16021. in: query
  16022. name: buyOrSell
  16023. type: integer
  16024. - description: 关联委托单号
  16025. in: query
  16026. name: orderID
  16027. type: integer
  16028. produces:
  16029. - application/json
  16030. responses:
  16031. "200":
  16032. description: OK
  16033. schema:
  16034. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16035. "500":
  16036. description: Internal Server Error
  16037. schema:
  16038. $ref: '#/definitions/app.Response'
  16039. security:
  16040. - ApiKeyAuth: []
  16041. summary: 获取企业风管期货成交单信息
  16042. tags:
  16043. - 企业风险管理(app)
  16044. /Ermcp/QueryErmcpTradePosition:
  16045. get:
  16046. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16047. parameters:
  16048. - description: 资金账户ID
  16049. in: query
  16050. name: accountID
  16051. required: true
  16052. type: integer
  16053. - description: 所属市场ID
  16054. in: query
  16055. name: marketID
  16056. type: integer
  16057. produces:
  16058. - application/json
  16059. responses:
  16060. "200":
  16061. description: OK
  16062. schema:
  16063. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16064. "500":
  16065. description: Internal Server Error
  16066. schema:
  16067. $ref: '#/definitions/app.Response'
  16068. security:
  16069. - ApiKeyAuth: []
  16070. summary: 获取企业风管期货持仓头寸信息
  16071. tags:
  16072. - 企业风险管理(app)
  16073. /Ermcp/QueryExposureDetail:
  16074. get:
  16075. parameters:
  16076. - description: 所属机构ID
  16077. in: query
  16078. name: areaUserId
  16079. required: true
  16080. type: integer
  16081. - description: 套保商品
  16082. in: query
  16083. name: middleGoodsId
  16084. required: true
  16085. type: integer
  16086. produces:
  16087. - application/json
  16088. responses:
  16089. "200":
  16090. description: OK
  16091. schema:
  16092. items:
  16093. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16094. type: array
  16095. "500":
  16096. description: Internal Server Error
  16097. schema:
  16098. $ref: '#/definitions/app.Response'
  16099. security:
  16100. - ApiKeyAuth: []
  16101. summary: 查询敞口现货明细
  16102. tags:
  16103. - 企业风险管理(app)
  16104. /Ermcp/QueryExposureGoods:
  16105. get:
  16106. parameters:
  16107. - description: 套保商品id
  16108. in: query
  16109. name: middlegoodsid
  16110. required: true
  16111. type: integer
  16112. produces:
  16113. - application/json
  16114. responses:
  16115. "200":
  16116. description: OK
  16117. schema:
  16118. items:
  16119. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16120. type: array
  16121. "500":
  16122. description: Internal Server Error
  16123. schema:
  16124. $ref: '#/definitions/app.Response'
  16125. security:
  16126. - ApiKeyAuth: []
  16127. summary: 查询敞口主力合约
  16128. tags:
  16129. - 企业风险管理(app)
  16130. /Ermcp/QueryExposureHedgePosition:
  16131. get:
  16132. parameters:
  16133. - description: 用户id
  16134. in: query
  16135. name: userid
  16136. required: true
  16137. type: integer
  16138. produces:
  16139. - application/json
  16140. responses:
  16141. "200":
  16142. description: OK
  16143. schema:
  16144. items:
  16145. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16146. type: array
  16147. "500":
  16148. description: Internal Server Error
  16149. schema:
  16150. $ref: '#/definitions/app.Response'
  16151. security:
  16152. - ApiKeyAuth: []
  16153. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16154. tags:
  16155. - 企业风险管理(app)
  16156. /Ermcp/QueryExposureHedgePositionDetail:
  16157. get:
  16158. parameters:
  16159. - description: 所属机构ID
  16160. in: query
  16161. name: userid
  16162. required: true
  16163. type: integer
  16164. - description: 商品id
  16165. in: query
  16166. name: goodsId
  16167. required: true
  16168. type: integer
  16169. produces:
  16170. - application/json
  16171. responses:
  16172. "200":
  16173. description: OK
  16174. schema:
  16175. items:
  16176. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16177. type: array
  16178. "500":
  16179. description: Internal Server Error
  16180. schema:
  16181. $ref: '#/definitions/app.Response'
  16182. security:
  16183. - ApiKeyAuth: []
  16184. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16185. tags:
  16186. - 企业风险管理(app)
  16187. /Ermcp/QueryExposureSpot:
  16188. get:
  16189. parameters:
  16190. - description: 所属机构ID
  16191. in: query
  16192. name: areaUserId
  16193. required: true
  16194. type: integer
  16195. produces:
  16196. - application/json
  16197. responses:
  16198. "200":
  16199. description: OK
  16200. schema:
  16201. items:
  16202. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  16203. type: array
  16204. "500":
  16205. description: Internal Server Error
  16206. schema:
  16207. $ref: '#/definitions/app.Response'
  16208. security:
  16209. - ApiKeyAuth: []
  16210. summary: 查询敞口现货头寸(敞口/现货头寸)
  16211. tags:
  16212. - 企业风险管理(app)
  16213. /Ermcp/QueryExposureSpotDetail:
  16214. get:
  16215. parameters:
  16216. - description: 所属机构ID
  16217. in: query
  16218. name: areaUserId
  16219. required: true
  16220. type: integer
  16221. - description: 现货品种ID
  16222. in: query
  16223. name: wrstandardId
  16224. required: true
  16225. type: integer
  16226. produces:
  16227. - application/json
  16228. responses:
  16229. "200":
  16230. description: OK
  16231. schema:
  16232. items:
  16233. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  16234. type: array
  16235. "500":
  16236. description: Internal Server Error
  16237. schema:
  16238. $ref: '#/definitions/app.Response'
  16239. security:
  16240. - ApiKeyAuth: []
  16241. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16242. tags:
  16243. - 企业风险管理(app)
  16244. /Ermcp/QueryFuturesCompany:
  16245. get:
  16246. produces:
  16247. - application/json
  16248. responses:
  16249. "200":
  16250. description: OK
  16251. schema:
  16252. items:
  16253. $ref: '#/definitions/models.ErmcpFuturesCompany'
  16254. type: array
  16255. "500":
  16256. description: Internal Server Error
  16257. schema:
  16258. $ref: '#/definitions/app.Response'
  16259. security:
  16260. - ApiKeyAuth: []
  16261. summary: 查询期货公司
  16262. tags:
  16263. - 企业风险管理(app)
  16264. /Ermcp/QueryGGConvertConfig:
  16265. get:
  16266. parameters:
  16267. - description: 品种id(不填则查所有)
  16268. in: query
  16269. name: goodsgroupid
  16270. type: integer
  16271. produces:
  16272. - application/json
  16273. responses:
  16274. "200":
  16275. description: OK
  16276. schema:
  16277. items:
  16278. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  16279. type: array
  16280. "500":
  16281. description: Internal Server Error
  16282. schema:
  16283. $ref: '#/definitions/app.Response'
  16284. security:
  16285. - ApiKeyAuth: []
  16286. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  16287. tags:
  16288. - 企业风险管理(app)
  16289. /Ermcp/QueryGoodsBrand:
  16290. get:
  16291. parameters:
  16292. - description: 用户ID
  16293. in: query
  16294. name: userid
  16295. required: true
  16296. type: integer
  16297. - description: 现货商品ID
  16298. in: query
  16299. name: wrstandardid
  16300. type: integer
  16301. produces:
  16302. - application/json
  16303. responses:
  16304. "200":
  16305. description: OK
  16306. schema:
  16307. items:
  16308. $ref: '#/definitions/models.ErmcpGoodsBrand'
  16309. type: array
  16310. "500":
  16311. description: Internal Server Error
  16312. schema:
  16313. $ref: '#/definitions/app.Response'
  16314. security:
  16315. - ApiKeyAuth: []
  16316. summary: 查询商品品牌
  16317. tags:
  16318. - 企业风险管理(app)
  16319. /Ermcp/QueryGoodsModel:
  16320. get:
  16321. parameters:
  16322. - description: 用户ID
  16323. in: query
  16324. name: userid
  16325. required: true
  16326. type: integer
  16327. produces:
  16328. - application/json
  16329. responses:
  16330. "200":
  16331. description: OK
  16332. schema:
  16333. items:
  16334. $ref: '#/definitions/models.ErmcpGoodsModel'
  16335. type: array
  16336. "500":
  16337. description: Internal Server Error
  16338. schema:
  16339. $ref: '#/definitions/app.Response'
  16340. security:
  16341. - ApiKeyAuth: []
  16342. summary: 查询商品型号
  16343. tags:
  16344. - 企业风险管理(app)
  16345. /Ermcp/QueryHisExposure:
  16346. get:
  16347. parameters:
  16348. - description: 用户id
  16349. in: query
  16350. name: userid
  16351. required: true
  16352. type: integer
  16353. - description: 每个品种记录数
  16354. in: query
  16355. name: lastNum
  16356. required: true
  16357. type: integer
  16358. produces:
  16359. - application/json
  16360. responses:
  16361. "200":
  16362. description: OK
  16363. schema:
  16364. items:
  16365. $ref: '#/definitions/ermcp.HisExposureRsp'
  16366. type: array
  16367. "500":
  16368. description: Internal Server Error
  16369. schema:
  16370. $ref: '#/definitions/app.Response'
  16371. security:
  16372. - ApiKeyAuth: []
  16373. summary: 查询历史敞口(菜单:敞口/历史敞口)
  16374. tags:
  16375. - 企业风险管理(app)
  16376. /Ermcp/QueryMiddleGoods:
  16377. get:
  16378. parameters:
  16379. - description: 所属机构ID
  16380. in: query
  16381. name: userid
  16382. required: true
  16383. type: integer
  16384. - description: 状态 0-停用 1-正常
  16385. in: query
  16386. name: status
  16387. required: true
  16388. type: integer
  16389. produces:
  16390. - application/json
  16391. responses:
  16392. "200":
  16393. description: OK
  16394. schema:
  16395. items:
  16396. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  16397. type: array
  16398. "500":
  16399. description: Internal Server Error
  16400. schema:
  16401. $ref: '#/definitions/app.Response'
  16402. security:
  16403. - ApiKeyAuth: []
  16404. summary: 查询套保品种(菜单:套保品种)
  16405. tags:
  16406. - 企业风险管理(app)
  16407. /Ermcp/QueryMiddleGoodsChangeLog:
  16408. get:
  16409. parameters:
  16410. - description: 所属机构ID
  16411. in: query
  16412. name: userid
  16413. required: true
  16414. type: integer
  16415. - description: 套保品种id
  16416. in: query
  16417. name: middlegoodsid
  16418. required: true
  16419. type: integer
  16420. produces:
  16421. - application/json
  16422. responses:
  16423. "200":
  16424. description: OK
  16425. schema:
  16426. items:
  16427. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  16428. type: array
  16429. "500":
  16430. description: Internal Server Error
  16431. schema:
  16432. $ref: '#/definitions/app.Response'
  16433. security:
  16434. - ApiKeyAuth: []
  16435. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  16436. tags:
  16437. - 企业风险管理(app)
  16438. /Ermcp/QueryMiddleGoodsDetail:
  16439. get:
  16440. parameters:
  16441. - description: 所属机构ID
  16442. in: query
  16443. name: userid
  16444. required: true
  16445. type: integer
  16446. - description: 套保品种id
  16447. in: query
  16448. name: middlegoodsid
  16449. type: integer
  16450. produces:
  16451. - application/json
  16452. responses:
  16453. "200":
  16454. description: OK
  16455. schema:
  16456. items:
  16457. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  16458. type: array
  16459. "500":
  16460. description: Internal Server Error
  16461. schema:
  16462. $ref: '#/definitions/app.Response'
  16463. security:
  16464. - ApiKeyAuth: []
  16465. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  16466. tags:
  16467. - 企业风险管理(app)
  16468. /Ermcp/QueryPendingAuditInfo:
  16469. get:
  16470. parameters:
  16471. - description: 用户ID
  16472. in: query
  16473. name: UserId
  16474. required: true
  16475. type: integer
  16476. produces:
  16477. - application/json
  16478. responses:
  16479. "200":
  16480. description: OK
  16481. schema:
  16482. items:
  16483. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  16484. type: array
  16485. "500":
  16486. description: Internal Server Error
  16487. schema:
  16488. $ref: '#/definitions/app.Response'
  16489. security:
  16490. - ApiKeyAuth: []
  16491. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  16492. tags:
  16493. - 企业风险管理(app)
  16494. /Ermcp/QueryRealtimeExposure:
  16495. get:
  16496. parameters:
  16497. - description: 所属机构ID
  16498. in: query
  16499. name: userid
  16500. required: true
  16501. type: integer
  16502. produces:
  16503. - application/json
  16504. responses:
  16505. "200":
  16506. description: OK
  16507. schema:
  16508. items:
  16509. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  16510. type: array
  16511. "500":
  16512. description: Internal Server Error
  16513. schema:
  16514. $ref: '#/definitions/app.Response'
  16515. security:
  16516. - ApiKeyAuth: []
  16517. summary: 查询实时敞口
  16518. tags:
  16519. - 企业风险管理(app)
  16520. /Ermcp/QueryRealtimeExposurePosition:
  16521. get:
  16522. parameters:
  16523. - description: 用户id
  16524. in: query
  16525. name: userid
  16526. required: true
  16527. type: integer
  16528. - description: 套保商品ID
  16529. in: query
  16530. name: middleGoodsId
  16531. required: true
  16532. type: integer
  16533. produces:
  16534. - application/json
  16535. responses:
  16536. "200":
  16537. description: OK
  16538. schema:
  16539. items:
  16540. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  16541. type: array
  16542. "500":
  16543. description: Internal Server Error
  16544. schema:
  16545. $ref: '#/definitions/app.Response'
  16546. security:
  16547. - ApiKeyAuth: []
  16548. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  16549. tags:
  16550. - 企业风险管理(app)
  16551. /Ermcp/QueryTradeConfigTMP:
  16552. get:
  16553. parameters:
  16554. - description: 所属机构id
  16555. in: query
  16556. name: areauserid
  16557. type: integer
  16558. produces:
  16559. - application/json
  16560. responses:
  16561. "200":
  16562. description: OK
  16563. schema:
  16564. items:
  16565. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  16566. type: array
  16567. "500":
  16568. description: Internal Server Error
  16569. schema:
  16570. $ref: '#/definitions/app.Response'
  16571. security:
  16572. - ApiKeyAuth: []
  16573. summary: 查询交易模板配置
  16574. tags:
  16575. - 企业风险管理(app)
  16576. /Ermcp/QueryUserInfo:
  16577. get:
  16578. parameters:
  16579. - description: 所属机构用户ID
  16580. in: query
  16581. name: MemberUserID
  16582. required: true
  16583. type: integer
  16584. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  16585. in: query
  16586. name: queryType
  16587. required: true
  16588. type: integer
  16589. produces:
  16590. - application/json
  16591. responses:
  16592. "200":
  16593. description: OK
  16594. schema:
  16595. items:
  16596. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  16597. type: array
  16598. "500":
  16599. description: Internal Server Error
  16600. schema:
  16601. $ref: '#/definitions/app.Response'
  16602. security:
  16603. - ApiKeyAuth: []
  16604. summary: 查询客户资料
  16605. tags:
  16606. - 企业风险管理(app)
  16607. /Ermcp/QueryWarehouseInfo:
  16608. get:
  16609. parameters:
  16610. - description: 用户ID
  16611. in: query
  16612. name: userid
  16613. required: true
  16614. type: integer
  16615. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  16616. in: query
  16617. name: status
  16618. type: string
  16619. produces:
  16620. - application/json
  16621. responses:
  16622. "200":
  16623. description: OK
  16624. schema:
  16625. items:
  16626. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  16627. type: array
  16628. "500":
  16629. description: Internal Server Error
  16630. schema:
  16631. $ref: '#/definitions/app.Response'
  16632. security:
  16633. - ApiKeyAuth: []
  16634. summary: 查询仓库信息
  16635. tags:
  16636. - 企业风险管理(app)
  16637. /Ermcp3/QryAreaExpourseContractDetail:
  16638. get:
  16639. parameters:
  16640. - description: 用户ID
  16641. in: query
  16642. name: userid
  16643. required: true
  16644. type: integer
  16645. - description: 套保商品id
  16646. in: query
  16647. name: middlegoodsid
  16648. required: true
  16649. type: integer
  16650. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16651. in: query
  16652. name: cycletype
  16653. required: true
  16654. type: integer
  16655. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16656. 全(0)【原值】
  16657. in: query
  16658. name: cycletime
  16659. required: true
  16660. type: string
  16661. produces:
  16662. - application/json
  16663. responses:
  16664. "200":
  16665. description: OK
  16666. schema:
  16667. items:
  16668. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  16669. type: array
  16670. "500":
  16671. description: Internal Server Error
  16672. schema:
  16673. $ref: '#/definitions/app.Response'
  16674. security:
  16675. - ApiKeyAuth: []
  16676. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  16677. tags:
  16678. - 企业风险管理v3(app)
  16679. /Ermcp3/QryAreaExpourseFutuDetail:
  16680. get:
  16681. parameters:
  16682. - description: 用户ID
  16683. in: query
  16684. name: userid
  16685. required: true
  16686. type: integer
  16687. - description: 套保商品id
  16688. in: query
  16689. name: middlegoodsid
  16690. required: true
  16691. type: integer
  16692. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16693. in: query
  16694. name: cycletype
  16695. required: true
  16696. type: integer
  16697. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16698. 全(0)【原值】
  16699. in: query
  16700. name: cycletime
  16701. required: true
  16702. type: string
  16703. produces:
  16704. - application/json
  16705. responses:
  16706. "200":
  16707. description: OK
  16708. schema:
  16709. items:
  16710. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  16711. type: array
  16712. "500":
  16713. description: Internal Server Error
  16714. schema:
  16715. $ref: '#/definitions/app.Response'
  16716. security:
  16717. - ApiKeyAuth: []
  16718. summary: 查询敞口期货明细(敞口报表/期货明细)
  16719. tags:
  16720. - 企业风险管理v3(app)
  16721. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  16722. get:
  16723. parameters:
  16724. - description: 用户ID
  16725. in: query
  16726. name: userid
  16727. required: true
  16728. type: integer
  16729. - description: 套保商品id
  16730. in: query
  16731. name: middlegoodsid
  16732. required: true
  16733. type: integer
  16734. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16735. in: query
  16736. name: cycletype
  16737. required: true
  16738. type: integer
  16739. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16740. 全(0)【原值】
  16741. in: query
  16742. name: cycletime
  16743. required: true
  16744. type: string
  16745. produces:
  16746. - application/json
  16747. responses:
  16748. "200":
  16749. description: OK
  16750. schema:
  16751. items:
  16752. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  16753. type: array
  16754. "500":
  16755. description: Internal Server Error
  16756. schema:
  16757. $ref: '#/definitions/app.Response'
  16758. security:
  16759. - ApiKeyAuth: []
  16760. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  16761. tags:
  16762. - 企业风险管理v3(app)
  16763. /Ermcp3/QryAreaExpourseParamChLogDetail:
  16764. get:
  16765. parameters:
  16766. - description: 用户ID
  16767. in: query
  16768. name: userid
  16769. required: true
  16770. type: integer
  16771. - description: 套保商品id
  16772. in: query
  16773. name: middlegoodsid
  16774. required: true
  16775. type: integer
  16776. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16777. in: query
  16778. name: cycletype
  16779. required: true
  16780. type: integer
  16781. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16782. 全(0)【原值】
  16783. in: query
  16784. name: cycletime
  16785. required: true
  16786. type: string
  16787. produces:
  16788. - application/json
  16789. responses:
  16790. "200":
  16791. description: OK
  16792. schema:
  16793. items:
  16794. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  16795. type: array
  16796. "500":
  16797. description: Internal Server Error
  16798. schema:
  16799. $ref: '#/definitions/app.Response'
  16800. security:
  16801. - ApiKeyAuth: []
  16802. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  16803. tags:
  16804. - 企业风险管理v3(app)
  16805. /Ermcp3/QryAreaExpourseReport:
  16806. get:
  16807. parameters:
  16808. - description: 用户ID
  16809. in: query
  16810. name: userid
  16811. required: true
  16812. type: integer
  16813. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  16814. in: query
  16815. name: querytype
  16816. required: true
  16817. type: integer
  16818. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16819. in: query
  16820. name: cycletype
  16821. required: true
  16822. type: integer
  16823. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16824. 全(0)【原值】
  16825. in: query
  16826. name: cycletime
  16827. required: true
  16828. type: string
  16829. produces:
  16830. - application/json
  16831. responses:
  16832. "200":
  16833. description: OK
  16834. schema:
  16835. items:
  16836. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  16837. type: array
  16838. "500":
  16839. description: Internal Server Error
  16840. schema:
  16841. $ref: '#/definitions/app.Response'
  16842. security:
  16843. - ApiKeyAuth: []
  16844. summary: 查询敞口报表
  16845. tags:
  16846. - 企业风险管理v3(app)
  16847. /Ermcp3/QryAreaSpotplReport:
  16848. get:
  16849. parameters:
  16850. - description: 用户ID
  16851. in: query
  16852. name: userid
  16853. required: true
  16854. type: integer
  16855. - description: 查询类型 1-报表 2-报表明细
  16856. in: query
  16857. name: querytype
  16858. required: true
  16859. type: integer
  16860. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16861. in: query
  16862. name: cycletype
  16863. required: true
  16864. type: integer
  16865. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16866. 全(0)【原值】
  16867. in: query
  16868. name: cycletime
  16869. required: true
  16870. type: string
  16871. - description: 现货品种id(明细必填)
  16872. in: query
  16873. name: deliverygoodsid
  16874. type: integer
  16875. - description: 币种id(明细必填)
  16876. in: query
  16877. name: currencyid
  16878. type: integer
  16879. produces:
  16880. - application/json
  16881. responses:
  16882. "200":
  16883. description: OK
  16884. schema:
  16885. items:
  16886. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  16887. type: array
  16888. "500":
  16889. description: Internal Server Error
  16890. schema:
  16891. $ref: '#/definitions/app.Response'
  16892. security:
  16893. - ApiKeyAuth: []
  16894. summary: 查询现货报表
  16895. tags:
  16896. - 企业风险管理v3(app)
  16897. /Ermcp3/QryAreaStockReport:
  16898. get:
  16899. parameters:
  16900. - description: 用户ID
  16901. in: query
  16902. name: userid
  16903. required: true
  16904. type: integer
  16905. - description: 查询类型 1-报表 2-报表明细
  16906. in: query
  16907. name: querytype
  16908. required: true
  16909. type: integer
  16910. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16911. in: query
  16912. name: cycletype
  16913. required: true
  16914. type: integer
  16915. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16916. 全(0)【原值】
  16917. in: query
  16918. name: cycletime
  16919. required: true
  16920. type: string
  16921. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  16922. in: query
  16923. name: sumfields
  16924. type: string
  16925. - description: 品种ID
  16926. in: query
  16927. name: deliverygoodsid
  16928. type: integer
  16929. - description: 品类ID
  16930. in: query
  16931. name: wrstandardid
  16932. type: integer
  16933. - description: 品牌ID
  16934. in: query
  16935. name: spotgoodsbrandid
  16936. type: integer
  16937. - description: 仓库ID
  16938. in: query
  16939. name: warehouseinfoid
  16940. type: integer
  16941. produces:
  16942. - application/json
  16943. responses:
  16944. "200":
  16945. description: OK
  16946. schema:
  16947. items:
  16948. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  16949. type: array
  16950. "500":
  16951. description: Internal Server Error
  16952. schema:
  16953. $ref: '#/definitions/app.Response'
  16954. security:
  16955. - ApiKeyAuth: []
  16956. summary: 查询库存报表
  16957. tags:
  16958. - 企业风险管理v3(app)
  16959. /Ermcp3/QryAreaSumPL:
  16960. get:
  16961. parameters:
  16962. - description: 用户ID
  16963. in: query
  16964. name: userid
  16965. required: true
  16966. type: integer
  16967. - description: 查询类型 1-报表 2-报表明细
  16968. in: query
  16969. name: querytype
  16970. required: true
  16971. type: integer
  16972. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16973. in: query
  16974. name: cycletype
  16975. required: true
  16976. type: integer
  16977. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16978. 全(0)【原值】
  16979. in: query
  16980. name: cycletime
  16981. required: true
  16982. type: string
  16983. - description: 币种id(明细必填)
  16984. in: query
  16985. name: currencyid
  16986. type: integer
  16987. produces:
  16988. - application/json
  16989. responses:
  16990. "200":
  16991. description: OK
  16992. schema:
  16993. items:
  16994. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  16995. type: array
  16996. "500":
  16997. description: Internal Server Error
  16998. schema:
  16999. $ref: '#/definitions/app.Response'
  17000. security:
  17001. - ApiKeyAuth: []
  17002. summary: 查询汇总损益表
  17003. tags:
  17004. - 企业风险管理v3(app)
  17005. /Ermcp3/QryFinanceReport:
  17006. get:
  17007. parameters:
  17008. - description: 用户ID
  17009. in: query
  17010. name: userid
  17011. required: true
  17012. type: integer
  17013. - description: 查询类型 1-报表 2-报表明细
  17014. in: query
  17015. name: querytype
  17016. required: true
  17017. type: integer
  17018. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17019. in: query
  17020. name: cycletype
  17021. required: true
  17022. type: integer
  17023. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17024. 全(0)【原值】
  17025. in: query
  17026. name: cycletime
  17027. required: true
  17028. type: string
  17029. - description: 币种id(报表明细必填)
  17030. in: query
  17031. name: currencyid
  17032. type: integer
  17033. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17034. in: query
  17035. name: sumfields
  17036. type: string
  17037. produces:
  17038. - application/json
  17039. responses:
  17040. "200":
  17041. description: OK
  17042. schema:
  17043. items:
  17044. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17045. type: array
  17046. "500":
  17047. description: Internal Server Error
  17048. schema:
  17049. $ref: '#/definitions/app.Response'
  17050. security:
  17051. - ApiKeyAuth: []
  17052. summary: 查询财务报表
  17053. tags:
  17054. - 企业风险管理v3(app)
  17055. /Ermcp3/QryTaFutureDataReport:
  17056. get:
  17057. parameters:
  17058. - description: 用户ID
  17059. in: query
  17060. name: userid
  17061. required: true
  17062. type: integer
  17063. - description: 查询类型 1-报表 2-报表明细
  17064. in: query
  17065. name: querytype
  17066. required: true
  17067. type: integer
  17068. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17069. in: query
  17070. name: cycletype
  17071. required: true
  17072. type: integer
  17073. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17074. 全(0)【原值】
  17075. in: query
  17076. name: cycletime
  17077. required: true
  17078. type: string
  17079. - description: 币种id(查明细必填)
  17080. in: query
  17081. name: currencyid
  17082. type: integer
  17083. - description: 品种id(查明细必填)
  17084. in: query
  17085. name: goodsgroupid
  17086. type: integer
  17087. - description: 商品id(查明细必填)
  17088. in: query
  17089. name: goodsid
  17090. type: integer
  17091. - description: 买卖方向(查明细必填)
  17092. in: query
  17093. name: buyorsell
  17094. type: integer
  17095. produces:
  17096. - application/json
  17097. responses:
  17098. "200":
  17099. description: OK
  17100. schema:
  17101. items:
  17102. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17103. type: array
  17104. "500":
  17105. description: Internal Server Error
  17106. schema:
  17107. $ref: '#/definitions/app.Response'
  17108. security:
  17109. - ApiKeyAuth: []
  17110. summary: 查询期货报表
  17111. tags:
  17112. - 企业风险管理v3(app)
  17113. /Ermcp3/QueryAreaStock:
  17114. get:
  17115. parameters:
  17116. - description: 用户ID
  17117. in: query
  17118. name: userid
  17119. required: true
  17120. type: integer
  17121. produces:
  17122. - application/json
  17123. responses:
  17124. "200":
  17125. description: OK
  17126. schema:
  17127. items:
  17128. $ref: '#/definitions/models.Ermcp3AreaStock'
  17129. type: array
  17130. "500":
  17131. description: Internal Server Error
  17132. schema:
  17133. $ref: '#/definitions/app.Response'
  17134. security:
  17135. - ApiKeyAuth: []
  17136. summary: 查询机构库存(库存管理/当前库存)
  17137. tags:
  17138. - 企业风险管理v3(app)
  17139. /Ermcp3/QueryAreaStockApply:
  17140. get:
  17141. parameters:
  17142. - description: 用户ID
  17143. in: query
  17144. name: userid
  17145. required: true
  17146. type: integer
  17147. - description: 用户类型 2-机构 7-企业成员
  17148. in: query
  17149. name: usertype
  17150. type: integer
  17151. - description: 现货商品ID
  17152. in: query
  17153. name: deliverygoodsid
  17154. type: integer
  17155. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17156. in: query
  17157. name: inouttype
  17158. type: string
  17159. - description: 合同ID
  17160. in: query
  17161. name: spotcontractid
  17162. type: integer
  17163. - description: 品类ID
  17164. in: query
  17165. name: wrstandardid
  17166. type: integer
  17167. - description: 品牌ID
  17168. in: query
  17169. name: spotgoodsbrandid
  17170. type: integer
  17171. - description: 仓库ID
  17172. in: query
  17173. name: warehouseinfoid
  17174. type: integer
  17175. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17176. in: query
  17177. name: applystatus
  17178. type: string
  17179. produces:
  17180. - application/json
  17181. responses:
  17182. "200":
  17183. description: OK
  17184. schema:
  17185. items:
  17186. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  17187. type: array
  17188. "500":
  17189. description: Internal Server Error
  17190. schema:
  17191. $ref: '#/definitions/app.Response'
  17192. security:
  17193. - ApiKeyAuth: []
  17194. summary: 查询库存申请(出入库记录|库存审核)
  17195. tags:
  17196. - 企业风险管理v3(app)
  17197. /Ermcp3/QueryAreaStockApplySum:
  17198. get:
  17199. parameters:
  17200. - description: 合同ID
  17201. in: query
  17202. name: spotcontractid
  17203. type: integer
  17204. produces:
  17205. - application/json
  17206. responses:
  17207. "200":
  17208. description: OK
  17209. schema:
  17210. items:
  17211. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  17212. type: array
  17213. "500":
  17214. description: Internal Server Error
  17215. schema:
  17216. $ref: '#/definitions/app.Response'
  17217. security:
  17218. - ApiKeyAuth: []
  17219. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  17220. tags:
  17221. - 企业风险管理v3(app)
  17222. /Ermcp3/QueryDGFactoryItem:
  17223. get:
  17224. parameters:
  17225. - description: 用户id
  17226. in: query
  17227. name: userid
  17228. type: integer
  17229. - description: 用户类型 2-机构 7-企业成员
  17230. in: query
  17231. name: usertype
  17232. type: integer
  17233. - description: 选择项ID(SEQ_DGFACTORYITEM)
  17234. in: query
  17235. name: dgfactoryitemid
  17236. type: integer
  17237. - description: 现货品种ID
  17238. in: query
  17239. name: deliverygoodsid
  17240. type: integer
  17241. - description: 要素项类型
  17242. in: query
  17243. name: dgfactoryitemtypeid
  17244. type: integer
  17245. - description: 顺序
  17246. in: query
  17247. name: orderindex
  17248. type: integer
  17249. produces:
  17250. - application/json
  17251. responses:
  17252. "200":
  17253. description: OK
  17254. schema:
  17255. items:
  17256. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  17257. type: array
  17258. "500":
  17259. description: Internal Server Error
  17260. schema:
  17261. $ref: '#/definitions/app.Response'
  17262. security:
  17263. - ApiKeyAuth: []
  17264. summary: 查询品种要素定义项
  17265. tags:
  17266. - 企业风险管理v3(app)
  17267. /Ermcp3/QueryDeliveryGoods:
  17268. get:
  17269. parameters:
  17270. - description: 用户id
  17271. in: query
  17272. name: userid
  17273. required: true
  17274. type: integer
  17275. - description: 用户类型 2-机构 7-企业成员
  17276. in: query
  17277. name: usertype
  17278. type: integer
  17279. - description: 排除已配置的业务类型商品 1-套保 2-套利
  17280. in: query
  17281. name: excludecfg
  17282. type: integer
  17283. produces:
  17284. - application/json
  17285. responses:
  17286. "200":
  17287. description: OK
  17288. schema:
  17289. items:
  17290. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  17291. type: array
  17292. "500":
  17293. description: Internal Server Error
  17294. schema:
  17295. $ref: '#/definitions/app.Response'
  17296. security:
  17297. - ApiKeyAuth: []
  17298. summary: 查询现货商品
  17299. tags:
  17300. - 企业风险管理v3(app)
  17301. /Ermcp3/QueryDeliveryGoodsDetail:
  17302. get:
  17303. parameters:
  17304. - description: 用户id
  17305. in: query
  17306. name: userid
  17307. required: true
  17308. type: integer
  17309. - description: 用户类型 2-机构 7-企业成员
  17310. in: query
  17311. name: usertype
  17312. type: integer
  17313. - description: 现货商品id
  17314. in: query
  17315. name: deliverygoodsid
  17316. type: integer
  17317. produces:
  17318. - application/json
  17319. responses:
  17320. "200":
  17321. description: OK
  17322. schema:
  17323. items:
  17324. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  17325. type: array
  17326. "500":
  17327. description: Internal Server Error
  17328. schema:
  17329. $ref: '#/definitions/app.Response'
  17330. security:
  17331. - ApiKeyAuth: []
  17332. summary: 查询现货商品详情
  17333. tags:
  17334. - 企业风险管理v3(app)
  17335. /Ermcp3/QueryExposureDetail:
  17336. get:
  17337. parameters:
  17338. - description: 用户id
  17339. in: query
  17340. name: userid
  17341. required: true
  17342. type: integer
  17343. - description: 用户类型 2-机构 7-企业成员
  17344. in: query
  17345. name: usertype
  17346. type: integer
  17347. - description: 套保商品
  17348. in: query
  17349. name: middlegoodsid
  17350. required: true
  17351. type: integer
  17352. produces:
  17353. - application/json
  17354. responses:
  17355. "200":
  17356. description: OK
  17357. schema:
  17358. items:
  17359. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  17360. type: array
  17361. "500":
  17362. description: Internal Server Error
  17363. schema:
  17364. $ref: '#/definitions/app.Response'
  17365. security:
  17366. - ApiKeyAuth: []
  17367. summary: 查询敞口现货明细
  17368. tags:
  17369. - 企业风险管理v3(app)
  17370. /Ermcp3/QueryExposureSpot:
  17371. get:
  17372. parameters:
  17373. - description: 用户id
  17374. in: query
  17375. name: userid
  17376. required: true
  17377. type: integer
  17378. - description: 用户类型 2-机构 7-企业成员
  17379. in: query
  17380. name: usertype
  17381. type: integer
  17382. produces:
  17383. - application/json
  17384. responses:
  17385. "200":
  17386. description: OK
  17387. schema:
  17388. items:
  17389. $ref: '#/definitions/models.Ermcp3AreaSpot'
  17390. type: array
  17391. "500":
  17392. description: Internal Server Error
  17393. schema:
  17394. $ref: '#/definitions/app.Response'
  17395. security:
  17396. - ApiKeyAuth: []
  17397. summary: 查询敞口现货头寸(敞口/现货头寸)
  17398. tags:
  17399. - 企业风险管理v3(app)
  17400. /Ermcp3/QueryExposureSpotDetail:
  17401. get:
  17402. parameters:
  17403. - description: 用户id
  17404. in: query
  17405. name: userid
  17406. required: true
  17407. type: integer
  17408. - description: 用户类型 2-机构 7-企业成员
  17409. in: query
  17410. name: usertype
  17411. type: integer
  17412. - description: 现货品种ID
  17413. in: query
  17414. name: deliverygoodsid
  17415. required: true
  17416. type: integer
  17417. produces:
  17418. - application/json
  17419. responses:
  17420. "200":
  17421. description: OK
  17422. schema:
  17423. items:
  17424. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  17425. type: array
  17426. "500":
  17427. description: Internal Server Error
  17428. schema:
  17429. $ref: '#/definitions/app.Response'
  17430. security:
  17431. - ApiKeyAuth: []
  17432. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17433. tags:
  17434. - 企业风险管理v3(app)
  17435. /Ermcp3/QueryGoodsGroup:
  17436. get:
  17437. parameters:
  17438. - description: 用户id
  17439. in: query
  17440. name: userid
  17441. required: true
  17442. type: integer
  17443. - description: 用户类型 2-机构 7-企业成员
  17444. in: query
  17445. name: usertype
  17446. type: integer
  17447. - description: 排除套保品中已关联的商品组 1-排除
  17448. in: query
  17449. name: excludecfg
  17450. type: integer
  17451. produces:
  17452. - application/json
  17453. responses:
  17454. "200":
  17455. description: OK
  17456. schema:
  17457. items:
  17458. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  17459. type: array
  17460. "500":
  17461. description: Internal Server Error
  17462. schema:
  17463. $ref: '#/definitions/app.Response'
  17464. security:
  17465. - ApiKeyAuth: []
  17466. summary: 查询期货商品组
  17467. tags:
  17468. - 企业风险管理v3(app)
  17469. /Ermcp3/QueryGoodsWrstandard:
  17470. get:
  17471. parameters:
  17472. - description: 用户id
  17473. in: query
  17474. name: userid
  17475. required: true
  17476. type: integer
  17477. - description: 用户类型 2-机构 7-企业成员
  17478. in: query
  17479. name: usertype
  17480. type: integer
  17481. - description: 现货商品id
  17482. in: query
  17483. name: deliverygoodsid
  17484. type: integer
  17485. produces:
  17486. - application/json
  17487. responses:
  17488. "200":
  17489. description: OK
  17490. schema:
  17491. items:
  17492. $ref: '#/definitions/models.Ermcp3Wrstandard'
  17493. type: array
  17494. "500":
  17495. description: Internal Server Error
  17496. schema:
  17497. $ref: '#/definitions/app.Response'
  17498. security:
  17499. - ApiKeyAuth: []
  17500. summary: 查询商品品类
  17501. tags:
  17502. - 企业风险管理v3(app)
  17503. /Ermcp3/QueryGoodsbrand:
  17504. get:
  17505. parameters:
  17506. - description: 用户id
  17507. in: query
  17508. name: userid
  17509. required: true
  17510. type: integer
  17511. - description: 用户类型 2-机构 7-企业成员
  17512. in: query
  17513. name: usertype
  17514. type: integer
  17515. produces:
  17516. - application/json
  17517. responses:
  17518. "200":
  17519. description: OK
  17520. schema:
  17521. items:
  17522. $ref: '#/definitions/models.Ermcp3Brand'
  17523. type: array
  17524. "500":
  17525. description: Internal Server Error
  17526. schema:
  17527. $ref: '#/definitions/app.Response'
  17528. security:
  17529. - ApiKeyAuth: []
  17530. summary: 查询商品品牌
  17531. tags:
  17532. - 企业风险管理v3(app)
  17533. /Ermcp3/QueryHedgePlan:
  17534. get:
  17535. parameters:
  17536. - description: 用户ID
  17537. in: query
  17538. name: userid
  17539. required: true
  17540. type: integer
  17541. - description: 用户类型 2-机构 7-企业成员
  17542. in: query
  17543. name: usertype
  17544. type: integer
  17545. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  17546. in: query
  17547. name: hedgeplanstatus
  17548. required: true
  17549. type: string
  17550. produces:
  17551. - application/json
  17552. responses:
  17553. "200":
  17554. description: OK
  17555. schema:
  17556. items:
  17557. $ref: '#/definitions/models.Ermcp3HedgePlan'
  17558. type: array
  17559. "500":
  17560. description: Internal Server Error
  17561. schema:
  17562. $ref: '#/definitions/app.Response'
  17563. security:
  17564. - ApiKeyAuth: []
  17565. summary: 查询套保计划
  17566. tags:
  17567. - 企业风险管理v3(app)
  17568. /Ermcp3/QueryMiddleGoodsDetail:
  17569. get:
  17570. parameters:
  17571. - description: 用户id
  17572. in: query
  17573. name: userid
  17574. required: true
  17575. type: integer
  17576. - description: 用户类型 2-机构 7-企业成员
  17577. in: query
  17578. name: usertype
  17579. type: integer
  17580. - description: 套保品种id
  17581. in: query
  17582. name: middlegoodsid
  17583. type: integer
  17584. produces:
  17585. - application/json
  17586. responses:
  17587. "200":
  17588. description: OK
  17589. schema:
  17590. items:
  17591. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  17592. type: array
  17593. "500":
  17594. description: Internal Server Error
  17595. schema:
  17596. $ref: '#/definitions/app.Response'
  17597. security:
  17598. - ApiKeyAuth: []
  17599. summary: 查询套保品种详情(套保品种/商品详情)
  17600. tags:
  17601. - 企业风险管理v3(app)
  17602. /Ermcp3/QueryRootUserAccount:
  17603. get:
  17604. parameters:
  17605. - description: 用户ID
  17606. in: query
  17607. name: userid
  17608. required: true
  17609. type: integer
  17610. produces:
  17611. - application/json
  17612. responses:
  17613. "200":
  17614. description: OK
  17615. schema:
  17616. items:
  17617. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  17618. type: array
  17619. "500":
  17620. description: Internal Server Error
  17621. schema:
  17622. $ref: '#/definitions/app.Response'
  17623. security:
  17624. - ApiKeyAuth: []
  17625. summary: 查询顶级用户信息
  17626. tags:
  17627. - 企业风险管理v3(app)
  17628. /Ermcp3/QuerySpotContract:
  17629. get:
  17630. parameters:
  17631. - description: 用户id
  17632. in: query
  17633. name: userid
  17634. required: true
  17635. type: integer
  17636. - description: 用户类型 2-机构 7-企业成员
  17637. in: query
  17638. name: usertype
  17639. type: integer
  17640. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  17641. in: query
  17642. name: querytype
  17643. required: true
  17644. type: integer
  17645. - description: 合同ID(SpotContractId)
  17646. in: query
  17647. name: contractid
  17648. type: string
  17649. produces:
  17650. - application/json
  17651. responses:
  17652. "200":
  17653. description: OK
  17654. schema:
  17655. items:
  17656. $ref: '#/definitions/models.Ermcp3Contract'
  17657. type: array
  17658. "500":
  17659. description: Internal Server Error
  17660. schema:
  17661. $ref: '#/definitions/app.Response'
  17662. security:
  17663. - ApiKeyAuth: []
  17664. summary: 查询现货合同
  17665. tags:
  17666. - 企业风险管理v3(app)
  17667. /Ermcp3/QuerySpotContractBS:
  17668. get:
  17669. parameters:
  17670. - description: 用户id
  17671. in: query
  17672. name: userid
  17673. required: true
  17674. type: integer
  17675. - description: 用户类型 2-机构 7-企业成员
  17676. in: query
  17677. name: usertype
  17678. type: integer
  17679. - description: 合同类型 1-采购, -1-销售
  17680. in: query
  17681. name: contracttype
  17682. required: true
  17683. type: integer
  17684. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  17685. in: query
  17686. name: querytype
  17687. required: true
  17688. type: integer
  17689. - description: 合同ID(SpotContractId)
  17690. in: query
  17691. name: contractid
  17692. type: string
  17693. produces:
  17694. - application/json
  17695. responses:
  17696. "200":
  17697. description: OK
  17698. schema:
  17699. items:
  17700. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  17701. type: array
  17702. "500":
  17703. description: Internal Server Error
  17704. schema:
  17705. $ref: '#/definitions/app.Response'
  17706. security:
  17707. - ApiKeyAuth: []
  17708. summary: 查询合同(采购/销售)
  17709. tags:
  17710. - 企业风险管理v3(app)
  17711. /Ermcp3/QuerySpotGoodsPrice:
  17712. get:
  17713. parameters:
  17714. - description: 用户ID
  17715. in: query
  17716. name: userid
  17717. required: true
  17718. type: integer
  17719. produces:
  17720. - application/json
  17721. responses:
  17722. "200":
  17723. description: OK
  17724. schema:
  17725. items:
  17726. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  17727. type: array
  17728. "500":
  17729. description: Internal Server Error
  17730. schema:
  17731. $ref: '#/definitions/app.Response'
  17732. security:
  17733. - ApiKeyAuth: []
  17734. summary: 查询现货市价(现货市价)
  17735. tags:
  17736. - 企业风险管理v3(app)
  17737. /Ermcp3/QuerySpotGoodsPriceLog:
  17738. get:
  17739. parameters:
  17740. - description: 用户ID
  17741. in: query
  17742. name: userid
  17743. required: true
  17744. type: integer
  17745. - description: 现货商品ID
  17746. in: query
  17747. name: deliverygoodsid
  17748. required: true
  17749. type: integer
  17750. - description: 品牌ID
  17751. in: query
  17752. name: brandid
  17753. type: integer
  17754. - description: 品类ID
  17755. in: query
  17756. name: wrstandardid
  17757. type: integer
  17758. produces:
  17759. - application/json
  17760. responses:
  17761. "200":
  17762. description: OK
  17763. schema:
  17764. items:
  17765. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  17766. type: array
  17767. "500":
  17768. description: Internal Server Error
  17769. schema:
  17770. $ref: '#/definitions/app.Response'
  17771. security:
  17772. - ApiKeyAuth: []
  17773. summary: 查询现货市价详情(现货市价/详情)
  17774. tags:
  17775. - 企业风险管理v3(app)
  17776. /Erms2/QueryArbitrageStrategy:
  17777. get:
  17778. parameters:
  17779. - description: 账户ID
  17780. in: query
  17781. name: userid
  17782. required: true
  17783. type: integer
  17784. - description: 商品组ID(品种ID)
  17785. in: query
  17786. name: goodsgroupid
  17787. type: string
  17788. produces:
  17789. - application/json
  17790. responses:
  17791. "200":
  17792. description: OK
  17793. schema:
  17794. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  17795. "500":
  17796. description: Internal Server Error
  17797. schema:
  17798. $ref: '#/definitions/app.Response'
  17799. security:
  17800. - ApiKeyAuth: []
  17801. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  17802. tags:
  17803. - 风险管理
  17804. /Erms2/QueryInnerTradeDetail:
  17805. get:
  17806. parameters:
  17807. - description: 资金账户
  17808. in: query
  17809. name: accountid
  17810. required: true
  17811. type: integer
  17812. produces:
  17813. - application/json
  17814. responses:
  17815. "200":
  17816. description: OK
  17817. schema:
  17818. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  17819. "500":
  17820. description: Internal Server Error
  17821. schema:
  17822. $ref: '#/definitions/app.Response'
  17823. security:
  17824. - ApiKeyAuth: []
  17825. summary: 查询内部成交单信息
  17826. tags:
  17827. - 风险管理
  17828. /Erms2/QuerySpotContract:
  17829. get:
  17830. parameters:
  17831. - description: 策略申请ID
  17832. in: query
  17833. name: asapplyid
  17834. required: true
  17835. type: integer
  17836. - description: 现货合同ID
  17837. in: query
  17838. name: spotcontractid
  17839. type: integer
  17840. produces:
  17841. - application/json
  17842. responses:
  17843. "200":
  17844. description: OK
  17845. schema:
  17846. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  17847. "500":
  17848. description: Internal Server Error
  17849. schema:
  17850. $ref: '#/definitions/app.Response'
  17851. security:
  17852. - ApiKeyAuth: []
  17853. summary: 查询现货合同表信息(指定策略ID、未结束的)
  17854. tags:
  17855. - 风险管理
  17856. /Erms3/AddErms2ASApply:
  17857. post:
  17858. parameters:
  17859. - description: 申请参数
  17860. in: body
  17861. name: jsonBody
  17862. required: true
  17863. schema:
  17864. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  17865. produces:
  17866. - application/json
  17867. responses:
  17868. "200":
  17869. description: OK
  17870. schema:
  17871. $ref: '#/definitions/app.Response'
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 新增期现套利业务申请
  17879. tags:
  17880. - 风险管理v3
  17881. /Erms3/AddErms2SpotTradeApply:
  17882. post:
  17883. parameters:
  17884. - description: 申请参数
  17885. in: body
  17886. name: jsonBody
  17887. required: true
  17888. schema:
  17889. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  17890. produces:
  17891. - application/json
  17892. responses:
  17893. "200":
  17894. description: OK
  17895. schema:
  17896. $ref: '#/definitions/app.Response'
  17897. "500":
  17898. description: Internal Server Error
  17899. schema:
  17900. $ref: '#/definitions/app.Response'
  17901. security:
  17902. - ApiKeyAuth: []
  17903. summary: 新增现货贸易业务申请
  17904. tags:
  17905. - 风险管理v3
  17906. /Erms3/AddSpotContractApply:
  17907. post:
  17908. parameters:
  17909. - description: 申请参数
  17910. in: body
  17911. name: jsonBody
  17912. required: true
  17913. schema:
  17914. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  17915. produces:
  17916. - application/json
  17917. responses:
  17918. "200":
  17919. description: OK
  17920. schema:
  17921. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  17922. "500":
  17923. description: Internal Server Error
  17924. schema:
  17925. $ref: '#/definitions/app.Response'
  17926. security:
  17927. - ApiKeyAuth: []
  17928. summary: 新增现货合同申请
  17929. tags:
  17930. - 风险管理v3
  17931. /Erms3/AddUserInfoApply:
  17932. post:
  17933. parameters:
  17934. - description: 用户信息
  17935. in: body
  17936. name: jsonBody
  17937. required: true
  17938. schema:
  17939. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  17940. produces:
  17941. - application/json
  17942. responses:
  17943. "200":
  17944. description: OK
  17945. schema:
  17946. $ref: '#/definitions/app.Response'
  17947. "500":
  17948. description: Internal Server Error
  17949. schema:
  17950. $ref: '#/definitions/app.Response'
  17951. security:
  17952. - ApiKeyAuth: []
  17953. summary: 新增客户申请
  17954. tags:
  17955. - 风险管理v3
  17956. /Erms3/DeleteUserInfoApply:
  17957. get:
  17958. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  17959. parameters:
  17960. - description: 用户ID
  17961. in: query
  17962. name: userID
  17963. required: true
  17964. type: integer
  17965. produces:
  17966. - application/json
  17967. responses:
  17968. "200":
  17969. description: OK
  17970. schema:
  17971. $ref: '#/definitions/app.Response'
  17972. "500":
  17973. description: Internal Server Error
  17974. schema:
  17975. $ref: '#/definitions/app.Response'
  17976. security:
  17977. - ApiKeyAuth: []
  17978. summary: 删除客户申请
  17979. tags:
  17980. - 风险管理v3
  17981. /Erms3/ModifyUserInfoApply:
  17982. post:
  17983. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  17984. int, "userstate": 2 }'
  17985. parameters:
  17986. - description: 用户信息
  17987. in: body
  17988. name: jsonBody
  17989. required: true
  17990. schema:
  17991. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  17992. produces:
  17993. - application/json
  17994. responses:
  17995. "200":
  17996. description: OK
  17997. schema:
  17998. $ref: '#/definitions/app.Response'
  17999. "500":
  18000. description: Internal Server Error
  18001. schema:
  18002. $ref: '#/definitions/app.Response'
  18003. security:
  18004. - ApiKeyAuth: []
  18005. summary: 修改客户申请
  18006. tags:
  18007. - 风险管理v3
  18008. /Erms3/QueryBusinessInfo:
  18009. get:
  18010. parameters:
  18011. - description: 资金账号ID列表,用逗号分隔
  18012. in: query
  18013. name: accountids
  18014. required: true
  18015. type: string
  18016. - description: 状态,0为未结束 1为已结束
  18017. in: query
  18018. name: status
  18019. required: true
  18020. type: integer
  18021. produces:
  18022. - application/json
  18023. responses:
  18024. "200":
  18025. description: OK
  18026. schema:
  18027. items:
  18028. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18029. type: array
  18030. "500":
  18031. description: Internal Server Error
  18032. schema:
  18033. $ref: '#/definitions/app.Response'
  18034. security:
  18035. - ApiKeyAuth: []
  18036. summary: 查询业务表单数据
  18037. tags:
  18038. - 风险管理v3
  18039. /Erms3/QueryPendingAuditContract:
  18040. get:
  18041. parameters:
  18042. - description: 资金账号ID列表,逗号隔开
  18043. in: query
  18044. name: accountids
  18045. required: true
  18046. type: string
  18047. - description: 合同类型 1-采购 -1-销售
  18048. in: query
  18049. name: contracttype
  18050. required: true
  18051. type: integer
  18052. - description: 合同模式 1-普通 2-回购
  18053. in: query
  18054. name: contractmode
  18055. required: true
  18056. type: integer
  18057. produces:
  18058. - application/json
  18059. responses:
  18060. "200":
  18061. description: OK
  18062. schema:
  18063. items:
  18064. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18065. type: array
  18066. "500":
  18067. description: Internal Server Error
  18068. schema:
  18069. $ref: '#/definitions/app.Response'
  18070. security:
  18071. - ApiKeyAuth: []
  18072. summary: 查询待审核合同
  18073. tags:
  18074. - 风险管理v3
  18075. /Erms3/QueryPendingBusiness:
  18076. get:
  18077. parameters:
  18078. - description: 资金账号ID列表,逗号隔开
  18079. in: query
  18080. name: accountids
  18081. required: true
  18082. type: string
  18083. produces:
  18084. - application/json
  18085. responses:
  18086. "200":
  18087. description: OK
  18088. schema:
  18089. items:
  18090. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18091. type: array
  18092. "500":
  18093. description: Internal Server Error
  18094. schema:
  18095. $ref: '#/definitions/app.Response'
  18096. security:
  18097. - ApiKeyAuth: []
  18098. summary: 查询待审核基差贸易业务
  18099. tags:
  18100. - 风险管理v3
  18101. /Erms3/QuerySpotContractAppleForm:
  18102. get:
  18103. parameters:
  18104. - description: 登录账号
  18105. in: query
  18106. name: loginID
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18116. "500":
  18117. description: Internal Server Error
  18118. schema:
  18119. $ref: '#/definitions/app.Response'
  18120. security:
  18121. - ApiKeyAuth: []
  18122. summary: 查询合同申请表单数据
  18123. tags:
  18124. - 风险管理v3
  18125. /Erms3/QuerySpotContractDetail:
  18126. get:
  18127. parameters:
  18128. - description: 资金账号ID列表,用逗号分隔
  18129. in: query
  18130. name: accountids
  18131. required: true
  18132. type: string
  18133. - description: 合同类型,1为采购合同 -1为销售合同
  18134. in: query
  18135. name: contracttype
  18136. required: true
  18137. type: integer
  18138. - description: 合同模式,1为普通合同 2为回购销售合同
  18139. in: query
  18140. name: contractmode
  18141. required: true
  18142. type: integer
  18143. - description: 状态,0为履约中 1为已完成
  18144. in: query
  18145. name: status
  18146. required: true
  18147. type: integer
  18148. produces:
  18149. - application/json
  18150. responses:
  18151. "200":
  18152. description: OK
  18153. schema:
  18154. items:
  18155. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18156. type: array
  18157. "500":
  18158. description: Internal Server Error
  18159. schema:
  18160. $ref: '#/definitions/app.Response'
  18161. security:
  18162. - ApiKeyAuth: []
  18163. summary: 查询合同详细信息
  18164. tags:
  18165. - 风险管理v3
  18166. /Erms3/QueryUserInfoApplies:
  18167. get:
  18168. parameters:
  18169. - description: 页码
  18170. in: query
  18171. name: page
  18172. type: integer
  18173. - description: 每页条数
  18174. in: query
  18175. name: pagesize
  18176. type: integer
  18177. - description: 客户名称,支持模糊查询
  18178. in: query
  18179. name: userName
  18180. type: string
  18181. produces:
  18182. - application/json
  18183. responses:
  18184. "200":
  18185. description: OK
  18186. schema:
  18187. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  18188. "500":
  18189. description: Internal Server Error
  18190. schema:
  18191. $ref: '#/definitions/app.Response'
  18192. security:
  18193. - ApiKeyAuth: []
  18194. summary: 客户申请信息查询
  18195. tags:
  18196. - 风险管理v3
  18197. /Erms3/QueryUserInfos:
  18198. get:
  18199. parameters:
  18200. - description: 页码
  18201. in: query
  18202. name: page
  18203. type: integer
  18204. - description: 每页条数
  18205. in: query
  18206. name: pagesize
  18207. type: integer
  18208. - description: 客户名称,支持模糊查询
  18209. in: query
  18210. name: userName
  18211. type: string
  18212. produces:
  18213. - application/json
  18214. responses:
  18215. "200":
  18216. description: OK
  18217. schema:
  18218. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  18219. "500":
  18220. description: Internal Server Error
  18221. schema:
  18222. $ref: '#/definitions/app.Response'
  18223. security:
  18224. - ApiKeyAuth: []
  18225. summary: 客户信息查询
  18226. tags:
  18227. - 风险管理v3
  18228. /HSBY/GetHsbyMyCount:
  18229. get:
  18230. description: 说明: 不包括已完成的数量。
  18231. parameters:
  18232. - description: 资金账户列表,格式:1,2,3
  18233. in: query
  18234. name: accountIDs
  18235. required: true
  18236. type: string
  18237. produces:
  18238. - application/json
  18239. responses:
  18240. "200":
  18241. description: OK
  18242. schema:
  18243. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  18244. "500":
  18245. description: Internal Server Error
  18246. schema:
  18247. $ref: '#/definitions/app.Response'
  18248. security:
  18249. - ApiKeyAuth: []
  18250. summary: 获取我的订单与包裹数量
  18251. tags:
  18252. - 定制【海商报业】
  18253. /HSBY/QueryClientFixedADConfigs:
  18254. get:
  18255. produces:
  18256. - application/json
  18257. responses:
  18258. "200":
  18259. description: OK
  18260. schema:
  18261. $ref: '#/definitions/models.Clientfixedadconfig'
  18262. "500":
  18263. description: Internal Server Error
  18264. schema:
  18265. $ref: '#/definitions/app.Response'
  18266. security:
  18267. - ApiKeyAuth: []
  18268. summary: 获取终端固定广告配置
  18269. tags:
  18270. - 定制【海商报业】
  18271. /HSBY/QueryHsbyBuyMyTradeDetail:
  18272. get:
  18273. parameters:
  18274. - description: 页码
  18275. in: query
  18276. name: page
  18277. type: integer
  18278. - description: 每页条数
  18279. in: query
  18280. name: pagesize
  18281. type: integer
  18282. - description: 资金账户列表,格式:1,2,3
  18283. in: query
  18284. name: accountIDs
  18285. required: true
  18286. type: string
  18287. produces:
  18288. - application/json
  18289. responses:
  18290. "200":
  18291. description: OK
  18292. schema:
  18293. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  18294. "500":
  18295. description: Internal Server Error
  18296. schema:
  18297. $ref: '#/definitions/app.Response'
  18298. security:
  18299. - ApiKeyAuth: []
  18300. summary: 查询"我的订单 - 已完成"单据信息
  18301. tags:
  18302. - 定制【海商报业】
  18303. /HSBY/QueryHsbyGoodsOrderDetails:
  18304. get:
  18305. description: 说明:查询结果已按委托价格和委托时间排序
  18306. parameters:
  18307. - description: 商品ID
  18308. in: query
  18309. name: goodsID
  18310. required: true
  18311. type: integer
  18312. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  18313. in: query
  18314. name: accountIDs
  18315. type: string
  18316. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  18317. in: query
  18318. name: buyOrSell
  18319. type: integer
  18320. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  18321. in: query
  18322. name: price
  18323. type: number
  18324. - description: 档位,不传则默认为3档
  18325. in: query
  18326. name: speed
  18327. type: integer
  18328. produces:
  18329. - application/json
  18330. responses:
  18331. "200":
  18332. description: OK
  18333. schema:
  18334. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  18335. "500":
  18336. description: Internal Server Error
  18337. schema:
  18338. $ref: '#/definitions/app.Response'
  18339. security:
  18340. - ApiKeyAuth: []
  18341. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  18342. tags:
  18343. - 定制【海商报业】
  18344. /HSBY/QueryHsbyListingGoodsDetail:
  18345. get:
  18346. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  18347. parameters:
  18348. - description: 商品ID
  18349. in: query
  18350. name: goodsID
  18351. required: true
  18352. type: integer
  18353. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  18354. in: query
  18355. name: accountID
  18356. type: integer
  18357. produces:
  18358. - application/json
  18359. responses:
  18360. "200":
  18361. description: OK
  18362. schema:
  18363. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  18364. "500":
  18365. description: Internal Server Error
  18366. schema:
  18367. $ref: '#/definitions/app.Response'
  18368. security:
  18369. - ApiKeyAuth: []
  18370. summary: 查询二级市场(挂牌点选)商品信息详情
  18371. tags:
  18372. - 定制【海商报业】
  18373. /HSBY/QueryHsbyMarketGoodsDetail:
  18374. get:
  18375. parameters:
  18376. - description: 委托单号
  18377. in: query
  18378. name: orderID
  18379. required: true
  18380. type: integer
  18381. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  18382. in: query
  18383. name: accountID
  18384. type: integer
  18385. produces:
  18386. - application/json
  18387. responses:
  18388. "200":
  18389. description: OK
  18390. schema:
  18391. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18392. "500":
  18393. description: Internal Server Error
  18394. schema:
  18395. $ref: '#/definitions/app.Response'
  18396. security:
  18397. - ApiKeyAuth: []
  18398. summary: 查询三级市场(商城)商品信息详情
  18399. tags:
  18400. - 定制【海商报业】
  18401. /HSBY/QueryHsbyMarketGoodses:
  18402. get:
  18403. parameters:
  18404. - description: 页码
  18405. in: query
  18406. name: page
  18407. type: integer
  18408. - description: 每页条数
  18409. in: query
  18410. name: pagesize
  18411. type: integer
  18412. - description: 市场ID列表,格式:1,2,3
  18413. in: query
  18414. name: marketIDs
  18415. required: true
  18416. type: string
  18417. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  18418. in: query
  18419. name: accountID
  18420. required: true
  18421. type: integer
  18422. - description: 类别ID
  18423. in: query
  18424. name: categoryID
  18425. type: integer
  18426. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18427. in: query
  18428. name: goodsIDs
  18429. type: string
  18430. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  18431. in: query
  18432. name: couponTypeID
  18433. type: integer
  18434. produces:
  18435. - application/json
  18436. responses:
  18437. "200":
  18438. description: OK
  18439. schema:
  18440. $ref: '#/definitions/models.HsbyMarketGoods'
  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/QueryHsbyMarkets:
  18451. get:
  18452. produces:
  18453. - application/json
  18454. responses:
  18455. "200":
  18456. description: OK
  18457. schema:
  18458. $ref: '#/definitions/models.HsbyMarketInfo'
  18459. "500":
  18460. description: Internal Server Error
  18461. schema:
  18462. $ref: '#/definitions/app.Response'
  18463. security:
  18464. - ApiKeyAuth: []
  18465. summary: 查询海商报业相关市场信息
  18466. tags:
  18467. - 定制【海商报业】
  18468. /HSBY/QueryHsbyMyBuyOrderDetails:
  18469. get:
  18470. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  18471. parameters:
  18472. - description: 资金账户列表,格式:1,2,3
  18473. in: query
  18474. name: accountIDs
  18475. required: true
  18476. type: string
  18477. produces:
  18478. - application/json
  18479. responses:
  18480. "200":
  18481. description: OK
  18482. schema:
  18483. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  18484. "500":
  18485. description: Internal Server Error
  18486. schema:
  18487. $ref: '#/definitions/app.Response'
  18488. security:
  18489. - ApiKeyAuth: []
  18490. summary: 查询“我的订单”信息
  18491. tags:
  18492. - 定制【海商报业】
  18493. /HSBY/QueryHsbyMyGoods:
  18494. get:
  18495. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  18496. parameters:
  18497. - description: 资金账户列表,格式:1,2,3
  18498. in: query
  18499. name: accountIDs
  18500. required: true
  18501. type: string
  18502. produces:
  18503. - application/json
  18504. responses:
  18505. "200":
  18506. description: OK
  18507. schema:
  18508. $ref: '#/definitions/models.HsbyMyGoods'
  18509. "500":
  18510. description: Internal Server Error
  18511. schema:
  18512. $ref: '#/definitions/app.Response'
  18513. security:
  18514. - ApiKeyAuth: []
  18515. summary: 查询“我的商品”信息
  18516. tags:
  18517. - 定制【海商报业】
  18518. /HSBY/QueryHsbyMyPackages:
  18519. get:
  18520. parameters:
  18521. - description: 资金账户列表,格式:1,2,3
  18522. in: query
  18523. name: accountIDs
  18524. required: true
  18525. type: string
  18526. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18527. in: query
  18528. name: takeOrderStatus
  18529. type: integer
  18530. produces:
  18531. - application/json
  18532. responses:
  18533. "200":
  18534. description: OK
  18535. schema:
  18536. $ref: '#/definitions/models.HsbyMyPackage'
  18537. "500":
  18538. description: Internal Server Error
  18539. schema:
  18540. $ref: '#/definitions/app.Response'
  18541. security:
  18542. - ApiKeyAuth: []
  18543. summary: 查询我的包裹信息
  18544. tags:
  18545. - 定制【海商报业】
  18546. /HSBY/QueryHsbyPreGoodsDetail:
  18547. get:
  18548. parameters:
  18549. - description: 商品ID
  18550. in: query
  18551. name: goodsID
  18552. required: true
  18553. type: integer
  18554. - description: 资金账户,主要用于获取预售商品购买上限
  18555. in: query
  18556. name: accountID
  18557. type: integer
  18558. produces:
  18559. - application/json
  18560. responses:
  18561. "200":
  18562. description: OK
  18563. schema:
  18564. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  18565. "500":
  18566. description: Internal Server Error
  18567. schema:
  18568. $ref: '#/definitions/app.Response'
  18569. security:
  18570. - ApiKeyAuth: []
  18571. summary: 查询一级市场(预售)商品信息详情
  18572. tags:
  18573. - 定制【海商报业】
  18574. /HSBY/QueryHsbyPreGoodses:
  18575. get:
  18576. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  18577. parameters:
  18578. - description: 页码
  18579. in: query
  18580. name: page
  18581. type: integer
  18582. - description: 每页条数
  18583. in: query
  18584. name: pagesize
  18585. type: integer
  18586. - description: 市场ID列表,格式:1,2,3
  18587. in: query
  18588. name: marketIDs
  18589. required: true
  18590. type: string
  18591. - description: 目的地(省)ID
  18592. in: query
  18593. name: descProvinceID
  18594. type: integer
  18595. - description: 目的地(市)ID
  18596. in: query
  18597. name: descCityID
  18598. type: integer
  18599. produces:
  18600. - application/json
  18601. responses:
  18602. "200":
  18603. description: OK
  18604. schema:
  18605. $ref: '#/definitions/models.HsbyPreGoods'
  18606. "500":
  18607. description: Internal Server Error
  18608. schema:
  18609. $ref: '#/definitions/app.Response'
  18610. security:
  18611. - ApiKeyAuth: []
  18612. summary: 查询新品上市商品列表(一级市场预售)
  18613. tags:
  18614. - 定制【海商报业】
  18615. /HSBY/QueryHsbySellMyDetails:
  18616. get:
  18617. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  18618. parameters:
  18619. - description: 页码
  18620. in: query
  18621. name: page
  18622. type: integer
  18623. - description: 每页条数
  18624. in: query
  18625. name: pagesize
  18626. type: integer
  18627. - description: 资金账户列表,格式:1,2,3
  18628. in: query
  18629. name: accountIDs
  18630. required: true
  18631. type: string
  18632. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  18633. in: query
  18634. name: orderType
  18635. type: integer
  18636. produces:
  18637. - application/json
  18638. responses:
  18639. "200":
  18640. description: OK
  18641. schema:
  18642. $ref: '#/definitions/models.HsbySellMyDetail'
  18643. "500":
  18644. description: Internal Server Error
  18645. schema:
  18646. $ref: '#/definitions/app.Response'
  18647. security:
  18648. - ApiKeyAuth: []
  18649. summary: 查询"我的闲置"单据信息
  18650. tags:
  18651. - 定制【海商报业】
  18652. /HSBY/QueryHsbyTopGoodses:
  18653. get:
  18654. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  18655. parameters:
  18656. - description: 页码
  18657. in: query
  18658. name: page
  18659. type: integer
  18660. - description: 每页条数
  18661. in: query
  18662. name: pagesize
  18663. type: integer
  18664. - description: 市场ID列表,格式:1,2,3
  18665. in: query
  18666. name: marketIDs
  18667. required: true
  18668. type: string
  18669. - description: 目的地(省)ID
  18670. in: query
  18671. name: descProvinceID
  18672. type: integer
  18673. - description: 目的地(市)ID
  18674. in: query
  18675. name: descCityID
  18676. type: integer
  18677. produces:
  18678. - application/json
  18679. responses:
  18680. "200":
  18681. description: OK
  18682. schema:
  18683. $ref: '#/definitions/models.HsbyTopGoods'
  18684. "500":
  18685. description: Internal Server Error
  18686. schema:
  18687. $ref: '#/definitions/app.Response'
  18688. security:
  18689. - ApiKeyAuth: []
  18690. summary: 查询热卖商品列表(二级市场挂牌点选)
  18691. tags:
  18692. - 定制【海商报业】
  18693. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  18694. get:
  18695. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  18696. parameters:
  18697. - description: 商品ID
  18698. in: query
  18699. name: goodsID
  18700. required: true
  18701. type: integer
  18702. produces:
  18703. - application/json
  18704. responses:
  18705. "200":
  18706. description: OK
  18707. schema:
  18708. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18709. "500":
  18710. description: Internal Server Error
  18711. schema:
  18712. $ref: '#/definitions/app.Response'
  18713. security:
  18714. - ApiKeyAuth: []
  18715. summary: 查询游客三级市场(商城)商品信息详情
  18716. tags:
  18717. - 定制【海商报业】
  18718. /HSBY/QueryHsbyVisitorMarketGoodses:
  18719. get:
  18720. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  18721. parameters:
  18722. - description: 页码
  18723. in: query
  18724. name: page
  18725. type: integer
  18726. - description: 每页条数
  18727. in: query
  18728. name: pagesize
  18729. type: integer
  18730. - description: 市场ID列表,格式:1,2,3
  18731. in: query
  18732. name: marketIDs
  18733. required: true
  18734. type: string
  18735. - description: 类别ID
  18736. in: query
  18737. name: categoryID
  18738. type: integer
  18739. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18740. in: query
  18741. name: goodsIDs
  18742. type: string
  18743. produces:
  18744. - application/json
  18745. responses:
  18746. "200":
  18747. description: OK
  18748. schema:
  18749. $ref: '#/definitions/models.HsbyMarketGoods'
  18750. "500":
  18751. description: Internal Server Error
  18752. schema:
  18753. $ref: '#/definitions/app.Response'
  18754. security:
  18755. - ApiKeyAuth: []
  18756. summary: 查询游客特卖商品列表(三级商城)
  18757. tags:
  18758. - 定制【海商报业】
  18759. /HSBY/QueryMyCollectionOrders:
  18760. get:
  18761. parameters:
  18762. - description: 页码
  18763. in: query
  18764. name: page
  18765. type: integer
  18766. - description: 每页条数
  18767. in: query
  18768. name: pagesize
  18769. type: integer
  18770. - description: 资金账户,格式:1,2,3
  18771. in: query
  18772. name: accountIDs
  18773. required: true
  18774. type: string
  18775. produces:
  18776. - application/json
  18777. responses:
  18778. "200":
  18779. description: OK
  18780. schema:
  18781. $ref: '#/definitions/models.HsbySellCollectionOrder'
  18782. "500":
  18783. description: Internal Server Error
  18784. schema:
  18785. $ref: '#/definitions/app.Response'
  18786. security:
  18787. - ApiKeyAuth: []
  18788. summary: 我的闲置中收款信息查询
  18789. tags:
  18790. - 定制【海商报业】
  18791. /HSBY/QueryMyCouponHolds:
  18792. get:
  18793. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  18794. parameters:
  18795. - description: 资金账户列表,格式:1,2,3
  18796. in: query
  18797. name: accountIDs
  18798. required: true
  18799. type: string
  18800. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  18801. in: query
  18802. name: holdStatus
  18803. type: string
  18804. produces:
  18805. - application/json
  18806. responses:
  18807. "200":
  18808. description: OK
  18809. schema:
  18810. $ref: '#/definitions/models.MyCouponHold'
  18811. "500":
  18812. description: Internal Server Error
  18813. schema:
  18814. $ref: '#/definitions/app.Response'
  18815. security:
  18816. - ApiKeyAuth: []
  18817. summary: 我的优惠卷持仓查询
  18818. tags:
  18819. - 定制【海商报业】
  18820. /HSBY/QueryMyCoupons:
  18821. get:
  18822. parameters:
  18823. - description: 资金账户列表,格式:1,2,3
  18824. in: query
  18825. name: accountIDs
  18826. required: true
  18827. type: string
  18828. - description: 商品ID, 一般与sellUserID配套传入
  18829. in: query
  18830. name: goodsID
  18831. type: integer
  18832. - description: 卖方UserID
  18833. in: query
  18834. name: sellUserID
  18835. type: integer
  18836. produces:
  18837. - application/json
  18838. responses:
  18839. "200":
  18840. description: OK
  18841. schema:
  18842. $ref: '#/definitions/models.MyCoupon'
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. security:
  18848. - ApiKeyAuth: []
  18849. summary: 我的优惠卷查询
  18850. tags:
  18851. - 定制【海商报业】
  18852. /HSBY/QueryMyPayOrders:
  18853. get:
  18854. parameters:
  18855. - description: 页码
  18856. in: query
  18857. name: page
  18858. type: integer
  18859. - description: 每页条数
  18860. in: query
  18861. name: pagesize
  18862. type: integer
  18863. - description: 资金账户列表,格式:1,2,3
  18864. in: query
  18865. name: accountIDs
  18866. required: true
  18867. type: string
  18868. - description: 买方委托单号
  18869. in: query
  18870. name: buyOrderID
  18871. type: integer
  18872. - description: 卖方委托单号
  18873. in: query
  18874. name: sellOrderID
  18875. type: integer
  18876. produces:
  18877. - application/json
  18878. responses:
  18879. "200":
  18880. description: OK
  18881. schema:
  18882. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  18883. "500":
  18884. description: Internal Server Error
  18885. schema:
  18886. $ref: '#/definitions/app.Response'
  18887. security:
  18888. - ApiKeyAuth: []
  18889. summary: 获取我的订单中待付款信息
  18890. tags:
  18891. - 定制【海商报业】
  18892. /HSBY/QueryMyUsedCoupon:
  18893. get:
  18894. parameters:
  18895. - description: 资金账户列表,格式:1,2,3
  18896. in: query
  18897. name: accountIDs
  18898. required: true
  18899. type: string
  18900. produces:
  18901. - application/json
  18902. responses:
  18903. "200":
  18904. description: OK
  18905. schema:
  18906. $ref: '#/definitions/models.MyUsedCoupon'
  18907. "500":
  18908. description: Internal Server Error
  18909. schema:
  18910. $ref: '#/definitions/app.Response'
  18911. security:
  18912. - ApiKeyAuth: []
  18913. summary: 已使用优惠卷查询
  18914. tags:
  18915. - 定制【海商报业】
  18916. /HSBY/QueryProvincesAndCities:
  18917. get:
  18918. description: 查询结果只包括二级市场商品已关连的省市信息。
  18919. parameters:
  18920. - description: 省ID
  18921. in: query
  18922. name: provinceID
  18923. type: integer
  18924. produces:
  18925. - application/json
  18926. responses:
  18927. "200":
  18928. description: OK
  18929. schema:
  18930. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  18931. "500":
  18932. description: Internal Server Error
  18933. schema:
  18934. $ref: '#/definitions/app.Response'
  18935. security:
  18936. - ApiKeyAuth: []
  18937. summary: 查询省市信息(不包括区)
  18938. tags:
  18939. - 定制【海商报业】
  18940. /HSBY/SetHsbyMyPackagesStatus:
  18941. post:
  18942. parameters:
  18943. - description: 提货单号
  18944. in: query
  18945. name: takeOrderID
  18946. required: true
  18947. type: string
  18948. - description: 资金账号
  18949. in: query
  18950. name: accountID
  18951. required: true
  18952. type: integer
  18953. produces:
  18954. - application/json
  18955. responses:
  18956. "200":
  18957. description: OK
  18958. schema:
  18959. $ref: '#/definitions/app.Response'
  18960. "500":
  18961. description: Internal Server Error
  18962. schema:
  18963. $ref: '#/definitions/app.Response'
  18964. security:
  18965. - ApiKeyAuth: []
  18966. summary: 设置我的包裹已收货状态
  18967. tags:
  18968. - 定制【海商报业】
  18969. /Market/QueryGoodsesByLoginID:
  18970. get:
  18971. parameters:
  18972. - description: 登录账号
  18973. in: query
  18974. name: loginID
  18975. required: true
  18976. type: integer
  18977. - description: 市场ID列表,格式:1,2,3
  18978. in: query
  18979. name: marketIDs
  18980. type: string
  18981. produces:
  18982. - application/json
  18983. responses:
  18984. "200":
  18985. description: OK
  18986. schema:
  18987. $ref: '#/definitions/models.Goods'
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 获取登录账号有权限的商品信息
  18995. tags:
  18996. - 通用市场
  18997. /Market/QueryMarketRun:
  18998. get:
  18999. parameters:
  19000. - description: 市场ID,不传返回所有
  19001. in: query
  19002. name: marketID
  19003. type: integer
  19004. produces:
  19005. - application/json
  19006. responses:
  19007. "200":
  19008. description: OK
  19009. schema:
  19010. $ref: '#/definitions/models.Marketrun'
  19011. "500":
  19012. description: Internal Server Error
  19013. schema:
  19014. $ref: '#/definitions/app.Response'
  19015. security:
  19016. - ApiKeyAuth: []
  19017. summary: 查询市场运行信息
  19018. tags:
  19019. - 通用市场
  19020. /Market/QueryMarketsByLoginID:
  19021. get:
  19022. parameters:
  19023. - description: 登录账号
  19024. in: query
  19025. name: loginID
  19026. required: true
  19027. type: integer
  19028. produces:
  19029. - application/json
  19030. responses:
  19031. "200":
  19032. description: OK
  19033. schema:
  19034. $ref: '#/definitions/models.Market'
  19035. "500":
  19036. description: Internal Server Error
  19037. schema:
  19038. $ref: '#/definitions/app.Response'
  19039. security:
  19040. - ApiKeyAuth: []
  19041. summary: 获取登录账号有权限的市场信息
  19042. tags:
  19043. - 通用市场
  19044. /Order/QueryHisTradeDetail:
  19045. get:
  19046. parameters:
  19047. - description: 资金账户 - 格式:1,2,3
  19048. in: query
  19049. name: accountID
  19050. required: true
  19051. type: string
  19052. - description: 成交单号
  19053. in: query
  19054. name: tradeID
  19055. type: integer
  19056. - description: 委托单号
  19057. in: query
  19058. name: orderID
  19059. type: integer
  19060. - description: 商品ID
  19061. in: query
  19062. name: goodsID
  19063. type: integer
  19064. - description: 交易模式 - 格式:1,2,3
  19065. in: query
  19066. name: tradeMode
  19067. type: string
  19068. - description: 委托单据类型
  19069. in: query
  19070. name: buildType
  19071. type: integer
  19072. - description: 成交类别 - 格式:1,2,3
  19073. in: query
  19074. name: tradeType
  19075. type: string
  19076. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19077. in: query
  19078. name: startDate
  19079. type: string
  19080. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19081. in: query
  19082. name: endDate
  19083. type: string
  19084. produces:
  19085. - application/json
  19086. responses:
  19087. "200":
  19088. description: OK
  19089. schema:
  19090. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19091. "500":
  19092. description: Internal Server Error
  19093. schema:
  19094. $ref: '#/definitions/app.Response'
  19095. security:
  19096. - ApiKeyAuth: []
  19097. summary: 历史成交单查询(合约市场)
  19098. tags:
  19099. - 通用单据
  19100. /Order/QueryHisTradeOrderDetail:
  19101. get:
  19102. parameters:
  19103. - description: 资金账户 - 格式:1,2,3
  19104. in: query
  19105. name: accountID
  19106. required: true
  19107. type: string
  19108. - description: 交易模式 - 格式:1,2,3
  19109. in: query
  19110. name: tradeMode
  19111. type: string
  19112. - description: 委托状态 - 格式:1,2,3
  19113. in: query
  19114. name: orderStatus
  19115. type: string
  19116. - description: 委托单号
  19117. in: query
  19118. name: orderID
  19119. type: integer
  19120. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19121. in: query
  19122. name: startDate
  19123. type: string
  19124. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19125. in: query
  19126. name: endDate
  19127. type: string
  19128. produces:
  19129. - application/json
  19130. responses:
  19131. "200":
  19132. description: OK
  19133. schema:
  19134. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19135. "500":
  19136. description: Internal Server Error
  19137. schema:
  19138. $ref: '#/definitions/app.Response'
  19139. security:
  19140. - ApiKeyAuth: []
  19141. summary: 历史委托单查询请求(合约市场)
  19142. tags:
  19143. - 通用单据
  19144. /Order/QueryTradeDetail:
  19145. get:
  19146. parameters:
  19147. - description: 资金账户 - 格式:1,2,3
  19148. in: query
  19149. name: accountID
  19150. required: true
  19151. type: string
  19152. - description: 成交单号
  19153. in: query
  19154. name: tradeID
  19155. type: integer
  19156. - description: 委托单号
  19157. in: query
  19158. name: orderID
  19159. type: integer
  19160. - description: 交易模式 - 格式:1,2,3
  19161. in: query
  19162. name: tradeMode
  19163. type: string
  19164. - description: 委托单据类型
  19165. in: query
  19166. name: buildType
  19167. type: integer
  19168. - description: 成交类别 - 格式:1,2,3
  19169. in: query
  19170. name: tradeType
  19171. type: string
  19172. - description: 商品ID
  19173. in: query
  19174. name: goodsID
  19175. type: integer
  19176. produces:
  19177. - application/json
  19178. responses:
  19179. "200":
  19180. description: OK
  19181. schema:
  19182. $ref: '#/definitions/order.QueryTradeDetailRsp'
  19183. "500":
  19184. description: Internal Server Error
  19185. schema:
  19186. $ref: '#/definitions/app.Response'
  19187. security:
  19188. - ApiKeyAuth: []
  19189. summary: 成交单查询(合约市场)
  19190. tags:
  19191. - 通用单据
  19192. /Order/QueryTradeOrderDetail:
  19193. get:
  19194. parameters:
  19195. - description: 资金账户 - 格式:1,2,3
  19196. in: query
  19197. name: accountID
  19198. required: true
  19199. type: string
  19200. - description: 交易模式 - 格式:1,2,3
  19201. in: query
  19202. name: tradeMode
  19203. type: string
  19204. - description: 委托状态 - 格式:1,2,3
  19205. in: query
  19206. name: orderStatus
  19207. type: string
  19208. - description: 委托单号
  19209. in: query
  19210. name: orderID
  19211. type: integer
  19212. produces:
  19213. - application/json
  19214. responses:
  19215. "200":
  19216. description: OK
  19217. schema:
  19218. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  19219. "500":
  19220. description: Internal Server Error
  19221. schema:
  19222. $ref: '#/definitions/app.Response'
  19223. security:
  19224. - ApiKeyAuth: []
  19225. summary: 委托单查询请求(合约市场)
  19226. tags:
  19227. - 通用单据
  19228. /Order/QueryTradePosition:
  19229. get:
  19230. parameters:
  19231. - description: 资金账户 - 格式:1,2,3
  19232. in: query
  19233. name: accountID
  19234. required: true
  19235. type: string
  19236. - description: 交易模式 - 格式:1,2,3
  19237. in: query
  19238. name: tradeMode
  19239. type: string
  19240. produces:
  19241. - application/json
  19242. responses:
  19243. "200":
  19244. description: OK
  19245. schema:
  19246. $ref: '#/definitions/order.QueryTradePositionRsp'
  19247. "500":
  19248. description: Internal Server Error
  19249. schema:
  19250. $ref: '#/definitions/app.Response'
  19251. security:
  19252. - ApiKeyAuth: []
  19253. summary: 持仓汇总查询(合约市场)
  19254. tags:
  19255. - 通用单据
  19256. /Qhj/QueryAccountInOutApply:
  19257. get:
  19258. parameters:
  19259. - description: 用户ID
  19260. in: query
  19261. name: userid
  19262. required: true
  19263. type: integer
  19264. - description: 申请起始日期(格式yyyymmdd)
  19265. in: query
  19266. name: begindate
  19267. type: string
  19268. - description: 申请截止日期(格式yyyymmdd)
  19269. in: query
  19270. name: enddate
  19271. type: string
  19272. - description: 模糊搜索名称
  19273. in: query
  19274. name: likename
  19275. type: string
  19276. produces:
  19277. - application/json
  19278. responses:
  19279. "200":
  19280. description: OK
  19281. schema:
  19282. items:
  19283. $ref: '#/definitions/models.QhjAccountOutInApply'
  19284. type: array
  19285. "500":
  19286. description: Internal Server Error
  19287. schema:
  19288. $ref: '#/definitions/app.Response'
  19289. security:
  19290. - ApiKeyAuth: []
  19291. summary: 查询充值提现
  19292. tags:
  19293. - 大连千海金
  19294. /Qhj/QueryAreaFinanceConfig:
  19295. get:
  19296. parameters:
  19297. - description: 机构用户ID 其他做市关系,都设置为 1
  19298. in: query
  19299. name: userid
  19300. type: integer
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. items:
  19308. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  19309. type: array
  19310. "500":
  19311. description: Internal Server Error
  19312. schema:
  19313. $ref: '#/definitions/app.Response'
  19314. security:
  19315. - ApiKeyAuth: []
  19316. summary: 查询企业配置表
  19317. tags:
  19318. - 大连千海金
  19319. /Qhj/QueryBankAccountSign:
  19320. get:
  19321. parameters:
  19322. - description: 用户ID
  19323. in: query
  19324. name: userid
  19325. required: true
  19326. type: integer
  19327. produces:
  19328. - application/json
  19329. responses:
  19330. "200":
  19331. description: OK
  19332. schema:
  19333. items:
  19334. $ref: '#/definitions/models.QhjBankAccountSign'
  19335. type: array
  19336. "500":
  19337. description: Internal Server Error
  19338. schema:
  19339. $ref: '#/definitions/app.Response'
  19340. security:
  19341. - ApiKeyAuth: []
  19342. summary: 查询签约银行信息(提现账户管理)
  19343. tags:
  19344. - 大连千海金
  19345. /Qhj/QueryBankInfo:
  19346. get:
  19347. produces:
  19348. - application/json
  19349. responses:
  19350. "200":
  19351. description: OK
  19352. schema:
  19353. items:
  19354. $ref: '#/definitions/models.QhjBankInfo'
  19355. type: array
  19356. "500":
  19357. description: Internal Server Error
  19358. schema:
  19359. $ref: '#/definitions/app.Response'
  19360. security:
  19361. - ApiKeyAuth: []
  19362. summary: 查询开户行
  19363. tags:
  19364. - 大连千海金
  19365. /Qhj/QueryContract:
  19366. get:
  19367. parameters:
  19368. - description: 用户ID
  19369. in: query
  19370. name: userid
  19371. type: integer
  19372. - description: scf合同id
  19373. in: query
  19374. name: scfcontractid
  19375. type: integer
  19376. produces:
  19377. - application/json
  19378. responses:
  19379. "200":
  19380. description: OK
  19381. schema:
  19382. items:
  19383. $ref: '#/definitions/models.QhjContract'
  19384. type: array
  19385. "500":
  19386. description: Internal Server Error
  19387. schema:
  19388. $ref: '#/definitions/app.Response'
  19389. security:
  19390. - ApiKeyAuth: []
  19391. summary: 查询融资明细(合同)
  19392. tags:
  19393. - 大连千海金
  19394. /Qhj/QueryContractLog:
  19395. get:
  19396. parameters:
  19397. - description: scf合同id
  19398. in: query
  19399. name: scfcontractid
  19400. required: true
  19401. type: integer
  19402. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  19403. in: query
  19404. name: amounttype
  19405. type: string
  19406. produces:
  19407. - application/json
  19408. responses:
  19409. "200":
  19410. description: OK
  19411. schema:
  19412. items:
  19413. $ref: '#/definitions/models.QhjContractLog'
  19414. type: array
  19415. "500":
  19416. description: Internal Server Error
  19417. schema:
  19418. $ref: '#/definitions/app.Response'
  19419. security:
  19420. - ApiKeyAuth: []
  19421. summary: 查询融资明细流水(融资明细详情页中的流水)
  19422. tags:
  19423. - 大连千海金
  19424. /Qhj/QueryCusBankSignBank:
  19425. get:
  19426. produces:
  19427. - application/json
  19428. responses:
  19429. "200":
  19430. description: OK
  19431. schema:
  19432. items:
  19433. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  19434. type: array
  19435. "500":
  19436. description: Internal Server Error
  19437. schema:
  19438. $ref: '#/definitions/app.Response'
  19439. security:
  19440. - ApiKeyAuth: []
  19441. summary: 查询托管银行
  19442. tags:
  19443. - 大连千海金
  19444. /Qhj/QueryCustomerInfo:
  19445. get:
  19446. parameters:
  19447. - description: 用户ID
  19448. in: query
  19449. name: userid
  19450. required: true
  19451. type: integer
  19452. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  19453. in: query
  19454. name: querytype
  19455. required: true
  19456. type: integer
  19457. - description: 客户类型 1-个人 2-企业
  19458. in: query
  19459. name: userinfotype
  19460. type: integer
  19461. - description: 客户名称(模糊匹配)
  19462. in: query
  19463. name: customername
  19464. type: string
  19465. - description: 昵称(模糊匹配)
  19466. in: query
  19467. name: nickname
  19468. type: string
  19469. - description: 是否包含子级 1-包含
  19470. in: query
  19471. name: includesub
  19472. type: integer
  19473. produces:
  19474. - application/json
  19475. responses:
  19476. "200":
  19477. description: OK
  19478. schema:
  19479. items:
  19480. $ref: '#/definitions/models.QhjCustomer'
  19481. type: array
  19482. "500":
  19483. description: Internal Server Error
  19484. schema:
  19485. $ref: '#/definitions/app.Response'
  19486. security:
  19487. - ApiKeyAuth: []
  19488. summary: 查询客户资料
  19489. tags:
  19490. - 大连千海金
  19491. /Qhj/QueryGoodsEx:
  19492. get:
  19493. parameters:
  19494. - description: 商品id
  19495. in: query
  19496. name: goodsid
  19497. type: integer
  19498. produces:
  19499. - application/json
  19500. responses:
  19501. "200":
  19502. description: OK
  19503. schema:
  19504. items:
  19505. $ref: '#/definitions/models.Qhjgoodsex'
  19506. type: array
  19507. "500":
  19508. description: Internal Server Error
  19509. schema:
  19510. $ref: '#/definitions/app.Response'
  19511. security:
  19512. - ApiKeyAuth: []
  19513. summary: 交易商品扩展表
  19514. tags:
  19515. - 大连千海金
  19516. /Qhj/QueryMyTeam:
  19517. get:
  19518. parameters:
  19519. - description: 用户ID
  19520. in: query
  19521. name: userid
  19522. required: true
  19523. type: integer
  19524. produces:
  19525. - application/json
  19526. responses:
  19527. "200":
  19528. description: OK
  19529. schema:
  19530. items:
  19531. $ref: '#/definitions/models.QhjMyTeam'
  19532. type: array
  19533. "500":
  19534. description: Internal Server Error
  19535. schema:
  19536. $ref: '#/definitions/app.Response'
  19537. security:
  19538. - ApiKeyAuth: []
  19539. summary: 查询我的团队
  19540. tags:
  19541. - 大连千海金
  19542. /Qhj/QueryParentAreaList:
  19543. get:
  19544. parameters:
  19545. - description: 用户ID
  19546. in: query
  19547. name: userid
  19548. required: true
  19549. type: integer
  19550. produces:
  19551. - application/json
  19552. responses:
  19553. "200":
  19554. description: OK
  19555. schema:
  19556. items:
  19557. $ref: '#/definitions/models.QhjParentAreaList'
  19558. type: array
  19559. "500":
  19560. description: Internal Server Error
  19561. schema:
  19562. $ref: '#/definitions/app.Response'
  19563. security:
  19564. - ApiKeyAuth: []
  19565. summary: 查询所属机构列表
  19566. tags:
  19567. - 大连千海金
  19568. /Qhj/QueryPayOrder:
  19569. get:
  19570. parameters:
  19571. - description: 资金账号id
  19572. in: query
  19573. name: accountid
  19574. required: true
  19575. type: integer
  19576. - description: 成交单号
  19577. in: query
  19578. name: tradeid
  19579. type: integer
  19580. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  19581. in: query
  19582. name: payflag
  19583. type: string
  19584. produces:
  19585. - application/json
  19586. responses:
  19587. "200":
  19588. description: OK
  19589. schema:
  19590. items:
  19591. $ref: '#/definitions/models.QhjPayOrder'
  19592. type: array
  19593. "500":
  19594. description: Internal Server Error
  19595. schema:
  19596. $ref: '#/definitions/app.Response'
  19597. security:
  19598. - ApiKeyAuth: []
  19599. summary: 查询待付款单据
  19600. tags:
  19601. - 大连千海金
  19602. /Qhj/QueryPickArea:
  19603. get:
  19604. parameters:
  19605. - description: 用户ID
  19606. in: query
  19607. name: userid
  19608. type: integer
  19609. produces:
  19610. - application/json
  19611. responses:
  19612. "200":
  19613. description: OK
  19614. schema:
  19615. items:
  19616. $ref: '#/definitions/models.QhjPickArea'
  19617. type: array
  19618. "500":
  19619. description: Internal Server Error
  19620. schema:
  19621. $ref: '#/definitions/app.Response'
  19622. security:
  19623. - ApiKeyAuth: []
  19624. summary: 查询提货门店
  19625. tags:
  19626. - 大连千海金
  19627. /Qhj/QueryPickGoods:
  19628. get:
  19629. parameters:
  19630. - description: 交易商品id
  19631. in: query
  19632. name: goodsid
  19633. required: true
  19634. type: integer
  19635. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  19636. in: query
  19637. name: status
  19638. type: string
  19639. produces:
  19640. - application/json
  19641. responses:
  19642. "200":
  19643. description: OK
  19644. schema:
  19645. items:
  19646. $ref: '#/definitions/models.QhjPickGoods'
  19647. type: array
  19648. "500":
  19649. description: Internal Server Error
  19650. schema:
  19651. $ref: '#/definitions/app.Response'
  19652. security:
  19653. - ApiKeyAuth: []
  19654. summary: 查询提货商品
  19655. tags:
  19656. - 大连千海金
  19657. /Qhj/QueryRSTriggerLog:
  19658. get:
  19659. parameters:
  19660. - description: 用户ID
  19661. in: query
  19662. name: userid
  19663. type: integer
  19664. - description: 定投策略id
  19665. in: query
  19666. name: regularlystrategyid
  19667. type: integer
  19668. - description: 商品id
  19669. in: query
  19670. name: goodsid
  19671. type: integer
  19672. - description: 开始交易日(yyyymmdd)
  19673. in: query
  19674. name: begindate
  19675. type: string
  19676. - description: 结束交易日(yyyymmdd)
  19677. in: query
  19678. name: enddate
  19679. type: string
  19680. - description: 名称(模糊搜索账户)
  19681. in: query
  19682. name: filtername
  19683. type: string
  19684. produces:
  19685. - application/json
  19686. responses:
  19687. "200":
  19688. description: OK
  19689. schema:
  19690. items:
  19691. $ref: '#/definitions/models.QhjRSTriggerLog'
  19692. type: array
  19693. "500":
  19694. description: Internal Server Error
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. security:
  19698. - ApiKeyAuth: []
  19699. summary: 查询定投记录(定投管理/详情/定投记录)
  19700. tags:
  19701. - 大连千海金
  19702. /Qhj/QueryRStrategy:
  19703. get:
  19704. parameters:
  19705. - description: 用户ID
  19706. in: query
  19707. name: userid
  19708. type: integer
  19709. - description: 商品id
  19710. in: query
  19711. name: goodsid
  19712. type: integer
  19713. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  19714. in: query
  19715. name: status
  19716. type: string
  19717. - description: 名称(模糊搜索账户)
  19718. in: query
  19719. name: filtername
  19720. type: string
  19721. produces:
  19722. - application/json
  19723. responses:
  19724. "200":
  19725. description: OK
  19726. schema:
  19727. items:
  19728. $ref: '#/definitions/models.QhjRStrategy'
  19729. type: array
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. security:
  19735. - ApiKeyAuth: []
  19736. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  19737. tags:
  19738. - 大连千海金
  19739. /Qhj/QueryReckonPriceLog:
  19740. get:
  19741. parameters:
  19742. - description: 商品ID
  19743. in: query
  19744. name: goodsid
  19745. type: integer
  19746. - description: 交易日 格式(yyyymmdd)
  19747. in: query
  19748. name: tradedate
  19749. type: string
  19750. produces:
  19751. - application/json
  19752. responses:
  19753. "200":
  19754. description: OK
  19755. schema:
  19756. items:
  19757. $ref: '#/definitions/models.QhjReckonPriceLog'
  19758. type: array
  19759. "500":
  19760. description: Internal Server Error
  19761. schema:
  19762. $ref: '#/definitions/app.Response'
  19763. security:
  19764. - ApiKeyAuth: []
  19765. summary: 查询定投价(结算价)
  19766. tags:
  19767. - 大连千海金
  19768. /Qhj/QuerySiteColumnDetail:
  19769. get:
  19770. parameters:
  19771. - description: 用户ID
  19772. in: query
  19773. name: userid
  19774. required: true
  19775. type: integer
  19776. produces:
  19777. - application/json
  19778. responses:
  19779. "200":
  19780. description: OK
  19781. schema:
  19782. items:
  19783. $ref: '#/definitions/models.QhjSiteColumnDetail'
  19784. type: array
  19785. "500":
  19786. description: Internal Server Error
  19787. schema:
  19788. $ref: '#/definitions/app.Response'
  19789. security:
  19790. - ApiKeyAuth: []
  19791. summary: 查询资讯
  19792. tags:
  19793. - 大连千海金
  19794. /Qhj/QueryTradeGoodsPickup:
  19795. get:
  19796. parameters:
  19797. - description: 用户ID
  19798. in: query
  19799. name: userid
  19800. required: true
  19801. type: integer
  19802. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  19803. 7:已拒绝 8:已撤销
  19804. in: query
  19805. name: takeorderstatus
  19806. type: integer
  19807. produces:
  19808. - application/json
  19809. responses:
  19810. "200":
  19811. description: OK
  19812. schema:
  19813. items:
  19814. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  19815. type: array
  19816. "500":
  19817. description: Internal Server Error
  19818. schema:
  19819. $ref: '#/definitions/app.Response'
  19820. security:
  19821. - ApiKeyAuth: []
  19822. summary: 查询提货
  19823. tags:
  19824. - 大连千海金
  19825. /Qhj/QueryUserCollectConfig:
  19826. get:
  19827. parameters:
  19828. - description: 用户ID
  19829. in: query
  19830. name: userid
  19831. required: true
  19832. type: integer
  19833. produces:
  19834. - application/json
  19835. responses:
  19836. "200":
  19837. description: OK
  19838. schema:
  19839. items:
  19840. $ref: '#/definitions/models.UserCollectConfig'
  19841. type: array
  19842. "500":
  19843. description: Internal Server Error
  19844. schema:
  19845. $ref: '#/definitions/app.Response'
  19846. security:
  19847. - ApiKeyAuth: []
  19848. summary: 查询提现账户设置
  19849. tags:
  19850. - 大连千海金
  19851. /Qhj/QueryUserReceiveInfo:
  19852. get:
  19853. parameters:
  19854. - description: 用户ID
  19855. in: query
  19856. name: userid
  19857. required: true
  19858. type: integer
  19859. produces:
  19860. - application/json
  19861. responses:
  19862. "200":
  19863. description: OK
  19864. schema:
  19865. items:
  19866. $ref: '#/definitions/models.UserReceiveInfo'
  19867. type: array
  19868. "500":
  19869. description: Internal Server Error
  19870. schema:
  19871. $ref: '#/definitions/app.Response'
  19872. security:
  19873. - ApiKeyAuth: []
  19874. summary: 查询收货地址信息
  19875. tags:
  19876. - 大连千海金
  19877. /QhjMgr/QueryAccountInOutApply:
  19878. get:
  19879. parameters:
  19880. - description: 查询类型 1-提现(出金) 2-充值(出金)
  19881. in: query
  19882. name: querytype
  19883. required: true
  19884. type: integer
  19885. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  19886. in: query
  19887. name: applystatus
  19888. type: integer
  19889. - description: 申请起始日期(格式yyyymmdd)
  19890. in: query
  19891. name: begindate
  19892. type: string
  19893. - description: 申请截止日期(格式yyyymmdd)
  19894. in: query
  19895. name: enddate
  19896. type: string
  19897. - description: 模糊搜索名称
  19898. in: query
  19899. name: likename
  19900. type: string
  19901. produces:
  19902. - application/json
  19903. responses:
  19904. "200":
  19905. description: OK
  19906. schema:
  19907. items:
  19908. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  19909. type: array
  19910. "500":
  19911. description: Internal Server Error
  19912. schema:
  19913. $ref: '#/definitions/app.Response'
  19914. security:
  19915. - ApiKeyAuth: []
  19916. summary: 查询充值提现
  19917. tags:
  19918. - 大连千海金(PCWeb)
  19919. /QhjMgr/QueryBrokerApply:
  19920. get:
  19921. parameters:
  19922. - description: 所属机构ID
  19923. in: query
  19924. name: userid
  19925. type: integer
  19926. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19927. in: query
  19928. name: filterstatus
  19929. type: string
  19930. - description: 名称(模糊匹配)
  19931. in: query
  19932. name: filtername
  19933. type: string
  19934. - description: 是否包含子级 1-包含
  19935. in: query
  19936. name: includesub
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/models.QhjMgrBrokerApply'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询经纪人申请
  19954. tags:
  19955. - 大连千海金(PCWeb)
  19956. /QhjMgr/QueryBrokerRewardReport:
  19957. get:
  19958. parameters:
  19959. - description: 所属机构ID
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19965. in: query
  19966. name: cycletype
  19967. required: true
  19968. type: integer
  19969. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  19970. in: query
  19971. name: cycletime
  19972. required: true
  19973. type: string
  19974. - description: 名称(模糊匹配)
  19975. in: query
  19976. name: filtername
  19977. type: string
  19978. - description: 是否包含子级 1-包含
  19979. in: query
  19980. name: includesub
  19981. type: integer
  19982. produces:
  19983. - application/json
  19984. responses:
  19985. "200":
  19986. description: OK
  19987. schema:
  19988. items:
  19989. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  19990. type: array
  19991. "500":
  19992. description: Internal Server Error
  19993. schema:
  19994. $ref: '#/definitions/app.Response'
  19995. security:
  19996. - ApiKeyAuth: []
  19997. summary: 查询经纪人奖励报表(废弃)
  19998. tags:
  19999. - 大连千海金(PCWeb)
  20000. /QhjMgr/QueryContract:
  20001. get:
  20002. parameters:
  20003. - description: 用户ID
  20004. in: query
  20005. name: userid
  20006. type: integer
  20007. - description: 商品id
  20008. in: query
  20009. name: goodsid
  20010. type: integer
  20011. - description: 名称(模糊搜索账户)
  20012. in: query
  20013. name: filtername
  20014. type: string
  20015. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  20016. in: query
  20017. name: risklevel
  20018. type: string
  20019. - description: 开始交易日(yyyymmdd)
  20020. in: query
  20021. name: begindate
  20022. type: string
  20023. - description: 结束交易日(yyyymmdd)
  20024. in: query
  20025. name: enddate
  20026. type: string
  20027. produces:
  20028. - application/json
  20029. responses:
  20030. "200":
  20031. description: OK
  20032. schema:
  20033. items:
  20034. $ref: '#/definitions/models.QhjMgrContract'
  20035. type: array
  20036. "500":
  20037. description: Internal Server Error
  20038. schema:
  20039. $ref: '#/definitions/app.Response'
  20040. security:
  20041. - ApiKeyAuth: []
  20042. summary: 查询融资信息(合同)
  20043. tags:
  20044. - 大连千海金(PCWeb)
  20045. /QhjMgr/QueryCustomerInfo:
  20046. get:
  20047. parameters:
  20048. - description: 用户ID
  20049. in: query
  20050. name: userid
  20051. required: true
  20052. type: integer
  20053. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20054. in: query
  20055. name: querytype
  20056. required: true
  20057. type: integer
  20058. - description: 客户类型 1-个人 2-企业
  20059. in: query
  20060. name: userinfotype
  20061. type: integer
  20062. - description: 客户名称(模糊匹配)
  20063. in: query
  20064. name: customername
  20065. type: string
  20066. - description: 昵称(模糊匹配)
  20067. in: query
  20068. name: nickname
  20069. type: string
  20070. - description: 是否包含子级 1-包含
  20071. in: query
  20072. name: includesub
  20073. type: integer
  20074. produces:
  20075. - application/json
  20076. responses:
  20077. "200":
  20078. description: OK
  20079. schema:
  20080. items:
  20081. $ref: '#/definitions/models.QhjMgrCustomer'
  20082. type: array
  20083. "500":
  20084. description: Internal Server Error
  20085. schema:
  20086. $ref: '#/definitions/app.Response'
  20087. security:
  20088. - ApiKeyAuth: []
  20089. summary: 查询客户资料
  20090. tags:
  20091. - 大连千海金(PCWeb)
  20092. /QhjMgr/QueryPickGoods:
  20093. get:
  20094. parameters:
  20095. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20096. in: query
  20097. name: status
  20098. type: string
  20099. produces:
  20100. - application/json
  20101. responses:
  20102. "200":
  20103. description: OK
  20104. schema:
  20105. items:
  20106. $ref: '#/definitions/models.QhjPickGoods'
  20107. type: array
  20108. "500":
  20109. description: Internal Server Error
  20110. schema:
  20111. $ref: '#/definitions/app.Response'
  20112. security:
  20113. - ApiKeyAuth: []
  20114. summary: 查询提货商品
  20115. tags:
  20116. - 大连千海金(PCWeb)
  20117. /QhjMgr/QuerySubArea:
  20118. get:
  20119. parameters:
  20120. - description: 用户ID
  20121. in: query
  20122. name: userid
  20123. required: true
  20124. type: integer
  20125. produces:
  20126. - application/json
  20127. responses:
  20128. "200":
  20129. description: OK
  20130. schema:
  20131. items:
  20132. $ref: '#/definitions/models.QhjMgrSubArea'
  20133. type: array
  20134. "500":
  20135. description: Internal Server Error
  20136. schema:
  20137. $ref: '#/definitions/app.Response'
  20138. security:
  20139. - ApiKeyAuth: []
  20140. summary: 查询子机构列表
  20141. tags:
  20142. - 大连千海金(PCWeb)
  20143. /QhjMgr/QueryTradeDetail:
  20144. get:
  20145. parameters:
  20146. - description: 用户ID
  20147. in: query
  20148. name: userid
  20149. required: true
  20150. type: integer
  20151. - description: 用户类型 1-个人 2-企业
  20152. in: query
  20153. name: userinfotype
  20154. type: integer
  20155. - description: 交易模式
  20156. in: query
  20157. name: trademode
  20158. type: integer
  20159. - description: 商品id
  20160. in: query
  20161. name: goodsid
  20162. type: integer
  20163. - description: 名称(模糊搜索账户)
  20164. in: query
  20165. name: filtername
  20166. type: string
  20167. - description: 开始交易日(yyyymmdd)
  20168. in: query
  20169. name: begindate
  20170. type: string
  20171. - description: 结束交易日(yyyymmdd)
  20172. in: query
  20173. name: enddate
  20174. type: string
  20175. - description: 是否包含子级 1-包含
  20176. in: query
  20177. name: includesub
  20178. type: integer
  20179. produces:
  20180. - application/json
  20181. responses:
  20182. "200":
  20183. description: OK
  20184. schema:
  20185. items:
  20186. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  20187. type: array
  20188. "500":
  20189. description: Internal Server Error
  20190. schema:
  20191. $ref: '#/definitions/app.Response'
  20192. security:
  20193. - ApiKeyAuth: []
  20194. summary: 查询成交明细
  20195. tags:
  20196. - 大连千海金(PCWeb)
  20197. /QhjMgr/QueryTradeOrderDetail:
  20198. get:
  20199. parameters:
  20200. - description: 用户ID
  20201. in: query
  20202. name: userid
  20203. required: true
  20204. type: integer
  20205. - description: 用户类型 1-个人 2-企业
  20206. in: query
  20207. name: userinfotype
  20208. type: integer
  20209. - description: 交易模式
  20210. in: query
  20211. name: trademode
  20212. type: integer
  20213. - description: 商品id
  20214. in: query
  20215. name: goodsid
  20216. type: integer
  20217. - description: 名称(模糊搜索账户)
  20218. in: query
  20219. name: filtername
  20220. type: string
  20221. - description: 开始交易日(yyyymmdd)
  20222. in: query
  20223. name: begindate
  20224. type: string
  20225. - description: 结束交易日(yyyymmdd)
  20226. in: query
  20227. name: enddate
  20228. type: string
  20229. - description: 是否包含子级 1-包含
  20230. in: query
  20231. name: includesub
  20232. type: integer
  20233. produces:
  20234. - application/json
  20235. responses:
  20236. "200":
  20237. description: OK
  20238. schema:
  20239. items:
  20240. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  20241. type: array
  20242. "500":
  20243. description: Internal Server Error
  20244. schema:
  20245. $ref: '#/definitions/app.Response'
  20246. security:
  20247. - ApiKeyAuth: []
  20248. summary: 查询委托明细
  20249. tags:
  20250. - 大连千海金(PCWeb)
  20251. /QhjMgr/QueryTradePayOrder:
  20252. get:
  20253. parameters:
  20254. - description: 用户ID
  20255. in: query
  20256. name: userid
  20257. required: true
  20258. type: integer
  20259. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20260. in: query
  20261. name: payflag
  20262. type: string
  20263. - description: 用户类型 1-个人 2-企业
  20264. in: query
  20265. name: userinfotype
  20266. type: integer
  20267. - description: 交易模式
  20268. in: query
  20269. name: trademode
  20270. type: integer
  20271. - description: 商品id
  20272. in: query
  20273. name: goodsid
  20274. type: integer
  20275. - description: 名称(模糊搜索账户)
  20276. in: query
  20277. name: filtername
  20278. type: string
  20279. - description: 开始交易日(yyyymmdd)
  20280. in: query
  20281. name: begindate
  20282. type: string
  20283. - description: 结束交易日(yyyymmdd)
  20284. in: query
  20285. name: enddate
  20286. type: string
  20287. - description: 是否包含子级 1-包含
  20288. in: query
  20289. name: includesub
  20290. type: integer
  20291. produces:
  20292. - application/json
  20293. responses:
  20294. "200":
  20295. description: OK
  20296. schema:
  20297. items:
  20298. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  20299. type: array
  20300. "500":
  20301. description: Internal Server Error
  20302. schema:
  20303. $ref: '#/definitions/app.Response'
  20304. security:
  20305. - ApiKeyAuth: []
  20306. summary: 查询待付款单
  20307. tags:
  20308. - 大连千海金(PCWeb)
  20309. /QhjMgr/QueryTradePosition:
  20310. get:
  20311. parameters:
  20312. - description: 用户ID
  20313. in: query
  20314. name: userid
  20315. required: true
  20316. type: integer
  20317. - description: 用户类型 1-个人 2-企业
  20318. in: query
  20319. name: userinfotype
  20320. type: integer
  20321. - description: 交易模式
  20322. in: query
  20323. name: trademode
  20324. type: integer
  20325. - description: 商品id
  20326. in: query
  20327. name: goodsid
  20328. type: integer
  20329. - description: 名称(模糊搜索账户)
  20330. in: query
  20331. name: filtername
  20332. type: string
  20333. - description: 是否包含子级 1-包含
  20334. in: query
  20335. name: includesub
  20336. type: integer
  20337. produces:
  20338. - application/json
  20339. responses:
  20340. "200":
  20341. description: OK
  20342. schema:
  20343. items:
  20344. $ref: '#/definitions/models.QhjMgrPositionRsp'
  20345. type: array
  20346. "500":
  20347. description: Internal Server Error
  20348. schema:
  20349. $ref: '#/definitions/app.Response'
  20350. security:
  20351. - ApiKeyAuth: []
  20352. summary: 查询持仓汇总
  20353. tags:
  20354. - 大连千海金(PCWeb)
  20355. /QhjSys/QueryAgreementChangeLog:
  20356. get:
  20357. parameters:
  20358. - description: 协议ID
  20359. in: query
  20360. name: agreementid
  20361. type: integer
  20362. - description: 协议版本号
  20363. in: query
  20364. name: agreementversion
  20365. type: integer
  20366. - description: 协议类型 - 1:注册 2:登录 3:交易
  20367. in: query
  20368. name: agreementtype
  20369. type: integer
  20370. - description: 协议编号(模糊匹配)
  20371. in: query
  20372. name: agreementno
  20373. type: string
  20374. - description: 协议名称(模糊匹配)
  20375. in: query
  20376. name: agreementname
  20377. type: string
  20378. produces:
  20379. - application/json
  20380. responses:
  20381. "200":
  20382. description: OK
  20383. schema:
  20384. items:
  20385. $ref: '#/definitions/models.QhjAgreementChangeLog'
  20386. type: array
  20387. "500":
  20388. description: Internal Server Error
  20389. schema:
  20390. $ref: '#/definitions/app.Response'
  20391. security:
  20392. - ApiKeyAuth: []
  20393. summary: 查询协议配置变更流水
  20394. tags:
  20395. - 大连千海金(协议和签约信息)
  20396. /QhjSys/QueryAgreementConfig:
  20397. get:
  20398. parameters:
  20399. - description: 协议ID
  20400. in: query
  20401. name: agreementid
  20402. type: integer
  20403. - description: 协议版本号
  20404. in: query
  20405. name: agreementversion
  20406. type: integer
  20407. - description: 协议类型 - 1:注册 2:登录 3:交易
  20408. in: query
  20409. name: agreementtype
  20410. type: integer
  20411. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  20412. in: query
  20413. name: isvalid
  20414. type: integer
  20415. - description: 协议编号(模糊匹配)
  20416. in: query
  20417. name: agreementno
  20418. type: string
  20419. - description: 协议名称(模糊匹配)
  20420. in: query
  20421. name: agreementname
  20422. type: string
  20423. produces:
  20424. - application/json
  20425. responses:
  20426. "200":
  20427. description: OK
  20428. schema:
  20429. items:
  20430. $ref: '#/definitions/models.QhjAgreementConfig'
  20431. type: array
  20432. "500":
  20433. description: Internal Server Error
  20434. schema:
  20435. $ref: '#/definitions/app.Response'
  20436. security:
  20437. - ApiKeyAuth: []
  20438. summary: 查询协议配置
  20439. tags:
  20440. - 大连千海金(协议和签约信息)
  20441. /QhjSys/QueryCustomerSignStatus:
  20442. get:
  20443. parameters:
  20444. - description: 客户ID
  20445. in: query
  20446. name: userid
  20447. type: integer
  20448. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  20449. in: query
  20450. name: nodetype
  20451. type: integer
  20452. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20453. in: query
  20454. name: goodsid
  20455. type: integer
  20456. - description: 创建交易日(yyyyMMdd)
  20457. in: query
  20458. name: tradedate
  20459. type: string
  20460. - description: 用户名称(模糊匹配)
  20461. in: query
  20462. name: username
  20463. type: string
  20464. produces:
  20465. - application/json
  20466. responses:
  20467. "200":
  20468. description: OK
  20469. schema:
  20470. items:
  20471. $ref: '#/definitions/models.QhjCustomerSignStatus'
  20472. type: array
  20473. "500":
  20474. description: Internal Server Error
  20475. schema:
  20476. $ref: '#/definitions/app.Response'
  20477. security:
  20478. - ApiKeyAuth: []
  20479. summary: 查询客户协议签约状态
  20480. tags:
  20481. - 大连千海金(协议和签约信息)
  20482. /QhjSys/QueryNodeAgreementConfig:
  20483. get:
  20484. parameters:
  20485. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20486. in: query
  20487. name: configid
  20488. type: integer
  20489. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20490. in: query
  20491. name: nodetype
  20492. type: integer
  20493. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20494. in: query
  20495. name: goodsid
  20496. type: integer
  20497. - description: 协议ID
  20498. in: query
  20499. name: agreementid
  20500. type: integer
  20501. - description: 协议类型 - 1:注册 2:登录 3:交易
  20502. in: query
  20503. name: agreementtype
  20504. type: integer
  20505. - description: 协议版本号
  20506. in: query
  20507. name: agreementversion
  20508. type: integer
  20509. - description: 协议编号(模糊匹配)
  20510. in: query
  20511. name: agreementno
  20512. type: string
  20513. - description: 协议名称(模糊匹配)
  20514. in: query
  20515. name: agreementname
  20516. type: string
  20517. produces:
  20518. - application/json
  20519. responses:
  20520. "200":
  20521. description: OK
  20522. schema:
  20523. items:
  20524. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  20525. type: array
  20526. "500":
  20527. description: Internal Server Error
  20528. schema:
  20529. $ref: '#/definitions/app.Response'
  20530. security:
  20531. - ApiKeyAuth: []
  20532. summary: 查询协议节点配置
  20533. tags:
  20534. - 大连千海金(协议和签约信息)
  20535. /QhjSys/QueryQhjCustomerSignLog:
  20536. get:
  20537. parameters:
  20538. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  20539. in: query
  20540. name: logid
  20541. type: integer
  20542. - description: 客户ID
  20543. in: query
  20544. name: userid
  20545. type: integer
  20546. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20547. in: query
  20548. name: nodetype
  20549. type: integer
  20550. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20551. in: query
  20552. name: goodsid
  20553. type: integer
  20554. - description: 协议ID
  20555. in: query
  20556. name: agreementid
  20557. type: integer
  20558. - description: 用户名称(模糊匹配)
  20559. in: query
  20560. name: username
  20561. type: string
  20562. - description: 协议编号(模糊匹配)
  20563. in: query
  20564. name: agreementno
  20565. type: string
  20566. - description: 协议名称(模糊匹配)
  20567. in: query
  20568. name: agreementname
  20569. type: string
  20570. produces:
  20571. - application/json
  20572. responses:
  20573. "200":
  20574. description: OK
  20575. schema:
  20576. items:
  20577. $ref: '#/definitions/models.QhjCustomerSignLog'
  20578. type: array
  20579. "500":
  20580. description: Internal Server Error
  20581. schema:
  20582. $ref: '#/definitions/app.Response'
  20583. security:
  20584. - ApiKeyAuth: []
  20585. summary: 查询客户协议签约流水
  20586. tags:
  20587. - 大连千海金(协议和签约信息)
  20588. /QhjSys/QueryUserNodeCfgAndStatus:
  20589. get:
  20590. parameters:
  20591. - description: 客户ID
  20592. in: query
  20593. name: userid
  20594. type: integer
  20595. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20596. in: query
  20597. name: configid
  20598. type: integer
  20599. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20600. in: query
  20601. name: nodetype
  20602. type: string
  20603. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20604. in: query
  20605. name: goodsid
  20606. type: integer
  20607. - description: 协议ID
  20608. in: query
  20609. name: agreementid
  20610. type: integer
  20611. - description: 协议类型 - 1:注册 2:登录 3:交易
  20612. in: query
  20613. name: agreementtype
  20614. type: integer
  20615. - description: 协议版本号
  20616. in: query
  20617. name: agreementversion
  20618. type: integer
  20619. - description: 协议编号(模糊匹配)
  20620. in: query
  20621. name: agreementno
  20622. type: string
  20623. - description: 协议名称(模糊匹配)
  20624. in: query
  20625. name: agreementname
  20626. type: string
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. items:
  20634. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  20635. type: array
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询用户协议节点配置和状态
  20643. tags:
  20644. - 大连千海金(协议和签约信息)
  20645. /Quote/QueryHistoryDatas:
  20646. get:
  20647. parameters:
  20648. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  20649. 日线'
  20650. in: query
  20651. name: cycleType
  20652. required: true
  20653. type: integer
  20654. - description: 商品代码
  20655. in: query
  20656. name: goodsCode
  20657. required: true
  20658. type: string
  20659. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20660. in: query
  20661. name: startTime
  20662. type: string
  20663. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20664. in: query
  20665. name: endTime
  20666. type: string
  20667. - description: 条数
  20668. in: query
  20669. name: count
  20670. type: integer
  20671. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20672. in: query
  20673. name: isAsc
  20674. type: boolean
  20675. produces:
  20676. - application/json
  20677. responses:
  20678. "200":
  20679. description: OK
  20680. schema:
  20681. $ref: '#/definitions/quote.HistoryData'
  20682. "500":
  20683. description: Internal Server Error
  20684. schema:
  20685. $ref: '#/definitions/app.Response'
  20686. security:
  20687. - ApiKeyAuth: []
  20688. summary: 查询行情历史数据
  20689. tags:
  20690. - 行情服务
  20691. /Quote/QueryHistoryTikDatas:
  20692. get:
  20693. parameters:
  20694. - description: 商品代码
  20695. in: query
  20696. name: goodsCode
  20697. required: true
  20698. type: string
  20699. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20700. in: query
  20701. name: startTime
  20702. type: string
  20703. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20704. in: query
  20705. name: endTime
  20706. type: string
  20707. - description: 条数
  20708. in: query
  20709. name: count
  20710. type: integer
  20711. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20712. in: query
  20713. name: isAsc
  20714. type: boolean
  20715. produces:
  20716. - application/json
  20717. responses:
  20718. "200":
  20719. description: OK
  20720. schema:
  20721. $ref: '#/definitions/quote.HistoryTikData'
  20722. "500":
  20723. description: Internal Server Error
  20724. schema:
  20725. $ref: '#/definitions/app.Response'
  20726. security:
  20727. - ApiKeyAuth: []
  20728. summary: 查询行情Tik数据
  20729. tags:
  20730. - 行情服务
  20731. /Quote/QueryQuoteDay:
  20732. get:
  20733. parameters:
  20734. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  20735. in: query
  20736. name: goodsCodes
  20737. required: true
  20738. type: string
  20739. produces:
  20740. - application/json
  20741. responses:
  20742. "200":
  20743. description: OK
  20744. schema:
  20745. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  20746. "500":
  20747. description: Internal Server Error
  20748. schema:
  20749. $ref: '#/definitions/app.Response'
  20750. security:
  20751. - ApiKeyAuth: []
  20752. summary: 获取商品盘面信息
  20753. tags:
  20754. - 行情服务
  20755. /Quote/QueryTSData:
  20756. get:
  20757. parameters:
  20758. - description: 商品代码
  20759. in: query
  20760. name: goodsCode
  20761. required: true
  20762. type: string
  20763. produces:
  20764. - application/json
  20765. responses:
  20766. "200":
  20767. description: OK
  20768. schema:
  20769. $ref: '#/definitions/quote.QueryTSDataRsp'
  20770. "500":
  20771. description: Internal Server Error
  20772. schema:
  20773. $ref: '#/definitions/app.Response'
  20774. security:
  20775. - ApiKeyAuth: []
  20776. summary: 分时图数据查询
  20777. tags:
  20778. - 行情服务
  20779. /SZDZ/QueryConvertConfig:
  20780. get:
  20781. parameters:
  20782. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  20783. 6:交易转花生米(不设置)
  20784. in: query
  20785. name: convertType
  20786. type: integer
  20787. - description: 外部商品代码[JD\PD]
  20788. in: query
  20789. name: outerGoodsCode
  20790. type: string
  20791. - description: 内部商品ID列表[交易],格式:1,2,3
  20792. in: query
  20793. name: innerGoodsIDs
  20794. type: string
  20795. produces:
  20796. - application/json
  20797. responses:
  20798. "200":
  20799. description: OK
  20800. schema:
  20801. $ref: '#/definitions/models.Szdz3convertconfig'
  20802. "500":
  20803. description: Internal Server Error
  20804. schema:
  20805. $ref: '#/definitions/app.Response'
  20806. security:
  20807. - ApiKeyAuth: []
  20808. summary: 查询交易系统转换设置
  20809. tags:
  20810. - 定制【尚志大宗】
  20811. /SZDZ/QueryConvertLog:
  20812. get:
  20813. parameters:
  20814. - description: 资金账户 - 格式:1,2,3
  20815. in: query
  20816. name: accountID
  20817. required: true
  20818. type: string
  20819. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20820. in: query
  20821. name: startDate
  20822. type: string
  20823. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20824. in: query
  20825. name: endDate
  20826. type: string
  20827. produces:
  20828. - application/json
  20829. responses:
  20830. "200":
  20831. description: OK
  20832. schema:
  20833. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  20834. "500":
  20835. description: Internal Server Error
  20836. schema:
  20837. $ref: '#/definitions/app.Response'
  20838. security:
  20839. - ApiKeyAuth: []
  20840. summary: 交易系统转换流水查询
  20841. tags:
  20842. - 定制【尚志大宗】
  20843. /SZDZ/QueryGoodsPickup:
  20844. get:
  20845. parameters:
  20846. - description: 资金账户 - 格式:1,2,3
  20847. in: query
  20848. name: accountID
  20849. required: true
  20850. type: string
  20851. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20852. in: query
  20853. name: takeOrderStatus
  20854. type: integer
  20855. produces:
  20856. - application/json
  20857. responses:
  20858. "200":
  20859. description: OK
  20860. schema:
  20861. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  20862. "500":
  20863. description: Internal Server Error
  20864. schema:
  20865. $ref: '#/definitions/app.Response'
  20866. security:
  20867. - ApiKeyAuth: []
  20868. summary: 商品提货单查询
  20869. tags:
  20870. - 定制【尚志大宗】
  20871. /SZDZ/QueryRecieptOrder:
  20872. get:
  20873. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  20874. parameters:
  20875. - description: 页码
  20876. in: query
  20877. name: page
  20878. type: integer
  20879. - description: 每页条数
  20880. in: query
  20881. name: pagesize
  20882. type: integer
  20883. - description: 商品ID
  20884. in: query
  20885. name: goodsID
  20886. required: true
  20887. type: integer
  20888. - description: 所属账户名称
  20889. in: query
  20890. name: accountName
  20891. type: string
  20892. - description: 市场ID
  20893. in: query
  20894. name: marketID
  20895. type: integer
  20896. - description: 方向 - 0:买 1:卖
  20897. in: query
  20898. name: buyorsell
  20899. required: true
  20900. type: integer
  20901. produces:
  20902. - application/json
  20903. responses:
  20904. "200":
  20905. description: OK
  20906. schema:
  20907. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  20908. "500":
  20909. description: Internal Server Error
  20910. schema:
  20911. $ref: '#/definitions/app.Response'
  20912. security:
  20913. - ApiKeyAuth: []
  20914. summary: 点选挂牌委托单据查询(摘牌大厅)
  20915. tags:
  20916. - 定制【尚志大宗】
  20917. /SZDZ/QuerySZDZTradePosition:
  20918. get:
  20919. parameters:
  20920. - description: 资金账户
  20921. in: query
  20922. name: accountID
  20923. required: true
  20924. type: integer
  20925. produces:
  20926. - application/json
  20927. responses:
  20928. "200":
  20929. description: OK
  20930. schema:
  20931. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  20932. "500":
  20933. description: Internal Server Error
  20934. schema:
  20935. $ref: '#/definitions/app.Response'
  20936. security:
  20937. - ApiKeyAuth: []
  20938. summary: 持仓汇总查询(尚志大宗)
  20939. tags:
  20940. - 定制【尚志大宗】
  20941. /SZDZ/SearchWhite:
  20942. get:
  20943. parameters:
  20944. - description: 用户ID
  20945. in: query
  20946. name: userID
  20947. required: true
  20948. type: integer
  20949. produces:
  20950. - application/json
  20951. responses:
  20952. "200":
  20953. description: OK
  20954. schema:
  20955. $ref: '#/definitions/models.Szdz3searchwhitelist'
  20956. "500":
  20957. description: Internal Server Error
  20958. schema:
  20959. $ref: '#/definitions/app.Response'
  20960. security:
  20961. - ApiKeyAuth: []
  20962. summary: 搜索白名单
  20963. tags:
  20964. - 定制【尚志大宗】
  20965. /Search/SearchGoodses:
  20966. get:
  20967. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  20968. parameters:
  20969. - description: 检索内容
  20970. in: query
  20971. name: content
  20972. required: true
  20973. type: string
  20974. - description: 交易模式,格式:1,2,3
  20975. in: query
  20976. name: tradeModes
  20977. type: string
  20978. produces:
  20979. - application/json
  20980. responses:
  20981. "200":
  20982. description: OK
  20983. schema:
  20984. $ref: '#/definitions/models.SearchGoods'
  20985. "500":
  20986. description: Internal Server Error
  20987. schema:
  20988. $ref: '#/definitions/app.Response'
  20989. summary: 检索商品信息
  20990. tags:
  20991. - 检索服务
  20992. /TaAccount/GetTaAccounts:
  20993. get:
  20994. parameters:
  20995. - description: 登录账户
  20996. in: query
  20997. name: loginID
  20998. required: true
  20999. type: integer
  21000. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21001. in: query
  21002. name: taAccountType
  21003. type: integer
  21004. produces:
  21005. - application/json
  21006. responses:
  21007. "200":
  21008. description: OK
  21009. schema:
  21010. $ref: '#/definitions/models.Taaccount'
  21011. "500":
  21012. description: Internal Server Error
  21013. schema:
  21014. $ref: '#/definitions/app.Response'
  21015. security:
  21016. - ApiKeyAuth: []
  21017. summary: 获取资金账户信息
  21018. tags:
  21019. - 资金账户
  21020. /TaAccount/QueryAmountLog:
  21021. get:
  21022. parameters:
  21023. - description: 页码
  21024. in: query
  21025. name: page
  21026. type: integer
  21027. - description: 每页条数
  21028. in: query
  21029. name: pagesize
  21030. type: integer
  21031. - description: 资金账户 - 格式:1,2,3
  21032. in: query
  21033. name: accountID
  21034. required: true
  21035. type: string
  21036. - description: 资金操作类型 - 格式:1,2,3
  21037. in: query
  21038. name: OperateType
  21039. type: string
  21040. produces:
  21041. - application/json
  21042. responses:
  21043. "200":
  21044. description: OK
  21045. schema:
  21046. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  21047. "500":
  21048. description: Internal Server Error
  21049. schema:
  21050. $ref: '#/definitions/app.Response'
  21051. security:
  21052. - ApiKeyAuth: []
  21053. summary: 资金流水查询(当前)
  21054. tags:
  21055. - 资金账户
  21056. /TaAccount/QueryHisAmountLog:
  21057. get:
  21058. parameters:
  21059. - description: 页码
  21060. in: query
  21061. name: page
  21062. type: integer
  21063. - description: 每页条数
  21064. in: query
  21065. name: pagesize
  21066. type: integer
  21067. - description: 资金账户 - 格式:1,2,3
  21068. in: query
  21069. name: accountID
  21070. required: true
  21071. type: string
  21072. - description: 资金操作类型 - 格式:1,2,3
  21073. in: query
  21074. name: OperateType
  21075. type: string
  21076. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21077. in: query
  21078. name: startDate
  21079. type: string
  21080. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21081. in: query
  21082. name: endDate
  21083. type: string
  21084. produces:
  21085. - application/json
  21086. responses:
  21087. "200":
  21088. description: OK
  21089. schema:
  21090. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  21091. "500":
  21092. description: Internal Server Error
  21093. schema:
  21094. $ref: '#/definitions/app.Response'
  21095. security:
  21096. - ApiKeyAuth: []
  21097. summary: 资金流水查询(历史)
  21098. tags:
  21099. - 资金账户
  21100. /Trade/QueryRecieptOrder:
  21101. get:
  21102. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21103. parameters:
  21104. - description: 页码
  21105. in: query
  21106. name: page
  21107. type: integer
  21108. - description: 每页条数
  21109. in: query
  21110. name: pagesize
  21111. type: integer
  21112. - description: 商品ID
  21113. in: query
  21114. name: goodsID
  21115. required: true
  21116. type: integer
  21117. - description: 所属账户名称
  21118. in: query
  21119. name: accountName
  21120. type: string
  21121. - description: 市场ID
  21122. in: query
  21123. name: marketID
  21124. type: integer
  21125. - description: 方向 - 0:买 1:卖
  21126. in: query
  21127. name: buyorsell
  21128. required: true
  21129. type: integer
  21130. produces:
  21131. - application/json
  21132. responses:
  21133. "200":
  21134. description: OK
  21135. schema:
  21136. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  21137. "500":
  21138. description: Internal Server Error
  21139. schema:
  21140. $ref: '#/definitions/app.Response'
  21141. security:
  21142. - ApiKeyAuth: []
  21143. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  21144. tags:
  21145. - 通用交易
  21146. /User/AddMessageBoard:
  21147. post:
  21148. parameters:
  21149. - description: 用户ID
  21150. in: query
  21151. name: userID
  21152. required: true
  21153. type: integer
  21154. - description: 留言信息
  21155. in: query
  21156. name: message
  21157. required: true
  21158. type: string
  21159. - description: 联系电话
  21160. in: query
  21161. name: contactNum
  21162. required: true
  21163. type: string
  21164. produces:
  21165. - application/json
  21166. responses:
  21167. "200":
  21168. description: OK
  21169. schema:
  21170. $ref: '#/definitions/app.Response'
  21171. "500":
  21172. description: Internal Server Error
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. security:
  21176. - ApiKeyAuth: []
  21177. summary: 添加用户留言板信息
  21178. tags:
  21179. - 用户信息
  21180. /User/AddUserFavoriteGoods:
  21181. post:
  21182. parameters:
  21183. - description: 用户ID
  21184. in: query
  21185. name: userID
  21186. required: true
  21187. type: integer
  21188. - description: 商品ID
  21189. in: query
  21190. name: goodsID
  21191. required: true
  21192. type: integer
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. $ref: '#/definitions/app.Response'
  21200. "500":
  21201. description: Internal Server Error
  21202. schema:
  21203. $ref: '#/definitions/app.Response'
  21204. security:
  21205. - ApiKeyAuth: []
  21206. summary: 添加用户商品收藏信息
  21207. tags:
  21208. - 用户信息
  21209. /User/GetLoginID:
  21210. get:
  21211. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  21212. parameters:
  21213. - description: 登录代码
  21214. in: query
  21215. name: username
  21216. required: true
  21217. type: string
  21218. produces:
  21219. - application/json
  21220. responses:
  21221. "200":
  21222. description: OK
  21223. schema:
  21224. $ref: '#/definitions/app.Response'
  21225. "500":
  21226. description: Internal Server Error
  21227. schema:
  21228. $ref: '#/definitions/app.Response'
  21229. summary: 获取登录ID
  21230. tags:
  21231. - 用户信息
  21232. /User/GetUserAccount:
  21233. get:
  21234. parameters:
  21235. - description: 用户ID
  21236. in: query
  21237. name: userID
  21238. required: true
  21239. type: integer
  21240. produces:
  21241. - application/json
  21242. responses:
  21243. "200":
  21244. description: OK
  21245. schema:
  21246. $ref: '#/definitions/models.Useraccount'
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. security:
  21252. - ApiKeyAuth: []
  21253. summary: 获取用户账号信息
  21254. tags:
  21255. - 用户信息
  21256. /User/GetUserAuthStatus:
  21257. get:
  21258. parameters:
  21259. - description: 用户ID
  21260. in: query
  21261. name: userID
  21262. required: true
  21263. type: integer
  21264. produces:
  21265. - application/json
  21266. responses:
  21267. "200":
  21268. description: OK
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. "500":
  21272. description: Internal Server Error
  21273. schema:
  21274. $ref: '#/definitions/app.Response'
  21275. security:
  21276. - ApiKeyAuth: []
  21277. summary: 获取用户实名认证状态
  21278. tags:
  21279. - 用户信息
  21280. /User/LoginQuery:
  21281. get:
  21282. parameters:
  21283. - description: 登录账号
  21284. in: query
  21285. name: loginID
  21286. required: true
  21287. type: integer
  21288. produces:
  21289. - application/json
  21290. responses:
  21291. "200":
  21292. description: OK
  21293. schema:
  21294. $ref: '#/definitions/user.LoginQueryRsp'
  21295. "500":
  21296. description: Internal Server Error
  21297. schema:
  21298. $ref: '#/definitions/app.Response'
  21299. security:
  21300. - ApiKeyAuth: []
  21301. summary: 账户登录后信息查询
  21302. tags:
  21303. - 用户信息
  21304. /User/QueryMessageBoard:
  21305. get:
  21306. parameters:
  21307. - description: 用户ID
  21308. in: query
  21309. name: userID
  21310. required: true
  21311. type: integer
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. $ref: '#/definitions/models.Messageboard'
  21319. "500":
  21320. description: Internal Server Error
  21321. schema:
  21322. $ref: '#/definitions/app.Response'
  21323. security:
  21324. - ApiKeyAuth: []
  21325. summary: 获取用户留言板信息
  21326. tags:
  21327. - 用户信息
  21328. /User/QueryUserFavoriteGoodses:
  21329. get:
  21330. parameters:
  21331. - description: 用户ID
  21332. in: query
  21333. name: userID
  21334. required: true
  21335. type: integer
  21336. produces:
  21337. - application/json
  21338. responses:
  21339. "200":
  21340. description: OK
  21341. schema:
  21342. $ref: '#/definitions/models.Userfavoritegoods'
  21343. "500":
  21344. description: Internal Server Error
  21345. schema:
  21346. $ref: '#/definitions/app.Response'
  21347. security:
  21348. - ApiKeyAuth: []
  21349. summary: 获取用户商品收藏信息
  21350. tags:
  21351. - 用户信息
  21352. /User/QueryUserInfo:
  21353. get:
  21354. parameters:
  21355. - description: 用户ID
  21356. in: query
  21357. name: userID
  21358. required: true
  21359. type: integer
  21360. - description: 是否解密
  21361. in: query
  21362. name: isDecrypt
  21363. type: boolean
  21364. produces:
  21365. - application/json
  21366. responses:
  21367. "200":
  21368. description: OK
  21369. schema:
  21370. $ref: '#/definitions/models.Userinfo'
  21371. "500":
  21372. description: Internal Server Error
  21373. schema:
  21374. $ref: '#/definitions/app.Response'
  21375. security:
  21376. - ApiKeyAuth: []
  21377. summary: 获取用户信息
  21378. tags:
  21379. - 用户信息
  21380. /User/QueryUserReferNum:
  21381. get:
  21382. parameters:
  21383. - description: 用户ID
  21384. in: query
  21385. name: userID
  21386. required: true
  21387. type: integer
  21388. produces:
  21389. - application/json
  21390. responses:
  21391. "200":
  21392. description: OK
  21393. schema:
  21394. $ref: '#/definitions/app.Response'
  21395. "500":
  21396. description: Internal Server Error
  21397. schema:
  21398. $ref: '#/definitions/app.Response'
  21399. summary: 获取用户邀请码
  21400. tags:
  21401. - 用户信息
  21402. /User/RemoveUserFavoriteGoods:
  21403. post:
  21404. parameters:
  21405. - description: 用户ID
  21406. in: query
  21407. name: userID
  21408. required: true
  21409. type: integer
  21410. - description: 商品ID
  21411. in: query
  21412. name: goodsID
  21413. required: true
  21414. type: integer
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. $ref: '#/definitions/app.Response'
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 移除用户商品收藏信息
  21429. tags:
  21430. - 用户信息
  21431. /User/UpdateUserAccountStatus:
  21432. post:
  21433. parameters:
  21434. - description: 用户ID
  21435. in: query
  21436. name: userID
  21437. required: true
  21438. type: integer
  21439. - description: 账户状态 - 4:正常 6:注销(停用)
  21440. in: query
  21441. name: accountStatus
  21442. required: true
  21443. type: integer
  21444. produces:
  21445. - application/json
  21446. responses:
  21447. "200":
  21448. description: OK
  21449. schema:
  21450. $ref: '#/definitions/app.Response'
  21451. "500":
  21452. description: Internal Server Error
  21453. schema:
  21454. $ref: '#/definitions/app.Response'
  21455. security:
  21456. - ApiKeyAuth: []
  21457. summary: 更新用户状态
  21458. tags:
  21459. - 用户信息
  21460. /WRTrade/GetAllDeliveryGoods:
  21461. get:
  21462. produces:
  21463. - application/json
  21464. - application/json
  21465. responses:
  21466. "200":
  21467. description: OK
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. "500":
  21471. description: Internal Server Error
  21472. schema:
  21473. $ref: '#/definitions/app.Response'
  21474. security:
  21475. - ApiKeyAuth: []
  21476. - ApiKeyAuth: []
  21477. summary: 获取带仓单分类的种类信息
  21478. tags:
  21479. - 仓单贸易
  21480. - 仓单贸易
  21481. securityDefinitions:
  21482. ApiKeyAuth:
  21483. in: header
  21484. name: Authorization
  21485. type: apiKey
  21486. swagger: "2.0"