swagger.yaml 603 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908
  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.QhjBrokerApply:
  9734. properties:
  9735. applicantid:
  9736. description: 申请人
  9737. type: integer
  9738. applysrc:
  9739. description: 申请来源 - 1:管理端 2:终端
  9740. type: integer
  9741. applystatus:
  9742. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9743. type: integer
  9744. applytime:
  9745. description: 申请时间
  9746. type: string
  9747. auditorid:
  9748. description: 审核人
  9749. type: integer
  9750. auditremark:
  9751. description: 审核备注
  9752. type: string
  9753. auditsrc:
  9754. description: 审核来源 - 1:管理端 2:终端
  9755. type: integer
  9756. audittime:
  9757. description: 审核时间
  9758. type: string
  9759. audittradedate:
  9760. description: 审核交易日(yyyyMMdd)
  9761. type: string
  9762. brokerapplyid:
  9763. description: 申请ID(SEQ_BROKERAPPLY)
  9764. type: integer
  9765. cardbackphotourl:
  9766. description: 证件背面图片地址
  9767. type: string
  9768. cardfrontphotourl:
  9769. description: 证件正面图片地址
  9770. type: string
  9771. cardnum:
  9772. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9773. type: string
  9774. customername:
  9775. description: 姓名
  9776. type: string
  9777. logincode:
  9778. description: 登录代码
  9779. type: string
  9780. mobile:
  9781. description: 手机号码
  9782. type: string
  9783. parentuserid:
  9784. description: 所属机构id
  9785. type: integer
  9786. parentusername:
  9787. description: 所属机构名称
  9788. type: string
  9789. refereeuserid:
  9790. description: 推荐人id(经纪人)
  9791. type: integer
  9792. refernum:
  9793. description: 推荐码
  9794. type: string
  9795. remark:
  9796. description: 备注
  9797. type: string
  9798. subarealevelpath:
  9799. description: 层级路径
  9800. type: string
  9801. tradedate:
  9802. description: 交易日(yyyyMMdd)
  9803. type: string
  9804. userid:
  9805. description: 申请人用户ID
  9806. type: integer
  9807. userinfotype:
  9808. description: 用户类型 1-个人 2-企业
  9809. type: integer
  9810. username:
  9811. description: 用户名称
  9812. type: string
  9813. type: object
  9814. models.QhjBrokerRewardLog:
  9815. properties:
  9816. accountid:
  9817. description: 资金账号ID
  9818. type: integer
  9819. createtime:
  9820. description: 创建时间(时间)
  9821. type: string
  9822. handlestatus:
  9823. description: 处理状态
  9824. type: integer
  9825. logid:
  9826. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9827. type: string
  9828. marketid:
  9829. description: 市场ID
  9830. type: integer
  9831. mmaccountid:
  9832. description: 做市商资金账号ID
  9833. type: string
  9834. mmuserid:
  9835. description: 做市商用户ID
  9836. type: string
  9837. rewardamount:
  9838. description: 奖励金额
  9839. type: number
  9840. rewardmodel:
  9841. description: 消费奖励方式 - 1:比率 2:固定
  9842. type: integer
  9843. rewardtype:
  9844. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9845. type: integer
  9846. rewardvalue:
  9847. description: 配置奖励值
  9848. type: number
  9849. srcamount:
  9850. description: 成交金额 [消费奖励] (金额)
  9851. type: number
  9852. srcgoodsid:
  9853. description: 来源商品ID [消费奖励]
  9854. type: string
  9855. srctime:
  9856. description: 来源时间 (成交时间) [消费奖励]
  9857. type: string
  9858. srctradeid:
  9859. description: 来源成交单ID [消费奖励] - 排除提货成交
  9860. type: string
  9861. srcuserid:
  9862. description: 来源用户ID(推广账户)
  9863. type: string
  9864. srcusername:
  9865. description: 推广账户名称
  9866. type: string
  9867. tradedate:
  9868. description: 交易日(yyyyMMdd)
  9869. type: string
  9870. userid:
  9871. description: 经纪人用户ID
  9872. type: integer
  9873. type: object
  9874. models.QhjContract:
  9875. properties:
  9876. contractconfirmtime:
  9877. description: 合同确认时间(时间)
  9878. type: string
  9879. currisklevel:
  9880. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9881. type: integer
  9882. decimalplace:
  9883. description: 商品报价小数位
  9884. type: integer
  9885. enumdicname:
  9886. description: 单位名称
  9887. type: string
  9888. goodscode:
  9889. description: 商品代码
  9890. type: string
  9891. goodsid:
  9892. description: 商品ID [5:融资单]
  9893. type: integer
  9894. goodsname:
  9895. description: 商品名称
  9896. type: string
  9897. goodunitid:
  9898. description: 商品单位id
  9899. type: integer
  9900. initmargin:
  9901. description: 初始保证金(首付款)
  9902. type: number
  9903. lenderamount:
  9904. description: 贷款金额(总额|订单总额)
  9905. type: number
  9906. marginratio:
  9907. description: 保证金比率(首付比例)
  9908. type: number
  9909. payamount:
  9910. description: 已付(已付货款)
  9911. type: number
  9912. reckonrecovermargin:
  9913. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9914. type: number
  9915. recoveredmargin:
  9916. description: 已追缴保证金
  9917. type: number
  9918. remainamount:
  9919. description: 合同剩余金额(融资额)
  9920. type: number
  9921. scfcontractid:
  9922. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9923. type: string
  9924. scfcontractstatus:
  9925. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9926. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9927. type: integer
  9928. scfcontracttype:
  9929. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9930. type: integer
  9931. totalinterest:
  9932. description: 已计总利息(利息)
  9933. type: number
  9934. tradeprice:
  9935. description: 成交价格(成本价格)
  9936. type: number
  9937. userid:
  9938. description: 用户ID
  9939. type: integer
  9940. username:
  9941. description: 用户名称
  9942. type: string
  9943. wrqty:
  9944. description: 仓单数量(数量)
  9945. type: number
  9946. type: object
  9947. models.QhjContractLog:
  9948. properties:
  9949. amount:
  9950. description: 支付金额
  9951. type: number
  9952. amounttype:
  9953. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9954. type: integer
  9955. logid:
  9956. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9957. type: string
  9958. remainamount:
  9959. description: 剩余货款
  9960. type: number
  9961. scfcontractid:
  9962. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9963. type: integer
  9964. updatetime:
  9965. description: 更新时间
  9966. type: string
  9967. type: object
  9968. models.QhjCusBankSignBankEx:
  9969. properties:
  9970. banklst:
  9971. description: 银行列表
  9972. items:
  9973. $ref: '#/definitions/models.QhjBankInfo'
  9974. type: array
  9975. canallot:
  9976. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9977. type: integer
  9978. canallotquery:
  9979. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9980. type: integer
  9981. canbindcard:
  9982. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9983. type: integer
  9984. caninamount:
  9985. description: 是否可入金 - 0:不可 1:可以
  9986. type: integer
  9987. caninamount2:
  9988. description: 是否可入金(网银端) - 0:不可 1:可以
  9989. type: integer
  9990. canmodifybankcard:
  9991. description: 是否可修改银行卡号 - 0:不可 1:可以
  9992. type: integer
  9993. canmodifyphone:
  9994. description: 是否可修改手机号 - 0:不可 1:可以
  9995. type: integer
  9996. canmodifysigninfo:
  9997. description: 是否可修改签约信息 - 0:不可 1:可以
  9998. type: integer
  9999. canoutamount:
  10000. description: 是否可出金 - 0:不可 1:可以
  10001. type: integer
  10002. canoutamount2:
  10003. description: 是否可出金(网银端) - 0:不可 1:可以
  10004. type: integer
  10005. canrelease:
  10006. description: 是否可解约 - 0:不可 1:可以
  10007. type: integer
  10008. canrelease2:
  10009. description: 是否可解约(网银端) - 0:不可 1:可以
  10010. type: integer
  10011. cansign:
  10012. description: 是否可签约 - 0:不可 1:可以
  10013. type: integer
  10014. cansign2:
  10015. description: 是否可签约(网银端) - 0:不可 1:可以
  10016. type: integer
  10017. currency:
  10018. description: 币种
  10019. type: string
  10020. cusbankid:
  10021. description: 托管银行编号(对应清算中心TRAN_NO)
  10022. type: string
  10023. cusbankname:
  10024. description: 银行业务名称
  10025. type: string
  10026. cusbankshortname:
  10027. description: 银行业务简称
  10028. type: string
  10029. exchbankid:
  10030. description: 交易所开户银行ID
  10031. type: string
  10032. exchpaybankaccname:
  10033. description: 交易所支出结算账户户名
  10034. type: string
  10035. exchpaybankaccno:
  10036. description: 交易所支出结算账户
  10037. type: string
  10038. isneedcheck:
  10039. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10040. type: integer
  10041. isneedclear:
  10042. description: 是否需要清算 - 0:不需要 1:需要
  10043. type: integer
  10044. lastcheckstatus:
  10045. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10046. type: integer
  10047. lastchecktime:
  10048. description: 最后对账时间
  10049. type: string
  10050. lastclearstatus:
  10051. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10052. type: integer
  10053. lastcleartime:
  10054. description: 最后清算时间
  10055. type: string
  10056. lastsignintime:
  10057. description: 最后签到时间
  10058. type: string
  10059. lastsignouttime:
  10060. description: 最后签退时间
  10061. type: string
  10062. riskinfo:
  10063. description: 签约风险提示书
  10064. type: string
  10065. signstatus:
  10066. description: 当前签到/签退状态 - 1:签到 2:签退
  10067. type: integer
  10068. tradedate:
  10069. description: 交易日(yyyyMMdd)
  10070. type: string
  10071. updatetime:
  10072. description: 当前签到/签退更新时间
  10073. type: string
  10074. type: object
  10075. models.QhjCustomer:
  10076. properties:
  10077. address:
  10078. description: 通讯地址
  10079. type: string
  10080. attachment1:
  10081. description: 附件1
  10082. type: string
  10083. audittime:
  10084. description: 审核时间
  10085. type: string
  10086. cardbackphotourl:
  10087. description: 证件反面图片地址
  10088. type: string
  10089. cardfrontphotourl:
  10090. description: 证件正面图片地址
  10091. type: string
  10092. cardnum:
  10093. description: 证件号码
  10094. type: string
  10095. cardtype:
  10096. description: 证件类型
  10097. type: integer
  10098. cardtypename:
  10099. description: 证件类型名称
  10100. type: string
  10101. cityid:
  10102. description: 市
  10103. type: integer
  10104. cityname:
  10105. description: 城市名称
  10106. type: string
  10107. contactname:
  10108. description: 联系人
  10109. type: string
  10110. countryid:
  10111. description: 国家
  10112. type: integer
  10113. countryname:
  10114. description: 国家名称
  10115. type: string
  10116. createtime:
  10117. description: 创建时间
  10118. type: string
  10119. customername:
  10120. description: 客户名称
  10121. type: string
  10122. districtid:
  10123. description: 区域
  10124. type: integer
  10125. districtname:
  10126. description: 地区名称
  10127. type: string
  10128. email:
  10129. description: 邮件
  10130. type: string
  10131. legalpersonname:
  10132. description: 法人姓名(企业)
  10133. type: string
  10134. logincode:
  10135. description: 登录账号(代码)
  10136. type: string
  10137. memberuserid:
  10138. description: 所属机构ID(所属会员)
  10139. type: integer
  10140. memberusername:
  10141. description: 所属会员名称
  10142. type: string
  10143. mobile:
  10144. description: 手机号码
  10145. type: string
  10146. modifytime:
  10147. description: 修改时间
  10148. type: string
  10149. nickname:
  10150. description: 昵称
  10151. type: string
  10152. parentuserid:
  10153. description: 上级机构(所属机构)
  10154. type: integer
  10155. parentusername:
  10156. description: 所属机构名称
  10157. type: string
  10158. provinceid:
  10159. description: 省
  10160. type: integer
  10161. provincename:
  10162. description: 省名称
  10163. type: string
  10164. proxystatementurl:
  10165. description: 授权委托书
  10166. type: string
  10167. remark:
  10168. description: 备注
  10169. type: string
  10170. status:
  10171. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10172. type: integer
  10173. statusdesc:
  10174. description: 账户状态中文描述
  10175. type: string
  10176. taxpayernum:
  10177. description: 纳税人识别号
  10178. type: string
  10179. telphone:
  10180. description: 联系电话
  10181. type: string
  10182. userid:
  10183. description: 用户ID
  10184. type: integer
  10185. userinfotype:
  10186. description: 客户类型 1-个人 2-企业
  10187. type: integer
  10188. username:
  10189. description: 用户名称
  10190. type: string
  10191. type: object
  10192. models.QhjCustomerSignLog:
  10193. properties:
  10194. agreementcontent:
  10195. description: 协议内容
  10196. type: string
  10197. agreementid:
  10198. description: 协议ID
  10199. type: integer
  10200. agreementname:
  10201. description: 协议名称
  10202. type: string
  10203. agreementno:
  10204. description: 协议编号
  10205. type: string
  10206. agreementtype:
  10207. description: 协议类型 - 1:注册 2:登录 3:交易
  10208. type: integer
  10209. agreementversion:
  10210. description: 协议版本号
  10211. type: integer
  10212. createtime:
  10213. description: 创建时间
  10214. type: string
  10215. goodscode:
  10216. description: 商品代码
  10217. type: string
  10218. goodsid:
  10219. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10220. type: integer
  10221. goodsname:
  10222. description: 商品名称
  10223. type: string
  10224. logid:
  10225. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10226. type: integer
  10227. nodetype:
  10228. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10229. type: integer
  10230. signadressurl:
  10231. description: 签约文件地址
  10232. type: string
  10233. signtimestamp:
  10234. description: 签约状态时间戳
  10235. type: string
  10236. userid:
  10237. description: 客户ID
  10238. type: integer
  10239. username:
  10240. description: 客户名称
  10241. type: string
  10242. type: object
  10243. models.QhjCustomerSignStatus:
  10244. properties:
  10245. createtime:
  10246. description: 创建时间
  10247. type: string
  10248. goodscode:
  10249. description: 商品代码
  10250. type: string
  10251. goodsid:
  10252. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10253. type: integer
  10254. goodsname:
  10255. description: 商品名称
  10256. type: string
  10257. nodetype:
  10258. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10259. type: integer
  10260. signtimestamp:
  10261. description: 签约状态时间戳
  10262. type: string
  10263. tradedate:
  10264. description: 创建交易日(yyyyMMdd)
  10265. type: string
  10266. updatetime:
  10267. description: 更新时间
  10268. type: string
  10269. userid:
  10270. description: 客户ID
  10271. type: integer
  10272. username:
  10273. description: 客户名称
  10274. type: string
  10275. type: object
  10276. models.QhjMgrAccountOutInApply:
  10277. properties:
  10278. accountcode:
  10279. description: 资金账号
  10280. type: string
  10281. accountname:
  10282. description: 用户名称(名称)
  10283. type: string
  10284. accountpwd:
  10285. description: 资金密码
  10286. type: string
  10287. accountticket:
  10288. description: 最新账户服务流水号
  10289. type: string
  10290. amount:
  10291. description: 金额
  10292. type: number
  10293. applyremark:
  10294. description: 申请备注
  10295. type: string
  10296. applystatus:
  10297. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10298. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10299. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10300. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10301. type: integer
  10302. auditid:
  10303. description: 审核人
  10304. type: integer
  10305. audittime:
  10306. description: 审核时间
  10307. type: string
  10308. bank_apply_ticket:
  10309. description: 银行申请流水
  10310. type: string
  10311. bankaccountname:
  10312. description: 银行账户名
  10313. type: string
  10314. bankaccountno:
  10315. description: 银行卡号
  10316. type: string
  10317. bankid:
  10318. description: 银行编号
  10319. type: string
  10320. bankname:
  10321. description: 银行名称
  10322. type: string
  10323. bankticket:
  10324. description: 银行流水
  10325. type: string
  10326. branchbankid:
  10327. description: 银行支行号
  10328. type: string
  10329. branchbankname:
  10330. description: 银行支行名称
  10331. type: string
  10332. capamountout:
  10333. description: 出金(劣后本金) - 外部子账户
  10334. type: number
  10335. certificatephotourl:
  10336. description: 凭证地址
  10337. type: string
  10338. charge:
  10339. description: 手续费
  10340. type: number
  10341. checkerrorflag:
  10342. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10343. type: integer
  10344. currency:
  10345. description: 币种
  10346. type: string
  10347. cusbankid:
  10348. description: 托管银行编号
  10349. type: string
  10350. exchticket:
  10351. description: 银行服务流水号
  10352. type: string
  10353. executetype:
  10354. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10355. 7:外部子账户:入金 8:外部子账户:出金'
  10356. type: integer
  10357. extendinfo:
  10358. description: 扩展信息
  10359. type: string
  10360. extoperateid:
  10361. description: 交易服务流水号
  10362. type: integer
  10363. infamount:
  10364. description: 劣后金额(自有)
  10365. type: number
  10366. logincode:
  10367. description: 登录账号(账号)
  10368. type: string
  10369. netaddr:
  10370. description: 调转网址
  10371. type: string
  10372. priamount:
  10373. description: 优先金额(授信)
  10374. type: number
  10375. reauditid:
  10376. description: 复审人
  10377. type: integer
  10378. reauditremark:
  10379. description: 复审备注
  10380. type: string
  10381. reaudittime:
  10382. description: 复审时间
  10383. type: string
  10384. relatedorderid:
  10385. description: 三方关联ID
  10386. type: string
  10387. remark:
  10388. description: 备注
  10389. type: string
  10390. remark2:
  10391. description: 备注(失败原因)
  10392. type: string
  10393. soucreamount:
  10394. description: 原始出入金金额
  10395. type: number
  10396. soucrecurrencyid:
  10397. description: 原始出入金币种
  10398. type: integer
  10399. tradedate:
  10400. description: 交易日(yyyyMMdd)
  10401. type: string
  10402. updatetime:
  10403. description: 更新时间(申请时间)
  10404. type: string
  10405. userid:
  10406. description: 用户id
  10407. type: integer
  10408. userinfotype:
  10409. description: 账户类型 1-个人 2-企业
  10410. type: integer
  10411. type: object
  10412. models.QhjMgrBrokerApply:
  10413. properties:
  10414. applicantid:
  10415. description: 申请人
  10416. type: integer
  10417. applysrc:
  10418. description: 申请来源 - 1:管理端 2:终端
  10419. type: integer
  10420. applystatus:
  10421. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10422. type: integer
  10423. applytime:
  10424. description: 申请时间
  10425. type: string
  10426. auditorid:
  10427. description: 审核人
  10428. type: integer
  10429. auditremark:
  10430. description: 审核备注
  10431. type: string
  10432. auditsrc:
  10433. description: 审核来源 - 1:管理端 2:终端
  10434. type: integer
  10435. audittime:
  10436. description: 审核时间
  10437. type: string
  10438. audittradedate:
  10439. description: 审核交易日(yyyyMMdd)
  10440. type: string
  10441. brokerapplyid:
  10442. description: 申请ID(SEQ_BROKERAPPLY)
  10443. type: integer
  10444. cardbackphotourl:
  10445. description: 证件背面图片地址
  10446. type: string
  10447. cardfrontphotourl:
  10448. description: 证件正面图片地址
  10449. type: string
  10450. cardnum:
  10451. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10452. type: string
  10453. customername:
  10454. description: 姓名
  10455. type: string
  10456. filterstatus:
  10457. description: 筛选条件
  10458. type: string
  10459. logincode:
  10460. description: 登录代码
  10461. type: string
  10462. mobile:
  10463. description: 手机号码
  10464. type: string
  10465. parentuserid:
  10466. description: 所属机构id
  10467. type: integer
  10468. parentusername:
  10469. description: 所属机构名称
  10470. type: string
  10471. refereeuserid:
  10472. description: 推荐人id(经纪人)
  10473. type: integer
  10474. refernum:
  10475. description: 推荐码
  10476. type: string
  10477. remark:
  10478. description: 备注
  10479. type: string
  10480. subarealevelpath:
  10481. description: 层级路径
  10482. type: string
  10483. tradedate:
  10484. description: 交易日(yyyyMMdd)
  10485. type: string
  10486. userid:
  10487. description: 申请人用户ID
  10488. type: integer
  10489. userinfotype:
  10490. description: 用户类型 1-个人 2-企业
  10491. type: integer
  10492. username:
  10493. description: 用户名称
  10494. type: string
  10495. type: object
  10496. models.QhjMgrBrokerRewardReport:
  10497. properties:
  10498. createtime:
  10499. description: 创建时间(注册时间)
  10500. type: string
  10501. cycletime:
  10502. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10503. type: string
  10504. cycletype:
  10505. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10506. type: integer
  10507. directtotalnum:
  10508. description: 直推总人数【期末】
  10509. type: integer
  10510. indirecttotalnum:
  10511. description: 间推总人数【期末】
  10512. type: integer
  10513. mobile:
  10514. description: 电话号码
  10515. type: string
  10516. refereeuserid:
  10517. description: 推荐人id(经纪人id)
  10518. type: integer
  10519. refereeusername:
  10520. description: 推荐人名称(经纪人) 上级经纪人名称
  10521. type: string
  10522. refernum:
  10523. description: 推荐码
  10524. type: string
  10525. subarealevelpath:
  10526. description: 用户层级路径
  10527. type: string
  10528. todayrewardamount:
  10529. description: 奖励总金额【汇总】
  10530. type: number
  10531. updatetime:
  10532. description: 更新时间
  10533. type: string
  10534. userid:
  10535. description: 经纪人用户ID
  10536. type: integer
  10537. userinfotype:
  10538. description: 用户类型 1-个人 2-企业
  10539. type: integer
  10540. username:
  10541. description: 用户名称
  10542. type: string
  10543. type: object
  10544. models.QhjMgrContract:
  10545. properties:
  10546. contractconfirmtime:
  10547. description: 合同确认时间(时间)
  10548. type: string
  10549. currisklevel:
  10550. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10551. type: integer
  10552. decimalplace:
  10553. description: 商品报价小数位
  10554. type: integer
  10555. enumdicname:
  10556. description: 单位名称
  10557. type: string
  10558. goodscode:
  10559. description: 商品代码
  10560. type: string
  10561. goodsid:
  10562. description: 商品ID [5:融资单]
  10563. type: integer
  10564. goodsname:
  10565. description: 商品名称
  10566. type: string
  10567. goodunitid:
  10568. description: 商品单位id
  10569. type: integer
  10570. initmargin:
  10571. description: 初始保证金(首付款)
  10572. type: number
  10573. lenderamount:
  10574. description: 贷款金额(总额|订单总额)
  10575. type: number
  10576. logincode:
  10577. description: 账号(登录代码)
  10578. type: string
  10579. marginratio:
  10580. description: 保证金比率(首付比例)
  10581. type: number
  10582. mobile:
  10583. description: 电话号码(用户资料里的电话)
  10584. type: string
  10585. payamount:
  10586. description: 已付(已付货款)
  10587. type: number
  10588. reckonrecovermargin:
  10589. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10590. type: number
  10591. recoveredmargin:
  10592. description: 已追缴保证金
  10593. type: number
  10594. remainamount:
  10595. description: 合同剩余金额(融资额)
  10596. type: number
  10597. scfcontractid:
  10598. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10599. type: string
  10600. scfcontractstatus:
  10601. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10602. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10603. type: integer
  10604. scfcontracttype:
  10605. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10606. type: integer
  10607. totalinterest:
  10608. description: 已计总利息(利息)
  10609. type: number
  10610. tradedate:
  10611. description: 交易日
  10612. type: string
  10613. tradeprice:
  10614. description: 成交价格(成本价格)
  10615. type: number
  10616. userid:
  10617. description: 用户ID
  10618. type: integer
  10619. userinfotype:
  10620. description: 用户类型 1-个人 2-企业
  10621. type: integer
  10622. username:
  10623. description: 用户名称
  10624. type: string
  10625. wrqty:
  10626. description: 仓单数量(数量)
  10627. type: number
  10628. type: object
  10629. models.QhjMgrCustomer:
  10630. properties:
  10631. address:
  10632. description: 通讯地址
  10633. type: string
  10634. attachment1:
  10635. description: 附件1
  10636. type: string
  10637. audittime:
  10638. description: 审核时间
  10639. type: string
  10640. cardbackphotourl:
  10641. description: 证件反面图片地址
  10642. type: string
  10643. cardfrontphotourl:
  10644. description: 证件正面图片地址
  10645. type: string
  10646. cardnum:
  10647. description: 证件号码
  10648. type: string
  10649. cardtype:
  10650. description: 证件类型
  10651. type: integer
  10652. cardtypename:
  10653. description: 证件类型名称
  10654. type: string
  10655. cityid:
  10656. description: 市
  10657. type: integer
  10658. cityname:
  10659. description: 城市名称
  10660. type: string
  10661. contactname:
  10662. description: 联系人
  10663. type: string
  10664. countryid:
  10665. description: 国家
  10666. type: integer
  10667. countryname:
  10668. description: 国家名称
  10669. type: string
  10670. createtime:
  10671. description: 创建时间
  10672. type: string
  10673. customername:
  10674. description: 客户名称
  10675. type: string
  10676. districtid:
  10677. description: 区域
  10678. type: integer
  10679. districtname:
  10680. description: 地区名称
  10681. type: string
  10682. email:
  10683. description: 邮件
  10684. type: string
  10685. legalpersonname:
  10686. description: 法人姓名(企业)
  10687. type: string
  10688. logincode:
  10689. description: 登录账号(代码)
  10690. type: string
  10691. memberuserid:
  10692. description: 所属机构ID(所属会员)
  10693. type: integer
  10694. memberusername:
  10695. description: 所属会员名称
  10696. type: string
  10697. mobile:
  10698. description: 手机号码
  10699. type: string
  10700. modifytime:
  10701. description: 修改时间
  10702. type: string
  10703. nickname:
  10704. description: 昵称
  10705. type: string
  10706. parentuserid:
  10707. description: 上级机构(所属机构)
  10708. type: integer
  10709. parentusername:
  10710. description: 所属机构名称
  10711. type: string
  10712. provinceid:
  10713. description: 省
  10714. type: integer
  10715. provincename:
  10716. description: 省名称
  10717. type: string
  10718. proxystatementurl:
  10719. description: 授权委托书
  10720. type: string
  10721. querytype:
  10722. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10723. type: integer
  10724. remark:
  10725. description: 备注
  10726. type: string
  10727. status:
  10728. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10729. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10730. type: integer
  10731. statusdesc:
  10732. description: 账户状态中文描述
  10733. type: string
  10734. taxpayernum:
  10735. description: 纳税人识别号
  10736. type: string
  10737. telphone:
  10738. description: 联系电话
  10739. type: string
  10740. userid:
  10741. description: 用户ID
  10742. type: integer
  10743. userinfotype:
  10744. description: 客户类型 1-个人 2-企业
  10745. type: integer
  10746. username:
  10747. description: 用户名称
  10748. type: string
  10749. type: object
  10750. models.QhjMgrPositionRsp:
  10751. properties:
  10752. accountid:
  10753. description: 账号Id
  10754. type: integer
  10755. accountname:
  10756. description: 用户名称
  10757. type: string
  10758. agreeunit:
  10759. description: 合约乘数
  10760. type: number
  10761. averageprice:
  10762. description: 均价
  10763. type: number
  10764. avialqty:
  10765. description: 可用数量
  10766. type: number
  10767. decimalplace:
  10768. description: 报价小数位
  10769. type: integer
  10770. enumdicname:
  10771. description: 单位名称(商品)
  10772. type: string
  10773. frozenqty:
  10774. description: 冻结数量
  10775. type: number
  10776. goodscode:
  10777. description: 商品代码(内部)
  10778. type: string
  10779. goodsid:
  10780. description: 商品Id
  10781. type: integer
  10782. goodsname:
  10783. description: 商品名称
  10784. type: string
  10785. goodunitid:
  10786. description: 报价单位ID
  10787. type: integer
  10788. holderamount:
  10789. description: 金额
  10790. type: number
  10791. holderqty:
  10792. description: 持有数量
  10793. type: number
  10794. holdertype:
  10795. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10796. type: integer
  10797. logincode:
  10798. description: 登录代码(账户)
  10799. type: string
  10800. marketid:
  10801. description: 市场id
  10802. type: integer
  10803. qtydecimalplace:
  10804. description: 成交量小数位
  10805. type: integer
  10806. trademode:
  10807. description: 交易模式
  10808. type: integer
  10809. userid:
  10810. description: 用户id
  10811. type: integer
  10812. userinfotype:
  10813. description: 账户类型 1-个人 2-企业
  10814. type: integer
  10815. type: object
  10816. models.QhjMgrSubArea:
  10817. properties:
  10818. accountname:
  10819. description: 账户名称(机构名称)
  10820. type: string
  10821. memberuserid:
  10822. description: 所属会员ID
  10823. type: integer
  10824. parenttopuser:
  10825. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10826. type: string
  10827. parentuserid:
  10828. description: 所属机构ID
  10829. type: integer
  10830. rootuserid:
  10831. description: 根用户ID
  10832. type: string
  10833. subaccountlevel:
  10834. description: 子账户层数
  10835. type: integer
  10836. subarealevelpath:
  10837. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10838. type: string
  10839. userid:
  10840. description: 用户ID
  10841. type: integer
  10842. usertype:
  10843. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10844. type: integer
  10845. type: object
  10846. models.QhjMgrTradeDetailRsp:
  10847. properties:
  10848. accountid:
  10849. description: 资金账号
  10850. type: integer
  10851. accountname:
  10852. description: 用户名称
  10853. type: string
  10854. agreeunit:
  10855. description: 合约乘数
  10856. type: number
  10857. buyorsell:
  10858. description: 成交类型(方向) 0:买 1:卖
  10859. type: integer
  10860. decimalplace:
  10861. description: 报价小数位
  10862. type: integer
  10863. enumdicname:
  10864. description: 单位名称(商品)
  10865. type: string
  10866. goodscode:
  10867. description: 商品代码(内部)
  10868. type: string
  10869. goodsid:
  10870. description: 商品id
  10871. type: integer
  10872. goodsname:
  10873. description: 商品名称
  10874. type: string
  10875. goodunitid:
  10876. description: 报价单位ID
  10877. type: integer
  10878. logincode:
  10879. description: 登录代码(账户)
  10880. type: string
  10881. marketid:
  10882. description: 市场id
  10883. type: integer
  10884. orderid:
  10885. description: 关联委托单号
  10886. type: string
  10887. qtydecimalplace:
  10888. description: 成交量小数位
  10889. type: integer
  10890. tradeamount:
  10891. description: 金额
  10892. type: number
  10893. tradedate:
  10894. description: 交易日
  10895. type: string
  10896. tradeid:
  10897. description: 成交单号
  10898. type: string
  10899. trademode:
  10900. description: 交易模式
  10901. type: integer
  10902. tradeprice:
  10903. description: 价格
  10904. type: number
  10905. tradeqty:
  10906. description: 数量
  10907. type: number
  10908. tradetime:
  10909. description: 成交时间
  10910. type: string
  10911. userid:
  10912. description: 用户id
  10913. type: integer
  10914. userinfotype:
  10915. description: 账户类型 1-个人 2-企业
  10916. type: integer
  10917. type: object
  10918. models.QhjMgrTradeOrderDetailRsp:
  10919. properties:
  10920. accountid:
  10921. description: 资金账号
  10922. type: integer
  10923. accountname:
  10924. description: 用户名称
  10925. type: string
  10926. agreeunit:
  10927. description: 合约乘数
  10928. type: number
  10929. amount:
  10930. description: 金额
  10931. type: number
  10932. decimalplace:
  10933. description: 报价小数位
  10934. type: integer
  10935. enumdicname:
  10936. description: 单位名称(商品)
  10937. type: string
  10938. goodscode:
  10939. description: 商品代码(内部)
  10940. type: string
  10941. goodsid:
  10942. description: 商品id
  10943. type: integer
  10944. goodsname:
  10945. description: 商品名称
  10946. type: string
  10947. goodunitid:
  10948. description: 报价单位ID
  10949. type: integer
  10950. logincode:
  10951. description: 登录代码(账户)
  10952. type: string
  10953. marketid:
  10954. description: 市场id
  10955. type: integer
  10956. orderid:
  10957. description: 关联委托单号
  10958. type: string
  10959. orderprice:
  10960. description: 价格
  10961. type: number
  10962. orderqty:
  10963. description: 数量
  10964. type: number
  10965. orderstatus:
  10966. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10967. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10968. 16:成交失败违约(荷兰式竞拍专用)
  10969. type: integer
  10970. ordertime:
  10971. description: 委托时间
  10972. type: string
  10973. qtydecimalplace:
  10974. description: 成交量小数位
  10975. type: integer
  10976. tradedate:
  10977. description: 交易日
  10978. type: string
  10979. trademode:
  10980. description: 交易模式
  10981. type: integer
  10982. userid:
  10983. description: 用户id
  10984. type: integer
  10985. userinfotype:
  10986. description: 账户类型 1-个人 2-企业
  10987. type: integer
  10988. type: object
  10989. models.QhjMgrTradePayOrder:
  10990. properties:
  10991. accountname:
  10992. description: 用户名称
  10993. type: string
  10994. advanceratio:
  10995. description: 首付比率
  10996. type: number
  10997. agreeunit:
  10998. description: 合约乘数
  10999. type: number
  11000. buyaccountid:
  11001. description: 买方账号ID[报价币种]
  11002. type: integer
  11003. buyorderid:
  11004. description: 买方委托单号(关联单号)
  11005. type: string
  11006. createtime:
  11007. description: 创建时间
  11008. type: string
  11009. decimalplace:
  11010. description: 报价小数位
  11011. type: integer
  11012. enumdicname:
  11013. description: 单位名称(商品)
  11014. type: string
  11015. goodscode:
  11016. description: 商品代码(内部)
  11017. type: string
  11018. goodsid:
  11019. description: 商品ID
  11020. type: integer
  11021. goodsname:
  11022. description: 商品名称
  11023. type: string
  11024. goodunitid:
  11025. description: 报价单位ID
  11026. type: integer
  11027. logincode:
  11028. description: 登录代码(账户)
  11029. type: string
  11030. marketid:
  11031. description: 市场id
  11032. type: integer
  11033. offamount:
  11034. description: 优惠金额
  11035. type: number
  11036. operatetype:
  11037. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11038. type: integer
  11039. payamount:
  11040. description: 支付金额(金额)
  11041. type: number
  11042. payflag:
  11043. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11044. type: integer
  11045. paylimitedtime:
  11046. description: 支付期限
  11047. type: string
  11048. paytime:
  11049. description: 付款时间
  11050. type: string
  11051. qtydecimalplace:
  11052. description: 成交量小数位
  11053. type: integer
  11054. sellaccountid:
  11055. description: 卖方账号ID[报价币种]
  11056. type: integer
  11057. sellorderid:
  11058. description: 卖方委托单号
  11059. type: string
  11060. tradeamount:
  11061. description: 成交金额(优惠后金额)
  11062. type: number
  11063. tradecharge:
  11064. description: 成交手续费(买方)
  11065. type: number
  11066. tradedate:
  11067. description: 交易日(yyyyMMdd)
  11068. type: string
  11069. tradeid:
  11070. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11071. type: string
  11072. trademode:
  11073. description: 交易模式
  11074. type: integer
  11075. tradeprice:
  11076. description: 成交价格(价格)
  11077. type: number
  11078. tradeqty:
  11079. description: 成交数量(数量)
  11080. type: number
  11081. tradetime:
  11082. description: 成交时间
  11083. type: string
  11084. userid:
  11085. description: 用户id
  11086. type: integer
  11087. userinfotype:
  11088. description: 账户类型 1-个人 2-企业
  11089. type: integer
  11090. type: object
  11091. models.QhjMyTeamEx:
  11092. properties:
  11093. accountname:
  11094. description: 用户名称
  11095. type: string
  11096. accountstatus:
  11097. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11098. type: integer
  11099. createtime:
  11100. description: 创建时间
  11101. type: string
  11102. mobile:
  11103. description: 手机号码
  11104. type: string
  11105. refereeuserid:
  11106. description: 推荐人id
  11107. type: integer
  11108. refernum:
  11109. description: 推荐码
  11110. type: string
  11111. subList:
  11112. items:
  11113. $ref: '#/definitions/models.QhjMyTeamEx'
  11114. type: array
  11115. userid:
  11116. description: 用户id
  11117. type: integer
  11118. userinfotype:
  11119. description: 用户类型 1-个人 2-企业
  11120. type: integer
  11121. type: object
  11122. models.QhjNodeAgreementConfig:
  11123. properties:
  11124. agreementcontent:
  11125. description: 协议内容
  11126. type: string
  11127. agreementid:
  11128. description: 协议ID
  11129. type: integer
  11130. agreementname:
  11131. description: 协议名称
  11132. type: string
  11133. agreementno:
  11134. description: 协议编号
  11135. type: string
  11136. agreementtype:
  11137. description: 协议类型 - 1:注册 2:登录 3:交易
  11138. type: integer
  11139. agreementversion:
  11140. description: 协议版本号
  11141. type: integer
  11142. configid:
  11143. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11144. type: integer
  11145. createtime:
  11146. description: 创建时间
  11147. type: string
  11148. goodsid:
  11149. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11150. type: integer
  11151. nodetype:
  11152. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11153. type: integer
  11154. type: object
  11155. models.QhjParentAreaList:
  11156. properties:
  11157. accountname:
  11158. description: 账户名称(机构名称)
  11159. type: string
  11160. userid:
  11161. description: 用户ID
  11162. type: integer
  11163. usertype:
  11164. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11165. type: integer
  11166. type: object
  11167. models.QhjPayOrder:
  11168. properties:
  11169. advanceratio:
  11170. description: 首付比率
  11171. type: number
  11172. buyaccountid:
  11173. description: 买方账号ID[报价币种]
  11174. type: integer
  11175. buyorderid:
  11176. description: 买方委托单号
  11177. type: string
  11178. createtime:
  11179. description: 创建时间
  11180. type: string
  11181. decimalplace:
  11182. description: 商品报价小数位
  11183. type: integer
  11184. enumdicname:
  11185. description: 单位名称
  11186. type: string
  11187. goodscode:
  11188. description: 商品代码
  11189. type: string
  11190. goodsid:
  11191. description: 商品ID
  11192. type: integer
  11193. goodsname:
  11194. description: 商品名称
  11195. type: string
  11196. goodunitid:
  11197. description: 商品单位id
  11198. type: integer
  11199. marketid:
  11200. description: 市场ID
  11201. type: integer
  11202. offamount:
  11203. description: 优惠金额
  11204. type: number
  11205. operatetype:
  11206. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11207. type: integer
  11208. payamount:
  11209. description: 支付金额
  11210. type: number
  11211. payflag:
  11212. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11213. type: integer
  11214. paylimitedtime:
  11215. description: 支付期限
  11216. type: string
  11217. paytime:
  11218. description: 付款时间
  11219. type: string
  11220. qtydecimalplace:
  11221. description: 成交量小数位
  11222. type: integer
  11223. sellaccountid:
  11224. description: 卖方账号ID[报价币种]
  11225. type: integer
  11226. sellorderid:
  11227. description: 卖方委托单号
  11228. type: string
  11229. tradeamount:
  11230. description: 成交金额(优惠后金额)
  11231. type: number
  11232. tradecharge:
  11233. description: 成交手续费(买方)
  11234. type: number
  11235. tradedate:
  11236. description: 交易日(yyyyMMdd)
  11237. type: string
  11238. tradeid:
  11239. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11240. type: string
  11241. tradeprice:
  11242. description: 成交价格
  11243. type: number
  11244. tradeqty:
  11245. description: 成交数量
  11246. type: number
  11247. type: object
  11248. models.QhjPickArea:
  11249. properties:
  11250. address:
  11251. description: 详细地址
  11252. type: string
  11253. cityid:
  11254. description: 市
  11255. type: integer
  11256. cityname:
  11257. description: 城市名称
  11258. type: string
  11259. countryid:
  11260. description: 国家
  11261. type: integer
  11262. countryname:
  11263. description: 国家名称
  11264. type: string
  11265. districtid:
  11266. description: 地区
  11267. type: integer
  11268. districtname:
  11269. description: 地区名称
  11270. type: string
  11271. fromuserid:
  11272. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11273. type: integer
  11274. fromusername:
  11275. description: 所属机构名称
  11276. type: string
  11277. provinceid:
  11278. description: 省
  11279. type: integer
  11280. provincename:
  11281. description: 省名称
  11282. type: string
  11283. suborgtype:
  11284. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11285. type: integer
  11286. userid:
  11287. description: 机构用户ID 其他做市关系,都设置为 1
  11288. type: integer
  11289. username:
  11290. description: 机构用户名称(门店门称)
  11291. type: string
  11292. type: object
  11293. models.QhjPickGoods:
  11294. properties:
  11295. enumdicname:
  11296. description: 单位名称(提货商品)
  11297. type: string
  11298. goodsid:
  11299. description: 商品id
  11300. type: integer
  11301. imageaddress:
  11302. description: 图片
  11303. type: string
  11304. modifierid:
  11305. description: 修改人
  11306. type: integer
  11307. modifiername:
  11308. description: 修改人名称
  11309. type: string
  11310. modifysrc:
  11311. description: 修改来源 - 1:管理端 2:终端
  11312. type: integer
  11313. pickupgoodsagreeunit:
  11314. description: 合约乘数
  11315. type: number
  11316. pickupgoodsdesc:
  11317. description: 描述
  11318. type: string
  11319. pickupgoodsid:
  11320. description: 提货商品ID
  11321. type: string
  11322. pickupgoodsname:
  11323. description: 提货商品名称
  11324. type: string
  11325. pickupgoodsstatus:
  11326. description: 状态 - 1:正常 2:停用 3:注销
  11327. type: integer
  11328. pickupgoodsunitid:
  11329. description: 单位ID
  11330. type: integer
  11331. pickupratio:
  11332. description: 提货系数
  11333. type: number
  11334. preparedays:
  11335. description: 备货期(天)
  11336. type: integer
  11337. remark:
  11338. description: 备注
  11339. type: string
  11340. updatetime:
  11341. description: 更新时间
  11342. type: string
  11343. type: object
  11344. models.QhjRSTriggerLog:
  11345. properties:
  11346. accountid:
  11347. description: 用户资金账户
  11348. type: integer
  11349. accountname:
  11350. description: 账号名称(ACCOUNTID对应的名称)
  11351. type: string
  11352. currencyid:
  11353. description: 币种id
  11354. type: integer
  11355. currencyname:
  11356. description: 币种名称
  11357. type: string
  11358. decimalplace:
  11359. description: 商品报价小数位
  11360. type: integer
  11361. enumdicname:
  11362. description: 单位名称
  11363. type: string
  11364. goodscode:
  11365. description: 定投商品代码
  11366. type: string
  11367. goodsid:
  11368. description: 定投商品ID
  11369. type: integer
  11370. goodsname:
  11371. description: 定投商品名称
  11372. type: string
  11373. goodunitid:
  11374. description: 定投商品单位id
  11375. type: integer
  11376. logid:
  11377. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11378. type: string
  11379. logincode:
  11380. description: 账号(登录代码)
  11381. type: string
  11382. qtydecimalplace:
  11383. description: 成交量小数位
  11384. type: integer
  11385. regularlycycle:
  11386. description: 定投频率 - 1:每周 2:每月
  11387. type: integer
  11388. regularlycyclevalue:
  11389. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11390. type: string
  11391. regularlymode:
  11392. description: 定投方式 - 1:按数量 2:按金额
  11393. type: integer
  11394. regularlymodevalue:
  11395. description: 定投方式值 - 数量或金额
  11396. type: number
  11397. regularlystrategyid:
  11398. description: 定投策略ID
  11399. type: integer
  11400. retcode:
  11401. description: 错误码
  11402. type: string
  11403. tradeid:
  11404. description: 成交单ID
  11405. type: string
  11406. triggeramount:
  11407. description: 触发金额
  11408. type: number
  11409. triggerqty:
  11410. description: 触发数量
  11411. type: number
  11412. triggerstatus:
  11413. description: 触发状态 - 1:成功 2:失败
  11414. type: integer
  11415. triggertime:
  11416. description: 触发时间
  11417. type: string
  11418. triggertradedate:
  11419. description: 触发交易日
  11420. type: string
  11421. userid:
  11422. description: 所属用户ID
  11423. type: integer
  11424. userinfotype:
  11425. description: 用户类型 1-个人 2-企业
  11426. type: integer
  11427. username:
  11428. description: 用户名称(userid对应的名称)
  11429. type: string
  11430. type: object
  11431. models.QhjRStrategy:
  11432. properties:
  11433. accountid:
  11434. description: 用户资金账户
  11435. type: integer
  11436. accountname:
  11437. description: 账号名称(ACCOUNTID对应的名称)
  11438. type: string
  11439. currencyid:
  11440. description: 币种id
  11441. type: integer
  11442. currencyname:
  11443. description: 币种名称
  11444. type: string
  11445. decimalplace:
  11446. description: 商品报价小数位
  11447. type: integer
  11448. enumdicname:
  11449. description: 单位名称
  11450. type: string
  11451. goodscode:
  11452. description: 定投商品代码
  11453. type: string
  11454. goodsid:
  11455. description: 定投商品ID
  11456. type: integer
  11457. goodsname:
  11458. description: 定投商品名称
  11459. type: string
  11460. goodunitid:
  11461. description: 定投商品单位id
  11462. type: integer
  11463. lasteffecttradedate:
  11464. description: 最新生效交易日
  11465. type: string
  11466. laststoptradedate:
  11467. description: 最新暂停交易日
  11468. type: string
  11469. lasttriggertradedate:
  11470. description: 最新触发交易日
  11471. type: string
  11472. logincode:
  11473. description: 账号(登录代码)
  11474. type: string
  11475. nexttriggeramount:
  11476. description: 下次触发金额
  11477. type: number
  11478. nexttriggerdate:
  11479. description: 下次触发日期
  11480. type: string
  11481. nexttriggerqty:
  11482. description: 下次触发数量 [按小数位放大值]
  11483. type: number
  11484. qtydecimalplace:
  11485. description: 成交量小数位
  11486. type: integer
  11487. regularlycycle:
  11488. description: 定投频率 - 1:每周 2:每月
  11489. type: integer
  11490. regularlycyclevalue:
  11491. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11492. type: string
  11493. regularlymode:
  11494. description: 定投方式 - 1:按数量 2:按金额
  11495. type: integer
  11496. regularlymodevalue:
  11497. description: 定投方式值 - 数量或金额
  11498. type: number
  11499. regularlystrategyid:
  11500. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11501. type: integer
  11502. regularlystrategystatus:
  11503. description: 策略状态 - 1:正常 2:暂停 3:终止
  11504. type: integer
  11505. remark:
  11506. description: 备注
  11507. type: string
  11508. triggersuccesstimes:
  11509. description: 累计定投成功次数
  11510. type: string
  11511. triggertotalamount:
  11512. description: 累计定投金额(成功)
  11513. type: number
  11514. triggertotalqty:
  11515. description: 累计定投数量(成功) [按小数位放大值]
  11516. type: number
  11517. triggertotaltimes:
  11518. description: 累计定投总次数
  11519. type: string
  11520. updatesrc:
  11521. description: 更新来源 - 1:管理端 2:终端
  11522. type: integer
  11523. updatetime:
  11524. description: 更新时间
  11525. type: string
  11526. updatorid:
  11527. description: 更新人
  11528. type: string
  11529. userid:
  11530. description: 所属用户ID
  11531. type: integer
  11532. userinfotype:
  11533. description: 用户类型 1-个人 2-企业
  11534. type: integer
  11535. username:
  11536. description: 用户名称(userid对应的名称)
  11537. type: string
  11538. type: object
  11539. models.QhjReckonPriceLog:
  11540. properties:
  11541. decimalplace:
  11542. description: 商品报价小数位
  11543. type: integer
  11544. goodscode:
  11545. description: 商品代码
  11546. type: string
  11547. goodsid:
  11548. description: 商品ID
  11549. type: integer
  11550. goodsname:
  11551. description: 商品名称
  11552. type: string
  11553. lastreckonprice:
  11554. description: 上日结算价
  11555. type: number
  11556. nextdnlimitprice:
  11557. description: 下个交易日跌停价
  11558. type: number
  11559. nexttrade:
  11560. description: 下个交易日
  11561. type: string
  11562. nextuplimitprice:
  11563. description: 下个交易日涨停价
  11564. type: number
  11565. reckonprice:
  11566. description: 今日结算价(定投价)
  11567. type: number
  11568. reckontime:
  11569. description: 结算时间
  11570. type: string
  11571. totalholderqty:
  11572. description: 总持仓数
  11573. type: integer
  11574. totalstock:
  11575. description: 总库存
  11576. type: integer
  11577. tradedate:
  11578. description: 交易日
  11579. type: string
  11580. updowncount:
  11581. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11582. type: integer
  11583. updownflag:
  11584. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11585. type: integer
  11586. updownrate:
  11587. description: 今日涨跌幅
  11588. type: number
  11589. updownrate_2d:
  11590. description: 连续两日涨跌幅
  11591. type: number
  11592. updownrate_3d:
  11593. description: 连续三日涨跌幅
  11594. type: number
  11595. type: object
  11596. models.QhjScoreLog:
  11597. properties:
  11598. accountid:
  11599. description: 账户ID
  11600. type: integer
  11601. createtime:
  11602. description: 创建时间(时间)
  11603. type: string
  11604. goodsid:
  11605. description: 商品ID
  11606. type: integer
  11607. hasuploaded:
  11608. description: 是否已同步(千海金) 0:未同步 1;已同步
  11609. type: integer
  11610. logid:
  11611. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11612. type: string
  11613. marketid:
  11614. description: 市场ID
  11615. type: integer
  11616. relatedamount:
  11617. description: 关联金额
  11618. type: number
  11619. relatedorderid:
  11620. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11621. type: string
  11622. scoreconfigvalue1:
  11623. description: 积分配置1
  11624. type: integer
  11625. scoreconfigvalue2:
  11626. description: 积分配置1
  11627. type: integer
  11628. scoretype:
  11629. description: 积分类型 - 1:提货积分
  11630. type: integer
  11631. scorevalue:
  11632. description: 积分
  11633. type: number
  11634. tradedate:
  11635. description: 交易日(yyyyMMdd)
  11636. type: string
  11637. uploadedtime:
  11638. description: 同步时间
  11639. type: string
  11640. userid:
  11641. description: 用户ID
  11642. type: integer
  11643. type: object
  11644. models.QhjSiteColumnDetail:
  11645. properties:
  11646. author:
  11647. description: 作者
  11648. type: string
  11649. brief:
  11650. description: 简介
  11651. type: string
  11652. columnid:
  11653. description: 所属栏目
  11654. type: integer
  11655. context:
  11656. description: 内容
  11657. type: string
  11658. coverimage:
  11659. description: 封面图片
  11660. type: string
  11661. creaedate:
  11662. description: 创建时间
  11663. type: string
  11664. creatorid:
  11665. description: 创建人
  11666. type: integer
  11667. hits:
  11668. description: 点击数
  11669. type: integer
  11670. id:
  11671. description: ID(SEQ_SITE_COLUMNDETAIL)
  11672. type: integer
  11673. isshow:
  11674. description: 是否展示 - 0:不展示 1:展示
  11675. type: integer
  11676. istop:
  11677. description: 是否置顶 - 0:不置 1:置顶
  11678. type: integer
  11679. modifierid:
  11680. description: 操作人
  11681. type: integer
  11682. publishdate:
  11683. description: 发布日期
  11684. type: string
  11685. status:
  11686. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11687. type: integer
  11688. title:
  11689. description: 标题
  11690. type: string
  11691. updatedate:
  11692. description: 修改时间
  11693. type: string
  11694. userid:
  11695. description: 用户ID(默认为0, 核心为为机构用户ID)
  11696. type: integer
  11697. username:
  11698. description: 用户名称
  11699. type: string
  11700. type: object
  11701. models.QhjTeamOrder:
  11702. properties:
  11703. accountid:
  11704. description: 账户ID[报价币种]
  11705. type: integer
  11706. accountname:
  11707. description: 账户名称
  11708. type: string
  11709. agreeunit:
  11710. description: 合约乘数
  11711. type: number
  11712. buyorsell:
  11713. description: 方向 - 0:买 1:卖
  11714. type: integer
  11715. decimalplace:
  11716. description: 报价小数位
  11717. type: integer
  11718. enumdicname:
  11719. description: 单位名称
  11720. type: string
  11721. goodscode:
  11722. description: 商品代码(内部)
  11723. type: string
  11724. goodsid:
  11725. description: 商品ID
  11726. type: integer
  11727. goodsname:
  11728. description: 商品名称
  11729. type: string
  11730. goodunitid:
  11731. description: 报价单位ID
  11732. type: integer
  11733. marketid:
  11734. description: 市场ID
  11735. type: integer
  11736. marketname:
  11737. description: 市场名称
  11738. type: string
  11739. qtydecimalplace:
  11740. description: 成交量小数位
  11741. type: integer
  11742. refereeuserid:
  11743. description: 推荐人ID
  11744. type: integer
  11745. tradeamount:
  11746. description: 成交金额[账户币种,用于所有权]
  11747. type: number
  11748. tradedate:
  11749. description: 交易日(yyyyMMdd)
  11750. type: string
  11751. trademode:
  11752. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11753. 21:竞拍-大宗式 22:受托竞价
  11754. type: integer
  11755. tradeprice:
  11756. description: 成交价格
  11757. type: number
  11758. tradeqty:
  11759. description: 成交数量
  11760. type: number
  11761. tradetime:
  11762. description: 成交时间
  11763. type: string
  11764. userid:
  11765. description: 用户ID
  11766. type: integer
  11767. type: object
  11768. models.QhjTradeGoodsPickup:
  11769. properties:
  11770. accountid:
  11771. description: 账户ID
  11772. type: integer
  11773. address:
  11774. description: 提货人详细地址
  11775. type: string
  11776. amount:
  11777. description: 提货金额
  11778. type: number
  11779. artradedate:
  11780. description: 自动收货交易日(yyyyMMdd)
  11781. type: string
  11782. auditer:
  11783. description: 审核人
  11784. type: integer
  11785. auditsrc:
  11786. description: 更新来源 - 1:管理端 2:终端
  11787. type: integer
  11788. audittime:
  11789. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11790. type: string
  11791. audittradedate:
  11792. description: 审核交易日(yyyyMMdd)
  11793. type: string
  11794. cardnum:
  11795. description: 提货人证件号码
  11796. type: string
  11797. cardtypeid:
  11798. description: 提货人证件类型
  11799. type: integer
  11800. checkremark:
  11801. description: 审核备注
  11802. type: string
  11803. cityid:
  11804. description: 市
  11805. type: integer
  11806. cityname:
  11807. description: 城市名称
  11808. type: string
  11809. confirmtime:
  11810. description: 取货时间 或 收货时间
  11811. type: string
  11812. countryid:
  11813. description: 国家
  11814. type: integer
  11815. countryname:
  11816. description: 国家名称
  11817. type: string
  11818. decimalplace:
  11819. description: 商品报价小数位
  11820. type: integer
  11821. districtid:
  11822. description: 地区
  11823. type: integer
  11824. districtname:
  11825. description: 地区名称
  11826. type: string
  11827. enumdicname:
  11828. description: 单位名称(提货商品)
  11829. type: string
  11830. expresscompany:
  11831. description: 物流公司
  11832. type: string
  11833. expressnum:
  11834. description: 物流单号
  11835. type: string
  11836. goodsagreeunit:
  11837. description: 交易商品乘数
  11838. type: number
  11839. goodscode:
  11840. description: 商品代码
  11841. type: string
  11842. goodsid:
  11843. description: 商品ID
  11844. type: integer
  11845. goodsname:
  11846. description: 商品名称
  11847. type: string
  11848. goodsqty:
  11849. description: 交易商品手数(69模式按成交量小数位放大取整)
  11850. type: number
  11851. handlestatus:
  11852. description: 处理状态
  11853. type: integer
  11854. logincode:
  11855. description: 账号(登录代码, 有可能为空)
  11856. type: string
  11857. marketid:
  11858. description: 市场ID
  11859. type: integer
  11860. phonenum:
  11861. description: 提货人联系方式
  11862. type: string
  11863. pickupgoodsagreeunit:
  11864. description: 提货商品合约乘数
  11865. type: number
  11866. pickupgoodsid:
  11867. description: 提货商品ID
  11868. type: string
  11869. pickupgoodsname:
  11870. description: 提货商品名称
  11871. type: string
  11872. pickupgoodsqty:
  11873. description: 提货商品手数(数量)
  11874. type: number
  11875. pickupgoodsunitid:
  11876. description: 单位ID(提货商品)
  11877. type: integer
  11878. pickupratio:
  11879. description: 提货系数
  11880. type: number
  11881. preparedays:
  11882. description: 备货期(天)-提货单明细表
  11883. type: integer
  11884. provinceid:
  11885. description: 省
  11886. type: integer
  11887. provincename:
  11888. description: 省名称
  11889. type: string
  11890. qty:
  11891. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  11892. type: number
  11893. qtydecimalplace:
  11894. description: 商品数量小数位
  11895. type: integer
  11896. recivername:
  11897. description: 提货人姓名
  11898. type: string
  11899. reqtime:
  11900. description: 提货申请时间
  11901. type: string
  11902. storeuserid:
  11903. description: 门店用户ID (千海金)
  11904. type: integer
  11905. storeusername:
  11906. description: 门店用户名称
  11907. type: string
  11908. takemode:
  11909. description: 提货方式 - 2:自提 3:配送(邮寄)
  11910. type: integer
  11911. takeorderid:
  11912. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11913. type: string
  11914. takeorderstatus:
  11915. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  11916. 7:已拒绝 8:已撤销
  11917. type: integer
  11918. takeremark:
  11919. description: 提货备注
  11920. type: string
  11921. tradedate:
  11922. description: 交易日(yyyyMMdd)
  11923. type: string
  11924. updatetime:
  11925. description: 更新时间
  11926. type: string
  11927. userid:
  11928. description: 用户ID
  11929. type: integer
  11930. userinfotype:
  11931. description: 客户类型 1-个人 2-企业
  11932. type: integer
  11933. username:
  11934. description: 用户名称
  11935. type: string
  11936. type: object
  11937. models.QhjUserNodeCfgAndStatus:
  11938. properties:
  11939. agreementcontent:
  11940. description: 协议内容
  11941. type: string
  11942. agreementid:
  11943. description: 协议ID
  11944. type: integer
  11945. agreementname:
  11946. description: 协议名称
  11947. type: string
  11948. agreementno:
  11949. description: 协议编号
  11950. type: string
  11951. agreementtype:
  11952. description: 协议类型 - 1:注册 2:登录 3:交易
  11953. type: integer
  11954. agreementversion:
  11955. description: 协议版本号
  11956. type: integer
  11957. configid:
  11958. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11959. type: integer
  11960. createtime:
  11961. description: 创建时间
  11962. type: string
  11963. goodsid:
  11964. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11965. type: integer
  11966. nodetype:
  11967. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11968. type: integer
  11969. signtimestamp:
  11970. description: 签约状态时间戳(最近一次)
  11971. type: string
  11972. tradedate:
  11973. description: 签约交易日(yyyyMMdd)
  11974. type: string
  11975. userid:
  11976. description: 客户ID
  11977. type: integer
  11978. type: object
  11979. models.Qhjgoodsex:
  11980. properties:
  11981. canfinance:
  11982. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  11983. type: integer
  11984. canregularlybuy:
  11985. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  11986. type: integer
  11987. defaulttradeuserid:
  11988. description: 默认交易用户ID
  11989. type: integer
  11990. deliverygoodsid:
  11991. description: 现货品种ID
  11992. type: integer
  11993. goodsid:
  11994. description: 商品ID(自增ID SEQ_GOODS)
  11995. type: integer
  11996. minamount:
  11997. description: 最小购买金额
  11998. type: number
  11999. regularlybuyminamount:
  12000. description: 定投最小金额
  12001. type: number
  12002. regularlybuyminqty:
  12003. description: 定投最小数量
  12004. type: number
  12005. spotgoodsbrandid:
  12006. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12007. type: integer
  12008. visibilityforenterprise:
  12009. description: 企业客户是否可见 - 0:不可见 1:可见
  12010. type: integer
  12011. visibilityforpersonal:
  12012. description: 个人客户是否可见 - 0:不可见 1:可见
  12013. type: integer
  12014. wrstandardid:
  12015. description: 现货商品ID
  12016. type: integer
  12017. type: object
  12018. models.QueryErrorInfosRsp:
  12019. properties:
  12020. description:
  12021. description: 异常描述
  12022. type: string
  12023. errorcode:
  12024. description: 异常代码
  12025. type: string
  12026. errorid:
  12027. description: 异常ID
  12028. type: integer
  12029. modulecode:
  12030. description: 所属模块
  12031. type: string
  12032. operatecode:
  12033. description: 所属操作
  12034. type: string
  12035. rownumber:
  12036. description: 行号
  12037. type: string
  12038. required:
  12039. - errorid
  12040. type: object
  12041. models.QueryHedgeOrderDetailRsp:
  12042. properties:
  12043. accountid:
  12044. description: 账户ID
  12045. type: integer
  12046. buyorsell:
  12047. description: 买卖 - 0:买 1:卖
  12048. type: integer
  12049. cancellogincode:
  12050. description: 撤单人
  12051. type: string
  12052. channelbuildtype:
  12053. description: 开平标志 - 0:无 1:建仓 2:平仓
  12054. type: integer
  12055. channelinnerorderstatus:
  12056. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12057. 9:全部成交
  12058. type: integer
  12059. channeloperatetype:
  12060. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12061. type: integer
  12062. closetype:
  12063. description: 平仓方式 - 0:无 1:平今 2:平昨
  12064. type: integer
  12065. curexchangerate:
  12066. description: 当前汇率
  12067. type: number
  12068. exchangefullname:
  12069. description: 外部交易所全称
  12070. type: string
  12071. goodscode:
  12072. description: 商品代码(内部)
  12073. type: string
  12074. goodsid:
  12075. description: 商品ID
  12076. type: integer
  12077. goodsname:
  12078. description: 商品名称
  12079. type: string
  12080. marketid:
  12081. description: 市场ID
  12082. type: integer
  12083. openfreezemargin:
  12084. description: 冻结保证金(冻结交易金额)
  12085. type: number
  12086. orderid:
  12087. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12088. type: string
  12089. orderlogincode:
  12090. description: 委托人
  12091. type: string
  12092. orderprice:
  12093. description: 委托价格(账户)
  12094. type: number
  12095. orderqty:
  12096. description: 委托数量
  12097. type: integer
  12098. ordertime:
  12099. description: 委托时间
  12100. type: string
  12101. pricemode:
  12102. description: '取价方式 - 1:市价 2: 限价'
  12103. type: integer
  12104. tradedate:
  12105. description: 交易日(yyyyMMdd)
  12106. type: string
  12107. tradeqty:
  12108. description: 成交数量
  12109. type: integer
  12110. type: object
  12111. models.QueryHedgeTradeDetailRsp:
  12112. properties:
  12113. accountid:
  12114. description: 账号ID
  12115. type: integer
  12116. buyorsell:
  12117. description: 方向 - 0:买 1:卖
  12118. type: integer
  12119. channelbuildtype:
  12120. description: 委托单据类型 0:无 1:建仓 2:平仓
  12121. type: integer
  12122. closecharge:
  12123. description: 平仓手续费(账户)
  12124. type: number
  12125. closecharge2:
  12126. description: 平仓手续费(商品)
  12127. type: number
  12128. closepl:
  12129. description: 平仓盈亏(账户)
  12130. type: number
  12131. closepl2:
  12132. description: 平仓盈亏(商品)
  12133. type: number
  12134. closepl3:
  12135. description: 平仓盈亏(账户)(逐笔)
  12136. type: number
  12137. closepl4:
  12138. description: 平仓盈亏(商品)(逐笔)
  12139. type: number
  12140. closetype:
  12141. description: 平仓方式 - 0:无 1:平今 2:平昨
  12142. type: integer
  12143. curexchangerate:
  12144. description: 当前汇率
  12145. type: number
  12146. exchangefullname:
  12147. description: 外部交易所全称
  12148. type: string
  12149. goodscode:
  12150. description: 商品代码(内部)
  12151. type: string
  12152. goodsid:
  12153. description: 商品ID
  12154. type: integer
  12155. goodsname:
  12156. description: 商品名称
  12157. type: string
  12158. marketid:
  12159. description: 市场ID
  12160. type: integer
  12161. opencharge:
  12162. description: 建仓手续费(账户)
  12163. type: number
  12164. opencharge2:
  12165. description: 建仓手续费(商品)
  12166. type: number
  12167. orderid:
  12168. description: 委托单号
  12169. type: string
  12170. orderlogincode:
  12171. description: 委托人
  12172. type: string
  12173. tradeamount:
  12174. description: 成交金额(账户)
  12175. type: number
  12176. tradedate:
  12177. description: 交易日(yyyyMMdd)
  12178. type: string
  12179. tradeid:
  12180. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12181. type: string
  12182. tradeprice:
  12183. description: 成交价格
  12184. type: number
  12185. tradeqty:
  12186. description: 成交数量
  12187. type: integer
  12188. tradetime:
  12189. description: 成交时间
  12190. type: string
  12191. tradetype:
  12192. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12193. type: integer
  12194. type: object
  12195. models.QuotePrimaryMenu:
  12196. properties:
  12197. Index:
  12198. description: 序号
  12199. type: integer
  12200. Key:
  12201. description: 键名
  12202. type: string
  12203. Name:
  12204. description: 菜单名称
  12205. type: string
  12206. SubMenus:
  12207. description: 子菜单
  12208. items:
  12209. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12210. type: array
  12211. SubTitleType:
  12212. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12213. type: integer
  12214. TradeModes:
  12215. description: 包含市场交易类型
  12216. type: string
  12217. type: object
  12218. models.QuoteSecondaryMenu:
  12219. properties:
  12220. ExExchangeCode:
  12221. description: 外部交易所代码
  12222. type: string
  12223. ExExchangeID:
  12224. description: 外部交易所ID
  12225. type: integer
  12226. GoodsGroupIDs:
  12227. description: 商品组ID列表
  12228. items:
  12229. type: integer
  12230. type: array
  12231. Index:
  12232. description: 序号
  12233. type: integer
  12234. MarketID:
  12235. description: 市场ID
  12236. type: integer
  12237. MenuTitle:
  12238. description: 菜单标题(市场名称或外部交易所名称)
  12239. type: string
  12240. TradeMode:
  12241. description: 交易模式
  12242. type: integer
  12243. type: object
  12244. models.SearchGoods:
  12245. properties:
  12246. goodscode:
  12247. description: 商品代码(内部)
  12248. type: string
  12249. goodsid:
  12250. description: 商品ID(自增ID SEQ_GOODS)
  12251. type: integer
  12252. goodsname:
  12253. description: 商品名称
  12254. type: string
  12255. marketid:
  12256. description: 所属市场ID
  12257. type: integer
  12258. marketname:
  12259. description: 市场名称
  12260. type: string
  12261. trademode:
  12262. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12263. 21:竞拍-大宗式 22:受托竞价
  12264. type: integer
  12265. required:
  12266. - goodscode
  12267. - goodsid
  12268. - goodsname
  12269. - marketid
  12270. - trademode
  12271. type: object
  12272. models.Systemparam:
  12273. properties:
  12274. loginid:
  12275. description: 更新用户账号,登录账号
  12276. type: string
  12277. modifyflag:
  12278. description: 修改标志0 不允许修改 1 允许修改
  12279. type: integer
  12280. paramcode:
  12281. description: 参数代码
  12282. type: string
  12283. paramname:
  12284. description: 参数名
  12285. type: string
  12286. paramtype:
  12287. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12288. type: integer
  12289. paramvalue:
  12290. description: 参数值
  12291. type: string
  12292. paramvalue2:
  12293. description: 参数值(CLOB)
  12294. type: string
  12295. regexpress:
  12296. description: 正则表达式
  12297. type: string
  12298. remark:
  12299. description: 备注
  12300. type: string
  12301. serverip:
  12302. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12303. type: string
  12304. showflag:
  12305. description: 是否显示0 不显示 1 显示
  12306. type: integer
  12307. updatetime:
  12308. description: 更新时间
  12309. type: string
  12310. userid:
  12311. description: 更新用户ID
  12312. type: integer
  12313. required:
  12314. - paramcode
  12315. type: object
  12316. models.Szdz3convertconfig:
  12317. properties:
  12318. canin:
  12319. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12320. type: integer
  12321. canout:
  12322. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12323. type: integer
  12324. converttype:
  12325. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12326. 6:交易转花生米(不设置)
  12327. type: integer
  12328. createtime:
  12329. description: 创建时间
  12330. type: string
  12331. creatorid:
  12332. description: 创建人
  12333. type: integer
  12334. daymaxvalue:
  12335. description: 当日最大转入限制
  12336. type: number
  12337. freezedays:
  12338. description: 冻结天数 [5:花生米转交易]
  12339. type: integer
  12340. innergoodsid:
  12341. description: 内部商品ID[交易]
  12342. type: integer
  12343. inratio:
  12344. description: 目标值
  12345. type: integer
  12346. modifierid:
  12347. description: 修改人
  12348. type: integer
  12349. modifytime:
  12350. description: 修改时间
  12351. type: string
  12352. outergoodscode:
  12353. description: 外部商品代码[JD\PD]
  12354. type: string
  12355. outratio:
  12356. description: 源值
  12357. type: integer
  12358. pddecimalplace:
  12359. description: PD小数位
  12360. type: integer
  12361. timemaxvalue:
  12362. description: 单次最大转入限制
  12363. type: number
  12364. timeminvalue:
  12365. description: 单次最小转入限制
  12366. type: number
  12367. required:
  12368. - converttype
  12369. - innergoodsid
  12370. - outergoodscode
  12371. type: object
  12372. models.Szdz3searchwhitelist:
  12373. properties:
  12374. createtime:
  12375. description: 创建时间
  12376. type: string
  12377. creatorid:
  12378. description: 创建人
  12379. type: integer
  12380. modifierid:
  12381. description: 修改人
  12382. type: integer
  12383. modifytime:
  12384. description: 修改时间
  12385. type: string
  12386. userid:
  12387. description: 用户ID
  12388. type: integer
  12389. required:
  12390. - userid
  12391. type: object
  12392. models.Taaccount:
  12393. properties:
  12394. accountflag:
  12395. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12396. type: integer
  12397. accountid:
  12398. description: 资金账户ID
  12399. type: integer
  12400. accountname:
  12401. description: 账户名称
  12402. type: string
  12403. balance:
  12404. description: 期初余额
  12405. type: number
  12406. capitalbalance:
  12407. description: 本金余额[外部子账户实际出入金余额]
  12408. type: number
  12409. changeflag:
  12410. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12411. type: integer
  12412. changetime:
  12413. description: 账户状态变更时间
  12414. type: string
  12415. closepl:
  12416. description: 今日平仓盈亏
  12417. type: number
  12418. creditdecrease:
  12419. description: 今日授信减少
  12420. type: number
  12421. creditincrease:
  12422. description: 今日授信增加
  12423. type: number
  12424. curamount:
  12425. description: 总市值(从持仓中统计)
  12426. type: number
  12427. currencyid:
  12428. description: 货币ID
  12429. type: integer
  12430. currentbalance:
  12431. description: 期末余额
  12432. type: number
  12433. freezecharge:
  12434. description: 手续费冻结
  12435. type: number
  12436. freezemargin:
  12437. description: 冻结保证金
  12438. type: number
  12439. fromaccountid:
  12440. description: 所属上级账户
  12441. type: integer
  12442. inamount:
  12443. description: 今日入金金额(包括三方入金)
  12444. type: number
  12445. ismain:
  12446. description: 是否母账号 0:不是母账户 1:是母账户
  12447. type: integer
  12448. ismarketaccount:
  12449. description: 是否机构接单账号 0:不是 1:是
  12450. type: integer
  12451. isreckonaccount:
  12452. description: 是否机构分润账号 0:不是 1:是
  12453. type: integer
  12454. mortgagecredit:
  12455. description: 授信金额
  12456. type: number
  12457. orifreezecharge:
  12458. description: 期初手续费冻结
  12459. type: number
  12460. orifreezemargin:
  12461. description: 期初冻结保证金
  12462. type: number
  12463. orimortgagecredit:
  12464. description: 期初授信金额
  12465. type: number
  12466. oriothercredit:
  12467. description: 期初其它授信金额
  12468. type: number
  12469. oriotherfreezemargin:
  12470. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12471. type: number
  12472. orioutamountfreeze:
  12473. description: 期初出金冻结
  12474. type: number
  12475. oriusedmargin:
  12476. description: 期初占用保证金
  12477. type: number
  12478. othercredit:
  12479. description: 其它授信金额
  12480. type: number
  12481. othercreditdecrease:
  12482. description: 今日其它授信减少
  12483. type: number
  12484. othercreditincrease:
  12485. description: 今日其它授信增加
  12486. type: number
  12487. otherfreezemargin:
  12488. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12489. type: number
  12490. otherincome:
  12491. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12492. type: number
  12493. otherpay:
  12494. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12495. type: number
  12496. outamount:
  12497. description: 今日出金金额(包括三方出金)
  12498. type: number
  12499. outamountfreeze:
  12500. description: 出金冻结
  12501. type: number
  12502. outthreshold:
  12503. description: 出金阈值
  12504. type: number
  12505. parentaccountid:
  12506. description: 所属根账号
  12507. type: integer
  12508. paycharge:
  12509. description: 今日手续费支出
  12510. type: number
  12511. relatedaccountstatus:
  12512. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12513. type: integer
  12514. relateduserid:
  12515. description: 关联用户
  12516. type: integer
  12517. remainamount:
  12518. description: 融资额(从融资合同中统计)
  12519. type: number
  12520. serivcegroup:
  12521. description: 服务分组
  12522. type: integer
  12523. signstatus:
  12524. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12525. type: integer
  12526. sublevelpath:
  12527. description: 账号层级路径(逗号分隔,首尾加逗号)
  12528. type: string
  12529. taaccounttype:
  12530. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12531. type: integer
  12532. thirdinamount:
  12533. description: 今日三方入金
  12534. type: number
  12535. thirdoutamount:
  12536. description: 今日三方出金
  12537. type: number
  12538. tradestatus:
  12539. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12540. type: integer
  12541. tradestatuschangetime:
  12542. description: 激活时间
  12543. type: string
  12544. transferamount:
  12545. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12546. type: number
  12547. usedmargin:
  12548. description: 占用保证金
  12549. type: number
  12550. userid:
  12551. description: 用户ID
  12552. type: integer
  12553. required:
  12554. - accountid
  12555. - userid
  12556. type: object
  12557. models.Tablecolumnconfig:
  12558. properties:
  12559. aligntype:
  12560. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12561. type: integer
  12562. autoid:
  12563. description: AutoID
  12564. type: integer
  12565. columnfield:
  12566. description: 列字段
  12567. type: string
  12568. columntitle:
  12569. description: 列Title
  12570. type: string
  12571. columnwidth:
  12572. description: 列宽
  12573. type: string
  12574. formatterstring:
  12575. description: 格式化字符
  12576. type: string
  12577. formattertype:
  12578. description: 格式化类型
  12579. type: string
  12580. groupname:
  12581. description: 表头分组名称
  12582. type: string
  12583. isshow:
  12584. description: 是否显示 - 0:不显示 1:显示
  12585. type: integer
  12586. needsummary:
  12587. description: 是否需要汇总 - 0:不需要 1:需要
  12588. type: integer
  12589. orderindex:
  12590. description: 顺序
  12591. type: integer
  12592. remark:
  12593. description: 备注
  12594. type: string
  12595. summarytype:
  12596. description: 汇总类型 - 1:加总 2:最后一个
  12597. type: integer
  12598. tablekey:
  12599. description: 列表Key
  12600. type: string
  12601. required:
  12602. - autoid
  12603. type: object
  12604. models.UserCollectConfig:
  12605. properties:
  12606. accountstatus:
  12607. description: 账户状态 - 1:正常 2:停用 3:注销
  12608. type: integer
  12609. collectaccountname:
  12610. description: 收款人账户名称
  12611. type: string
  12612. collectaccountno:
  12613. description: 收款人账户
  12614. type: string
  12615. collectbankname:
  12616. description: 收款人开户行
  12617. type: string
  12618. collectbranchbankname:
  12619. description: 收款人开户支行
  12620. type: string
  12621. collectconfigid:
  12622. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12623. type: string
  12624. remark:
  12625. description: 备注
  12626. type: string
  12627. userid:
  12628. description: 收款人用户ID
  12629. type: integer
  12630. type: object
  12631. models.UserReceiveInfo:
  12632. properties:
  12633. address:
  12634. description: 提货人详细地址
  12635. type: string
  12636. autoid:
  12637. description: AutoID
  12638. type: integer
  12639. cardnum:
  12640. description: 证件号码(加密存储)
  12641. type: string
  12642. cardtypeid:
  12643. description: 证件类型
  12644. type: integer
  12645. cityid:
  12646. description: 市
  12647. type: integer
  12648. cityname:
  12649. description: 城市名称
  12650. type: string
  12651. countryid:
  12652. description: 国家
  12653. type: integer
  12654. countryname:
  12655. description: 国家名称
  12656. type: string
  12657. districtid:
  12658. description: 地区
  12659. type: integer
  12660. districtname:
  12661. description: 地区名称
  12662. type: string
  12663. hasencrypt:
  12664. description: 数据是否已加密 - 0:未加密 1:已加密
  12665. type: integer
  12666. isdefault:
  12667. description: 是否默认地址 - 0:否 1:是
  12668. type: integer
  12669. phonenum:
  12670. description: 提货人联系方式(加密存储)
  12671. type: string
  12672. provinceid:
  12673. description: 省
  12674. type: integer
  12675. provincename:
  12676. description: 省名称
  12677. type: string
  12678. receivername:
  12679. description: 提货人姓名
  12680. type: string
  12681. takeremark:
  12682. description: 提货备注
  12683. type: string
  12684. userid:
  12685. description: 用户ID
  12686. type: integer
  12687. type: object
  12688. models.Useraccount:
  12689. properties:
  12690. accountname:
  12691. description: 账户名称(机构名称)
  12692. type: string
  12693. accountstatus:
  12694. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12695. type: integer
  12696. applysrc:
  12697. description: 申请来源 - 1:管理端 2:终端
  12698. type: integer
  12699. auditremark:
  12700. description: 审核备注
  12701. type: string
  12702. auditsrc:
  12703. description: 审核来源 - 1:管理端 2:终端
  12704. type: integer
  12705. audittime:
  12706. description: 审核时间
  12707. type: string
  12708. audituserid:
  12709. description: 审核人
  12710. type: integer
  12711. broker:
  12712. description: 所属经纪人ID
  12713. type: integer
  12714. canceltime:
  12715. description: 销户时间
  12716. type: string
  12717. canceluserid:
  12718. description: 销户人
  12719. type: integer
  12720. canrecommend:
  12721. description: 是否可推荐 - 0:不可 1;可
  12722. type: integer
  12723. createtime:
  12724. description: 创建时间
  12725. type: string
  12726. creatorid:
  12727. description: 创建人
  12728. type: integer
  12729. hasauth:
  12730. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12731. type: integer
  12732. isanonymous:
  12733. description: 是否匿名下单 - 0:否 1:是
  12734. type: integer
  12735. maxinvestornum:
  12736. description: 最大用户数(经纪会员下投资者个数)
  12737. type: integer
  12738. memberuserid:
  12739. description: 所属会员ID
  12740. type: integer
  12741. modifierid:
  12742. description: 修改人
  12743. type: integer
  12744. modifyremark:
  12745. description: 变更备注
  12746. type: string
  12747. modifystatus:
  12748. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12749. type: integer
  12750. modifytime:
  12751. description: 修改时间
  12752. type: string
  12753. parenttopuser:
  12754. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12755. type: string
  12756. parentuserid:
  12757. description: 所属机构ID
  12758. type: integer
  12759. reckonaccountid:
  12760. description: 默认结算资金账号ID(机构分润使用) 作废
  12761. type: integer
  12762. refercount:
  12763. description: 推荐总人数
  12764. type: integer
  12765. refereeuserid:
  12766. description: 推荐人ID
  12767. type: integer
  12768. refernum:
  12769. description: 推荐码
  12770. type: string
  12771. rootuserid:
  12772. description: 根用户ID
  12773. type: integer
  12774. subaccountlevel:
  12775. description: 子账户层数
  12776. type: integer
  12777. subarealevelpath:
  12778. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12779. type: string
  12780. userid:
  12781. description: 用户ID
  12782. type: integer
  12783. usertype:
  12784. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12785. type: integer
  12786. required:
  12787. - userid
  12788. type: object
  12789. models.Userfavoritegoods:
  12790. properties:
  12791. goodsid:
  12792. description: 商品ID
  12793. type: integer
  12794. required:
  12795. - goodsid
  12796. type: object
  12797. models.Userinfo:
  12798. properties:
  12799. address:
  12800. description: 地址
  12801. type: string
  12802. attachment1:
  12803. description: 附件1
  12804. type: string
  12805. attachment2:
  12806. description: 附件2
  12807. type: string
  12808. bankaccount:
  12809. description: 银行帐号 (加密存储)
  12810. type: string
  12811. bankaccountname:
  12812. description: 收款人名称
  12813. type: string
  12814. bankcardfrontphotourl:
  12815. description: 银行卡正面照地址
  12816. type: string
  12817. bankid:
  12818. description: 银行编码
  12819. type: string
  12820. bankname:
  12821. description: 银行名称
  12822. type: string
  12823. biznature:
  12824. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12825. type: integer
  12826. bizscope:
  12827. description: 企业经营范围(企业)
  12828. type: string
  12829. cardbackphotourl:
  12830. description: 证件背面图片地址
  12831. type: string
  12832. cardfrontphotourl:
  12833. description: 证件正面图片地址
  12834. type: string
  12835. cardnum:
  12836. description: 证件号码(加密存储)
  12837. type: string
  12838. cardtypeid:
  12839. description: 证件类型ID
  12840. type: integer
  12841. cityid:
  12842. description: 市
  12843. type: integer
  12844. company:
  12845. description: 公司(个人)
  12846. type: string
  12847. contactname:
  12848. description: 联系人
  12849. type: string
  12850. countryid:
  12851. description: 国家
  12852. type: integer
  12853. createtime:
  12854. description: 创建时间
  12855. type: string
  12856. creatorid:
  12857. description: 创建人
  12858. type: integer
  12859. customername:
  12860. description: 客户名称(企业名称)
  12861. type: string
  12862. districtid:
  12863. description: 地区
  12864. type: integer
  12865. email:
  12866. description: 邮件(加密存储)
  12867. type: string
  12868. fax:
  12869. description: 传真(加密存储)
  12870. type: string
  12871. halfbodyphotourl:
  12872. description: 半身照地址
  12873. type: string
  12874. hasencrypt:
  12875. description: 数据是否已加密 - 0:未加密 1:已加密
  12876. type: integer
  12877. headurl:
  12878. description: 头像地址
  12879. type: string
  12880. legalcardbackphotourl:
  12881. description: 法人身份证背面照地址
  12882. type: string
  12883. legalcardfrontphotourl:
  12884. description: 法人身份证正面照地址
  12885. type: string
  12886. legalpersonname:
  12887. description: 法人姓名(企业)
  12888. type: string
  12889. mobile:
  12890. description: 手机号码(加密存储)
  12891. type: string
  12892. mobile2:
  12893. description: 手机号码[明文-尚志]
  12894. type: string
  12895. modifierid:
  12896. description: 修改人
  12897. type: integer
  12898. modifiertime:
  12899. description: 修改时间
  12900. type: string
  12901. needinvoice:
  12902. description: 是否需要发票 - 0:不需要 1:需要
  12903. type: integer
  12904. nickname:
  12905. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  12906. type: string
  12907. openmode:
  12908. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  12909. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  12910. type: integer
  12911. otherurl:
  12912. description: 其它图片地址[使用分号分隔]
  12913. type: string
  12914. postalcode:
  12915. description: 邮政编码
  12916. type: string
  12917. provinceid:
  12918. description: 省
  12919. type: integer
  12920. qq:
  12921. description: QQ(加密存储
  12922. type: string
  12923. remark:
  12924. description: 备注
  12925. type: string
  12926. sex:
  12927. description: '用户性别 0: 女 1: 男'
  12928. type: integer
  12929. signpdfurl:
  12930. description: 签约pdf文件
  12931. type: string
  12932. telphone:
  12933. description: 联系电话(加密存储)
  12934. type: string
  12935. userid:
  12936. description: 用户ID
  12937. type: integer
  12938. userinfotype:
  12939. description: 用户信息类型 - 1:个人 2:企业
  12940. type: integer
  12941. userstatus:
  12942. description: 用户状态 - 1:正常 2:注销
  12943. type: integer
  12944. usertype:
  12945. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  12946. type: integer
  12947. wechat:
  12948. description: 微信(加密存储)
  12949. type: string
  12950. wskhinfo:
  12951. description: 开户申请信息(JSON)
  12952. type: string
  12953. required:
  12954. - userid
  12955. type: object
  12956. models.WRSConverTDetail:
  12957. properties:
  12958. convertratio:
  12959. description: 套保系数
  12960. type: number
  12961. deliverygoodscode:
  12962. description: 现货商品代码
  12963. type: string
  12964. deliverygoodsid:
  12965. description: 现货品种ID
  12966. type: integer
  12967. deliverygoodsname:
  12968. description: 现货商品名称
  12969. type: string
  12970. enumdicname:
  12971. description: 单位名称
  12972. type: string
  12973. goodsunitid:
  12974. description: 套保品种单位id
  12975. type: integer
  12976. middlegoodscode:
  12977. description: 套保品种代码
  12978. type: string
  12979. middlegoodsid:
  12980. description: 套保品种ID
  12981. type: integer
  12982. middlegoodsname:
  12983. description: 套保品种名称
  12984. type: string
  12985. modifytime:
  12986. description: 修改时间
  12987. type: string
  12988. wrstandardid:
  12989. description: 品类ID
  12990. type: integer
  12991. type: object
  12992. models.WRStandardInfo:
  12993. properties:
  12994. areauserid:
  12995. description: 所属机构
  12996. type: integer
  12997. convertfactor:
  12998. description: 标仓系数
  12999. type: number
  13000. createtime:
  13001. description: 创建时间
  13002. type: string
  13003. creatorid:
  13004. description: 创建人
  13005. type: integer
  13006. deliverygoodsid:
  13007. description: 品种ID
  13008. type: integer
  13009. deliverygoodsname:
  13010. description: 交割商品名称
  13011. type: string
  13012. factoryitemjson:
  13013. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13014. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13015. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13016. 逗号分隔'
  13017. type: string
  13018. isvalid:
  13019. description: 是否有效 - 0:无效 1:有效
  13020. type: integer
  13021. minivalue:
  13022. description: 最小变动值
  13023. type: integer
  13024. minivaluedp:
  13025. description: 最小变动值小数位
  13026. type: integer
  13027. realminivalue:
  13028. description: 实际最小变动值
  13029. type: integer
  13030. realminivaluedp:
  13031. description: 实际最小变动值小数位
  13032. type: integer
  13033. remark:
  13034. description: 备注
  13035. type: string
  13036. unitid:
  13037. description: 单位ID
  13038. type: integer
  13039. unitname:
  13040. description: 单位
  13041. type: string
  13042. updatetime:
  13043. description: 更新时间
  13044. type: string
  13045. updatorid:
  13046. description: 更新人
  13047. type: integer
  13048. wrsstatus:
  13049. description: 状态 - 作废 - 0:未激活 1:正常
  13050. type: integer
  13051. wrstandardcode:
  13052. description: 现货品类代码
  13053. type: string
  13054. wrstandardid:
  13055. description: 现货品类ID(SEQ_WRSTANDARD)
  13056. type: integer
  13057. wrstandardname:
  13058. description: 现货品类名称
  13059. type: string
  13060. required:
  13061. - wrstandardid
  13062. type: object
  13063. models.Warehouseinfo:
  13064. properties:
  13065. address:
  13066. description: 详细地址
  13067. type: string
  13068. areauserid:
  13069. description: 所属机构
  13070. type: integer
  13071. autoid:
  13072. description: 自增ID
  13073. type: integer
  13074. cityid:
  13075. description: 市
  13076. type: integer
  13077. contactname:
  13078. description: 联系人
  13079. type: string
  13080. contactnum:
  13081. description: 联系电话
  13082. type: string
  13083. countryid:
  13084. description: 国家
  13085. type: integer
  13086. createtime:
  13087. description: 创建时间
  13088. type: string
  13089. districtid:
  13090. description: 区
  13091. type: integer
  13092. hasvideo:
  13093. description: 是否有视频 - 0:无 1:有
  13094. type: integer
  13095. provinceid:
  13096. description: 省
  13097. type: integer
  13098. remark:
  13099. description: 审核备注
  13100. type: string
  13101. videourl:
  13102. description: 视频地址
  13103. type: string
  13104. warehousecode:
  13105. description: 仓库代码
  13106. type: string
  13107. warehousename:
  13108. description: 仓库名称
  13109. type: string
  13110. warehousestatus:
  13111. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13112. type: integer
  13113. warehousetype:
  13114. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13115. type: integer
  13116. required:
  13117. - autoid
  13118. - warehousecode
  13119. type: object
  13120. order.QueryHisTradeDetailRsp:
  13121. properties:
  13122. accountid:
  13123. description: 账户ID[报价币种]
  13124. type: integer
  13125. advanceratio:
  13126. description: 首付比率
  13127. type: number
  13128. buildtype:
  13129. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13130. type: integer
  13131. buyorsell:
  13132. description: 方向 - 0:买 1:卖
  13133. type: integer
  13134. charge:
  13135. description: 手续费
  13136. type: number
  13137. closecharge:
  13138. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13139. type: number
  13140. closeexchagechargevalue:
  13141. description: 平仓交易所手续费设置值
  13142. type: number
  13143. closefeealgorithm:
  13144. description: 平仓手续费收取方式 1:比率 2:固定
  13145. type: integer
  13146. closememberchargevalue:
  13147. description: 平仓会员手续费设置值
  13148. type: number
  13149. closepl:
  13150. description: 平仓盈亏
  13151. type: number
  13152. closepl2:
  13153. description: 平仓盈亏[逐笔]
  13154. type: number
  13155. closeqty:
  13156. description: 平仓数量(先建后平操作 需要记录)
  13157. type: number
  13158. creditamount:
  13159. description: 授信金额
  13160. type: number
  13161. decimalplace:
  13162. description: 商品报价小数位
  13163. type: integer
  13164. enumdicname:
  13165. description: 单位名称
  13166. type: string
  13167. gcaccountid:
  13168. description: 账户ID[合约币种]
  13169. type: integer
  13170. goodscode:
  13171. description: 商品代码
  13172. type: string
  13173. goodsid:
  13174. description: 商品ID
  13175. type: integer
  13176. goodsname:
  13177. description: 商品名称
  13178. type: string
  13179. goodunitid:
  13180. description: 商品单位id
  13181. type: integer
  13182. histradedate:
  13183. description: 历史交易日
  13184. type: string
  13185. intclosepl:
  13186. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13187. type: integer
  13188. isconfirmexercise:
  13189. description: 是否确认行权- 0:否 1:是
  13190. type: integer
  13191. ismain:
  13192. description: 是否主单 - 0:不是 1:是
  13193. type: integer
  13194. ispreexercise:
  13195. description: 是否预申报- 0:否 1:是
  13196. type: integer
  13197. isreckoned:
  13198. description: 是否结算 - 0:未结算 1:已结算
  13199. type: integer
  13200. isvaliddata:
  13201. description: 是否有效 - 0:无效 1:有效
  13202. type: integer
  13203. listingselecttype:
  13204. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13205. type: integer
  13206. marketid:
  13207. description: 市场ID
  13208. type: integer
  13209. marketname:
  13210. description: 市场名称
  13211. type: string
  13212. matchaccountid:
  13213. description: 对手账号id
  13214. type: integer
  13215. memberuserid:
  13216. description: 会员id 个人投资者 需要填写
  13217. type: integer
  13218. opencharge:
  13219. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13220. type: number
  13221. openexchagechargevalue:
  13222. description: 建仓交易所手续费设置值
  13223. type: number
  13224. openfeealgorithm:
  13225. description: 建仓手续费收取方式 1:比率 2:固定
  13226. type: integer
  13227. openmemberchargevalue:
  13228. description: 建仓会员手续费设置值
  13229. type: number
  13230. openqty:
  13231. description: 开仓数量(先建后平操作 需要记录)
  13232. type: number
  13233. optiontype:
  13234. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13235. type: integer
  13236. orderid:
  13237. description: 委托单号
  13238. type: string
  13239. payamount:
  13240. description: 支付金额(付款金额)
  13241. type: number
  13242. performanceplanid:
  13243. description: 履约计划ID[期权]
  13244. type: integer
  13245. performancestatus:
  13246. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13247. type: integer
  13248. preexerciseprice:
  13249. description: 预申报价格
  13250. type: number
  13251. premium:
  13252. description: 权利金 - [持仓单的权利金]
  13253. type: number
  13254. qtydecimalplace:
  13255. description: 商品报价小数位
  13256. type: integer
  13257. recvamount:
  13258. description: 到账金额 = 成交金额 - 手续费
  13259. type: number
  13260. relatedouttradeid:
  13261. description: 关联外部成交单ID
  13262. type: integer
  13263. status:
  13264. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13265. type: integer
  13266. totalamount:
  13267. description: 订单总额 = 成交金额 + 手续费
  13268. type: number
  13269. tradeamount:
  13270. description: 成交金额[账户币种,用于所有权]
  13271. type: number
  13272. tradedate:
  13273. description: 交易日(yyyyMMdd)
  13274. type: string
  13275. tradeid:
  13276. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13277. type: string
  13278. trademode:
  13279. description: 交易模式
  13280. type: integer
  13281. tradeprice:
  13282. description: 成交价格
  13283. type: number
  13284. tradeproperty:
  13285. description: 交易属性
  13286. type: integer
  13287. tradeqty:
  13288. description: 成交数量
  13289. type: number
  13290. tradetime:
  13291. description: 成交时间
  13292. type: string
  13293. tradetype:
  13294. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13295. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13296. type: integer
  13297. required:
  13298. - accountid
  13299. - buyorsell
  13300. - goodsid
  13301. - histradedate
  13302. - marketid
  13303. - memberuserid
  13304. - orderid
  13305. - tradeamount
  13306. - tradedate
  13307. - tradeid
  13308. - tradeprice
  13309. - tradeqty
  13310. - tradetime
  13311. type: object
  13312. order.QueryHisTradeOrderDetailRsp:
  13313. properties:
  13314. accountid:
  13315. description: 账户ID[报价币种]
  13316. type: integer
  13317. buildtype:
  13318. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13319. type: integer
  13320. buyorsell:
  13321. description: 买卖 - 0:买 1:卖
  13322. type: integer
  13323. cancelorderid:
  13324. description: 撤单单号(撤单时填写)
  13325. type: string
  13326. cancelqty:
  13327. description: 撤单数量
  13328. type: number
  13329. clientordertime:
  13330. description: 客户端委托时间
  13331. type: string
  13332. clientticket:
  13333. description: 客户端流水号
  13334. type: string
  13335. clienttype:
  13336. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13337. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13338. type: integer
  13339. closeexchagechargevalue:
  13340. description: 平仓交易所手续费设置值
  13341. type: number
  13342. closefeealgorithm:
  13343. description: 平仓手续费收取方式 1:比率 2:固定
  13344. type: integer
  13345. closefreezecharge:
  13346. description: 平仓冻结手续费(先建后平操作,需要记录)
  13347. type: number
  13348. closememberchargevalue:
  13349. description: 平仓会员手续费设置值
  13350. type: number
  13351. closeqty:
  13352. description: 平仓数量(先建后平操作 需要记录)
  13353. type: number
  13354. closetradeqty:
  13355. description: 平仓成交数量(先建后平操作,需要记录)
  13356. type: number
  13357. closeunfreezecharge:
  13358. description: 平仓解冻手续费(先建后平操作,需要记录)
  13359. type: number
  13360. decimalplace:
  13361. description: 商品报价小数位
  13362. type: integer
  13363. delistingtype:
  13364. description: 摘牌类型 - 1:价格最优 2:点选成交
  13365. type: integer
  13366. enumdicname:
  13367. description: 单位名称
  13368. type: string
  13369. freezecharge:
  13370. description: 冻结手续费
  13371. type: number
  13372. freezemargin:
  13373. description: 冻结保证金(冻结交易金额)
  13374. type: number
  13375. gcaccountid:
  13376. description: 账户ID[合约币种]
  13377. type: integer
  13378. goodscode:
  13379. description: 商品代码
  13380. type: string
  13381. goodsid:
  13382. description: 商品ID
  13383. type: integer
  13384. goodsname:
  13385. description: 商品名称
  13386. type: string
  13387. goodunitid:
  13388. description: 商品单位id
  13389. type: integer
  13390. histradedate:
  13391. description: 历史交易日
  13392. type: string
  13393. isconfirmexercise:
  13394. description: 是否确认行权- 0:否 1:是
  13395. type: integer
  13396. ispreexercise:
  13397. description: 是否预申报- 0:否 1:是
  13398. type: integer
  13399. isvaliddata:
  13400. description: 是否有效 - 0:无效 1:有效
  13401. type: integer
  13402. listingselecttype:
  13403. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13404. type: integer
  13405. marginalgorithm:
  13406. description: 保证金收取方式 1:比率 2:固定
  13407. type: integer
  13408. marginvalue:
  13409. description: 即市保证金设置值
  13410. type: number
  13411. marketid:
  13412. description: 市场ID
  13413. type: integer
  13414. marketmaxsub:
  13415. description: 市价最大偏移范围
  13416. type: number
  13417. marketname:
  13418. description: 市场名称
  13419. type: string
  13420. memberuserid:
  13421. description: 所属会员UserID
  13422. type: integer
  13423. openexchagechargevalue:
  13424. description: 建仓交易所手续费设置值
  13425. type: number
  13426. openfeealgorithm:
  13427. description: 建仓手续费收取方式 1:比率 2:固定
  13428. type: integer
  13429. openfreezecharge:
  13430. description: 开仓冻结手续费(先建后平操作,需要记录)
  13431. type: number
  13432. openmemberchargevalue:
  13433. description: 建仓会员手续费设置值
  13434. type: number
  13435. openqty:
  13436. description: 开仓数量(先建后平操作,需要记录)
  13437. type: number
  13438. opentradeqty:
  13439. description: 开仓成交数量(先建后平操作,需要记录)
  13440. type: number
  13441. openunfreezecharge:
  13442. description: 开仓解冻手续费(先建后平操作,需要记录)
  13443. type: number
  13444. operatetype:
  13445. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13446. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13447. 15:管理端协议转让
  13448. type: integer
  13449. operatorid:
  13450. description: 登录账号(LoginID)
  13451. type: integer
  13452. optiontype:
  13453. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13454. type: integer
  13455. orderid:
  13456. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13457. type: string
  13458. orderprice:
  13459. description: 委托价格
  13460. type: number
  13461. orderqty:
  13462. description: 委托数量
  13463. type: number
  13464. ordersrc:
  13465. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13466. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13467. type: integer
  13468. orderstatus:
  13469. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13470. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13471. 16:成交失败违约(荷兰式竞拍专用)
  13472. type: integer
  13473. ordertime:
  13474. description: 委托时间
  13475. type: string
  13476. preexerciseprice:
  13477. description: 预申报价格
  13478. type: number
  13479. premium:
  13480. description: 权利金
  13481. type: number
  13482. preorderid:
  13483. description: 关联预埋单号(止盈止损单时填写)
  13484. type: string
  13485. pricemode:
  13486. description: '取价方式 - 1:市价 2: 限价'
  13487. type: integer
  13488. qtydecimalplace:
  13489. description: 成交量小数位
  13490. type: integer
  13491. quoteid:
  13492. description: 报价单ID
  13493. type: integer
  13494. relatedid:
  13495. description: 关联单号(交割单)
  13496. type: string
  13497. retcode:
  13498. description: 错误代码
  13499. type: integer
  13500. sessionid:
  13501. description: 会话ID
  13502. type: integer
  13503. tradedate:
  13504. description: 交易日(yyyyMMdd)
  13505. type: string
  13506. trademode:
  13507. description: 交易模式
  13508. type: integer
  13509. tradeproperty:
  13510. description: 交易属性
  13511. type: integer
  13512. tradeqty:
  13513. description: 成交数量
  13514. type: number
  13515. unfreezecharge:
  13516. description: 解冻手续费
  13517. type: number
  13518. unfreezemargin:
  13519. description: 解冻保证金
  13520. type: number
  13521. updatetime:
  13522. description: 更新时间
  13523. type: string
  13524. uuid:
  13525. description: 发起端唯一id
  13526. type: string
  13527. validtime:
  13528. description: 有效期限
  13529. type: string
  13530. validtype:
  13531. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13532. type: integer
  13533. volumetype:
  13534. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13535. type: integer
  13536. required:
  13537. - accountid
  13538. - buildtype
  13539. - buyorsell
  13540. - goodsid
  13541. - histradedate
  13542. - marketid
  13543. - memberuserid
  13544. - operatetype
  13545. - orderid
  13546. - orderqty
  13547. - ordertime
  13548. - pricemode
  13549. - tradedate
  13550. - validtype
  13551. type: object
  13552. order.QueryTradeDetailRsp:
  13553. properties:
  13554. accountid:
  13555. description: 账户ID[报价币种]
  13556. type: integer
  13557. advanceratio:
  13558. description: 首付比率
  13559. type: number
  13560. buildtype:
  13561. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13562. type: integer
  13563. buyorsell:
  13564. description: 方向 - 0:买 1:卖
  13565. type: integer
  13566. charge:
  13567. description: 手续费
  13568. type: number
  13569. closecharge:
  13570. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13571. type: number
  13572. closeexchagechargevalue:
  13573. description: 平仓交易所手续费设置值
  13574. type: number
  13575. closefeealgorithm:
  13576. description: 平仓手续费收取方式 1:比率 2:固定
  13577. type: integer
  13578. closememberchargevalue:
  13579. description: 平仓会员手续费设置值
  13580. type: number
  13581. closepl:
  13582. description: 平仓盈亏
  13583. type: number
  13584. closepl2:
  13585. description: 平仓盈亏[逐笔]
  13586. type: number
  13587. closeqty:
  13588. description: 平仓数量(先建后平操作 需要记录)
  13589. type: number
  13590. creditamount:
  13591. description: 授信金额
  13592. type: number
  13593. decimalplace:
  13594. description: 商品报价小数位
  13595. type: integer
  13596. enumdicname:
  13597. description: 单位名称
  13598. type: string
  13599. gcaccountid:
  13600. description: 账户ID[合约币种]
  13601. type: integer
  13602. goodscode:
  13603. description: 商品代码
  13604. type: string
  13605. goodsid:
  13606. description: 商品ID
  13607. type: integer
  13608. goodsname:
  13609. description: 商品名称
  13610. type: string
  13611. goodunitid:
  13612. description: 商品单位id
  13613. type: integer
  13614. intclosepl:
  13615. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13616. type: integer
  13617. isconfirmexercise:
  13618. description: 是否确认行权- 0:否 1:是
  13619. type: integer
  13620. ismain:
  13621. description: 是否主单 - 0:不是 1:是
  13622. type: integer
  13623. ispreexercise:
  13624. description: 是否预申报- 0:否 1:是
  13625. type: integer
  13626. isreckoned:
  13627. description: 是否结算 - 0:未结算 1:已结算
  13628. type: integer
  13629. listingselecttype:
  13630. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13631. type: integer
  13632. marketid:
  13633. description: 市场ID
  13634. type: integer
  13635. marketname:
  13636. description: 市场名称
  13637. type: string
  13638. matchaccountid:
  13639. description: 对手账号id
  13640. type: integer
  13641. memberuserid:
  13642. description: 会员id 个人投资者 需要填写
  13643. type: integer
  13644. opencharge:
  13645. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13646. type: number
  13647. openexchagechargevalue:
  13648. description: 建仓交易所手续费设置值
  13649. type: number
  13650. openfeealgorithm:
  13651. description: 建仓手续费收取方式 1:比率 2:固定
  13652. type: integer
  13653. openmemberchargevalue:
  13654. description: 建仓会员手续费设置值
  13655. type: number
  13656. openqty:
  13657. description: 开仓数量(先建后平操作 需要记录)
  13658. type: number
  13659. optiontype:
  13660. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13661. type: integer
  13662. orderid:
  13663. description: 委托单号
  13664. type: string
  13665. payamount:
  13666. description: 支付金额(付款金额)
  13667. type: number
  13668. performanceplanid:
  13669. description: 履约计划ID[期权]
  13670. type: integer
  13671. performancestatus:
  13672. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13673. type: integer
  13674. preexerciseprice:
  13675. description: 预申报价格
  13676. type: number
  13677. premium:
  13678. description: 权利金 - [持仓单的权利金]
  13679. type: number
  13680. qtydecimalplace:
  13681. description: 商品报价小数位
  13682. type: integer
  13683. recvamount:
  13684. description: 到账金额 = 成交金额 - 手续费
  13685. type: number
  13686. relatedouttradeid:
  13687. description: 关联外部成交单ID
  13688. type: integer
  13689. status:
  13690. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13691. type: integer
  13692. totalamount:
  13693. description: 订单总额 = 成交金额 + 手续费
  13694. type: number
  13695. tradeamount:
  13696. description: 成交金额[账户币种,用于所有权]
  13697. type: number
  13698. tradedate:
  13699. description: 交易日(yyyyMMdd)
  13700. type: string
  13701. tradeid:
  13702. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13703. type: string
  13704. trademode:
  13705. description: 交易模式
  13706. type: integer
  13707. tradeprice:
  13708. description: 成交价格
  13709. type: number
  13710. tradeproperty:
  13711. description: 交易属性
  13712. type: integer
  13713. tradeqty:
  13714. description: 成交数量
  13715. type: number
  13716. tradetime:
  13717. description: 成交时间
  13718. type: string
  13719. tradetype:
  13720. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13721. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13722. type: integer
  13723. required:
  13724. - accountid
  13725. - buyorsell
  13726. - goodsid
  13727. - marketid
  13728. - memberuserid
  13729. - orderid
  13730. - tradeamount
  13731. - tradedate
  13732. - tradeid
  13733. - tradeprice
  13734. - tradeqty
  13735. - tradetime
  13736. type: object
  13737. order.QueryTradeOrderDetailRsp:
  13738. properties:
  13739. accountid:
  13740. description: 账户ID[报价币种]
  13741. type: integer
  13742. buildtype:
  13743. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13744. type: integer
  13745. buyorsell:
  13746. description: 买卖 - 0:买 1:卖
  13747. type: integer
  13748. cancelorderid:
  13749. description: 撤单单号(撤单时填写)
  13750. type: string
  13751. cancelqty:
  13752. description: 撤单数量
  13753. type: number
  13754. clienttype:
  13755. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13756. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13757. type: integer
  13758. closefreezecharge:
  13759. description: 平仓冻结手续费(先建后平操作,需要记录)
  13760. type: number
  13761. closeqty:
  13762. description: 平仓数量(先建后平操作 需要记录)
  13763. type: number
  13764. closetradeqty:
  13765. description: 平仓成交数量(先建后平操作,需要记录)
  13766. type: number
  13767. closeunfreezecharge:
  13768. description: 平仓解冻手续费(先建后平操作,需要记录)
  13769. type: number
  13770. decimalplace:
  13771. description: 商品报价小数位
  13772. type: integer
  13773. delistingtype:
  13774. description: 摘牌类型 - 1:价格最优 2:点选成交
  13775. type: integer
  13776. enableqty:
  13777. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  13778. type: number
  13779. enumdicname:
  13780. description: 单位名称
  13781. type: string
  13782. freezecharge:
  13783. description: 冻结手续费
  13784. type: number
  13785. freezemargin:
  13786. description: 冻结保证金(冻结交易金额)
  13787. type: number
  13788. goodscode:
  13789. description: 商品代码
  13790. type: string
  13791. goodsid:
  13792. description: 商品ID
  13793. type: integer
  13794. goodsname:
  13795. description: 商品名称
  13796. type: string
  13797. goodunitid:
  13798. description: 商品单位id
  13799. type: integer
  13800. listingselecttype:
  13801. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13802. type: integer
  13803. marketid:
  13804. description: 市场ID
  13805. type: integer
  13806. marketname:
  13807. description: 市场名称
  13808. type: string
  13809. openfreezecharge:
  13810. description: 开仓冻结手续费(先建后平操作,需要记录)
  13811. type: number
  13812. openqty:
  13813. description: 开仓数量(先建后平操作,需要记录)
  13814. type: number
  13815. opentradeqty:
  13816. description: 开仓成交数量(先建后平操作,需要记录)
  13817. type: number
  13818. openunfreezecharge:
  13819. description: 开仓解冻手续费(先建后平操作,需要记录)
  13820. type: number
  13821. operatetype:
  13822. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13823. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13824. 15:管理端协议转让
  13825. type: integer
  13826. operatorid:
  13827. description: 登录账号(LoginID)
  13828. type: integer
  13829. orderid:
  13830. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13831. type: string
  13832. orderprice:
  13833. description: 委托价格
  13834. type: number
  13835. orderqty:
  13836. description: 委托数量
  13837. type: number
  13838. ordersrc:
  13839. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13840. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13841. type: integer
  13842. orderstatus:
  13843. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13844. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13845. 16:成交失败违约(荷兰式竞拍专用)
  13846. type: integer
  13847. ordertime:
  13848. description: 委托时间
  13849. type: string
  13850. preorderid:
  13851. description: 关联预埋单号(止盈止损单时填写)
  13852. type: string
  13853. pricemode:
  13854. description: '取价方式 - 1:市价 2: 限价'
  13855. type: integer
  13856. qtydecimalplace:
  13857. description: 商品报价小数位
  13858. type: integer
  13859. relatedid:
  13860. description: 关联单号(交割单)
  13861. type: string
  13862. tradedate:
  13863. description: 交易日(yyyyMMdd)
  13864. type: string
  13865. trademode:
  13866. description: 交易模式
  13867. type: integer
  13868. tradeqty:
  13869. description: 成交数量
  13870. type: number
  13871. unfreezecharge:
  13872. description: 解冻手续费
  13873. type: number
  13874. unfreezemargin:
  13875. description: 解冻保证金
  13876. type: number
  13877. validtime:
  13878. description: 有效期限
  13879. type: string
  13880. validtype:
  13881. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13882. type: integer
  13883. volumetype:
  13884. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13885. type: integer
  13886. required:
  13887. - accountid
  13888. - buildtype
  13889. - buyorsell
  13890. - goodsid
  13891. - marketid
  13892. - operatetype
  13893. - orderqty
  13894. - ordertime
  13895. - pricemode
  13896. - tradedate
  13897. - validtype
  13898. type: object
  13899. order.QueryTradePositionRsp:
  13900. properties:
  13901. accountid:
  13902. description: 资金账户
  13903. type: integer
  13904. agreeunit:
  13905. description: 合约单位
  13906. type: number
  13907. averageprice:
  13908. description: 持仓均价
  13909. type: number
  13910. buyorsell:
  13911. description: 方向 - 0:买 1:卖
  13912. type: integer
  13913. closetotalqty:
  13914. description: 平仓总数量
  13915. type: number
  13916. curholderamount:
  13917. description: 当前持仓总金额[商品币种]
  13918. type: number
  13919. curpositionqty:
  13920. description: 当前持仓总数量
  13921. type: number
  13922. currencyid:
  13923. description: 报价货币ID
  13924. type: integer
  13925. curtdposition:
  13926. description: 期末今日头寸
  13927. type: number
  13928. decimalplace:
  13929. description: 报价小数位
  13930. type: integer
  13931. enableqty:
  13932. description: 可用量
  13933. type: number
  13934. fretdposition:
  13935. description: 冻结今日头寸
  13936. type: number
  13937. frozenqty:
  13938. description: 持仓冻结数量
  13939. type: number
  13940. goodscode:
  13941. description: 商品代码
  13942. type: string
  13943. goodsid:
  13944. description: 商品Id
  13945. type: integer
  13946. goodsname:
  13947. description: 商品名称
  13948. type: string
  13949. goodunit:
  13950. description: 报价单位
  13951. type: string
  13952. goodunitid:
  13953. description: 报价单位ID
  13954. type: integer
  13955. holderamount:
  13956. description: 期初持仓总金额[商品币种]
  13957. type: number
  13958. lastprice:
  13959. description: 最新价
  13960. type: number
  13961. marketamount:
  13962. description: 市值
  13963. type: number
  13964. marketid:
  13965. description: 所属市场ID
  13966. type: integer
  13967. openreqqty:
  13968. description: 开仓申请数量(用于比较最大持仓数量)
  13969. type: number
  13970. opentotalqty:
  13971. description: 开仓总数量
  13972. type: number
  13973. otherfrozenqty:
  13974. description: 持仓其他冻结数量(交割冻结)
  13975. type: number
  13976. positionpl:
  13977. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  13978. * 合约单位
  13979. type: number
  13980. positionplrate:
  13981. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  13982. type: number
  13983. positionqty:
  13984. description: 期初持仓数量
  13985. type: number
  13986. qtydecimalplace:
  13987. description: 成交量小数位
  13988. type: integer
  13989. tnqty:
  13990. description: T+N冻结总量
  13991. type: number
  13992. tnusedqty:
  13993. description: T+N使用量(可以使用T+N的冻结数量)
  13994. type: number
  13995. trademode:
  13996. description: 交易模式
  13997. type: integer
  13998. usedmargin:
  13999. description: 占用保证金[商品币种]
  14000. type: number
  14001. required:
  14002. - goodsid
  14003. type: object
  14004. quote.HistoryData:
  14005. properties:
  14006. c:
  14007. description: 收盘价
  14008. type: number
  14009. f:
  14010. description: 是否补充数据
  14011. type: boolean
  14012. h:
  14013. description: 最高价
  14014. type: number
  14015. hv:
  14016. description: 持仓量
  14017. type: integer
  14018. l:
  14019. description: 最低价
  14020. type: number
  14021. o:
  14022. description: 开盘价
  14023. type: number
  14024. s:
  14025. description: 结算价,日线周期(包括)以上才有
  14026. type: number
  14027. ts:
  14028. description: 时间
  14029. type: string
  14030. tt:
  14031. description: 总金额
  14032. type: number
  14033. tv:
  14034. description: 总量
  14035. type: integer
  14036. type: object
  14037. quote.HistoryTikData:
  14038. properties:
  14039. AV:
  14040. description: 卖量
  14041. type: integer
  14042. Ask:
  14043. description: 卖价
  14044. type: number
  14045. BV:
  14046. description: 买量
  14047. type: integer
  14048. Bid:
  14049. description: 买价
  14050. type: number
  14051. HI:
  14052. description: 单笔持仓
  14053. type: integer
  14054. HV:
  14055. description: 持仓量
  14056. type: integer
  14057. PE:
  14058. description: 现价
  14059. type: number
  14060. TDR:
  14061. description: 交易方向,0:买 1:卖
  14062. type: integer
  14063. TK:
  14064. description: 交易类型
  14065. type: integer
  14066. TS:
  14067. description: 行情时间文本
  14068. type: string
  14069. TT:
  14070. description: 现金额
  14071. type: number
  14072. Vol:
  14073. description: 现量
  14074. type: integer
  14075. type: object
  14076. quote.QueryQuoteDayRsp:
  14077. properties:
  14078. ask:
  14079. description: 卖1
  14080. type: number
  14081. ask2:
  14082. description: 卖2
  14083. type: number
  14084. ask3:
  14085. description: 卖3
  14086. type: number
  14087. ask4:
  14088. description: 卖4
  14089. type: number
  14090. ask5:
  14091. description: 卖5
  14092. type: number
  14093. ask6:
  14094. description: 卖6
  14095. type: number
  14096. ask7:
  14097. description: 卖7
  14098. type: number
  14099. ask8:
  14100. description: 卖8
  14101. type: number
  14102. ask9:
  14103. description: 卖9
  14104. type: number
  14105. ask10:
  14106. description: 卖10
  14107. type: number
  14108. askorderid:
  14109. description: 卖单号1
  14110. type: integer
  14111. askorderid2:
  14112. description: 卖单号2
  14113. type: integer
  14114. askorderid3:
  14115. description: 卖单号3
  14116. type: integer
  14117. askorderid4:
  14118. description: 卖单号4
  14119. type: integer
  14120. askorderid5:
  14121. description: 卖单号5
  14122. type: integer
  14123. askordervolume:
  14124. description: 卖单量1
  14125. type: integer
  14126. askordervolume2:
  14127. description: 卖单量2
  14128. type: integer
  14129. askordervolume3:
  14130. description: 卖单量3
  14131. type: integer
  14132. askordervolume4:
  14133. description: 卖单量4
  14134. type: integer
  14135. askordervolume5:
  14136. description: 卖单量5
  14137. type: integer
  14138. askordervolume6:
  14139. description: 卖单量6
  14140. type: integer
  14141. askordervolume7:
  14142. description: 卖单量7
  14143. type: integer
  14144. askordervolume8:
  14145. description: 卖单量8
  14146. type: integer
  14147. askordervolume9:
  14148. description: 卖单量9
  14149. type: integer
  14150. askordervolume10:
  14151. description: 卖单量10
  14152. type: integer
  14153. askqueueinfo:
  14154. description: 大利市卖港股用
  14155. type: string
  14156. askvolume:
  14157. description: 卖量1
  14158. type: integer
  14159. askvolume2:
  14160. description: 卖量2
  14161. type: integer
  14162. askvolume3:
  14163. description: 卖量3
  14164. type: integer
  14165. askvolume4:
  14166. description: 卖量4
  14167. type: integer
  14168. askvolume5:
  14169. description: 卖量5
  14170. type: integer
  14171. askvolume6:
  14172. description: 卖量6
  14173. type: integer
  14174. askvolume7:
  14175. description: 卖量7
  14176. type: integer
  14177. askvolume8:
  14178. description: 卖量8
  14179. type: integer
  14180. askvolume9:
  14181. description: 卖量9
  14182. type: integer
  14183. askvolume10:
  14184. description: 卖量10
  14185. type: integer
  14186. averageprice:
  14187. description: 均价
  14188. type: number
  14189. bid:
  14190. description: 买1
  14191. type: number
  14192. bid2:
  14193. description: 买2
  14194. type: number
  14195. bid3:
  14196. description: 买3
  14197. type: number
  14198. bid4:
  14199. description: 买4
  14200. type: number
  14201. bid5:
  14202. description: 买5
  14203. type: number
  14204. bid6:
  14205. description: 买6
  14206. type: number
  14207. bid7:
  14208. description: 买7
  14209. type: number
  14210. bid8:
  14211. description: 买8
  14212. type: number
  14213. bid9:
  14214. description: 买9
  14215. type: number
  14216. bid10:
  14217. description: 买10
  14218. type: number
  14219. bidorderid:
  14220. description: 买单号1
  14221. type: integer
  14222. bidorderid2:
  14223. description: 买单号2
  14224. type: integer
  14225. bidorderid3:
  14226. description: 买单号3
  14227. type: integer
  14228. bidorderid4:
  14229. description: 买单号4
  14230. type: integer
  14231. bidorderid5:
  14232. description: 买单号5
  14233. type: integer
  14234. bidordervolume:
  14235. description: 买单量1
  14236. type: integer
  14237. bidordervolume2:
  14238. description: 买单量2
  14239. type: integer
  14240. bidordervolume3:
  14241. description: 买单量3
  14242. type: integer
  14243. bidordervolume4:
  14244. description: 买单量4
  14245. type: integer
  14246. bidordervolume5:
  14247. description: 买单量5
  14248. type: integer
  14249. bidordervolume6:
  14250. description: 买单量6
  14251. type: integer
  14252. bidordervolume7:
  14253. description: 买单量7
  14254. type: integer
  14255. bidordervolume8:
  14256. description: 买单量8
  14257. type: integer
  14258. bidordervolume9:
  14259. description: 买单量9
  14260. type: integer
  14261. bidordervolume10:
  14262. description: 买单量10
  14263. type: integer
  14264. bidqueueinfo:
  14265. description: 大利市买港股用
  14266. type: string
  14267. bidvolume:
  14268. description: 买量1
  14269. type: integer
  14270. bidvolume2:
  14271. description: 买量2
  14272. type: integer
  14273. bidvolume3:
  14274. description: 买量3
  14275. type: integer
  14276. bidvolume4:
  14277. description: 买量4
  14278. type: integer
  14279. bidvolume5:
  14280. description: 买量5
  14281. type: integer
  14282. bidvolume6:
  14283. description: 买量6
  14284. type: integer
  14285. bidvolume7:
  14286. description: 买量7
  14287. type: integer
  14288. bidvolume8:
  14289. description: 买量8
  14290. type: integer
  14291. bidvolume9:
  14292. description: 买量9
  14293. type: integer
  14294. bidvolume10:
  14295. description: 买量10
  14296. type: integer
  14297. calloptionpremiums:
  14298. description: 认购期权1
  14299. type: integer
  14300. calloptionpremiums2:
  14301. description: 认购期权2
  14302. type: integer
  14303. calloptionpremiums3:
  14304. description: 认购期权3
  14305. type: integer
  14306. calloptionpremiums4:
  14307. description: 认购期权4
  14308. type: integer
  14309. calloptionpremiums5:
  14310. description: 认购期权5
  14311. type: integer
  14312. cleartime:
  14313. description: 清盘时间
  14314. type: integer
  14315. exchangecode:
  14316. description: 交易所代码
  14317. type: integer
  14318. exchangedate:
  14319. description: 交易日
  14320. type: integer
  14321. goodscode:
  14322. description: 商品代码
  14323. type: string
  14324. grepmarketprice:
  14325. description: 暗盘价 港股专用
  14326. type: number
  14327. highest:
  14328. description: 最高价
  14329. type: number
  14330. holdincrement:
  14331. description: 单笔持仓
  14332. type: integer
  14333. holdvolume:
  14334. description: 持仓
  14335. type: integer
  14336. iep:
  14337. description: 平衡价 港股专用
  14338. type: number
  14339. iev:
  14340. description: 平衡量 港股专用
  14341. type: number
  14342. inventory:
  14343. description: 库存
  14344. type: integer
  14345. iscleared:
  14346. description: 是否清盘标志
  14347. type: integer
  14348. issettled:
  14349. description: 是否结算标志
  14350. type: integer
  14351. last:
  14352. description: 最新价
  14353. type: number
  14354. lastlot:
  14355. description: 最新成交手数
  14356. type: integer
  14357. lasttime:
  14358. description: 行情时间(只有现价变化行情时间才变化)
  14359. type: string
  14360. lastturnover:
  14361. description: 最新成交金额
  14362. type: number
  14363. lastvolume:
  14364. description: 最新成交量
  14365. type: integer
  14366. limitdown:
  14367. description: 跌停价
  14368. type: number
  14369. limitup:
  14370. description: 涨停价
  14371. type: number
  14372. lowest:
  14373. description: 最低价
  14374. type: number
  14375. nontotalholdervolume:
  14376. description: 非交易持仓量
  14377. type: integer
  14378. nontotallot:
  14379. description: 非交易总手数
  14380. type: integer
  14381. nontotalturnover:
  14382. description: 非交易总金额
  14383. type: integer
  14384. nontotalvolume:
  14385. description: 非交易总量
  14386. type: integer
  14387. opened:
  14388. description: 开盘价
  14389. type: number
  14390. opentime:
  14391. description: 开盘时间
  14392. type: string
  14393. orderid:
  14394. description: 序号
  14395. type: integer
  14396. preclose:
  14397. description: 昨收
  14398. type: number
  14399. preholdvolume:
  14400. description: 昨持仓
  14401. type: integer
  14402. presettle:
  14403. description: 昨结价
  14404. type: number
  14405. publictradetype:
  14406. description: 公共交易标志类型 港股专用
  14407. type: string
  14408. putoptionpremiums:
  14409. description: 认沽期权1
  14410. type: integer
  14411. putoptionpremiums2:
  14412. description: 认沽期权2
  14413. type: integer
  14414. putoptionpremiums3:
  14415. description: 认沽期权3
  14416. type: integer
  14417. putoptionpremiums4:
  14418. description: 认沽期权4
  14419. type: integer
  14420. putoptionpremiums5:
  14421. description: 认沽期权5
  14422. type: integer
  14423. settle:
  14424. description: 结算价
  14425. type: number
  14426. strikeprice:
  14427. description: 发行价
  14428. type: number
  14429. totalaskvolume:
  14430. description: 内盘
  14431. type: integer
  14432. totalbidvolume:
  14433. description: 外盘
  14434. type: integer
  14435. totallot:
  14436. description: 总手数
  14437. type: integer
  14438. totalturnover:
  14439. description: 总金额
  14440. type: number
  14441. totalvolume:
  14442. description: 总量
  14443. type: integer
  14444. utclasttime:
  14445. description: utc的行情时间
  14446. type: string
  14447. type: object
  14448. quote.QueryTSDataRsp:
  14449. properties:
  14450. Count:
  14451. description: 交易日应有数据个数
  14452. type: integer
  14453. decimalPlace:
  14454. description: 小数位
  14455. type: integer
  14456. endTime:
  14457. description: 结束时间
  14458. type: string
  14459. goodsCode:
  14460. description: 商品代码
  14461. type: string
  14462. historyDatas:
  14463. description: 历史数据
  14464. items:
  14465. $ref: '#/definitions/quote.HistoryData'
  14466. type: array
  14467. outGoodsCode:
  14468. description: 外部商品代码
  14469. type: string
  14470. preSettle:
  14471. description: 昨结价
  14472. type: number
  14473. runSteps:
  14474. description: 交易日开休市计划
  14475. items:
  14476. $ref: '#/definitions/quote.TSDataRunStep'
  14477. type: array
  14478. startTime:
  14479. description: 开始时间
  14480. type: string
  14481. tradeDate:
  14482. description: 交易日
  14483. type: string
  14484. type: object
  14485. quote.TSDataRunStep:
  14486. properties:
  14487. end:
  14488. description: 真实结束时间
  14489. type: string
  14490. endflag:
  14491. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  14492. type: integer
  14493. endtime:
  14494. description: 结束时间(HH:mm)
  14495. type: string
  14496. endweekday:
  14497. description: 结束周几
  14498. type: integer
  14499. groupid:
  14500. description: 分组ID
  14501. type: integer
  14502. runstep:
  14503. description: 运行阶段 - 2:连续交易
  14504. type: integer
  14505. sectionid:
  14506. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  14507. 结束时间=结算时间 结束周几=结算周几
  14508. type: integer
  14509. start:
  14510. description: 真实开始时间
  14511. type: string
  14512. startflag:
  14513. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  14514. type: integer
  14515. starttime:
  14516. description: 起始时间(HH:mm)
  14517. type: string
  14518. startweekday:
  14519. description: 起始周几
  14520. type: integer
  14521. tradeweekday:
  14522. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  14523. type: integer
  14524. type: object
  14525. szdz.QueryConvertLogRsp:
  14526. properties:
  14527. accountid:
  14528. description: 资金账户ID
  14529. type: integer
  14530. clientticket:
  14531. description: 客户端流水号
  14532. type: string
  14533. converttype:
  14534. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  14535. type: integer
  14536. createtime:
  14537. description: 记账时间
  14538. type: string
  14539. daymaxvalue:
  14540. description: 配置当日最大转入限制
  14541. type: number
  14542. daymaxvalue2:
  14543. description: 配置当日最大转入限制(转入)
  14544. type: number
  14545. goodscode:
  14546. description: 商品代码
  14547. type: string
  14548. goodsname:
  14549. description: 商品名称
  14550. type: string
  14551. handlestatus:
  14552. description: 处理状态
  14553. type: integer
  14554. innergoodsid:
  14555. description: 内部商品ID
  14556. type: integer
  14557. inratio:
  14558. description: 配置转入比值
  14559. type: integer
  14560. invalue:
  14561. description: 目标值
  14562. type: number
  14563. logid:
  14564. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14565. type: integer
  14566. mobile:
  14567. description: 手机号码(加密存储)
  14568. type: string
  14569. outergoodscode:
  14570. description: 外部商品代码[JD\PD]
  14571. type: string
  14572. outratio:
  14573. description: 配置转出比值
  14574. type: integer
  14575. outvalue:
  14576. description: 源值
  14577. type: number
  14578. pddecimalplace:
  14579. description: PD小数位
  14580. type: integer
  14581. qty:
  14582. description: 数量
  14583. type: string
  14584. remark:
  14585. description: 备注
  14586. type: string
  14587. sessionid:
  14588. description: 会话ID
  14589. type: integer
  14590. timemaxvalue:
  14591. description: 配置单次最大转入限制
  14592. type: number
  14593. timemaxvalue2:
  14594. description: 配置单次最大转入限制(转入)
  14595. type: number
  14596. timeminvalue:
  14597. description: 配置单次最小数量限制
  14598. type: number
  14599. timeminvalue2:
  14600. description: 配置单次最小数量限制(转入)
  14601. type: number
  14602. tradedate:
  14603. description: 交易日(yyyyMMdd)
  14604. type: string
  14605. userid:
  14606. description: 用户ID
  14607. type: integer
  14608. required:
  14609. - logid
  14610. type: object
  14611. szdz.QueryGoodsPickupRsp:
  14612. properties:
  14613. accountid:
  14614. description: 账户ID
  14615. type: integer
  14616. address:
  14617. description: 提货人详细地址
  14618. type: string
  14619. auditer:
  14620. description: 审核人
  14621. type: integer
  14622. audittime:
  14623. description: 审核时间
  14624. type: string
  14625. cardnum:
  14626. description: 提货人证件号码
  14627. type: string
  14628. cardtypeid:
  14629. description: 提货人证件类型
  14630. type: integer
  14631. checkremark:
  14632. description: 审核备注
  14633. type: string
  14634. goodscode:
  14635. description: 商品代码
  14636. type: string
  14637. goodsid:
  14638. description: 商品ID
  14639. type: integer
  14640. goodsname:
  14641. description: 商品名称
  14642. type: string
  14643. handlestatus:
  14644. description: 处理状态
  14645. type: integer
  14646. marketid:
  14647. description: 市场ID
  14648. type: integer
  14649. phonenum:
  14650. description: 提货人联系方式
  14651. type: string
  14652. qty:
  14653. description: 提货数量
  14654. type: number
  14655. recivername:
  14656. description: 提货人姓名
  14657. type: string
  14658. reqtime:
  14659. description: 更新时间
  14660. type: string
  14661. takemode:
  14662. description: 提货方式 - 2:自提 3:配送
  14663. type: integer
  14664. takeorderid:
  14665. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14666. type: string
  14667. takeorderstatus:
  14668. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14669. type: integer
  14670. takeremark:
  14671. description: 提货备注
  14672. type: string
  14673. tradedate:
  14674. description: 交易日(yyyyMMdd)
  14675. type: string
  14676. userid:
  14677. description: 用户ID
  14678. type: integer
  14679. required:
  14680. - takeorderid
  14681. type: object
  14682. szdz.QueryRecieptOrderRsp:
  14683. properties:
  14684. accountName:
  14685. description: 所属账号名称(已脱敏)
  14686. type: string
  14687. accountid:
  14688. description: 资金账号
  14689. type: integer
  14690. buyorsell:
  14691. description: 方向 - 0:买 1:卖
  14692. type: integer
  14693. enableqty:
  14694. description: 可摘数量
  14695. type: integer
  14696. goodscode:
  14697. description: 商品代码
  14698. type: string
  14699. goodsid:
  14700. description: 商品ID
  14701. type: integer
  14702. goodsname:
  14703. description: 商品名称
  14704. type: string
  14705. orderid:
  14706. description: 委托单号
  14707. type: string
  14708. orderprice:
  14709. description: 委托价格
  14710. type: number
  14711. ordertime:
  14712. description: 委托时间
  14713. type: string
  14714. tradedate:
  14715. description: 交易日(yyyyMMdd)
  14716. type: string
  14717. required:
  14718. - ordertime
  14719. type: object
  14720. szdz.QuerySZDZTradePositionRsp:
  14721. properties:
  14722. accountid:
  14723. description: 账号Id
  14724. type: integer
  14725. agreeunit:
  14726. description: 合约单位
  14727. type: number
  14728. averageprice:
  14729. description: 持仓均价
  14730. type: number
  14731. buyorsell:
  14732. description: 方向 - 0:买 1:卖
  14733. type: integer
  14734. closetotalqty:
  14735. description: 平仓总数量
  14736. type: integer
  14737. curholderamount:
  14738. description: 当前持仓总金额
  14739. type: number
  14740. curpositionqty:
  14741. description: 当前持仓总数量
  14742. type: integer
  14743. currencyid:
  14744. description: 报价货币ID
  14745. type: integer
  14746. curtdposition:
  14747. description: 期末今日头寸
  14748. type: integer
  14749. decimalplace:
  14750. description: 报价小数位
  14751. type: integer
  14752. enableqty:
  14753. description: 可用量
  14754. type: integer
  14755. fretdposition:
  14756. description: 冻结今日头寸
  14757. type: integer
  14758. frozenqty:
  14759. description: 持仓冻结数量
  14760. type: integer
  14761. goodscode:
  14762. description: 商品代码(内部)
  14763. type: string
  14764. goodsid:
  14765. description: 商品Id
  14766. type: integer
  14767. goodsname:
  14768. description: 商品名称
  14769. type: string
  14770. goodunit:
  14771. description: 报价单位
  14772. type: string
  14773. goodunitid:
  14774. description: 报价单位ID
  14775. type: integer
  14776. holderamount:
  14777. description: 期初持仓总金额
  14778. type: number
  14779. marketid:
  14780. description: 市场ID
  14781. type: integer
  14782. openreqqty:
  14783. description: 开仓申请数量
  14784. type: integer
  14785. opentotalqty:
  14786. description: 开仓总数量
  14787. type: integer
  14788. otherfrozenqty:
  14789. description: 持仓其他冻结数量(交割冻结)
  14790. type: integer
  14791. positionqty:
  14792. description: 期初持仓数量
  14793. type: integer
  14794. szdz3freezqty:
  14795. description: 尚志大宗转换冻结总数量
  14796. type: integer
  14797. tnqty:
  14798. description: T+N冻结总量
  14799. type: integer
  14800. tnusedqty:
  14801. description: T+N使用量
  14802. type: integer
  14803. trademode:
  14804. description: 交易模式
  14805. type: integer
  14806. usedmargin:
  14807. description: 占用保证金
  14808. type: number
  14809. type: object
  14810. taaccount.QueryAmountLogRsp:
  14811. properties:
  14812. OPERATETYPENAME:
  14813. description: 资金操作类型名称
  14814. type: string
  14815. accountid:
  14816. description: 资金账户ID
  14817. type: integer
  14818. agoodscode:
  14819. description: 竞拍商品代码
  14820. type: string
  14821. agoodsname:
  14822. description: 竞拍商品名称
  14823. type: string
  14824. amount:
  14825. description: 资金金额
  14826. type: number
  14827. amountadjusttype:
  14828. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14829. type: integer
  14830. autoid:
  14831. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14832. type: integer
  14833. balance:
  14834. description: 期初余额
  14835. type: number
  14836. businesscode:
  14837. description: 业务编号
  14838. type: integer
  14839. createtime:
  14840. description: 发生时间
  14841. type: string
  14842. currencyid:
  14843. description: 币种ID
  14844. type: integer
  14845. currentbalance:
  14846. description: 期末余额(变动后金额)
  14847. type: number
  14848. dgoodscode:
  14849. description: 交割商品代码
  14850. type: string
  14851. dgoodsname:
  14852. description: 交割商品名称
  14853. type: string
  14854. goodscode:
  14855. description: 商品代码
  14856. type: string
  14857. goodsid:
  14858. description: 商品ID
  14859. type: integer
  14860. goodsname:
  14861. description: 商品名称
  14862. type: string
  14863. marketid:
  14864. description: 市场ID
  14865. type: integer
  14866. marketname:
  14867. description: 市场名称
  14868. type: string
  14869. moneyticket:
  14870. description: 资金流水号:银行端流水号
  14871. type: integer
  14872. operatetype:
  14873. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14874. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14875. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14876. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14877. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14878. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14879. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14880. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14881. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14882. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14883. type: integer
  14884. relationorderid:
  14885. description: 关联单号
  14886. type: string
  14887. remark:
  14888. description: 备注
  14889. type: string
  14890. trademode:
  14891. description: 交易模式
  14892. type: integer
  14893. required:
  14894. - accountid
  14895. - amount
  14896. - amountadjusttype
  14897. - autoid
  14898. - balance
  14899. - createtime
  14900. - currentbalance
  14901. - operatetype
  14902. type: object
  14903. taaccount.QueryHisAmountLogRsp:
  14904. properties:
  14905. OPERATETYPENAME:
  14906. description: 资金操作类型名称
  14907. type: string
  14908. accountid:
  14909. description: 资金账户ID
  14910. type: integer
  14911. agoodscode:
  14912. description: 竞拍商品代码
  14913. type: string
  14914. agoodsname:
  14915. description: 竞拍商品名称
  14916. type: string
  14917. amount:
  14918. description: 资金金额
  14919. type: number
  14920. amountadjusttype:
  14921. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14922. type: integer
  14923. autoid:
  14924. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14925. type: integer
  14926. balance:
  14927. description: 期初余额
  14928. type: number
  14929. businesscode:
  14930. description: 业务编号
  14931. type: integer
  14932. createtime:
  14933. description: 发生时间
  14934. type: string
  14935. currencyid:
  14936. description: 币种ID
  14937. type: integer
  14938. currentbalance:
  14939. description: 期末余额(变动后金额)
  14940. type: number
  14941. dgoodscode:
  14942. description: 交割商品代码
  14943. type: string
  14944. dgoodsname:
  14945. description: 交割商品名称
  14946. type: string
  14947. goodscode:
  14948. description: 商品代码
  14949. type: string
  14950. goodsid:
  14951. description: 商品ID
  14952. type: integer
  14953. goodsname:
  14954. description: 商品名称
  14955. type: string
  14956. histradedate:
  14957. description: 历史交易日
  14958. type: string
  14959. isvaliddata:
  14960. description: 是否有效 - 0:无效 1:有效
  14961. type: integer
  14962. marketid:
  14963. description: 市场ID
  14964. type: integer
  14965. marketname:
  14966. description: 市场名称
  14967. type: string
  14968. moneyticket:
  14969. description: 资金流水号:银行端流水号
  14970. type: integer
  14971. operatetype:
  14972. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14973. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14974. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14975. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14976. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14977. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14978. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14979. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14980. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14981. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14982. type: integer
  14983. relationorderid:
  14984. description: 关联单号
  14985. type: string
  14986. remark:
  14987. description: 备注
  14988. type: string
  14989. trademode:
  14990. description: 交易模式
  14991. type: integer
  14992. required:
  14993. - accountid
  14994. - amount
  14995. - amountadjusttype
  14996. - autoid
  14997. - balance
  14998. - createtime
  14999. - currentbalance
  15000. - histradedate
  15001. - operatetype
  15002. type: object
  15003. trade.QueryRecieptOrderRsp:
  15004. properties:
  15005. accountName:
  15006. description: 所属账号名称(已脱敏)
  15007. type: string
  15008. accountid:
  15009. description: 资金账号
  15010. type: integer
  15011. buyorsell:
  15012. description: 方向 - 0:买 1:卖
  15013. type: integer
  15014. enableqty:
  15015. description: 可摘数量
  15016. type: integer
  15017. goodscode:
  15018. description: 商品代码
  15019. type: string
  15020. goodsid:
  15021. description: 商品ID
  15022. type: integer
  15023. goodsname:
  15024. description: 商品名称
  15025. type: string
  15026. orderid:
  15027. description: 委托单号
  15028. type: string
  15029. orderprice:
  15030. description: 委托价格
  15031. type: number
  15032. ordertime:
  15033. description: 委托时间
  15034. type: string
  15035. tradedate:
  15036. description: 交易日(yyyyMMdd)
  15037. type: string
  15038. required:
  15039. - ordertime
  15040. type: object
  15041. user.LoginQueryRsp:
  15042. properties:
  15043. areaRoles:
  15044. description: 所属角色信息
  15045. items:
  15046. $ref: '#/definitions/models.Arearole'
  15047. type: array
  15048. externalExchanges:
  15049. description: 外部交易所
  15050. items:
  15051. $ref: '#/definitions/models.Externalexchange'
  15052. type: array
  15053. goodsgroups:
  15054. description: 商品组
  15055. items:
  15056. $ref: '#/definitions/models.Goodsgroup'
  15057. type: array
  15058. loginAccount:
  15059. $ref: '#/definitions/models.Loginaccount'
  15060. description: 登录账号
  15061. type: object
  15062. markets:
  15063. description: 市场
  15064. items:
  15065. $ref: '#/definitions/models.Market'
  15066. type: array
  15067. systemParams:
  15068. description: 系统参数
  15069. items:
  15070. $ref: '#/definitions/models.Systemparam'
  15071. type: array
  15072. userAccount:
  15073. $ref: '#/definitions/models.Useraccount'
  15074. description: 用户账号
  15075. type: object
  15076. userInfo:
  15077. $ref: '#/definitions/models.Userinfo'
  15078. description: 用户信息
  15079. type: object
  15080. username:
  15081. description: 用户姓名
  15082. type: string
  15083. type: object
  15084. info:
  15085. contact: {}
  15086. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  15087. license: {}
  15088. termsOfService: http://www.muchinfo.cn
  15089. title: MTP2.0 查询服务 API
  15090. version: "1.0"
  15091. paths:
  15092. /CPTrade/QueryCPTradeMyBidInfos:
  15093. get:
  15094. parameters:
  15095. - description: 资金账户
  15096. in: query
  15097. name: accountid
  15098. required: true
  15099. type: integer
  15100. - description: 预售市场ID
  15101. in: query
  15102. name: marketid
  15103. type: integer
  15104. - description: 预售商品ID
  15105. in: query
  15106. name: goodsid
  15107. type: integer
  15108. produces:
  15109. - application/json
  15110. responses:
  15111. "200":
  15112. description: OK
  15113. schema:
  15114. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  15115. "500":
  15116. description: Internal Server Error
  15117. schema:
  15118. $ref: '#/definitions/app.Response'
  15119. security:
  15120. - ApiKeyAuth: []
  15121. summary: 查询产能预售我的出价信息
  15122. tags:
  15123. - 产能预售
  15124. /CPTrade/QueryCPTradeOrderDetail:
  15125. get:
  15126. parameters:
  15127. - description: 预售商品ID
  15128. in: query
  15129. name: goodsid
  15130. type: integer
  15131. - description: 预售市场ID
  15132. in: query
  15133. name: marketid
  15134. type: integer
  15135. - description: 预售商品ID列表 - 格式:1,2,3
  15136. in: query
  15137. name: goodsids
  15138. type: string
  15139. produces:
  15140. - application/json
  15141. responses:
  15142. "200":
  15143. description: OK
  15144. schema:
  15145. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询产能预售委托单信息
  15153. tags:
  15154. - 产能预售
  15155. /CPTrade/QueryMyCPTradeGoods:
  15156. get:
  15157. parameters:
  15158. - description: 资金账户
  15159. in: query
  15160. name: accountid
  15161. required: true
  15162. type: integer
  15163. produces:
  15164. - application/json
  15165. responses:
  15166. "200":
  15167. description: OK
  15168. schema:
  15169. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  15170. "500":
  15171. description: Internal Server Error
  15172. schema:
  15173. $ref: '#/definitions/app.Response'
  15174. security:
  15175. - ApiKeyAuth: []
  15176. summary: 查询我的预售信息
  15177. tags:
  15178. - 产能预售
  15179. /CPTrade/QueryPositionCancel:
  15180. get:
  15181. parameters:
  15182. - description: 账户ID
  15183. in: query
  15184. name: userid
  15185. required: true
  15186. type: integer
  15187. - description: 注销ID
  15188. in: query
  15189. name: cancelid
  15190. type: integer
  15191. - description: 资金账户ID
  15192. in: query
  15193. name: accountid
  15194. type: integer
  15195. produces:
  15196. - application/json
  15197. responses:
  15198. "200":
  15199. description: OK
  15200. schema:
  15201. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  15202. "500":
  15203. description: Internal Server Error
  15204. schema:
  15205. $ref: '#/definitions/app.Response'
  15206. security:
  15207. - ApiKeyAuth: []
  15208. summary: 查询远期订单注销申请信息
  15209. tags:
  15210. - 产能预售
  15211. /CPTrade/QueryPreasleApply:
  15212. get:
  15213. parameters:
  15214. - description: 账户ID
  15215. in: query
  15216. name: userid
  15217. required: true
  15218. type: integer
  15219. - description: 申请ID
  15220. in: query
  15221. name: applyid
  15222. type: integer
  15223. - description: 资金账户ID
  15224. in: query
  15225. name: accountid
  15226. type: integer
  15227. produces:
  15228. - application/json
  15229. responses:
  15230. "200":
  15231. description: OK
  15232. schema:
  15233. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15234. "500":
  15235. description: Internal Server Error
  15236. schema:
  15237. $ref: '#/definitions/app.Response'
  15238. security:
  15239. - ApiKeyAuth: []
  15240. summary: 查询产能预售申请信息
  15241. tags:
  15242. - 产能预售
  15243. /CPTrade/QueryPresaleGoodsEx:
  15244. get:
  15245. parameters:
  15246. - description: 预售商品ID
  15247. in: query
  15248. name: goodsid
  15249. type: integer
  15250. - description: 预售市场ID
  15251. in: query
  15252. name: marketid
  15253. type: integer
  15254. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15255. in: query
  15256. name: presalemode
  15257. type: integer
  15258. - description: 预售商品ID列表 - 格式:1,2,3
  15259. in: query
  15260. name: goodsids
  15261. type: string
  15262. - description: 预售商品代码
  15263. in: query
  15264. name: goodscode
  15265. type: string
  15266. produces:
  15267. - application/json
  15268. responses:
  15269. "200":
  15270. description: OK
  15271. schema:
  15272. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  15273. "500":
  15274. description: Internal Server Error
  15275. schema:
  15276. $ref: '#/definitions/app.Response'
  15277. security:
  15278. - ApiKeyAuth: []
  15279. summary: 查询产能预售商品扩展信息
  15280. tags:
  15281. - 产能预售
  15282. /CPTrade/QueryUserGoodsData:
  15283. get:
  15284. parameters:
  15285. - description: 资金账户ID
  15286. in: query
  15287. name: accountid
  15288. required: true
  15289. type: integer
  15290. produces:
  15291. - application/json
  15292. responses:
  15293. "200":
  15294. description: OK
  15295. schema:
  15296. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15297. "500":
  15298. description: Internal Server Error
  15299. schema:
  15300. $ref: '#/definitions/app.Response'
  15301. security:
  15302. - ApiKeyAuth: []
  15303. summary: 查询远期订单信息
  15304. tags:
  15305. - 产能预售
  15306. /Common/GetAllEnums:
  15307. get:
  15308. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15309. parameters:
  15310. - description: 起始自增ID
  15311. in: query
  15312. name: autoid
  15313. type: integer
  15314. produces:
  15315. - application/json
  15316. responses:
  15317. "200":
  15318. description: OK
  15319. schema:
  15320. $ref: '#/definitions/models.Enumdicitem'
  15321. "500":
  15322. description: Internal Server Error
  15323. schema:
  15324. $ref: '#/definitions/app.Response'
  15325. summary: 获取所有枚举信息
  15326. tags:
  15327. - 通用服务
  15328. /Common/GetClientMenus:
  15329. get:
  15330. parameters:
  15331. - description: 登录账号
  15332. in: query
  15333. name: loginID
  15334. required: true
  15335. type: integer
  15336. - description: 终端类型,0:PC 1:Mobile
  15337. in: query
  15338. name: clientType
  15339. type: integer
  15340. produces:
  15341. - application/json
  15342. responses:
  15343. "200":
  15344. description: OK
  15345. schema:
  15346. items:
  15347. $ref: '#/definitions/common.ClientMenu'
  15348. type: array
  15349. "500":
  15350. description: Internal Server Error
  15351. schema:
  15352. $ref: '#/definitions/app.Response'
  15353. security:
  15354. - ApiKeyAuth: []
  15355. summary: 获取交易端菜单
  15356. tags:
  15357. - 通用服务
  15358. /Common/GetDivisions:
  15359. get:
  15360. produces:
  15361. - application/json
  15362. responses:
  15363. "200":
  15364. description: OK
  15365. schema:
  15366. $ref: '#/definitions/models.Division'
  15367. "500":
  15368. description: Internal Server Error
  15369. schema:
  15370. $ref: '#/definitions/app.Response'
  15371. summary: 查询区域信息
  15372. tags:
  15373. - 通用服务
  15374. /Common/GetServerTime:
  15375. get:
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. $ref: '#/definitions/app.Response'
  15383. "500":
  15384. description: Internal Server Error
  15385. schema:
  15386. $ref: '#/definitions/app.Response'
  15387. summary: 获取服务器时间
  15388. tags:
  15389. - 通用服务
  15390. /Common/NoticeReaded:
  15391. post:
  15392. parameters:
  15393. - description: 登录账号
  15394. in: query
  15395. name: loginID
  15396. required: true
  15397. type: integer
  15398. - description: 通知公告ID
  15399. in: query
  15400. name: noticeID
  15401. required: true
  15402. type: integer
  15403. produces:
  15404. - application/json
  15405. responses:
  15406. "200":
  15407. description: OK
  15408. schema:
  15409. $ref: '#/definitions/app.Response'
  15410. "500":
  15411. description: Internal Server Error
  15412. schema:
  15413. $ref: '#/definitions/app.Response'
  15414. security:
  15415. - ApiKeyAuth: []
  15416. summary: 通知公告设置已读请求
  15417. tags:
  15418. - 通用服务
  15419. /Common/QueryErrorInfos:
  15420. get:
  15421. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15422. parameters:
  15423. - description: 起始行号前索引
  15424. in: query
  15425. name: rowNumber
  15426. type: string
  15427. produces:
  15428. - application/json
  15429. responses:
  15430. "200":
  15431. description: OK
  15432. schema:
  15433. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15434. "500":
  15435. description: Internal Server Error
  15436. schema:
  15437. $ref: '#/definitions/app.Response'
  15438. summary: 获取数据库错误信息
  15439. tags:
  15440. - 通用服务
  15441. /Common/QueryImageConfigs:
  15442. get:
  15443. parameters:
  15444. - description: 用户id
  15445. in: query
  15446. name: userId
  15447. type: integer
  15448. - description: 类型 - 1:App首页轮播 2:我的
  15449. in: query
  15450. name: imageType
  15451. type: integer
  15452. produces:
  15453. - application/json
  15454. responses:
  15455. "200":
  15456. description: OK
  15457. schema:
  15458. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15459. "500":
  15460. description: Internal Server Error
  15461. schema:
  15462. $ref: '#/definitions/app.Response'
  15463. summary: 查询轮播图配置信息
  15464. tags:
  15465. - 通用服务
  15466. /Common/QueryNotice:
  15467. get:
  15468. parameters:
  15469. - description: 页码
  15470. in: query
  15471. name: page
  15472. type: integer
  15473. - description: 每页条数
  15474. in: query
  15475. name: pagesize
  15476. type: integer
  15477. - description: 登录账号
  15478. in: query
  15479. name: loginID
  15480. required: true
  15481. type: integer
  15482. - description: 消息类型 - 1:公告通知 2:系统消息
  15483. in: query
  15484. name: msgType
  15485. type: integer
  15486. - description: 是否只获取未读信息
  15487. in: query
  15488. name: onlyUnRead
  15489. type: boolean
  15490. - description: 自增ID,传入后会返回这个ID后面的记录
  15491. in: query
  15492. name: lastID
  15493. type: integer
  15494. produces:
  15495. - application/json
  15496. responses:
  15497. "200":
  15498. description: OK
  15499. schema:
  15500. $ref: '#/definitions/common.QueryNoticeRsp'
  15501. "500":
  15502. description: Internal Server Error
  15503. schema:
  15504. $ref: '#/definitions/app.Response'
  15505. security:
  15506. - ApiKeyAuth: []
  15507. summary: 通知公告系统消息查询
  15508. tags:
  15509. - 通用服务
  15510. /Common/QueryProvincesAndCities:
  15511. get:
  15512. parameters:
  15513. - description: 省ID
  15514. in: query
  15515. name: provinceID
  15516. type: integer
  15517. produces:
  15518. - application/json
  15519. responses:
  15520. "200":
  15521. description: OK
  15522. schema:
  15523. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  15524. "500":
  15525. description: Internal Server Error
  15526. schema:
  15527. $ref: '#/definitions/app.Response'
  15528. summary: 查询省市信息(不包括区)
  15529. tags:
  15530. - 通用服务
  15531. /Common/QueryTableDefine:
  15532. get:
  15533. parameters:
  15534. - description: 表key
  15535. in: query
  15536. name: tableKey
  15537. type: string
  15538. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  15539. in: query
  15540. name: tableType
  15541. type: integer
  15542. produces:
  15543. - application/json
  15544. responses:
  15545. "200":
  15546. description: OK
  15547. schema:
  15548. $ref: '#/definitions/common.QueryTableDefineRsp'
  15549. "500":
  15550. description: Internal Server Error
  15551. schema:
  15552. $ref: '#/definitions/app.Response'
  15553. summary: 查询交易端列表头信息
  15554. tags:
  15555. - 通用服务
  15556. /Common/QueryTraderMenu:
  15557. get:
  15558. parameters:
  15559. - description: 登录账号
  15560. in: query
  15561. name: loginid
  15562. required: true
  15563. type: integer
  15564. produces:
  15565. - application/json
  15566. responses:
  15567. "200":
  15568. description: OK
  15569. schema:
  15570. $ref: '#/definitions/common.QueryTraderMenuRsp'
  15571. "500":
  15572. description: Internal Server Error
  15573. schema:
  15574. $ref: '#/definitions/app.Response'
  15575. summary: 查询交易端菜单
  15576. tags:
  15577. - 通用服务
  15578. /Delivery/QueryDeliveryRelation:
  15579. get:
  15580. parameters:
  15581. - description: 商品ID
  15582. in: query
  15583. name: goodsid
  15584. type: integer
  15585. - description: 品种ID
  15586. in: query
  15587. name: deliverygoodsid
  15588. type: integer
  15589. - description: 市场ID
  15590. in: query
  15591. name: marketid
  15592. type: integer
  15593. produces:
  15594. - application/json
  15595. responses:
  15596. "200":
  15597. description: OK
  15598. schema:
  15599. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  15600. "500":
  15601. description: Internal Server Error
  15602. schema:
  15603. $ref: '#/definitions/app.Response'
  15604. security:
  15605. - ApiKeyAuth: []
  15606. summary: 查询商品交割关系表
  15607. tags:
  15608. - 交割服务
  15609. /Ermcp/GetErmcpGoods:
  15610. get:
  15611. parameters:
  15612. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15613. in: query
  15614. name: lastUpdateTime
  15615. type: string
  15616. produces:
  15617. - application/json
  15618. responses:
  15619. "200":
  15620. description: OK
  15621. schema:
  15622. $ref: '#/definitions/models.ErmcpGoods'
  15623. "500":
  15624. description: Internal Server Error
  15625. schema:
  15626. $ref: '#/definitions/app.Response'
  15627. security:
  15628. - ApiKeyAuth: []
  15629. summary: 查询企业风管期货商品信息
  15630. tags:
  15631. - 企业风险管理(app)
  15632. /Ermcp/GetErmcpGoodsSortByPosition:
  15633. get:
  15634. parameters:
  15635. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  15636. in: query
  15637. name: sortIndex
  15638. type: string
  15639. produces:
  15640. - application/json
  15641. responses:
  15642. "200":
  15643. description: OK
  15644. schema:
  15645. $ref: '#/definitions/models.Goodssortbypreposition'
  15646. "500":
  15647. description: Internal Server Error
  15648. schema:
  15649. $ref: '#/definitions/app.Response'
  15650. security:
  15651. - ApiKeyAuth: []
  15652. summary: 查询企业风管期货主力、次主力商品信息
  15653. tags:
  15654. - 企业风险管理(app)
  15655. /Ermcp/GetErmcpOutAccountStatus:
  15656. get:
  15657. parameters:
  15658. - description: 登录账号
  15659. in: query
  15660. name: loginID
  15661. required: true
  15662. type: integer
  15663. produces:
  15664. - application/json
  15665. responses:
  15666. "200":
  15667. description: OK
  15668. schema:
  15669. $ref: '#/definitions/models.Hedgemarketopenlog'
  15670. "500":
  15671. description: Internal Server Error
  15672. schema:
  15673. $ref: '#/definitions/app.Response'
  15674. security:
  15675. - ApiKeyAuth: []
  15676. summary: 获取目标登录账号当前对冲账号在线状态
  15677. tags:
  15678. - 企业风险管理(app)
  15679. /Ermcp/GetErmcpRoleFuncMenuLists:
  15680. get:
  15681. parameters:
  15682. - description: 登录账号
  15683. in: query
  15684. name: loginID
  15685. required: true
  15686. type: integer
  15687. produces:
  15688. - application/json
  15689. responses:
  15690. "200":
  15691. description: OK
  15692. schema:
  15693. $ref: '#/definitions/models.Funcmenulist'
  15694. "500":
  15695. description: Internal Server Error
  15696. schema:
  15697. $ref: '#/definitions/app.Response'
  15698. security:
  15699. - ApiKeyAuth: []
  15700. summary: 获取企业风管终端权限
  15701. tags:
  15702. - 企业风险管理(app)
  15703. /Ermcp/QueryAccMgrBizGroupSet:
  15704. get:
  15705. parameters:
  15706. - description: 用户ID
  15707. in: query
  15708. name: userid
  15709. required: true
  15710. type: integer
  15711. - description: 现货商品id
  15712. in: query
  15713. name: deliverygoodsid
  15714. type: integer
  15715. produces:
  15716. - application/json
  15717. responses:
  15718. "200":
  15719. description: OK
  15720. schema:
  15721. items:
  15722. $ref: '#/definitions/models.ErmcpBizGroupEx'
  15723. type: array
  15724. "500":
  15725. description: Internal Server Error
  15726. schema:
  15727. $ref: '#/definitions/app.Response'
  15728. security:
  15729. - ApiKeyAuth: []
  15730. summary: 查询业务类型分组(账户管理/账户设置)
  15731. tags:
  15732. - 企业风险管理(app)
  15733. /Ermcp/QueryAccMgrLoginUser:
  15734. get:
  15735. parameters:
  15736. - description: 用户ID
  15737. in: query
  15738. name: userid
  15739. required: true
  15740. type: integer
  15741. - description: 用户类型 2-机构 7-企业成员
  15742. in: query
  15743. name: usertype
  15744. type: integer
  15745. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  15746. in: query
  15747. name: querytype
  15748. required: true
  15749. type: integer
  15750. produces:
  15751. - application/json
  15752. responses:
  15753. "200":
  15754. description: OK
  15755. schema:
  15756. items:
  15757. $ref: '#/definitions/models.ErmcpLoginUserEx'
  15758. type: array
  15759. "500":
  15760. description: Internal Server Error
  15761. schema:
  15762. $ref: '#/definitions/app.Response'
  15763. security:
  15764. - ApiKeyAuth: []
  15765. summary: 查询账户管理登录账号(账户管理/登录账号)
  15766. tags:
  15767. - 企业风险管理(app)
  15768. /Ermcp/QueryAccMgrMainAccountInfo:
  15769. get:
  15770. parameters:
  15771. - description: 用户ID
  15772. in: query
  15773. name: userid
  15774. type: integer
  15775. - description: 主账号id
  15776. in: query
  15777. name: accountid
  15778. type: integer
  15779. produces:
  15780. - application/json
  15781. responses:
  15782. "200":
  15783. description: OK
  15784. schema:
  15785. items:
  15786. $ref: '#/definitions/models.MainAccountInfo'
  15787. type: array
  15788. "500":
  15789. description: Internal Server Error
  15790. schema:
  15791. $ref: '#/definitions/app.Response'
  15792. security:
  15793. - ApiKeyAuth: []
  15794. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  15795. tags:
  15796. - 企业风险管理(app)
  15797. /Ermcp/QueryAccMgrRole:
  15798. get:
  15799. parameters:
  15800. - description: 用户ID
  15801. in: query
  15802. name: userid
  15803. required: true
  15804. type: integer
  15805. produces:
  15806. - application/json
  15807. responses:
  15808. "200":
  15809. description: OK
  15810. schema:
  15811. items:
  15812. $ref: '#/definitions/models.ErmcpRole'
  15813. type: array
  15814. "500":
  15815. description: Internal Server Error
  15816. schema:
  15817. $ref: '#/definitions/app.Response'
  15818. security:
  15819. - ApiKeyAuth: []
  15820. summary: 查询账户管理角色设置(账户管理/角色设置)
  15821. tags:
  15822. - 企业风险管理(app)
  15823. /Ermcp/QueryAccMgrRoleMenu:
  15824. get:
  15825. parameters:
  15826. - description: 用户ID
  15827. in: query
  15828. name: userid
  15829. required: true
  15830. type: integer
  15831. - description: 角色id(可多个,逗号隔开)
  15832. in: query
  15833. name: roleid
  15834. type: string
  15835. produces:
  15836. - application/json
  15837. responses:
  15838. "200":
  15839. description: OK
  15840. schema:
  15841. items:
  15842. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  15843. type: array
  15844. "500":
  15845. description: Internal Server Error
  15846. schema:
  15847. $ref: '#/definitions/app.Response'
  15848. security:
  15849. - ApiKeyAuth: []
  15850. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  15851. tags:
  15852. - 企业风险管理(app)
  15853. /Ermcp/QueryAccMgrTaAccountInfo:
  15854. get:
  15855. parameters:
  15856. - description: 用户ID
  15857. in: query
  15858. name: userid
  15859. required: true
  15860. type: integer
  15861. - description: 账号id
  15862. in: query
  15863. name: accountid
  15864. type: integer
  15865. produces:
  15866. - application/json
  15867. responses:
  15868. "200":
  15869. description: OK
  15870. schema:
  15871. items:
  15872. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  15873. type: array
  15874. "500":
  15875. description: Internal Server Error
  15876. schema:
  15877. $ref: '#/definitions/app.Response'
  15878. security:
  15879. - ApiKeyAuth: []
  15880. summary: 查询账户管理授信(账户管理/账户设置/授信)
  15881. tags:
  15882. - 企业风险管理(app)
  15883. /Ermcp/QueryAccMgrTaaccount:
  15884. get:
  15885. parameters:
  15886. - description: 用户ID
  15887. in: query
  15888. name: userid
  15889. required: true
  15890. type: integer
  15891. produces:
  15892. - application/json
  15893. responses:
  15894. "200":
  15895. description: OK
  15896. schema:
  15897. items:
  15898. $ref: '#/definitions/models.ErmcpTaAccountEx'
  15899. type: array
  15900. "500":
  15901. description: Internal Server Error
  15902. schema:
  15903. $ref: '#/definitions/app.Response'
  15904. security:
  15905. - ApiKeyAuth: []
  15906. summary: 查询账户管理期货账号(账户管理/期货账号)
  15907. tags:
  15908. - 企业风险管理(app)
  15909. /Ermcp/QueryAvaildGoodsGroup:
  15910. get:
  15911. parameters:
  15912. - description: 所属机构ID
  15913. in: query
  15914. name: userid
  15915. required: true
  15916. type: integer
  15917. produces:
  15918. - application/json
  15919. responses:
  15920. "200":
  15921. description: OK
  15922. schema:
  15923. items:
  15924. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  15925. type: array
  15926. "500":
  15927. description: Internal Server Error
  15928. schema:
  15929. $ref: '#/definitions/app.Response'
  15930. security:
  15931. - ApiKeyAuth: []
  15932. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  15933. tags:
  15934. - 企业风险管理(app)
  15935. /Ermcp/QueryBusinessDj:
  15936. get:
  15937. parameters:
  15938. - description: 用户ID
  15939. in: query
  15940. name: UserId
  15941. required: true
  15942. type: integer
  15943. - description: 用户类型 2-机构 7-企业成员
  15944. in: query
  15945. name: usertype
  15946. type: integer
  15947. - description: 现货合同ID, 不填则查所有
  15948. in: query
  15949. name: relatedid
  15950. type: string
  15951. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15952. in: query
  15953. name: applystatus
  15954. type: string
  15955. produces:
  15956. - application/json
  15957. responses:
  15958. "200":
  15959. description: OK
  15960. schema:
  15961. items:
  15962. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  15963. type: array
  15964. "500":
  15965. description: Internal Server Error
  15966. schema:
  15967. $ref: '#/definitions/app.Response'
  15968. security:
  15969. - ApiKeyAuth: []
  15970. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  15971. tags:
  15972. - 企业风险管理(app)
  15973. /Ermcp/QueryBusinessFp:
  15974. get:
  15975. parameters:
  15976. - description: 用户ID
  15977. in: query
  15978. name: UserId
  15979. required: true
  15980. type: integer
  15981. - description: 用户类型 2-机构 7-企业成员
  15982. in: query
  15983. name: usertype
  15984. type: integer
  15985. - description: 现货合同ID, 不填则查所有
  15986. in: query
  15987. name: relatedid
  15988. type: string
  15989. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15990. in: query
  15991. name: applystatus
  15992. type: string
  15993. produces:
  15994. - application/json
  15995. responses:
  15996. "200":
  15997. description: OK
  15998. schema:
  15999. items:
  16000. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  16001. type: array
  16002. "500":
  16003. description: Internal Server Error
  16004. schema:
  16005. $ref: '#/definitions/app.Response'
  16006. security:
  16007. - ApiKeyAuth: []
  16008. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  16009. tags:
  16010. - 企业风险管理(app)
  16011. /Ermcp/QueryBusinessJs:
  16012. get:
  16013. parameters:
  16014. - description: 用户ID
  16015. in: query
  16016. name: UserId
  16017. required: true
  16018. type: integer
  16019. - description: 用户类型 2-机构 7-企业成员
  16020. in: query
  16021. name: usertype
  16022. type: integer
  16023. - description: 现货合同ID, 不填则查所有
  16024. in: query
  16025. name: relatedid
  16026. type: string
  16027. - description: 操作申请id
  16028. in: query
  16029. name: operateapplyid
  16030. type: string
  16031. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16032. in: query
  16033. name: applystatus
  16034. type: string
  16035. produces:
  16036. - application/json
  16037. responses:
  16038. "200":
  16039. description: OK
  16040. schema:
  16041. items:
  16042. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  16043. type: array
  16044. "500":
  16045. description: Internal Server Error
  16046. schema:
  16047. $ref: '#/definitions/app.Response'
  16048. security:
  16049. - ApiKeyAuth: []
  16050. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  16051. tags:
  16052. - 企业风险管理(app)
  16053. /Ermcp/QueryBusinessJsEx:
  16054. get:
  16055. parameters:
  16056. - description: 用户ID
  16057. in: query
  16058. name: UserId
  16059. required: true
  16060. type: integer
  16061. - description: 用户类型 2-机构 7-企业成员
  16062. in: query
  16063. name: usertype
  16064. type: integer
  16065. - description: 现货合同ID, 不填则查所有
  16066. in: query
  16067. name: relatedid
  16068. type: string
  16069. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16070. in: query
  16071. name: applystatus
  16072. type: string
  16073. produces:
  16074. - application/json
  16075. responses:
  16076. "200":
  16077. description: OK
  16078. schema:
  16079. items:
  16080. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  16081. type: array
  16082. "500":
  16083. description: Internal Server Error
  16084. schema:
  16085. $ref: '#/definitions/app.Response'
  16086. security:
  16087. - ApiKeyAuth: []
  16088. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  16089. tags:
  16090. - 企业风险管理(app)
  16091. /Ermcp/QueryBusinessKx:
  16092. get:
  16093. parameters:
  16094. - description: 用户ID
  16095. in: query
  16096. name: UserId
  16097. required: true
  16098. type: integer
  16099. - description: 用户类型 2-机构 7-企业成员
  16100. in: query
  16101. name: usertype
  16102. type: integer
  16103. - description: 现货合同ID, 不填则查所有
  16104. in: query
  16105. name: relatedid
  16106. type: string
  16107. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16108. in: query
  16109. name: applystatus
  16110. type: string
  16111. produces:
  16112. - application/json
  16113. responses:
  16114. "200":
  16115. description: OK
  16116. schema:
  16117. items:
  16118. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  16119. type: array
  16120. "500":
  16121. description: Internal Server Error
  16122. schema:
  16123. $ref: '#/definitions/app.Response'
  16124. security:
  16125. - ApiKeyAuth: []
  16126. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  16127. tags:
  16128. - 企业风险管理(app)
  16129. /Ermcp/QueryChangeLog:
  16130. get:
  16131. parameters:
  16132. - description: 合同ID
  16133. in: query
  16134. name: RelatedId
  16135. required: true
  16136. type: string
  16137. produces:
  16138. - application/json
  16139. responses:
  16140. "200":
  16141. description: OK
  16142. schema:
  16143. items:
  16144. $ref: '#/definitions/ermcp.QryOPLogRsp'
  16145. type: array
  16146. "500":
  16147. description: Internal Server Error
  16148. schema:
  16149. $ref: '#/definitions/app.Response'
  16150. security:
  16151. - ApiKeyAuth: []
  16152. summary: 查询变更记录
  16153. tags:
  16154. - 企业风险管理(app)
  16155. /Ermcp/QueryErmcpHisOrderDetails:
  16156. get:
  16157. parameters:
  16158. - description: 资金账户ID
  16159. in: query
  16160. name: accountID
  16161. required: true
  16162. type: integer
  16163. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16164. in: query
  16165. name: startDate
  16166. type: string
  16167. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16168. in: query
  16169. name: endDate
  16170. type: string
  16171. produces:
  16172. - application/json
  16173. responses:
  16174. "200":
  16175. description: OK
  16176. schema:
  16177. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpHisTradeDetails:
  16188. get:
  16189. parameters:
  16190. - description: 资金账户ID
  16191. in: query
  16192. name: accountID
  16193. required: true
  16194. type: integer
  16195. - description: 商品ID
  16196. in: query
  16197. name: goodsID
  16198. type: integer
  16199. - description: 买卖方向,0:买 1:卖
  16200. in: query
  16201. name: buyOrSell
  16202. type: integer
  16203. - description: 关联委托单号
  16204. in: query
  16205. name: orderID
  16206. type: integer
  16207. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16208. in: query
  16209. name: startDate
  16210. type: string
  16211. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16212. in: query
  16213. name: endDate
  16214. type: string
  16215. produces:
  16216. - application/json
  16217. responses:
  16218. "200":
  16219. description: OK
  16220. schema:
  16221. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16222. "500":
  16223. description: Internal Server Error
  16224. schema:
  16225. $ref: '#/definitions/app.Response'
  16226. security:
  16227. - ApiKeyAuth: []
  16228. summary: 获取企业风管期货历史成交单信息
  16229. tags:
  16230. - 企业风险管理(app)
  16231. /Ermcp/QueryErmcpInnerHolderDetails:
  16232. get:
  16233. parameters:
  16234. - description: 资金账户ID
  16235. in: query
  16236. name: accountID
  16237. required: true
  16238. type: integer
  16239. - description: 商品ID
  16240. in: query
  16241. name: goodsID
  16242. type: integer
  16243. - description: 买卖方向,0:买 1:卖
  16244. in: query
  16245. name: buyOrSell
  16246. type: integer
  16247. produces:
  16248. - application/json
  16249. responses:
  16250. "200":
  16251. description: OK
  16252. schema:
  16253. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16254. "500":
  16255. description: Internal Server Error
  16256. schema:
  16257. $ref: '#/definitions/app.Response'
  16258. security:
  16259. - ApiKeyAuth: []
  16260. summary: 获取企业风管期货内部持仓单信息
  16261. tags:
  16262. - 企业风险管理(app)
  16263. /Ermcp/QueryErmcpOrderDetails:
  16264. get:
  16265. parameters:
  16266. - description: 资金账户ID
  16267. in: query
  16268. name: accountID
  16269. required: true
  16270. type: integer
  16271. produces:
  16272. - application/json
  16273. responses:
  16274. "200":
  16275. description: OK
  16276. schema:
  16277. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16278. "500":
  16279. description: Internal Server Error
  16280. schema:
  16281. $ref: '#/definitions/app.Response'
  16282. security:
  16283. - ApiKeyAuth: []
  16284. summary: 获取企业风管期货委托单信息
  16285. tags:
  16286. - 企业风险管理(app)
  16287. /Ermcp/QueryErmcpTradeDetails:
  16288. get:
  16289. parameters:
  16290. - description: 资金账户ID
  16291. in: query
  16292. name: accountID
  16293. required: true
  16294. type: integer
  16295. - description: 商品ID
  16296. in: query
  16297. name: goodsID
  16298. type: integer
  16299. - description: 买卖方向,0:买 1:卖
  16300. in: query
  16301. name: buyOrSell
  16302. type: integer
  16303. - description: 关联委托单号
  16304. in: query
  16305. name: orderID
  16306. type: integer
  16307. produces:
  16308. - application/json
  16309. responses:
  16310. "200":
  16311. description: OK
  16312. schema:
  16313. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16314. "500":
  16315. description: Internal Server Error
  16316. schema:
  16317. $ref: '#/definitions/app.Response'
  16318. security:
  16319. - ApiKeyAuth: []
  16320. summary: 获取企业风管期货成交单信息
  16321. tags:
  16322. - 企业风险管理(app)
  16323. /Ermcp/QueryErmcpTradePosition:
  16324. get:
  16325. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16326. parameters:
  16327. - description: 资金账户ID
  16328. in: query
  16329. name: accountID
  16330. required: true
  16331. type: integer
  16332. - description: 所属市场ID
  16333. in: query
  16334. name: marketID
  16335. type: integer
  16336. produces:
  16337. - application/json
  16338. responses:
  16339. "200":
  16340. description: OK
  16341. schema:
  16342. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16343. "500":
  16344. description: Internal Server Error
  16345. schema:
  16346. $ref: '#/definitions/app.Response'
  16347. security:
  16348. - ApiKeyAuth: []
  16349. summary: 获取企业风管期货持仓头寸信息
  16350. tags:
  16351. - 企业风险管理(app)
  16352. /Ermcp/QueryExposureDetail:
  16353. get:
  16354. parameters:
  16355. - description: 所属机构ID
  16356. in: query
  16357. name: areaUserId
  16358. required: true
  16359. type: integer
  16360. - description: 套保商品
  16361. in: query
  16362. name: middleGoodsId
  16363. required: true
  16364. type: integer
  16365. produces:
  16366. - application/json
  16367. responses:
  16368. "200":
  16369. description: OK
  16370. schema:
  16371. items:
  16372. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16373. type: array
  16374. "500":
  16375. description: Internal Server Error
  16376. schema:
  16377. $ref: '#/definitions/app.Response'
  16378. security:
  16379. - ApiKeyAuth: []
  16380. summary: 查询敞口现货明细
  16381. tags:
  16382. - 企业风险管理(app)
  16383. /Ermcp/QueryExposureGoods:
  16384. get:
  16385. parameters:
  16386. - description: 套保商品id
  16387. in: query
  16388. name: middlegoodsid
  16389. required: true
  16390. type: integer
  16391. produces:
  16392. - application/json
  16393. responses:
  16394. "200":
  16395. description: OK
  16396. schema:
  16397. items:
  16398. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16399. type: array
  16400. "500":
  16401. description: Internal Server Error
  16402. schema:
  16403. $ref: '#/definitions/app.Response'
  16404. security:
  16405. - ApiKeyAuth: []
  16406. summary: 查询敞口主力合约
  16407. tags:
  16408. - 企业风险管理(app)
  16409. /Ermcp/QueryExposureHedgePosition:
  16410. get:
  16411. parameters:
  16412. - description: 用户id
  16413. in: query
  16414. name: userid
  16415. required: true
  16416. type: integer
  16417. produces:
  16418. - application/json
  16419. responses:
  16420. "200":
  16421. description: OK
  16422. schema:
  16423. items:
  16424. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16425. type: array
  16426. "500":
  16427. description: Internal Server Error
  16428. schema:
  16429. $ref: '#/definitions/app.Response'
  16430. security:
  16431. - ApiKeyAuth: []
  16432. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16433. tags:
  16434. - 企业风险管理(app)
  16435. /Ermcp/QueryExposureHedgePositionDetail:
  16436. get:
  16437. parameters:
  16438. - description: 所属机构ID
  16439. in: query
  16440. name: userid
  16441. required: true
  16442. type: integer
  16443. - description: 商品id
  16444. in: query
  16445. name: goodsId
  16446. required: true
  16447. type: integer
  16448. produces:
  16449. - application/json
  16450. responses:
  16451. "200":
  16452. description: OK
  16453. schema:
  16454. items:
  16455. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16456. type: array
  16457. "500":
  16458. description: Internal Server Error
  16459. schema:
  16460. $ref: '#/definitions/app.Response'
  16461. security:
  16462. - ApiKeyAuth: []
  16463. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16464. tags:
  16465. - 企业风险管理(app)
  16466. /Ermcp/QueryExposureSpot:
  16467. get:
  16468. parameters:
  16469. - description: 所属机构ID
  16470. in: query
  16471. name: areaUserId
  16472. required: true
  16473. type: integer
  16474. produces:
  16475. - application/json
  16476. responses:
  16477. "200":
  16478. description: OK
  16479. schema:
  16480. items:
  16481. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  16482. type: array
  16483. "500":
  16484. description: Internal Server Error
  16485. schema:
  16486. $ref: '#/definitions/app.Response'
  16487. security:
  16488. - ApiKeyAuth: []
  16489. summary: 查询敞口现货头寸(敞口/现货头寸)
  16490. tags:
  16491. - 企业风险管理(app)
  16492. /Ermcp/QueryExposureSpotDetail:
  16493. get:
  16494. parameters:
  16495. - description: 所属机构ID
  16496. in: query
  16497. name: areaUserId
  16498. required: true
  16499. type: integer
  16500. - description: 现货品种ID
  16501. in: query
  16502. name: wrstandardId
  16503. required: true
  16504. type: integer
  16505. produces:
  16506. - application/json
  16507. responses:
  16508. "200":
  16509. description: OK
  16510. schema:
  16511. items:
  16512. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  16513. type: array
  16514. "500":
  16515. description: Internal Server Error
  16516. schema:
  16517. $ref: '#/definitions/app.Response'
  16518. security:
  16519. - ApiKeyAuth: []
  16520. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16521. tags:
  16522. - 企业风险管理(app)
  16523. /Ermcp/QueryFuturesCompany:
  16524. get:
  16525. produces:
  16526. - application/json
  16527. responses:
  16528. "200":
  16529. description: OK
  16530. schema:
  16531. items:
  16532. $ref: '#/definitions/models.ErmcpFuturesCompany'
  16533. type: array
  16534. "500":
  16535. description: Internal Server Error
  16536. schema:
  16537. $ref: '#/definitions/app.Response'
  16538. security:
  16539. - ApiKeyAuth: []
  16540. summary: 查询期货公司
  16541. tags:
  16542. - 企业风险管理(app)
  16543. /Ermcp/QueryGGConvertConfig:
  16544. get:
  16545. parameters:
  16546. - description: 品种id(不填则查所有)
  16547. in: query
  16548. name: goodsgroupid
  16549. type: integer
  16550. produces:
  16551. - application/json
  16552. responses:
  16553. "200":
  16554. description: OK
  16555. schema:
  16556. items:
  16557. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  16558. type: array
  16559. "500":
  16560. description: Internal Server Error
  16561. schema:
  16562. $ref: '#/definitions/app.Response'
  16563. security:
  16564. - ApiKeyAuth: []
  16565. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  16566. tags:
  16567. - 企业风险管理(app)
  16568. /Ermcp/QueryGoodsBrand:
  16569. get:
  16570. parameters:
  16571. - description: 用户ID
  16572. in: query
  16573. name: userid
  16574. required: true
  16575. type: integer
  16576. - description: 现货商品ID
  16577. in: query
  16578. name: wrstandardid
  16579. type: integer
  16580. produces:
  16581. - application/json
  16582. responses:
  16583. "200":
  16584. description: OK
  16585. schema:
  16586. items:
  16587. $ref: '#/definitions/models.ErmcpGoodsBrand'
  16588. type: array
  16589. "500":
  16590. description: Internal Server Error
  16591. schema:
  16592. $ref: '#/definitions/app.Response'
  16593. security:
  16594. - ApiKeyAuth: []
  16595. summary: 查询商品品牌
  16596. tags:
  16597. - 企业风险管理(app)
  16598. /Ermcp/QueryGoodsModel:
  16599. get:
  16600. parameters:
  16601. - description: 用户ID
  16602. in: query
  16603. name: userid
  16604. required: true
  16605. type: integer
  16606. produces:
  16607. - application/json
  16608. responses:
  16609. "200":
  16610. description: OK
  16611. schema:
  16612. items:
  16613. $ref: '#/definitions/models.ErmcpGoodsModel'
  16614. type: array
  16615. "500":
  16616. description: Internal Server Error
  16617. schema:
  16618. $ref: '#/definitions/app.Response'
  16619. security:
  16620. - ApiKeyAuth: []
  16621. summary: 查询商品型号
  16622. tags:
  16623. - 企业风险管理(app)
  16624. /Ermcp/QueryHisExposure:
  16625. get:
  16626. parameters:
  16627. - description: 用户id
  16628. in: query
  16629. name: userid
  16630. required: true
  16631. type: integer
  16632. - description: 每个品种记录数
  16633. in: query
  16634. name: lastNum
  16635. required: true
  16636. type: integer
  16637. produces:
  16638. - application/json
  16639. responses:
  16640. "200":
  16641. description: OK
  16642. schema:
  16643. items:
  16644. $ref: '#/definitions/ermcp.HisExposureRsp'
  16645. type: array
  16646. "500":
  16647. description: Internal Server Error
  16648. schema:
  16649. $ref: '#/definitions/app.Response'
  16650. security:
  16651. - ApiKeyAuth: []
  16652. summary: 查询历史敞口(菜单:敞口/历史敞口)
  16653. tags:
  16654. - 企业风险管理(app)
  16655. /Ermcp/QueryMiddleGoods:
  16656. get:
  16657. parameters:
  16658. - description: 所属机构ID
  16659. in: query
  16660. name: userid
  16661. required: true
  16662. type: integer
  16663. - description: 状态 0-停用 1-正常
  16664. in: query
  16665. name: status
  16666. required: true
  16667. type: integer
  16668. produces:
  16669. - application/json
  16670. responses:
  16671. "200":
  16672. description: OK
  16673. schema:
  16674. items:
  16675. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  16676. type: array
  16677. "500":
  16678. description: Internal Server Error
  16679. schema:
  16680. $ref: '#/definitions/app.Response'
  16681. security:
  16682. - ApiKeyAuth: []
  16683. summary: 查询套保品种(菜单:套保品种)
  16684. tags:
  16685. - 企业风险管理(app)
  16686. /Ermcp/QueryMiddleGoodsChangeLog:
  16687. get:
  16688. parameters:
  16689. - description: 所属机构ID
  16690. in: query
  16691. name: userid
  16692. required: true
  16693. type: integer
  16694. - description: 套保品种id
  16695. in: query
  16696. name: middlegoodsid
  16697. required: true
  16698. type: integer
  16699. produces:
  16700. - application/json
  16701. responses:
  16702. "200":
  16703. description: OK
  16704. schema:
  16705. items:
  16706. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  16707. type: array
  16708. "500":
  16709. description: Internal Server Error
  16710. schema:
  16711. $ref: '#/definitions/app.Response'
  16712. security:
  16713. - ApiKeyAuth: []
  16714. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  16715. tags:
  16716. - 企业风险管理(app)
  16717. /Ermcp/QueryMiddleGoodsDetail:
  16718. get:
  16719. parameters:
  16720. - description: 所属机构ID
  16721. in: query
  16722. name: userid
  16723. required: true
  16724. type: integer
  16725. - description: 套保品种id
  16726. in: query
  16727. name: middlegoodsid
  16728. type: integer
  16729. produces:
  16730. - application/json
  16731. responses:
  16732. "200":
  16733. description: OK
  16734. schema:
  16735. items:
  16736. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  16737. type: array
  16738. "500":
  16739. description: Internal Server Error
  16740. schema:
  16741. $ref: '#/definitions/app.Response'
  16742. security:
  16743. - ApiKeyAuth: []
  16744. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  16745. tags:
  16746. - 企业风险管理(app)
  16747. /Ermcp/QueryPendingAuditInfo:
  16748. get:
  16749. parameters:
  16750. - description: 用户ID
  16751. in: query
  16752. name: UserId
  16753. required: true
  16754. type: integer
  16755. produces:
  16756. - application/json
  16757. responses:
  16758. "200":
  16759. description: OK
  16760. schema:
  16761. items:
  16762. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  16763. type: array
  16764. "500":
  16765. description: Internal Server Error
  16766. schema:
  16767. $ref: '#/definitions/app.Response'
  16768. security:
  16769. - ApiKeyAuth: []
  16770. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  16771. tags:
  16772. - 企业风险管理(app)
  16773. /Ermcp/QueryRealtimeExposure:
  16774. get:
  16775. parameters:
  16776. - description: 所属机构ID
  16777. in: query
  16778. name: userid
  16779. required: true
  16780. type: integer
  16781. produces:
  16782. - application/json
  16783. responses:
  16784. "200":
  16785. description: OK
  16786. schema:
  16787. items:
  16788. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  16789. type: array
  16790. "500":
  16791. description: Internal Server Error
  16792. schema:
  16793. $ref: '#/definitions/app.Response'
  16794. security:
  16795. - ApiKeyAuth: []
  16796. summary: 查询实时敞口
  16797. tags:
  16798. - 企业风险管理(app)
  16799. /Ermcp/QueryRealtimeExposurePosition:
  16800. get:
  16801. parameters:
  16802. - description: 用户id
  16803. in: query
  16804. name: userid
  16805. required: true
  16806. type: integer
  16807. - description: 套保商品ID
  16808. in: query
  16809. name: middleGoodsId
  16810. required: true
  16811. type: integer
  16812. produces:
  16813. - application/json
  16814. responses:
  16815. "200":
  16816. description: OK
  16817. schema:
  16818. items:
  16819. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  16820. type: array
  16821. "500":
  16822. description: Internal Server Error
  16823. schema:
  16824. $ref: '#/definitions/app.Response'
  16825. security:
  16826. - ApiKeyAuth: []
  16827. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  16828. tags:
  16829. - 企业风险管理(app)
  16830. /Ermcp/QueryTradeConfigTMP:
  16831. get:
  16832. parameters:
  16833. - description: 所属机构id
  16834. in: query
  16835. name: areauserid
  16836. type: integer
  16837. produces:
  16838. - application/json
  16839. responses:
  16840. "200":
  16841. description: OK
  16842. schema:
  16843. items:
  16844. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  16845. type: array
  16846. "500":
  16847. description: Internal Server Error
  16848. schema:
  16849. $ref: '#/definitions/app.Response'
  16850. security:
  16851. - ApiKeyAuth: []
  16852. summary: 查询交易模板配置
  16853. tags:
  16854. - 企业风险管理(app)
  16855. /Ermcp/QueryUserInfo:
  16856. get:
  16857. parameters:
  16858. - description: 所属机构用户ID
  16859. in: query
  16860. name: MemberUserID
  16861. required: true
  16862. type: integer
  16863. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  16864. in: query
  16865. name: queryType
  16866. required: true
  16867. type: integer
  16868. produces:
  16869. - application/json
  16870. responses:
  16871. "200":
  16872. description: OK
  16873. schema:
  16874. items:
  16875. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  16876. type: array
  16877. "500":
  16878. description: Internal Server Error
  16879. schema:
  16880. $ref: '#/definitions/app.Response'
  16881. security:
  16882. - ApiKeyAuth: []
  16883. summary: 查询客户资料
  16884. tags:
  16885. - 企业风险管理(app)
  16886. /Ermcp/QueryWarehouseInfo:
  16887. get:
  16888. parameters:
  16889. - description: 用户ID
  16890. in: query
  16891. name: userid
  16892. required: true
  16893. type: integer
  16894. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  16895. in: query
  16896. name: status
  16897. type: string
  16898. produces:
  16899. - application/json
  16900. responses:
  16901. "200":
  16902. description: OK
  16903. schema:
  16904. items:
  16905. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  16906. type: array
  16907. "500":
  16908. description: Internal Server Error
  16909. schema:
  16910. $ref: '#/definitions/app.Response'
  16911. security:
  16912. - ApiKeyAuth: []
  16913. summary: 查询仓库信息
  16914. tags:
  16915. - 企业风险管理(app)
  16916. /Ermcp3/QryAreaExpourseContractDetail:
  16917. get:
  16918. parameters:
  16919. - description: 用户ID
  16920. in: query
  16921. name: userid
  16922. required: true
  16923. type: integer
  16924. - description: 套保商品id
  16925. in: query
  16926. name: middlegoodsid
  16927. required: true
  16928. type: integer
  16929. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16930. in: query
  16931. name: cycletype
  16932. required: true
  16933. type: integer
  16934. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16935. 全(0)【原值】
  16936. in: query
  16937. name: cycletime
  16938. required: true
  16939. type: string
  16940. produces:
  16941. - application/json
  16942. responses:
  16943. "200":
  16944. description: OK
  16945. schema:
  16946. items:
  16947. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  16948. type: array
  16949. "500":
  16950. description: Internal Server Error
  16951. schema:
  16952. $ref: '#/definitions/app.Response'
  16953. security:
  16954. - ApiKeyAuth: []
  16955. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  16956. tags:
  16957. - 企业风险管理v3(app)
  16958. /Ermcp3/QryAreaExpourseFutuDetail:
  16959. get:
  16960. parameters:
  16961. - description: 用户ID
  16962. in: query
  16963. name: userid
  16964. required: true
  16965. type: integer
  16966. - description: 套保商品id
  16967. in: query
  16968. name: middlegoodsid
  16969. required: true
  16970. type: integer
  16971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16972. in: query
  16973. name: cycletype
  16974. required: true
  16975. type: integer
  16976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16977. 全(0)【原值】
  16978. in: query
  16979. name: cycletime
  16980. required: true
  16981. type: string
  16982. produces:
  16983. - application/json
  16984. responses:
  16985. "200":
  16986. description: OK
  16987. schema:
  16988. items:
  16989. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  16990. type: array
  16991. "500":
  16992. description: Internal Server Error
  16993. schema:
  16994. $ref: '#/definitions/app.Response'
  16995. security:
  16996. - ApiKeyAuth: []
  16997. summary: 查询敞口期货明细(敞口报表/期货明细)
  16998. tags:
  16999. - 企业风险管理v3(app)
  17000. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  17001. get:
  17002. parameters:
  17003. - description: 用户ID
  17004. in: query
  17005. name: userid
  17006. required: true
  17007. type: integer
  17008. - description: 套保商品id
  17009. in: query
  17010. name: middlegoodsid
  17011. required: true
  17012. type: integer
  17013. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17014. in: query
  17015. name: cycletype
  17016. required: true
  17017. type: integer
  17018. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17019. 全(0)【原值】
  17020. in: query
  17021. name: cycletime
  17022. required: true
  17023. type: string
  17024. produces:
  17025. - application/json
  17026. responses:
  17027. "200":
  17028. description: OK
  17029. schema:
  17030. items:
  17031. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  17032. type: array
  17033. "500":
  17034. description: Internal Server Error
  17035. schema:
  17036. $ref: '#/definitions/app.Response'
  17037. security:
  17038. - ApiKeyAuth: []
  17039. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  17040. tags:
  17041. - 企业风险管理v3(app)
  17042. /Ermcp3/QryAreaExpourseParamChLogDetail:
  17043. get:
  17044. parameters:
  17045. - description: 用户ID
  17046. in: query
  17047. name: userid
  17048. required: true
  17049. type: integer
  17050. - description: 套保商品id
  17051. in: query
  17052. name: middlegoodsid
  17053. required: true
  17054. type: integer
  17055. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17056. in: query
  17057. name: cycletype
  17058. required: true
  17059. type: integer
  17060. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17061. 全(0)【原值】
  17062. in: query
  17063. name: cycletime
  17064. required: true
  17065. type: string
  17066. produces:
  17067. - application/json
  17068. responses:
  17069. "200":
  17070. description: OK
  17071. schema:
  17072. items:
  17073. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  17074. type: array
  17075. "500":
  17076. description: Internal Server Error
  17077. schema:
  17078. $ref: '#/definitions/app.Response'
  17079. security:
  17080. - ApiKeyAuth: []
  17081. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  17082. tags:
  17083. - 企业风险管理v3(app)
  17084. /Ermcp3/QryAreaExpourseReport:
  17085. get:
  17086. parameters:
  17087. - description: 用户ID
  17088. in: query
  17089. name: userid
  17090. required: true
  17091. type: integer
  17092. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  17093. in: query
  17094. name: querytype
  17095. required: true
  17096. type: integer
  17097. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17098. in: query
  17099. name: cycletype
  17100. required: true
  17101. type: integer
  17102. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17103. 全(0)【原值】
  17104. in: query
  17105. name: cycletime
  17106. required: true
  17107. type: string
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. items:
  17115. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  17116. type: array
  17117. "500":
  17118. description: Internal Server Error
  17119. schema:
  17120. $ref: '#/definitions/app.Response'
  17121. security:
  17122. - ApiKeyAuth: []
  17123. summary: 查询敞口报表
  17124. tags:
  17125. - 企业风险管理v3(app)
  17126. /Ermcp3/QryAreaSpotplReport:
  17127. get:
  17128. parameters:
  17129. - description: 用户ID
  17130. in: query
  17131. name: userid
  17132. required: true
  17133. type: integer
  17134. - description: 查询类型 1-报表 2-报表明细
  17135. in: query
  17136. name: querytype
  17137. required: true
  17138. type: integer
  17139. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17140. in: query
  17141. name: cycletype
  17142. required: true
  17143. type: integer
  17144. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17145. 全(0)【原值】
  17146. in: query
  17147. name: cycletime
  17148. required: true
  17149. type: string
  17150. - description: 现货品种id(明细必填)
  17151. in: query
  17152. name: deliverygoodsid
  17153. type: integer
  17154. - description: 币种id(明细必填)
  17155. in: query
  17156. name: currencyid
  17157. type: integer
  17158. produces:
  17159. - application/json
  17160. responses:
  17161. "200":
  17162. description: OK
  17163. schema:
  17164. items:
  17165. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  17166. type: array
  17167. "500":
  17168. description: Internal Server Error
  17169. schema:
  17170. $ref: '#/definitions/app.Response'
  17171. security:
  17172. - ApiKeyAuth: []
  17173. summary: 查询现货报表
  17174. tags:
  17175. - 企业风险管理v3(app)
  17176. /Ermcp3/QryAreaStockReport:
  17177. get:
  17178. parameters:
  17179. - description: 用户ID
  17180. in: query
  17181. name: userid
  17182. required: true
  17183. type: integer
  17184. - description: 查询类型 1-报表 2-报表明细
  17185. in: query
  17186. name: querytype
  17187. required: true
  17188. type: integer
  17189. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17190. in: query
  17191. name: cycletype
  17192. required: true
  17193. type: integer
  17194. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17195. 全(0)【原值】
  17196. in: query
  17197. name: cycletime
  17198. required: true
  17199. type: string
  17200. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  17201. in: query
  17202. name: sumfields
  17203. type: string
  17204. - description: 品种ID
  17205. in: query
  17206. name: deliverygoodsid
  17207. type: integer
  17208. - description: 品类ID
  17209. in: query
  17210. name: wrstandardid
  17211. type: integer
  17212. - description: 品牌ID
  17213. in: query
  17214. name: spotgoodsbrandid
  17215. type: integer
  17216. - description: 仓库ID
  17217. in: query
  17218. name: warehouseinfoid
  17219. type: integer
  17220. produces:
  17221. - application/json
  17222. responses:
  17223. "200":
  17224. description: OK
  17225. schema:
  17226. items:
  17227. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  17228. type: array
  17229. "500":
  17230. description: Internal Server Error
  17231. schema:
  17232. $ref: '#/definitions/app.Response'
  17233. security:
  17234. - ApiKeyAuth: []
  17235. summary: 查询库存报表
  17236. tags:
  17237. - 企业风险管理v3(app)
  17238. /Ermcp3/QryAreaSumPL:
  17239. get:
  17240. parameters:
  17241. - description: 用户ID
  17242. in: query
  17243. name: userid
  17244. required: true
  17245. type: integer
  17246. - description: 查询类型 1-报表 2-报表明细
  17247. in: query
  17248. name: querytype
  17249. required: true
  17250. type: integer
  17251. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17252. in: query
  17253. name: cycletype
  17254. required: true
  17255. type: integer
  17256. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17257. 全(0)【原值】
  17258. in: query
  17259. name: cycletime
  17260. required: true
  17261. type: string
  17262. - description: 币种id(明细必填)
  17263. in: query
  17264. name: currencyid
  17265. type: integer
  17266. produces:
  17267. - application/json
  17268. responses:
  17269. "200":
  17270. description: OK
  17271. schema:
  17272. items:
  17273. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17274. type: array
  17275. "500":
  17276. description: Internal Server Error
  17277. schema:
  17278. $ref: '#/definitions/app.Response'
  17279. security:
  17280. - ApiKeyAuth: []
  17281. summary: 查询汇总损益表
  17282. tags:
  17283. - 企业风险管理v3(app)
  17284. /Ermcp3/QryFinanceReport:
  17285. get:
  17286. parameters:
  17287. - description: 用户ID
  17288. in: query
  17289. name: userid
  17290. required: true
  17291. type: integer
  17292. - description: 查询类型 1-报表 2-报表明细
  17293. in: query
  17294. name: querytype
  17295. required: true
  17296. type: integer
  17297. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17298. in: query
  17299. name: cycletype
  17300. required: true
  17301. type: integer
  17302. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17303. 全(0)【原值】
  17304. in: query
  17305. name: cycletime
  17306. required: true
  17307. type: string
  17308. - description: 币种id(报表明细必填)
  17309. in: query
  17310. name: currencyid
  17311. type: integer
  17312. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17313. in: query
  17314. name: sumfields
  17315. type: string
  17316. produces:
  17317. - application/json
  17318. responses:
  17319. "200":
  17320. description: OK
  17321. schema:
  17322. items:
  17323. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17324. type: array
  17325. "500":
  17326. description: Internal Server Error
  17327. schema:
  17328. $ref: '#/definitions/app.Response'
  17329. security:
  17330. - ApiKeyAuth: []
  17331. summary: 查询财务报表
  17332. tags:
  17333. - 企业风险管理v3(app)
  17334. /Ermcp3/QryTaFutureDataReport:
  17335. get:
  17336. parameters:
  17337. - description: 用户ID
  17338. in: query
  17339. name: userid
  17340. required: true
  17341. type: integer
  17342. - description: 查询类型 1-报表 2-报表明细
  17343. in: query
  17344. name: querytype
  17345. required: true
  17346. type: integer
  17347. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17348. in: query
  17349. name: cycletype
  17350. required: true
  17351. type: integer
  17352. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17353. 全(0)【原值】
  17354. in: query
  17355. name: cycletime
  17356. required: true
  17357. type: string
  17358. - description: 币种id(查明细必填)
  17359. in: query
  17360. name: currencyid
  17361. type: integer
  17362. - description: 品种id(查明细必填)
  17363. in: query
  17364. name: goodsgroupid
  17365. type: integer
  17366. - description: 商品id(查明细必填)
  17367. in: query
  17368. name: goodsid
  17369. type: integer
  17370. - description: 买卖方向(查明细必填)
  17371. in: query
  17372. name: buyorsell
  17373. type: integer
  17374. produces:
  17375. - application/json
  17376. responses:
  17377. "200":
  17378. description: OK
  17379. schema:
  17380. items:
  17381. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17382. type: array
  17383. "500":
  17384. description: Internal Server Error
  17385. schema:
  17386. $ref: '#/definitions/app.Response'
  17387. security:
  17388. - ApiKeyAuth: []
  17389. summary: 查询期货报表
  17390. tags:
  17391. - 企业风险管理v3(app)
  17392. /Ermcp3/QueryAreaStock:
  17393. get:
  17394. parameters:
  17395. - description: 用户ID
  17396. in: query
  17397. name: userid
  17398. required: true
  17399. type: integer
  17400. produces:
  17401. - application/json
  17402. responses:
  17403. "200":
  17404. description: OK
  17405. schema:
  17406. items:
  17407. $ref: '#/definitions/models.Ermcp3AreaStock'
  17408. type: array
  17409. "500":
  17410. description: Internal Server Error
  17411. schema:
  17412. $ref: '#/definitions/app.Response'
  17413. security:
  17414. - ApiKeyAuth: []
  17415. summary: 查询机构库存(库存管理/当前库存)
  17416. tags:
  17417. - 企业风险管理v3(app)
  17418. /Ermcp3/QueryAreaStockApply:
  17419. get:
  17420. parameters:
  17421. - description: 用户ID
  17422. in: query
  17423. name: userid
  17424. required: true
  17425. type: integer
  17426. - description: 用户类型 2-机构 7-企业成员
  17427. in: query
  17428. name: usertype
  17429. type: integer
  17430. - description: 现货商品ID
  17431. in: query
  17432. name: deliverygoodsid
  17433. type: integer
  17434. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17435. in: query
  17436. name: inouttype
  17437. type: string
  17438. - description: 合同ID
  17439. in: query
  17440. name: spotcontractid
  17441. type: integer
  17442. - description: 品类ID
  17443. in: query
  17444. name: wrstandardid
  17445. type: integer
  17446. - description: 品牌ID
  17447. in: query
  17448. name: spotgoodsbrandid
  17449. type: integer
  17450. - description: 仓库ID
  17451. in: query
  17452. name: warehouseinfoid
  17453. type: integer
  17454. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17455. in: query
  17456. name: applystatus
  17457. type: string
  17458. produces:
  17459. - application/json
  17460. responses:
  17461. "200":
  17462. description: OK
  17463. schema:
  17464. items:
  17465. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  17466. type: array
  17467. "500":
  17468. description: Internal Server Error
  17469. schema:
  17470. $ref: '#/definitions/app.Response'
  17471. security:
  17472. - ApiKeyAuth: []
  17473. summary: 查询库存申请(出入库记录|库存审核)
  17474. tags:
  17475. - 企业风险管理v3(app)
  17476. /Ermcp3/QueryAreaStockApplySum:
  17477. get:
  17478. parameters:
  17479. - description: 合同ID
  17480. in: query
  17481. name: spotcontractid
  17482. type: integer
  17483. produces:
  17484. - application/json
  17485. responses:
  17486. "200":
  17487. description: OK
  17488. schema:
  17489. items:
  17490. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  17491. type: array
  17492. "500":
  17493. description: Internal Server Error
  17494. schema:
  17495. $ref: '#/definitions/app.Response'
  17496. security:
  17497. - ApiKeyAuth: []
  17498. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  17499. tags:
  17500. - 企业风险管理v3(app)
  17501. /Ermcp3/QueryDGFactoryItem:
  17502. get:
  17503. parameters:
  17504. - description: 用户id
  17505. in: query
  17506. name: userid
  17507. type: integer
  17508. - description: 用户类型 2-机构 7-企业成员
  17509. in: query
  17510. name: usertype
  17511. type: integer
  17512. - description: 选择项ID(SEQ_DGFACTORYITEM)
  17513. in: query
  17514. name: dgfactoryitemid
  17515. type: integer
  17516. - description: 现货品种ID
  17517. in: query
  17518. name: deliverygoodsid
  17519. type: integer
  17520. - description: 要素项类型
  17521. in: query
  17522. name: dgfactoryitemtypeid
  17523. type: integer
  17524. - description: 顺序
  17525. in: query
  17526. name: orderindex
  17527. type: integer
  17528. produces:
  17529. - application/json
  17530. responses:
  17531. "200":
  17532. description: OK
  17533. schema:
  17534. items:
  17535. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  17536. type: array
  17537. "500":
  17538. description: Internal Server Error
  17539. schema:
  17540. $ref: '#/definitions/app.Response'
  17541. security:
  17542. - ApiKeyAuth: []
  17543. summary: 查询品种要素定义项
  17544. tags:
  17545. - 企业风险管理v3(app)
  17546. /Ermcp3/QueryDeliveryGoods:
  17547. get:
  17548. parameters:
  17549. - description: 用户id
  17550. in: query
  17551. name: userid
  17552. required: true
  17553. type: integer
  17554. - description: 用户类型 2-机构 7-企业成员
  17555. in: query
  17556. name: usertype
  17557. type: integer
  17558. - description: 排除已配置的业务类型商品 1-套保 2-套利
  17559. in: query
  17560. name: excludecfg
  17561. type: integer
  17562. produces:
  17563. - application/json
  17564. responses:
  17565. "200":
  17566. description: OK
  17567. schema:
  17568. items:
  17569. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  17570. type: array
  17571. "500":
  17572. description: Internal Server Error
  17573. schema:
  17574. $ref: '#/definitions/app.Response'
  17575. security:
  17576. - ApiKeyAuth: []
  17577. summary: 查询现货商品
  17578. tags:
  17579. - 企业风险管理v3(app)
  17580. /Ermcp3/QueryDeliveryGoodsDetail:
  17581. get:
  17582. parameters:
  17583. - description: 用户id
  17584. in: query
  17585. name: userid
  17586. required: true
  17587. type: integer
  17588. - description: 用户类型 2-机构 7-企业成员
  17589. in: query
  17590. name: usertype
  17591. type: integer
  17592. - description: 现货商品id
  17593. in: query
  17594. name: deliverygoodsid
  17595. type: integer
  17596. produces:
  17597. - application/json
  17598. responses:
  17599. "200":
  17600. description: OK
  17601. schema:
  17602. items:
  17603. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  17604. type: array
  17605. "500":
  17606. description: Internal Server Error
  17607. schema:
  17608. $ref: '#/definitions/app.Response'
  17609. security:
  17610. - ApiKeyAuth: []
  17611. summary: 查询现货商品详情
  17612. tags:
  17613. - 企业风险管理v3(app)
  17614. /Ermcp3/QueryExposureDetail:
  17615. get:
  17616. parameters:
  17617. - description: 用户id
  17618. in: query
  17619. name: userid
  17620. required: true
  17621. type: integer
  17622. - description: 用户类型 2-机构 7-企业成员
  17623. in: query
  17624. name: usertype
  17625. type: integer
  17626. - description: 套保商品
  17627. in: query
  17628. name: middlegoodsid
  17629. required: true
  17630. type: integer
  17631. produces:
  17632. - application/json
  17633. responses:
  17634. "200":
  17635. description: OK
  17636. schema:
  17637. items:
  17638. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  17639. type: array
  17640. "500":
  17641. description: Internal Server Error
  17642. schema:
  17643. $ref: '#/definitions/app.Response'
  17644. security:
  17645. - ApiKeyAuth: []
  17646. summary: 查询敞口现货明细
  17647. tags:
  17648. - 企业风险管理v3(app)
  17649. /Ermcp3/QueryExposureSpot:
  17650. get:
  17651. parameters:
  17652. - description: 用户id
  17653. in: query
  17654. name: userid
  17655. required: true
  17656. type: integer
  17657. - description: 用户类型 2-机构 7-企业成员
  17658. in: query
  17659. name: usertype
  17660. type: integer
  17661. produces:
  17662. - application/json
  17663. responses:
  17664. "200":
  17665. description: OK
  17666. schema:
  17667. items:
  17668. $ref: '#/definitions/models.Ermcp3AreaSpot'
  17669. type: array
  17670. "500":
  17671. description: Internal Server Error
  17672. schema:
  17673. $ref: '#/definitions/app.Response'
  17674. security:
  17675. - ApiKeyAuth: []
  17676. summary: 查询敞口现货头寸(敞口/现货头寸)
  17677. tags:
  17678. - 企业风险管理v3(app)
  17679. /Ermcp3/QueryExposureSpotDetail:
  17680. get:
  17681. parameters:
  17682. - description: 用户id
  17683. in: query
  17684. name: userid
  17685. required: true
  17686. type: integer
  17687. - description: 用户类型 2-机构 7-企业成员
  17688. in: query
  17689. name: usertype
  17690. type: integer
  17691. - description: 现货品种ID
  17692. in: query
  17693. name: deliverygoodsid
  17694. required: true
  17695. type: integer
  17696. produces:
  17697. - application/json
  17698. responses:
  17699. "200":
  17700. description: OK
  17701. schema:
  17702. items:
  17703. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  17704. type: array
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17712. tags:
  17713. - 企业风险管理v3(app)
  17714. /Ermcp3/QueryGoodsGroup:
  17715. get:
  17716. parameters:
  17717. - description: 用户id
  17718. in: query
  17719. name: userid
  17720. required: true
  17721. type: integer
  17722. - description: 用户类型 2-机构 7-企业成员
  17723. in: query
  17724. name: usertype
  17725. type: integer
  17726. - description: 排除套保品中已关联的商品组 1-排除
  17727. in: query
  17728. name: excludecfg
  17729. type: integer
  17730. produces:
  17731. - application/json
  17732. responses:
  17733. "200":
  17734. description: OK
  17735. schema:
  17736. items:
  17737. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  17738. type: array
  17739. "500":
  17740. description: Internal Server Error
  17741. schema:
  17742. $ref: '#/definitions/app.Response'
  17743. security:
  17744. - ApiKeyAuth: []
  17745. summary: 查询期货商品组
  17746. tags:
  17747. - 企业风险管理v3(app)
  17748. /Ermcp3/QueryGoodsWrstandard:
  17749. get:
  17750. parameters:
  17751. - description: 用户id
  17752. in: query
  17753. name: userid
  17754. required: true
  17755. type: integer
  17756. - description: 用户类型 2-机构 7-企业成员
  17757. in: query
  17758. name: usertype
  17759. type: integer
  17760. - description: 现货商品id
  17761. in: query
  17762. name: deliverygoodsid
  17763. type: integer
  17764. produces:
  17765. - application/json
  17766. responses:
  17767. "200":
  17768. description: OK
  17769. schema:
  17770. items:
  17771. $ref: '#/definitions/models.Ermcp3Wrstandard'
  17772. type: array
  17773. "500":
  17774. description: Internal Server Error
  17775. schema:
  17776. $ref: '#/definitions/app.Response'
  17777. security:
  17778. - ApiKeyAuth: []
  17779. summary: 查询商品品类
  17780. tags:
  17781. - 企业风险管理v3(app)
  17782. /Ermcp3/QueryGoodsbrand:
  17783. get:
  17784. parameters:
  17785. - description: 用户id
  17786. in: query
  17787. name: userid
  17788. required: true
  17789. type: integer
  17790. - description: 用户类型 2-机构 7-企业成员
  17791. in: query
  17792. name: usertype
  17793. type: integer
  17794. produces:
  17795. - application/json
  17796. responses:
  17797. "200":
  17798. description: OK
  17799. schema:
  17800. items:
  17801. $ref: '#/definitions/models.Ermcp3Brand'
  17802. type: array
  17803. "500":
  17804. description: Internal Server Error
  17805. schema:
  17806. $ref: '#/definitions/app.Response'
  17807. security:
  17808. - ApiKeyAuth: []
  17809. summary: 查询商品品牌
  17810. tags:
  17811. - 企业风险管理v3(app)
  17812. /Ermcp3/QueryHedgePlan:
  17813. get:
  17814. parameters:
  17815. - description: 用户ID
  17816. in: query
  17817. name: userid
  17818. required: true
  17819. type: integer
  17820. - description: 用户类型 2-机构 7-企业成员
  17821. in: query
  17822. name: usertype
  17823. type: integer
  17824. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  17825. in: query
  17826. name: hedgeplanstatus
  17827. required: true
  17828. type: string
  17829. produces:
  17830. - application/json
  17831. responses:
  17832. "200":
  17833. description: OK
  17834. schema:
  17835. items:
  17836. $ref: '#/definitions/models.Ermcp3HedgePlan'
  17837. type: array
  17838. "500":
  17839. description: Internal Server Error
  17840. schema:
  17841. $ref: '#/definitions/app.Response'
  17842. security:
  17843. - ApiKeyAuth: []
  17844. summary: 查询套保计划
  17845. tags:
  17846. - 企业风险管理v3(app)
  17847. /Ermcp3/QueryMiddleGoodsDetail:
  17848. get:
  17849. parameters:
  17850. - description: 用户id
  17851. in: query
  17852. name: userid
  17853. required: true
  17854. type: integer
  17855. - description: 用户类型 2-机构 7-企业成员
  17856. in: query
  17857. name: usertype
  17858. type: integer
  17859. - description: 套保品种id
  17860. in: query
  17861. name: middlegoodsid
  17862. type: integer
  17863. produces:
  17864. - application/json
  17865. responses:
  17866. "200":
  17867. description: OK
  17868. schema:
  17869. items:
  17870. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  17871. type: array
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 查询套保品种详情(套保品种/商品详情)
  17879. tags:
  17880. - 企业风险管理v3(app)
  17881. /Ermcp3/QueryRootUserAccount:
  17882. get:
  17883. parameters:
  17884. - description: 用户ID
  17885. in: query
  17886. name: userid
  17887. required: true
  17888. type: integer
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. items:
  17896. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  17897. type: array
  17898. "500":
  17899. description: Internal Server Error
  17900. schema:
  17901. $ref: '#/definitions/app.Response'
  17902. security:
  17903. - ApiKeyAuth: []
  17904. summary: 查询顶级用户信息
  17905. tags:
  17906. - 企业风险管理v3(app)
  17907. /Ermcp3/QuerySpotContract:
  17908. get:
  17909. parameters:
  17910. - description: 用户id
  17911. in: query
  17912. name: userid
  17913. required: true
  17914. type: integer
  17915. - description: 用户类型 2-机构 7-企业成员
  17916. in: query
  17917. name: usertype
  17918. type: integer
  17919. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  17920. in: query
  17921. name: querytype
  17922. required: true
  17923. type: integer
  17924. - description: 合同ID(SpotContractId)
  17925. in: query
  17926. name: contractid
  17927. type: string
  17928. produces:
  17929. - application/json
  17930. responses:
  17931. "200":
  17932. description: OK
  17933. schema:
  17934. items:
  17935. $ref: '#/definitions/models.Ermcp3Contract'
  17936. type: array
  17937. "500":
  17938. description: Internal Server Error
  17939. schema:
  17940. $ref: '#/definitions/app.Response'
  17941. security:
  17942. - ApiKeyAuth: []
  17943. summary: 查询现货合同
  17944. tags:
  17945. - 企业风险管理v3(app)
  17946. /Ermcp3/QuerySpotContractBS:
  17947. get:
  17948. parameters:
  17949. - description: 用户id
  17950. in: query
  17951. name: userid
  17952. required: true
  17953. type: integer
  17954. - description: 用户类型 2-机构 7-企业成员
  17955. in: query
  17956. name: usertype
  17957. type: integer
  17958. - description: 合同类型 1-采购, -1-销售
  17959. in: query
  17960. name: contracttype
  17961. required: true
  17962. type: integer
  17963. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  17964. in: query
  17965. name: querytype
  17966. required: true
  17967. type: integer
  17968. - description: 合同ID(SpotContractId)
  17969. in: query
  17970. name: contractid
  17971. type: string
  17972. produces:
  17973. - application/json
  17974. responses:
  17975. "200":
  17976. description: OK
  17977. schema:
  17978. items:
  17979. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  17980. type: array
  17981. "500":
  17982. description: Internal Server Error
  17983. schema:
  17984. $ref: '#/definitions/app.Response'
  17985. security:
  17986. - ApiKeyAuth: []
  17987. summary: 查询合同(采购/销售)
  17988. tags:
  17989. - 企业风险管理v3(app)
  17990. /Ermcp3/QuerySpotGoodsPrice:
  17991. get:
  17992. parameters:
  17993. - description: 用户ID
  17994. in: query
  17995. name: userid
  17996. required: true
  17997. type: integer
  17998. produces:
  17999. - application/json
  18000. responses:
  18001. "200":
  18002. description: OK
  18003. schema:
  18004. items:
  18005. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  18006. type: array
  18007. "500":
  18008. description: Internal Server Error
  18009. schema:
  18010. $ref: '#/definitions/app.Response'
  18011. security:
  18012. - ApiKeyAuth: []
  18013. summary: 查询现货市价(现货市价)
  18014. tags:
  18015. - 企业风险管理v3(app)
  18016. /Ermcp3/QuerySpotGoodsPriceLog:
  18017. get:
  18018. parameters:
  18019. - description: 用户ID
  18020. in: query
  18021. name: userid
  18022. required: true
  18023. type: integer
  18024. - description: 现货商品ID
  18025. in: query
  18026. name: deliverygoodsid
  18027. required: true
  18028. type: integer
  18029. - description: 品牌ID
  18030. in: query
  18031. name: brandid
  18032. type: integer
  18033. - description: 品类ID
  18034. in: query
  18035. name: wrstandardid
  18036. type: integer
  18037. produces:
  18038. - application/json
  18039. responses:
  18040. "200":
  18041. description: OK
  18042. schema:
  18043. items:
  18044. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  18045. type: array
  18046. "500":
  18047. description: Internal Server Error
  18048. schema:
  18049. $ref: '#/definitions/app.Response'
  18050. security:
  18051. - ApiKeyAuth: []
  18052. summary: 查询现货市价详情(现货市价/详情)
  18053. tags:
  18054. - 企业风险管理v3(app)
  18055. /Erms2/QueryArbitrageStrategy:
  18056. get:
  18057. parameters:
  18058. - description: 账户ID
  18059. in: query
  18060. name: userid
  18061. required: true
  18062. type: integer
  18063. - description: 商品组ID(品种ID)
  18064. in: query
  18065. name: goodsgroupid
  18066. type: string
  18067. produces:
  18068. - application/json
  18069. responses:
  18070. "200":
  18071. description: OK
  18072. schema:
  18073. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  18074. "500":
  18075. description: Internal Server Error
  18076. schema:
  18077. $ref: '#/definitions/app.Response'
  18078. security:
  18079. - ApiKeyAuth: []
  18080. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  18081. tags:
  18082. - 风险管理
  18083. /Erms2/QueryInnerTradeDetail:
  18084. get:
  18085. parameters:
  18086. - description: 资金账户
  18087. in: query
  18088. name: accountid
  18089. required: true
  18090. type: integer
  18091. produces:
  18092. - application/json
  18093. responses:
  18094. "200":
  18095. description: OK
  18096. schema:
  18097. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  18098. "500":
  18099. description: Internal Server Error
  18100. schema:
  18101. $ref: '#/definitions/app.Response'
  18102. security:
  18103. - ApiKeyAuth: []
  18104. summary: 查询内部成交单信息
  18105. tags:
  18106. - 风险管理
  18107. /Erms2/QuerySpotContract:
  18108. get:
  18109. parameters:
  18110. - description: 策略申请ID
  18111. in: query
  18112. name: asapplyid
  18113. required: true
  18114. type: integer
  18115. - description: 现货合同ID
  18116. in: query
  18117. name: spotcontractid
  18118. type: integer
  18119. produces:
  18120. - application/json
  18121. responses:
  18122. "200":
  18123. description: OK
  18124. schema:
  18125. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  18126. "500":
  18127. description: Internal Server Error
  18128. schema:
  18129. $ref: '#/definitions/app.Response'
  18130. security:
  18131. - ApiKeyAuth: []
  18132. summary: 查询现货合同表信息(指定策略ID、未结束的)
  18133. tags:
  18134. - 风险管理
  18135. /Erms3/AddErms2ASApply:
  18136. post:
  18137. parameters:
  18138. - description: 申请参数
  18139. in: body
  18140. name: jsonBody
  18141. required: true
  18142. schema:
  18143. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  18144. produces:
  18145. - application/json
  18146. responses:
  18147. "200":
  18148. description: OK
  18149. schema:
  18150. $ref: '#/definitions/app.Response'
  18151. "500":
  18152. description: Internal Server Error
  18153. schema:
  18154. $ref: '#/definitions/app.Response'
  18155. security:
  18156. - ApiKeyAuth: []
  18157. summary: 新增期现套利业务申请
  18158. tags:
  18159. - 风险管理v3
  18160. /Erms3/AddErms2SpotTradeApply:
  18161. post:
  18162. parameters:
  18163. - description: 申请参数
  18164. in: body
  18165. name: jsonBody
  18166. required: true
  18167. schema:
  18168. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  18169. produces:
  18170. - application/json
  18171. responses:
  18172. "200":
  18173. description: OK
  18174. schema:
  18175. $ref: '#/definitions/app.Response'
  18176. "500":
  18177. description: Internal Server Error
  18178. schema:
  18179. $ref: '#/definitions/app.Response'
  18180. security:
  18181. - ApiKeyAuth: []
  18182. summary: 新增现货贸易业务申请
  18183. tags:
  18184. - 风险管理v3
  18185. /Erms3/AddSpotContractApply:
  18186. post:
  18187. parameters:
  18188. - description: 申请参数
  18189. in: body
  18190. name: jsonBody
  18191. required: true
  18192. schema:
  18193. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  18194. produces:
  18195. - application/json
  18196. responses:
  18197. "200":
  18198. description: OK
  18199. schema:
  18200. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  18201. "500":
  18202. description: Internal Server Error
  18203. schema:
  18204. $ref: '#/definitions/app.Response'
  18205. security:
  18206. - ApiKeyAuth: []
  18207. summary: 新增现货合同申请
  18208. tags:
  18209. - 风险管理v3
  18210. /Erms3/AddUserInfoApply:
  18211. post:
  18212. parameters:
  18213. - description: 用户信息
  18214. in: body
  18215. name: jsonBody
  18216. required: true
  18217. schema:
  18218. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18219. produces:
  18220. - application/json
  18221. responses:
  18222. "200":
  18223. description: OK
  18224. schema:
  18225. $ref: '#/definitions/app.Response'
  18226. "500":
  18227. description: Internal Server Error
  18228. schema:
  18229. $ref: '#/definitions/app.Response'
  18230. security:
  18231. - ApiKeyAuth: []
  18232. summary: 新增客户申请
  18233. tags:
  18234. - 风险管理v3
  18235. /Erms3/DeleteUserInfoApply:
  18236. get:
  18237. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18238. parameters:
  18239. - description: 用户ID
  18240. in: query
  18241. name: userID
  18242. required: true
  18243. type: integer
  18244. produces:
  18245. - application/json
  18246. responses:
  18247. "200":
  18248. description: OK
  18249. schema:
  18250. $ref: '#/definitions/app.Response'
  18251. "500":
  18252. description: Internal Server Error
  18253. schema:
  18254. $ref: '#/definitions/app.Response'
  18255. security:
  18256. - ApiKeyAuth: []
  18257. summary: 删除客户申请
  18258. tags:
  18259. - 风险管理v3
  18260. /Erms3/ModifyUserInfoApply:
  18261. post:
  18262. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18263. int, "userstate": 2 }'
  18264. parameters:
  18265. - description: 用户信息
  18266. in: body
  18267. name: jsonBody
  18268. required: true
  18269. schema:
  18270. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18271. produces:
  18272. - application/json
  18273. responses:
  18274. "200":
  18275. description: OK
  18276. schema:
  18277. $ref: '#/definitions/app.Response'
  18278. "500":
  18279. description: Internal Server Error
  18280. schema:
  18281. $ref: '#/definitions/app.Response'
  18282. security:
  18283. - ApiKeyAuth: []
  18284. summary: 修改客户申请
  18285. tags:
  18286. - 风险管理v3
  18287. /Erms3/QueryBusinessInfo:
  18288. get:
  18289. parameters:
  18290. - description: 资金账号ID列表,用逗号分隔
  18291. in: query
  18292. name: accountids
  18293. required: true
  18294. type: string
  18295. - description: 状态,0为未结束 1为已结束
  18296. in: query
  18297. name: status
  18298. required: true
  18299. type: integer
  18300. produces:
  18301. - application/json
  18302. responses:
  18303. "200":
  18304. description: OK
  18305. schema:
  18306. items:
  18307. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18308. type: array
  18309. "500":
  18310. description: Internal Server Error
  18311. schema:
  18312. $ref: '#/definitions/app.Response'
  18313. security:
  18314. - ApiKeyAuth: []
  18315. summary: 查询业务表单数据
  18316. tags:
  18317. - 风险管理v3
  18318. /Erms3/QueryPendingAuditContract:
  18319. get:
  18320. parameters:
  18321. - description: 资金账号ID列表,逗号隔开
  18322. in: query
  18323. name: accountids
  18324. required: true
  18325. type: string
  18326. - description: 合同类型 1-采购 -1-销售
  18327. in: query
  18328. name: contracttype
  18329. required: true
  18330. type: integer
  18331. - description: 合同模式 1-普通 2-回购
  18332. in: query
  18333. name: contractmode
  18334. required: true
  18335. type: integer
  18336. produces:
  18337. - application/json
  18338. responses:
  18339. "200":
  18340. description: OK
  18341. schema:
  18342. items:
  18343. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18344. type: array
  18345. "500":
  18346. description: Internal Server Error
  18347. schema:
  18348. $ref: '#/definitions/app.Response'
  18349. security:
  18350. - ApiKeyAuth: []
  18351. summary: 查询待审核合同
  18352. tags:
  18353. - 风险管理v3
  18354. /Erms3/QueryPendingBusiness:
  18355. get:
  18356. parameters:
  18357. - description: 资金账号ID列表,逗号隔开
  18358. in: query
  18359. name: accountids
  18360. required: true
  18361. type: string
  18362. produces:
  18363. - application/json
  18364. responses:
  18365. "200":
  18366. description: OK
  18367. schema:
  18368. items:
  18369. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18370. type: array
  18371. "500":
  18372. description: Internal Server Error
  18373. schema:
  18374. $ref: '#/definitions/app.Response'
  18375. security:
  18376. - ApiKeyAuth: []
  18377. summary: 查询待审核基差贸易业务
  18378. tags:
  18379. - 风险管理v3
  18380. /Erms3/QuerySpotContractAppleForm:
  18381. get:
  18382. parameters:
  18383. - description: 登录账号
  18384. in: query
  18385. name: loginID
  18386. required: true
  18387. type: integer
  18388. produces:
  18389. - application/json
  18390. responses:
  18391. "200":
  18392. description: OK
  18393. schema:
  18394. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18395. "500":
  18396. description: Internal Server Error
  18397. schema:
  18398. $ref: '#/definitions/app.Response'
  18399. security:
  18400. - ApiKeyAuth: []
  18401. summary: 查询合同申请表单数据
  18402. tags:
  18403. - 风险管理v3
  18404. /Erms3/QuerySpotContractDetail:
  18405. get:
  18406. parameters:
  18407. - description: 资金账号ID列表,用逗号分隔
  18408. in: query
  18409. name: accountids
  18410. required: true
  18411. type: string
  18412. - description: 合同类型,1为采购合同 -1为销售合同
  18413. in: query
  18414. name: contracttype
  18415. required: true
  18416. type: integer
  18417. - description: 合同模式,1为普通合同 2为回购销售合同
  18418. in: query
  18419. name: contractmode
  18420. required: true
  18421. type: integer
  18422. - description: 状态,0为履约中 1为已完成
  18423. in: query
  18424. name: status
  18425. required: true
  18426. type: integer
  18427. produces:
  18428. - application/json
  18429. responses:
  18430. "200":
  18431. description: OK
  18432. schema:
  18433. items:
  18434. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18435. type: array
  18436. "500":
  18437. description: Internal Server Error
  18438. schema:
  18439. $ref: '#/definitions/app.Response'
  18440. security:
  18441. - ApiKeyAuth: []
  18442. summary: 查询合同详细信息
  18443. tags:
  18444. - 风险管理v3
  18445. /Erms3/QueryUserInfoApplies:
  18446. get:
  18447. parameters:
  18448. - description: 页码
  18449. in: query
  18450. name: page
  18451. type: integer
  18452. - description: 每页条数
  18453. in: query
  18454. name: pagesize
  18455. type: integer
  18456. - description: 客户名称,支持模糊查询
  18457. in: query
  18458. name: userName
  18459. type: string
  18460. produces:
  18461. - application/json
  18462. responses:
  18463. "200":
  18464. description: OK
  18465. schema:
  18466. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 客户申请信息查询
  18474. tags:
  18475. - 风险管理v3
  18476. /Erms3/QueryUserInfos:
  18477. get:
  18478. parameters:
  18479. - description: 页码
  18480. in: query
  18481. name: page
  18482. type: integer
  18483. - description: 每页条数
  18484. in: query
  18485. name: pagesize
  18486. type: integer
  18487. - description: 客户名称,支持模糊查询
  18488. in: query
  18489. name: userName
  18490. type: string
  18491. produces:
  18492. - application/json
  18493. responses:
  18494. "200":
  18495. description: OK
  18496. schema:
  18497. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  18498. "500":
  18499. description: Internal Server Error
  18500. schema:
  18501. $ref: '#/definitions/app.Response'
  18502. security:
  18503. - ApiKeyAuth: []
  18504. summary: 客户信息查询
  18505. tags:
  18506. - 风险管理v3
  18507. /HSBY/GetHsbyMyCount:
  18508. get:
  18509. description: 说明: 不包括已完成的数量。
  18510. parameters:
  18511. - description: 资金账户列表,格式:1,2,3
  18512. in: query
  18513. name: accountIDs
  18514. required: true
  18515. type: string
  18516. produces:
  18517. - application/json
  18518. responses:
  18519. "200":
  18520. description: OK
  18521. schema:
  18522. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  18523. "500":
  18524. description: Internal Server Error
  18525. schema:
  18526. $ref: '#/definitions/app.Response'
  18527. security:
  18528. - ApiKeyAuth: []
  18529. summary: 获取我的订单与包裹数量
  18530. tags:
  18531. - 定制【海商报业】
  18532. /HSBY/QueryClientFixedADConfigs:
  18533. get:
  18534. produces:
  18535. - application/json
  18536. responses:
  18537. "200":
  18538. description: OK
  18539. schema:
  18540. $ref: '#/definitions/models.Clientfixedadconfig'
  18541. "500":
  18542. description: Internal Server Error
  18543. schema:
  18544. $ref: '#/definitions/app.Response'
  18545. security:
  18546. - ApiKeyAuth: []
  18547. summary: 获取终端固定广告配置
  18548. tags:
  18549. - 定制【海商报业】
  18550. /HSBY/QueryHsbyBuyMyTradeDetail:
  18551. get:
  18552. parameters:
  18553. - description: 页码
  18554. in: query
  18555. name: page
  18556. type: integer
  18557. - description: 每页条数
  18558. in: query
  18559. name: pagesize
  18560. type: integer
  18561. - description: 资金账户列表,格式:1,2,3
  18562. in: query
  18563. name: accountIDs
  18564. required: true
  18565. type: string
  18566. produces:
  18567. - application/json
  18568. responses:
  18569. "200":
  18570. description: OK
  18571. schema:
  18572. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  18573. "500":
  18574. description: Internal Server Error
  18575. schema:
  18576. $ref: '#/definitions/app.Response'
  18577. security:
  18578. - ApiKeyAuth: []
  18579. summary: 查询"我的订单 - 已完成"单据信息
  18580. tags:
  18581. - 定制【海商报业】
  18582. /HSBY/QueryHsbyGoodsOrderDetails:
  18583. get:
  18584. description: 说明:查询结果已按委托价格和委托时间排序
  18585. parameters:
  18586. - description: 商品ID
  18587. in: query
  18588. name: goodsID
  18589. required: true
  18590. type: integer
  18591. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  18592. in: query
  18593. name: accountIDs
  18594. type: string
  18595. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  18596. in: query
  18597. name: buyOrSell
  18598. type: integer
  18599. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  18600. in: query
  18601. name: price
  18602. type: number
  18603. - description: 档位,不传则默认为3档
  18604. in: query
  18605. name: speed
  18606. type: integer
  18607. produces:
  18608. - application/json
  18609. responses:
  18610. "200":
  18611. description: OK
  18612. schema:
  18613. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  18614. "500":
  18615. description: Internal Server Error
  18616. schema:
  18617. $ref: '#/definitions/app.Response'
  18618. security:
  18619. - ApiKeyAuth: []
  18620. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  18621. tags:
  18622. - 定制【海商报业】
  18623. /HSBY/QueryHsbyListingGoodsDetail:
  18624. get:
  18625. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  18626. parameters:
  18627. - description: 商品ID
  18628. in: query
  18629. name: goodsID
  18630. required: true
  18631. type: integer
  18632. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  18633. in: query
  18634. name: accountID
  18635. type: integer
  18636. produces:
  18637. - application/json
  18638. responses:
  18639. "200":
  18640. description: OK
  18641. schema:
  18642. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  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/QueryHsbyMarketGoodsDetail:
  18653. get:
  18654. parameters:
  18655. - description: 委托单号
  18656. in: query
  18657. name: orderID
  18658. required: true
  18659. type: integer
  18660. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  18661. in: query
  18662. name: accountID
  18663. type: integer
  18664. produces:
  18665. - application/json
  18666. responses:
  18667. "200":
  18668. description: OK
  18669. schema:
  18670. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18671. "500":
  18672. description: Internal Server Error
  18673. schema:
  18674. $ref: '#/definitions/app.Response'
  18675. security:
  18676. - ApiKeyAuth: []
  18677. summary: 查询三级市场(商城)商品信息详情
  18678. tags:
  18679. - 定制【海商报业】
  18680. /HSBY/QueryHsbyMarketGoodses:
  18681. get:
  18682. parameters:
  18683. - description: 页码
  18684. in: query
  18685. name: page
  18686. type: integer
  18687. - description: 每页条数
  18688. in: query
  18689. name: pagesize
  18690. type: integer
  18691. - description: 市场ID列表,格式:1,2,3
  18692. in: query
  18693. name: marketIDs
  18694. required: true
  18695. type: string
  18696. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  18697. in: query
  18698. name: accountID
  18699. required: true
  18700. type: integer
  18701. - description: 类别ID
  18702. in: query
  18703. name: categoryID
  18704. type: integer
  18705. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18706. in: query
  18707. name: goodsIDs
  18708. type: string
  18709. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  18710. in: query
  18711. name: couponTypeID
  18712. type: integer
  18713. produces:
  18714. - application/json
  18715. responses:
  18716. "200":
  18717. description: OK
  18718. schema:
  18719. $ref: '#/definitions/models.HsbyMarketGoods'
  18720. "500":
  18721. description: Internal Server Error
  18722. schema:
  18723. $ref: '#/definitions/app.Response'
  18724. security:
  18725. - ApiKeyAuth: []
  18726. summary: 查询特卖商品列表(三级商城)
  18727. tags:
  18728. - 定制【海商报业】
  18729. /HSBY/QueryHsbyMarkets:
  18730. get:
  18731. produces:
  18732. - application/json
  18733. responses:
  18734. "200":
  18735. description: OK
  18736. schema:
  18737. $ref: '#/definitions/models.HsbyMarketInfo'
  18738. "500":
  18739. description: Internal Server Error
  18740. schema:
  18741. $ref: '#/definitions/app.Response'
  18742. security:
  18743. - ApiKeyAuth: []
  18744. summary: 查询海商报业相关市场信息
  18745. tags:
  18746. - 定制【海商报业】
  18747. /HSBY/QueryHsbyMyBuyOrderDetails:
  18748. get:
  18749. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  18750. parameters:
  18751. - description: 资金账户列表,格式:1,2,3
  18752. in: query
  18753. name: accountIDs
  18754. required: true
  18755. type: string
  18756. produces:
  18757. - application/json
  18758. responses:
  18759. "200":
  18760. description: OK
  18761. schema:
  18762. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  18763. "500":
  18764. description: Internal Server Error
  18765. schema:
  18766. $ref: '#/definitions/app.Response'
  18767. security:
  18768. - ApiKeyAuth: []
  18769. summary: 查询“我的订单”信息
  18770. tags:
  18771. - 定制【海商报业】
  18772. /HSBY/QueryHsbyMyGoods:
  18773. get:
  18774. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  18775. parameters:
  18776. - description: 资金账户列表,格式:1,2,3
  18777. in: query
  18778. name: accountIDs
  18779. required: true
  18780. type: string
  18781. produces:
  18782. - application/json
  18783. responses:
  18784. "200":
  18785. description: OK
  18786. schema:
  18787. $ref: '#/definitions/models.HsbyMyGoods'
  18788. "500":
  18789. description: Internal Server Error
  18790. schema:
  18791. $ref: '#/definitions/app.Response'
  18792. security:
  18793. - ApiKeyAuth: []
  18794. summary: 查询“我的商品”信息
  18795. tags:
  18796. - 定制【海商报业】
  18797. /HSBY/QueryHsbyMyPackages:
  18798. get:
  18799. parameters:
  18800. - description: 资金账户列表,格式:1,2,3
  18801. in: query
  18802. name: accountIDs
  18803. required: true
  18804. type: string
  18805. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18806. in: query
  18807. name: takeOrderStatus
  18808. type: integer
  18809. produces:
  18810. - application/json
  18811. responses:
  18812. "200":
  18813. description: OK
  18814. schema:
  18815. $ref: '#/definitions/models.HsbyMyPackage'
  18816. "500":
  18817. description: Internal Server Error
  18818. schema:
  18819. $ref: '#/definitions/app.Response'
  18820. security:
  18821. - ApiKeyAuth: []
  18822. summary: 查询我的包裹信息
  18823. tags:
  18824. - 定制【海商报业】
  18825. /HSBY/QueryHsbyPreGoodsDetail:
  18826. get:
  18827. parameters:
  18828. - description: 商品ID
  18829. in: query
  18830. name: goodsID
  18831. required: true
  18832. type: integer
  18833. - description: 资金账户,主要用于获取预售商品购买上限
  18834. in: query
  18835. name: accountID
  18836. type: integer
  18837. produces:
  18838. - application/json
  18839. responses:
  18840. "200":
  18841. description: OK
  18842. schema:
  18843. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  18844. "500":
  18845. description: Internal Server Error
  18846. schema:
  18847. $ref: '#/definitions/app.Response'
  18848. security:
  18849. - ApiKeyAuth: []
  18850. summary: 查询一级市场(预售)商品信息详情
  18851. tags:
  18852. - 定制【海商报业】
  18853. /HSBY/QueryHsbyPreGoodses:
  18854. get:
  18855. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  18856. parameters:
  18857. - description: 页码
  18858. in: query
  18859. name: page
  18860. type: integer
  18861. - description: 每页条数
  18862. in: query
  18863. name: pagesize
  18864. type: integer
  18865. - description: 市场ID列表,格式:1,2,3
  18866. in: query
  18867. name: marketIDs
  18868. required: true
  18869. type: string
  18870. - description: 目的地(省)ID
  18871. in: query
  18872. name: descProvinceID
  18873. type: integer
  18874. - description: 目的地(市)ID
  18875. in: query
  18876. name: descCityID
  18877. type: integer
  18878. produces:
  18879. - application/json
  18880. responses:
  18881. "200":
  18882. description: OK
  18883. schema:
  18884. $ref: '#/definitions/models.HsbyPreGoods'
  18885. "500":
  18886. description: Internal Server Error
  18887. schema:
  18888. $ref: '#/definitions/app.Response'
  18889. security:
  18890. - ApiKeyAuth: []
  18891. summary: 查询新品上市商品列表(一级市场预售)
  18892. tags:
  18893. - 定制【海商报业】
  18894. /HSBY/QueryHsbySellMyDetails:
  18895. get:
  18896. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  18897. parameters:
  18898. - description: 页码
  18899. in: query
  18900. name: page
  18901. type: integer
  18902. - description: 每页条数
  18903. in: query
  18904. name: pagesize
  18905. type: integer
  18906. - description: 资金账户列表,格式:1,2,3
  18907. in: query
  18908. name: accountIDs
  18909. required: true
  18910. type: string
  18911. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  18912. in: query
  18913. name: orderType
  18914. type: integer
  18915. produces:
  18916. - application/json
  18917. responses:
  18918. "200":
  18919. description: OK
  18920. schema:
  18921. $ref: '#/definitions/models.HsbySellMyDetail'
  18922. "500":
  18923. description: Internal Server Error
  18924. schema:
  18925. $ref: '#/definitions/app.Response'
  18926. security:
  18927. - ApiKeyAuth: []
  18928. summary: 查询"我的闲置"单据信息
  18929. tags:
  18930. - 定制【海商报业】
  18931. /HSBY/QueryHsbyTopGoodses:
  18932. get:
  18933. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  18934. parameters:
  18935. - description: 页码
  18936. in: query
  18937. name: page
  18938. type: integer
  18939. - description: 每页条数
  18940. in: query
  18941. name: pagesize
  18942. type: integer
  18943. - description: 市场ID列表,格式:1,2,3
  18944. in: query
  18945. name: marketIDs
  18946. required: true
  18947. type: string
  18948. - description: 目的地(省)ID
  18949. in: query
  18950. name: descProvinceID
  18951. type: integer
  18952. - description: 目的地(市)ID
  18953. in: query
  18954. name: descCityID
  18955. type: integer
  18956. produces:
  18957. - application/json
  18958. responses:
  18959. "200":
  18960. description: OK
  18961. schema:
  18962. $ref: '#/definitions/models.HsbyTopGoods'
  18963. "500":
  18964. description: Internal Server Error
  18965. schema:
  18966. $ref: '#/definitions/app.Response'
  18967. security:
  18968. - ApiKeyAuth: []
  18969. summary: 查询热卖商品列表(二级市场挂牌点选)
  18970. tags:
  18971. - 定制【海商报业】
  18972. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  18973. get:
  18974. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  18975. parameters:
  18976. - description: 商品ID
  18977. in: query
  18978. name: goodsID
  18979. required: true
  18980. type: integer
  18981. produces:
  18982. - application/json
  18983. responses:
  18984. "200":
  18985. description: OK
  18986. schema:
  18987. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18988. "500":
  18989. description: Internal Server Error
  18990. schema:
  18991. $ref: '#/definitions/app.Response'
  18992. security:
  18993. - ApiKeyAuth: []
  18994. summary: 查询游客三级市场(商城)商品信息详情
  18995. tags:
  18996. - 定制【海商报业】
  18997. /HSBY/QueryHsbyVisitorMarketGoodses:
  18998. get:
  18999. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  19000. parameters:
  19001. - description: 页码
  19002. in: query
  19003. name: page
  19004. type: integer
  19005. - description: 每页条数
  19006. in: query
  19007. name: pagesize
  19008. type: integer
  19009. - description: 市场ID列表,格式:1,2,3
  19010. in: query
  19011. name: marketIDs
  19012. required: true
  19013. type: string
  19014. - description: 类别ID
  19015. in: query
  19016. name: categoryID
  19017. type: integer
  19018. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19019. in: query
  19020. name: goodsIDs
  19021. type: string
  19022. produces:
  19023. - application/json
  19024. responses:
  19025. "200":
  19026. description: OK
  19027. schema:
  19028. $ref: '#/definitions/models.HsbyMarketGoods'
  19029. "500":
  19030. description: Internal Server Error
  19031. schema:
  19032. $ref: '#/definitions/app.Response'
  19033. security:
  19034. - ApiKeyAuth: []
  19035. summary: 查询游客特卖商品列表(三级商城)
  19036. tags:
  19037. - 定制【海商报业】
  19038. /HSBY/QueryMyCollectionOrders:
  19039. get:
  19040. parameters:
  19041. - description: 页码
  19042. in: query
  19043. name: page
  19044. type: integer
  19045. - description: 每页条数
  19046. in: query
  19047. name: pagesize
  19048. type: integer
  19049. - description: 资金账户,格式:1,2,3
  19050. in: query
  19051. name: accountIDs
  19052. required: true
  19053. type: string
  19054. produces:
  19055. - application/json
  19056. responses:
  19057. "200":
  19058. description: OK
  19059. schema:
  19060. $ref: '#/definitions/models.HsbySellCollectionOrder'
  19061. "500":
  19062. description: Internal Server Error
  19063. schema:
  19064. $ref: '#/definitions/app.Response'
  19065. security:
  19066. - ApiKeyAuth: []
  19067. summary: 我的闲置中收款信息查询
  19068. tags:
  19069. - 定制【海商报业】
  19070. /HSBY/QueryMyCouponHolds:
  19071. get:
  19072. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  19073. parameters:
  19074. - description: 资金账户列表,格式:1,2,3
  19075. in: query
  19076. name: accountIDs
  19077. required: true
  19078. type: string
  19079. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  19080. in: query
  19081. name: holdStatus
  19082. type: string
  19083. produces:
  19084. - application/json
  19085. responses:
  19086. "200":
  19087. description: OK
  19088. schema:
  19089. $ref: '#/definitions/models.MyCouponHold'
  19090. "500":
  19091. description: Internal Server Error
  19092. schema:
  19093. $ref: '#/definitions/app.Response'
  19094. security:
  19095. - ApiKeyAuth: []
  19096. summary: 我的优惠卷持仓查询
  19097. tags:
  19098. - 定制【海商报业】
  19099. /HSBY/QueryMyCoupons:
  19100. get:
  19101. parameters:
  19102. - description: 资金账户列表,格式:1,2,3
  19103. in: query
  19104. name: accountIDs
  19105. required: true
  19106. type: string
  19107. - description: 商品ID, 一般与sellUserID配套传入
  19108. in: query
  19109. name: goodsID
  19110. type: integer
  19111. - description: 卖方UserID
  19112. in: query
  19113. name: sellUserID
  19114. type: integer
  19115. produces:
  19116. - application/json
  19117. responses:
  19118. "200":
  19119. description: OK
  19120. schema:
  19121. $ref: '#/definitions/models.MyCoupon'
  19122. "500":
  19123. description: Internal Server Error
  19124. schema:
  19125. $ref: '#/definitions/app.Response'
  19126. security:
  19127. - ApiKeyAuth: []
  19128. summary: 我的优惠卷查询
  19129. tags:
  19130. - 定制【海商报业】
  19131. /HSBY/QueryMyPayOrders:
  19132. get:
  19133. parameters:
  19134. - description: 页码
  19135. in: query
  19136. name: page
  19137. type: integer
  19138. - description: 每页条数
  19139. in: query
  19140. name: pagesize
  19141. type: integer
  19142. - description: 资金账户列表,格式:1,2,3
  19143. in: query
  19144. name: accountIDs
  19145. required: true
  19146. type: string
  19147. - description: 买方委托单号
  19148. in: query
  19149. name: buyOrderID
  19150. type: integer
  19151. - description: 卖方委托单号
  19152. in: query
  19153. name: sellOrderID
  19154. type: integer
  19155. produces:
  19156. - application/json
  19157. responses:
  19158. "200":
  19159. description: OK
  19160. schema:
  19161. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  19162. "500":
  19163. description: Internal Server Error
  19164. schema:
  19165. $ref: '#/definitions/app.Response'
  19166. security:
  19167. - ApiKeyAuth: []
  19168. summary: 获取我的订单中待付款信息
  19169. tags:
  19170. - 定制【海商报业】
  19171. /HSBY/QueryMyUsedCoupon:
  19172. get:
  19173. parameters:
  19174. - description: 资金账户列表,格式:1,2,3
  19175. in: query
  19176. name: accountIDs
  19177. required: true
  19178. type: string
  19179. produces:
  19180. - application/json
  19181. responses:
  19182. "200":
  19183. description: OK
  19184. schema:
  19185. $ref: '#/definitions/models.MyUsedCoupon'
  19186. "500":
  19187. description: Internal Server Error
  19188. schema:
  19189. $ref: '#/definitions/app.Response'
  19190. security:
  19191. - ApiKeyAuth: []
  19192. summary: 已使用优惠卷查询
  19193. tags:
  19194. - 定制【海商报业】
  19195. /HSBY/QueryProvincesAndCities:
  19196. get:
  19197. description: 查询结果只包括二级市场商品已关连的省市信息。
  19198. parameters:
  19199. - description: 省ID
  19200. in: query
  19201. name: provinceID
  19202. type: integer
  19203. produces:
  19204. - application/json
  19205. responses:
  19206. "200":
  19207. description: OK
  19208. schema:
  19209. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  19210. "500":
  19211. description: Internal Server Error
  19212. schema:
  19213. $ref: '#/definitions/app.Response'
  19214. security:
  19215. - ApiKeyAuth: []
  19216. summary: 查询省市信息(不包括区)
  19217. tags:
  19218. - 定制【海商报业】
  19219. /HSBY/SetHsbyMyPackagesStatus:
  19220. post:
  19221. parameters:
  19222. - description: 提货单号
  19223. in: query
  19224. name: takeOrderID
  19225. required: true
  19226. type: string
  19227. - description: 资金账号
  19228. in: query
  19229. name: accountID
  19230. required: true
  19231. type: integer
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. $ref: '#/definitions/app.Response'
  19239. "500":
  19240. description: Internal Server Error
  19241. schema:
  19242. $ref: '#/definitions/app.Response'
  19243. security:
  19244. - ApiKeyAuth: []
  19245. summary: 设置我的包裹已收货状态
  19246. tags:
  19247. - 定制【海商报业】
  19248. /Market/QueryGoodsesByLoginID:
  19249. get:
  19250. parameters:
  19251. - description: 登录账号
  19252. in: query
  19253. name: loginID
  19254. required: true
  19255. type: integer
  19256. - description: 市场ID列表,格式:1,2,3
  19257. in: query
  19258. name: marketIDs
  19259. type: string
  19260. produces:
  19261. - application/json
  19262. responses:
  19263. "200":
  19264. description: OK
  19265. schema:
  19266. $ref: '#/definitions/models.Goods'
  19267. "500":
  19268. description: Internal Server Error
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. security:
  19272. - ApiKeyAuth: []
  19273. summary: 获取登录账号有权限的商品信息
  19274. tags:
  19275. - 通用市场
  19276. /Market/QueryMarketRun:
  19277. get:
  19278. parameters:
  19279. - description: 市场ID,不传返回所有
  19280. in: query
  19281. name: marketID
  19282. type: integer
  19283. produces:
  19284. - application/json
  19285. responses:
  19286. "200":
  19287. description: OK
  19288. schema:
  19289. $ref: '#/definitions/models.Marketrun'
  19290. "500":
  19291. description: Internal Server Error
  19292. schema:
  19293. $ref: '#/definitions/app.Response'
  19294. security:
  19295. - ApiKeyAuth: []
  19296. summary: 查询市场运行信息
  19297. tags:
  19298. - 通用市场
  19299. /Market/QueryMarketsByLoginID:
  19300. get:
  19301. parameters:
  19302. - description: 登录账号
  19303. in: query
  19304. name: loginID
  19305. required: true
  19306. type: integer
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. $ref: '#/definitions/models.Market'
  19314. "500":
  19315. description: Internal Server Error
  19316. schema:
  19317. $ref: '#/definitions/app.Response'
  19318. security:
  19319. - ApiKeyAuth: []
  19320. summary: 获取登录账号有权限的市场信息
  19321. tags:
  19322. - 通用市场
  19323. /Order/QueryHisTradeDetail:
  19324. get:
  19325. parameters:
  19326. - description: 资金账户 - 格式:1,2,3
  19327. in: query
  19328. name: accountID
  19329. required: true
  19330. type: string
  19331. - description: 成交单号
  19332. in: query
  19333. name: tradeID
  19334. type: integer
  19335. - description: 委托单号
  19336. in: query
  19337. name: orderID
  19338. type: integer
  19339. - description: 商品ID
  19340. in: query
  19341. name: goodsID
  19342. type: integer
  19343. - description: 交易模式 - 格式:1,2,3
  19344. in: query
  19345. name: tradeMode
  19346. type: string
  19347. - description: 委托单据类型
  19348. in: query
  19349. name: buildType
  19350. type: integer
  19351. - description: 成交类别 - 格式:1,2,3
  19352. in: query
  19353. name: tradeType
  19354. type: string
  19355. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19356. in: query
  19357. name: startDate
  19358. type: string
  19359. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19360. in: query
  19361. name: endDate
  19362. type: string
  19363. produces:
  19364. - application/json
  19365. responses:
  19366. "200":
  19367. description: OK
  19368. schema:
  19369. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19370. "500":
  19371. description: Internal Server Error
  19372. schema:
  19373. $ref: '#/definitions/app.Response'
  19374. security:
  19375. - ApiKeyAuth: []
  19376. summary: 历史成交单查询(合约市场)
  19377. tags:
  19378. - 通用单据
  19379. /Order/QueryHisTradeOrderDetail:
  19380. get:
  19381. parameters:
  19382. - description: 资金账户 - 格式:1,2,3
  19383. in: query
  19384. name: accountID
  19385. required: true
  19386. type: string
  19387. - description: 交易模式 - 格式:1,2,3
  19388. in: query
  19389. name: tradeMode
  19390. type: string
  19391. - description: 委托状态 - 格式:1,2,3
  19392. in: query
  19393. name: orderStatus
  19394. type: string
  19395. - description: 委托单号
  19396. in: query
  19397. name: orderID
  19398. type: integer
  19399. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19400. in: query
  19401. name: startDate
  19402. type: string
  19403. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19404. in: query
  19405. name: endDate
  19406. type: string
  19407. produces:
  19408. - application/json
  19409. responses:
  19410. "200":
  19411. description: OK
  19412. schema:
  19413. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19414. "500":
  19415. description: Internal Server Error
  19416. schema:
  19417. $ref: '#/definitions/app.Response'
  19418. security:
  19419. - ApiKeyAuth: []
  19420. summary: 历史委托单查询请求(合约市场)
  19421. tags:
  19422. - 通用单据
  19423. /Order/QueryTradeDetail:
  19424. get:
  19425. parameters:
  19426. - description: 资金账户 - 格式:1,2,3
  19427. in: query
  19428. name: accountID
  19429. required: true
  19430. type: string
  19431. - description: 成交单号
  19432. in: query
  19433. name: tradeID
  19434. type: integer
  19435. - description: 委托单号
  19436. in: query
  19437. name: orderID
  19438. type: integer
  19439. - description: 交易模式 - 格式:1,2,3
  19440. in: query
  19441. name: tradeMode
  19442. type: string
  19443. - description: 委托单据类型
  19444. in: query
  19445. name: buildType
  19446. type: integer
  19447. - description: 成交类别 - 格式:1,2,3
  19448. in: query
  19449. name: tradeType
  19450. type: string
  19451. - description: 商品ID
  19452. in: query
  19453. name: goodsID
  19454. type: integer
  19455. produces:
  19456. - application/json
  19457. responses:
  19458. "200":
  19459. description: OK
  19460. schema:
  19461. $ref: '#/definitions/order.QueryTradeDetailRsp'
  19462. "500":
  19463. description: Internal Server Error
  19464. schema:
  19465. $ref: '#/definitions/app.Response'
  19466. security:
  19467. - ApiKeyAuth: []
  19468. summary: 成交单查询(合约市场)
  19469. tags:
  19470. - 通用单据
  19471. /Order/QueryTradeOrderDetail:
  19472. get:
  19473. parameters:
  19474. - description: 资金账户 - 格式:1,2,3
  19475. in: query
  19476. name: accountID
  19477. required: true
  19478. type: string
  19479. - description: 交易模式 - 格式:1,2,3
  19480. in: query
  19481. name: tradeMode
  19482. type: string
  19483. - description: 委托状态 - 格式:1,2,3
  19484. in: query
  19485. name: orderStatus
  19486. type: string
  19487. - description: 委托单号
  19488. in: query
  19489. name: orderID
  19490. type: integer
  19491. produces:
  19492. - application/json
  19493. responses:
  19494. "200":
  19495. description: OK
  19496. schema:
  19497. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  19498. "500":
  19499. description: Internal Server Error
  19500. schema:
  19501. $ref: '#/definitions/app.Response'
  19502. security:
  19503. - ApiKeyAuth: []
  19504. summary: 委托单查询请求(合约市场)
  19505. tags:
  19506. - 通用单据
  19507. /Order/QueryTradePosition:
  19508. get:
  19509. parameters:
  19510. - description: 资金账户 - 格式:1,2,3
  19511. in: query
  19512. name: accountID
  19513. required: true
  19514. type: string
  19515. - description: 交易模式 - 格式:1,2,3
  19516. in: query
  19517. name: tradeMode
  19518. type: string
  19519. produces:
  19520. - application/json
  19521. responses:
  19522. "200":
  19523. description: OK
  19524. schema:
  19525. $ref: '#/definitions/order.QueryTradePositionRsp'
  19526. "500":
  19527. description: Internal Server Error
  19528. schema:
  19529. $ref: '#/definitions/app.Response'
  19530. security:
  19531. - ApiKeyAuth: []
  19532. summary: 持仓汇总查询(合约市场)
  19533. tags:
  19534. - 通用单据
  19535. /Qhj/QueryAccountInOutApply:
  19536. get:
  19537. parameters:
  19538. - description: 用户ID
  19539. in: query
  19540. name: userid
  19541. required: true
  19542. type: integer
  19543. - description: 申请起始日期(格式yyyymmdd)
  19544. in: query
  19545. name: begindate
  19546. type: string
  19547. - description: 申请截止日期(格式yyyymmdd)
  19548. in: query
  19549. name: enddate
  19550. type: string
  19551. - description: 模糊搜索名称
  19552. in: query
  19553. name: likename
  19554. type: string
  19555. produces:
  19556. - application/json
  19557. responses:
  19558. "200":
  19559. description: OK
  19560. schema:
  19561. items:
  19562. $ref: '#/definitions/models.QhjAccountOutInApply'
  19563. type: array
  19564. "500":
  19565. description: Internal Server Error
  19566. schema:
  19567. $ref: '#/definitions/app.Response'
  19568. security:
  19569. - ApiKeyAuth: []
  19570. summary: 查询充值提现
  19571. tags:
  19572. - 大连千海金
  19573. /Qhj/QueryAreaFinanceConfig:
  19574. get:
  19575. parameters:
  19576. - description: 机构用户ID 其他做市关系,都设置为 1
  19577. in: query
  19578. name: userid
  19579. type: integer
  19580. produces:
  19581. - application/json
  19582. responses:
  19583. "200":
  19584. description: OK
  19585. schema:
  19586. items:
  19587. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  19588. type: array
  19589. "500":
  19590. description: Internal Server Error
  19591. schema:
  19592. $ref: '#/definitions/app.Response'
  19593. security:
  19594. - ApiKeyAuth: []
  19595. summary: 查询企业配置表
  19596. tags:
  19597. - 大连千海金
  19598. /Qhj/QueryBankAccountSign:
  19599. get:
  19600. parameters:
  19601. - description: 用户ID
  19602. in: query
  19603. name: userid
  19604. required: true
  19605. type: integer
  19606. produces:
  19607. - application/json
  19608. responses:
  19609. "200":
  19610. description: OK
  19611. schema:
  19612. items:
  19613. $ref: '#/definitions/models.QhjBankAccountSign'
  19614. type: array
  19615. "500":
  19616. description: Internal Server Error
  19617. schema:
  19618. $ref: '#/definitions/app.Response'
  19619. security:
  19620. - ApiKeyAuth: []
  19621. summary: 查询签约银行信息(提现账户管理)
  19622. tags:
  19623. - 大连千海金
  19624. /Qhj/QueryBankInfo:
  19625. get:
  19626. produces:
  19627. - application/json
  19628. responses:
  19629. "200":
  19630. description: OK
  19631. schema:
  19632. items:
  19633. $ref: '#/definitions/models.QhjBankInfo'
  19634. type: array
  19635. "500":
  19636. description: Internal Server Error
  19637. schema:
  19638. $ref: '#/definitions/app.Response'
  19639. security:
  19640. - ApiKeyAuth: []
  19641. summary: 查询开户行
  19642. tags:
  19643. - 大连千海金
  19644. /Qhj/QueryBrokerApply:
  19645. get:
  19646. parameters:
  19647. - description: 所属机构ID
  19648. in: query
  19649. name: userid
  19650. type: integer
  19651. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19652. in: query
  19653. name: filterstatus
  19654. type: string
  19655. produces:
  19656. - application/json
  19657. responses:
  19658. "200":
  19659. description: OK
  19660. schema:
  19661. items:
  19662. $ref: '#/definitions/models.QhjBrokerApply'
  19663. type: array
  19664. "500":
  19665. description: Internal Server Error
  19666. schema:
  19667. $ref: '#/definitions/app.Response'
  19668. security:
  19669. - ApiKeyAuth: []
  19670. summary: 查询经纪人申请
  19671. tags:
  19672. - 大连千海金
  19673. /Qhj/QueryBrokerRewardLog:
  19674. get:
  19675. parameters:
  19676. - description: 用户ID
  19677. in: query
  19678. name: userid
  19679. required: true
  19680. type: integer
  19681. - description: 开始交易日(yyyymmdd)
  19682. in: query
  19683. name: begindate
  19684. type: string
  19685. - description: 结束交易日(yyyymmdd)
  19686. in: query
  19687. name: enddate
  19688. type: string
  19689. produces:
  19690. - application/json
  19691. responses:
  19692. "200":
  19693. description: OK
  19694. schema:
  19695. items:
  19696. $ref: '#/definitions/models.QhjBrokerRewardLog'
  19697. type: array
  19698. "500":
  19699. description: Internal Server Error
  19700. schema:
  19701. $ref: '#/definitions/app.Response'
  19702. security:
  19703. - ApiKeyAuth: []
  19704. summary: 查询奖励流水(我的奖励)
  19705. tags:
  19706. - 大连千海金
  19707. /Qhj/QueryContract:
  19708. get:
  19709. parameters:
  19710. - description: 用户ID
  19711. in: query
  19712. name: userid
  19713. type: integer
  19714. - description: scf合同id
  19715. in: query
  19716. name: scfcontractid
  19717. type: integer
  19718. produces:
  19719. - application/json
  19720. responses:
  19721. "200":
  19722. description: OK
  19723. schema:
  19724. items:
  19725. $ref: '#/definitions/models.QhjContract'
  19726. type: array
  19727. "500":
  19728. description: Internal Server Error
  19729. schema:
  19730. $ref: '#/definitions/app.Response'
  19731. security:
  19732. - ApiKeyAuth: []
  19733. summary: 查询融资明细(合同)
  19734. tags:
  19735. - 大连千海金
  19736. /Qhj/QueryContractLog:
  19737. get:
  19738. parameters:
  19739. - description: scf合同id
  19740. in: query
  19741. name: scfcontractid
  19742. required: true
  19743. type: integer
  19744. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  19745. in: query
  19746. name: amounttype
  19747. type: string
  19748. produces:
  19749. - application/json
  19750. responses:
  19751. "200":
  19752. description: OK
  19753. schema:
  19754. items:
  19755. $ref: '#/definitions/models.QhjContractLog'
  19756. type: array
  19757. "500":
  19758. description: Internal Server Error
  19759. schema:
  19760. $ref: '#/definitions/app.Response'
  19761. security:
  19762. - ApiKeyAuth: []
  19763. summary: 查询融资明细流水(融资明细详情页中的流水)
  19764. tags:
  19765. - 大连千海金
  19766. /Qhj/QueryCusBankSignBank:
  19767. get:
  19768. produces:
  19769. - application/json
  19770. responses:
  19771. "200":
  19772. description: OK
  19773. schema:
  19774. items:
  19775. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  19776. type: array
  19777. "500":
  19778. description: Internal Server Error
  19779. schema:
  19780. $ref: '#/definitions/app.Response'
  19781. security:
  19782. - ApiKeyAuth: []
  19783. summary: 查询托管银行
  19784. tags:
  19785. - 大连千海金
  19786. /Qhj/QueryCustomerInfo:
  19787. get:
  19788. parameters:
  19789. - description: 用户ID
  19790. in: query
  19791. name: userid
  19792. required: true
  19793. type: integer
  19794. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  19795. in: query
  19796. name: querytype
  19797. required: true
  19798. type: integer
  19799. - description: 客户类型 1-个人 2-企业
  19800. in: query
  19801. name: userinfotype
  19802. type: integer
  19803. - description: 客户名称(模糊匹配)
  19804. in: query
  19805. name: customername
  19806. type: string
  19807. - description: 昵称(模糊匹配)
  19808. in: query
  19809. name: nickname
  19810. type: string
  19811. - description: 是否包含子级 1-包含
  19812. in: query
  19813. name: includesub
  19814. type: integer
  19815. produces:
  19816. - application/json
  19817. responses:
  19818. "200":
  19819. description: OK
  19820. schema:
  19821. items:
  19822. $ref: '#/definitions/models.QhjCustomer'
  19823. type: array
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 查询客户资料
  19831. tags:
  19832. - 大连千海金
  19833. /Qhj/QueryGoodsEx:
  19834. get:
  19835. parameters:
  19836. - description: 商品id
  19837. in: query
  19838. name: goodsid
  19839. type: integer
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. items:
  19847. $ref: '#/definitions/models.Qhjgoodsex'
  19848. type: array
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 交易商品扩展表
  19856. tags:
  19857. - 大连千海金
  19858. /Qhj/QueryMyTeam:
  19859. get:
  19860. parameters:
  19861. - description: 用户ID
  19862. in: query
  19863. name: userid
  19864. required: true
  19865. type: integer
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. items:
  19873. $ref: '#/definitions/models.QhjMyTeamEx'
  19874. type: array
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 查询我的团队
  19882. tags:
  19883. - 大连千海金
  19884. /Qhj/QueryMyTeamOrder:
  19885. get:
  19886. parameters:
  19887. - description: 页码
  19888. in: query
  19889. name: page
  19890. type: integer
  19891. - description: 每页条数
  19892. in: query
  19893. name: pagesize
  19894. type: integer
  19895. - description: 用户ID
  19896. in: query
  19897. name: userid
  19898. required: true
  19899. type: integer
  19900. - description: 交易模式
  19901. in: query
  19902. name: trademode
  19903. type: integer
  19904. - description: 名称(模糊搜索账户)
  19905. in: query
  19906. name: filtername
  19907. type: string
  19908. produces:
  19909. - application/json
  19910. responses:
  19911. "200":
  19912. description: OK
  19913. schema:
  19914. items:
  19915. $ref: '#/definitions/models.QhjTeamOrder'
  19916. type: array
  19917. "500":
  19918. description: Internal Server Error
  19919. schema:
  19920. $ref: '#/definitions/app.Response'
  19921. security:
  19922. - ApiKeyAuth: []
  19923. summary: 查询团队订单(我的团队/团队订单)
  19924. tags:
  19925. - 大连千海金
  19926. /Qhj/QueryParentAreaList:
  19927. get:
  19928. parameters:
  19929. - description: 用户ID
  19930. in: query
  19931. name: userid
  19932. required: true
  19933. type: integer
  19934. produces:
  19935. - application/json
  19936. responses:
  19937. "200":
  19938. description: OK
  19939. schema:
  19940. items:
  19941. $ref: '#/definitions/models.QhjParentAreaList'
  19942. type: array
  19943. "500":
  19944. description: Internal Server Error
  19945. schema:
  19946. $ref: '#/definitions/app.Response'
  19947. security:
  19948. - ApiKeyAuth: []
  19949. summary: 查询所属机构列表
  19950. tags:
  19951. - 大连千海金
  19952. /Qhj/QueryPayOrder:
  19953. get:
  19954. parameters:
  19955. - description: 资金账号id
  19956. in: query
  19957. name: accountid
  19958. required: true
  19959. type: integer
  19960. - description: 成交单号
  19961. in: query
  19962. name: tradeid
  19963. type: integer
  19964. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  19965. in: query
  19966. name: payflag
  19967. type: string
  19968. produces:
  19969. - application/json
  19970. responses:
  19971. "200":
  19972. description: OK
  19973. schema:
  19974. items:
  19975. $ref: '#/definitions/models.QhjPayOrder'
  19976. type: array
  19977. "500":
  19978. description: Internal Server Error
  19979. schema:
  19980. $ref: '#/definitions/app.Response'
  19981. security:
  19982. - ApiKeyAuth: []
  19983. summary: 查询待付款单据
  19984. tags:
  19985. - 大连千海金
  19986. /Qhj/QueryPickArea:
  19987. get:
  19988. parameters:
  19989. - description: 用户ID
  19990. in: query
  19991. name: userid
  19992. type: integer
  19993. produces:
  19994. - application/json
  19995. responses:
  19996. "200":
  19997. description: OK
  19998. schema:
  19999. items:
  20000. $ref: '#/definitions/models.QhjPickArea'
  20001. type: array
  20002. "500":
  20003. description: Internal Server Error
  20004. schema:
  20005. $ref: '#/definitions/app.Response'
  20006. security:
  20007. - ApiKeyAuth: []
  20008. summary: 查询提货门店
  20009. tags:
  20010. - 大连千海金
  20011. /Qhj/QueryPickGoods:
  20012. get:
  20013. parameters:
  20014. - description: 交易商品id
  20015. in: query
  20016. name: goodsid
  20017. required: true
  20018. type: integer
  20019. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20020. in: query
  20021. name: status
  20022. type: string
  20023. produces:
  20024. - application/json
  20025. responses:
  20026. "200":
  20027. description: OK
  20028. schema:
  20029. items:
  20030. $ref: '#/definitions/models.QhjPickGoods'
  20031. type: array
  20032. "500":
  20033. description: Internal Server Error
  20034. schema:
  20035. $ref: '#/definitions/app.Response'
  20036. security:
  20037. - ApiKeyAuth: []
  20038. summary: 查询提货商品
  20039. tags:
  20040. - 大连千海金
  20041. /Qhj/QueryRSTriggerLog:
  20042. get:
  20043. parameters:
  20044. - description: 用户ID
  20045. in: query
  20046. name: userid
  20047. type: integer
  20048. - description: 定投策略id
  20049. in: query
  20050. name: regularlystrategyid
  20051. type: integer
  20052. - description: 商品id
  20053. in: query
  20054. name: goodsid
  20055. type: integer
  20056. - description: 开始交易日(yyyymmdd)
  20057. in: query
  20058. name: begindate
  20059. type: string
  20060. - description: 结束交易日(yyyymmdd)
  20061. in: query
  20062. name: enddate
  20063. type: string
  20064. - description: 名称(模糊搜索账户)
  20065. in: query
  20066. name: filtername
  20067. type: string
  20068. produces:
  20069. - application/json
  20070. responses:
  20071. "200":
  20072. description: OK
  20073. schema:
  20074. items:
  20075. $ref: '#/definitions/models.QhjRSTriggerLog'
  20076. type: array
  20077. "500":
  20078. description: Internal Server Error
  20079. schema:
  20080. $ref: '#/definitions/app.Response'
  20081. security:
  20082. - ApiKeyAuth: []
  20083. summary: 查询定投记录(定投管理/详情/定投记录)
  20084. tags:
  20085. - 大连千海金
  20086. /Qhj/QueryRStrategy:
  20087. get:
  20088. parameters:
  20089. - description: 用户ID
  20090. in: query
  20091. name: userid
  20092. type: integer
  20093. - description: 商品id
  20094. in: query
  20095. name: goodsid
  20096. type: integer
  20097. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  20098. in: query
  20099. name: status
  20100. type: string
  20101. - description: 名称(模糊搜索账户)
  20102. in: query
  20103. name: filtername
  20104. type: string
  20105. produces:
  20106. - application/json
  20107. responses:
  20108. "200":
  20109. description: OK
  20110. schema:
  20111. items:
  20112. $ref: '#/definitions/models.QhjRStrategy'
  20113. type: array
  20114. "500":
  20115. description: Internal Server Error
  20116. schema:
  20117. $ref: '#/definitions/app.Response'
  20118. security:
  20119. - ApiKeyAuth: []
  20120. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  20121. tags:
  20122. - 大连千海金
  20123. /Qhj/QueryReckonPriceLog:
  20124. get:
  20125. parameters:
  20126. - description: 商品ID
  20127. in: query
  20128. name: goodsid
  20129. type: integer
  20130. - description: 交易日 格式(yyyymmdd)
  20131. in: query
  20132. name: tradedate
  20133. type: string
  20134. produces:
  20135. - application/json
  20136. responses:
  20137. "200":
  20138. description: OK
  20139. schema:
  20140. items:
  20141. $ref: '#/definitions/models.QhjReckonPriceLog'
  20142. type: array
  20143. "500":
  20144. description: Internal Server Error
  20145. schema:
  20146. $ref: '#/definitions/app.Response'
  20147. security:
  20148. - ApiKeyAuth: []
  20149. summary: 查询定投价(结算价)
  20150. tags:
  20151. - 大连千海金
  20152. /Qhj/QueryScoreLog:
  20153. get:
  20154. parameters:
  20155. - description: 用户ID
  20156. in: query
  20157. name: userid
  20158. required: true
  20159. type: integer
  20160. - description: 开始交易日(yyyymmdd)
  20161. in: query
  20162. name: begindate
  20163. type: string
  20164. - description: 结束交易日(yyyymmdd)
  20165. in: query
  20166. name: enddate
  20167. type: string
  20168. - description: 最近多少条
  20169. in: query
  20170. name: lastnum
  20171. type: integer
  20172. produces:
  20173. - application/json
  20174. responses:
  20175. "200":
  20176. description: OK
  20177. schema:
  20178. items:
  20179. $ref: '#/definitions/models.QhjScoreLog'
  20180. type: array
  20181. "500":
  20182. description: Internal Server Error
  20183. schema:
  20184. $ref: '#/definitions/app.Response'
  20185. security:
  20186. - ApiKeyAuth: []
  20187. summary: 查询积分流水(我的积分)
  20188. tags:
  20189. - 大连千海金
  20190. /Qhj/QuerySiteColumnDetail:
  20191. get:
  20192. parameters:
  20193. - description: 用户ID
  20194. in: query
  20195. name: userid
  20196. required: true
  20197. type: integer
  20198. produces:
  20199. - application/json
  20200. responses:
  20201. "200":
  20202. description: OK
  20203. schema:
  20204. items:
  20205. $ref: '#/definitions/models.QhjSiteColumnDetail'
  20206. type: array
  20207. "500":
  20208. description: Internal Server Error
  20209. schema:
  20210. $ref: '#/definitions/app.Response'
  20211. security:
  20212. - ApiKeyAuth: []
  20213. summary: 查询资讯
  20214. tags:
  20215. - 大连千海金
  20216. /Qhj/QueryTradeGoodsPickup:
  20217. get:
  20218. parameters:
  20219. - description: 用户ID
  20220. in: query
  20221. name: userid
  20222. required: true
  20223. type: integer
  20224. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  20225. 7:已拒绝 8:已撤销
  20226. in: query
  20227. name: takeorderstatus
  20228. type: integer
  20229. produces:
  20230. - application/json
  20231. responses:
  20232. "200":
  20233. description: OK
  20234. schema:
  20235. items:
  20236. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  20237. type: array
  20238. "500":
  20239. description: Internal Server Error
  20240. schema:
  20241. $ref: '#/definitions/app.Response'
  20242. security:
  20243. - ApiKeyAuth: []
  20244. summary: 查询提货
  20245. tags:
  20246. - 大连千海金
  20247. /Qhj/QueryUserCollectConfig:
  20248. get:
  20249. parameters:
  20250. - description: 用户ID
  20251. in: query
  20252. name: userid
  20253. required: true
  20254. type: integer
  20255. produces:
  20256. - application/json
  20257. responses:
  20258. "200":
  20259. description: OK
  20260. schema:
  20261. items:
  20262. $ref: '#/definitions/models.UserCollectConfig'
  20263. type: array
  20264. "500":
  20265. description: Internal Server Error
  20266. schema:
  20267. $ref: '#/definitions/app.Response'
  20268. security:
  20269. - ApiKeyAuth: []
  20270. summary: 查询提现账户设置
  20271. tags:
  20272. - 大连千海金
  20273. /Qhj/QueryUserReceiveInfo:
  20274. get:
  20275. parameters:
  20276. - description: 用户ID
  20277. in: query
  20278. name: userid
  20279. required: true
  20280. type: integer
  20281. produces:
  20282. - application/json
  20283. responses:
  20284. "200":
  20285. description: OK
  20286. schema:
  20287. items:
  20288. $ref: '#/definitions/models.UserReceiveInfo'
  20289. type: array
  20290. "500":
  20291. description: Internal Server Error
  20292. schema:
  20293. $ref: '#/definitions/app.Response'
  20294. security:
  20295. - ApiKeyAuth: []
  20296. summary: 查询收货地址信息
  20297. tags:
  20298. - 大连千海金
  20299. /QhjMgr/QueryAccountInOutApply:
  20300. get:
  20301. parameters:
  20302. - description: 查询类型 1-提现(出金) 2-充值(出金)
  20303. in: query
  20304. name: querytype
  20305. required: true
  20306. type: integer
  20307. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  20308. in: query
  20309. name: applystatus
  20310. type: integer
  20311. - description: 申请起始日期(格式yyyymmdd)
  20312. in: query
  20313. name: begindate
  20314. type: string
  20315. - description: 申请截止日期(格式yyyymmdd)
  20316. in: query
  20317. name: enddate
  20318. type: string
  20319. - description: 模糊搜索名称
  20320. in: query
  20321. name: likename
  20322. type: string
  20323. produces:
  20324. - application/json
  20325. responses:
  20326. "200":
  20327. description: OK
  20328. schema:
  20329. items:
  20330. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  20331. type: array
  20332. "500":
  20333. description: Internal Server Error
  20334. schema:
  20335. $ref: '#/definitions/app.Response'
  20336. security:
  20337. - ApiKeyAuth: []
  20338. summary: 查询充值提现
  20339. tags:
  20340. - 大连千海金(PCWeb)
  20341. /QhjMgr/QueryBrokerApply:
  20342. get:
  20343. parameters:
  20344. - description: 所属机构ID
  20345. in: query
  20346. name: userid
  20347. type: integer
  20348. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20349. in: query
  20350. name: filterstatus
  20351. type: string
  20352. - description: 名称(模糊匹配)
  20353. in: query
  20354. name: filtername
  20355. type: string
  20356. - description: 是否包含子级 1-包含
  20357. in: query
  20358. name: includesub
  20359. type: integer
  20360. produces:
  20361. - application/json
  20362. responses:
  20363. "200":
  20364. description: OK
  20365. schema:
  20366. items:
  20367. $ref: '#/definitions/models.QhjMgrBrokerApply'
  20368. type: array
  20369. "500":
  20370. description: Internal Server Error
  20371. schema:
  20372. $ref: '#/definitions/app.Response'
  20373. security:
  20374. - ApiKeyAuth: []
  20375. summary: 查询经纪人申请
  20376. tags:
  20377. - 大连千海金(PCWeb)
  20378. /QhjMgr/QueryBrokerRewardReport:
  20379. get:
  20380. parameters:
  20381. - description: 所属机构ID
  20382. in: query
  20383. name: userid
  20384. required: true
  20385. type: integer
  20386. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20387. in: query
  20388. name: cycletype
  20389. required: true
  20390. type: integer
  20391. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  20392. in: query
  20393. name: cycletime
  20394. required: true
  20395. type: string
  20396. - description: 名称(模糊匹配)
  20397. in: query
  20398. name: filtername
  20399. type: string
  20400. - description: 是否包含子级 1-包含
  20401. in: query
  20402. name: includesub
  20403. type: integer
  20404. produces:
  20405. - application/json
  20406. responses:
  20407. "200":
  20408. description: OK
  20409. schema:
  20410. items:
  20411. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  20412. type: array
  20413. "500":
  20414. description: Internal Server Error
  20415. schema:
  20416. $ref: '#/definitions/app.Response'
  20417. security:
  20418. - ApiKeyAuth: []
  20419. summary: 查询经纪人奖励报表(废弃)
  20420. tags:
  20421. - 大连千海金(PCWeb)
  20422. /QhjMgr/QueryContract:
  20423. get:
  20424. parameters:
  20425. - description: 用户ID
  20426. in: query
  20427. name: userid
  20428. type: integer
  20429. - description: 商品id
  20430. in: query
  20431. name: goodsid
  20432. type: integer
  20433. - description: 名称(模糊搜索账户)
  20434. in: query
  20435. name: filtername
  20436. type: string
  20437. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  20438. in: query
  20439. name: risklevel
  20440. type: string
  20441. - description: 开始交易日(yyyymmdd)
  20442. in: query
  20443. name: begindate
  20444. type: string
  20445. - description: 结束交易日(yyyymmdd)
  20446. in: query
  20447. name: enddate
  20448. type: string
  20449. produces:
  20450. - application/json
  20451. responses:
  20452. "200":
  20453. description: OK
  20454. schema:
  20455. items:
  20456. $ref: '#/definitions/models.QhjMgrContract'
  20457. type: array
  20458. "500":
  20459. description: Internal Server Error
  20460. schema:
  20461. $ref: '#/definitions/app.Response'
  20462. security:
  20463. - ApiKeyAuth: []
  20464. summary: 查询融资信息(合同)
  20465. tags:
  20466. - 大连千海金(PCWeb)
  20467. /QhjMgr/QueryCustomerInfo:
  20468. get:
  20469. parameters:
  20470. - description: 用户ID
  20471. in: query
  20472. name: userid
  20473. required: true
  20474. type: integer
  20475. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20476. in: query
  20477. name: querytype
  20478. required: true
  20479. type: integer
  20480. - description: 客户类型 1-个人 2-企业
  20481. in: query
  20482. name: userinfotype
  20483. type: integer
  20484. - description: 客户名称(模糊匹配)
  20485. in: query
  20486. name: customername
  20487. type: string
  20488. - description: 昵称(模糊匹配)
  20489. in: query
  20490. name: nickname
  20491. type: string
  20492. - description: 是否包含子级 1-包含
  20493. in: query
  20494. name: includesub
  20495. type: integer
  20496. produces:
  20497. - application/json
  20498. responses:
  20499. "200":
  20500. description: OK
  20501. schema:
  20502. items:
  20503. $ref: '#/definitions/models.QhjMgrCustomer'
  20504. type: array
  20505. "500":
  20506. description: Internal Server Error
  20507. schema:
  20508. $ref: '#/definitions/app.Response'
  20509. security:
  20510. - ApiKeyAuth: []
  20511. summary: 查询客户资料
  20512. tags:
  20513. - 大连千海金(PCWeb)
  20514. /QhjMgr/QueryPickGoods:
  20515. get:
  20516. parameters:
  20517. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20518. in: query
  20519. name: status
  20520. type: string
  20521. produces:
  20522. - application/json
  20523. responses:
  20524. "200":
  20525. description: OK
  20526. schema:
  20527. items:
  20528. $ref: '#/definitions/models.QhjPickGoods'
  20529. type: array
  20530. "500":
  20531. description: Internal Server Error
  20532. schema:
  20533. $ref: '#/definitions/app.Response'
  20534. security:
  20535. - ApiKeyAuth: []
  20536. summary: 查询提货商品
  20537. tags:
  20538. - 大连千海金(PCWeb)
  20539. /QhjMgr/QuerySubArea:
  20540. get:
  20541. parameters:
  20542. - description: 用户ID
  20543. in: query
  20544. name: userid
  20545. required: true
  20546. type: integer
  20547. produces:
  20548. - application/json
  20549. responses:
  20550. "200":
  20551. description: OK
  20552. schema:
  20553. items:
  20554. $ref: '#/definitions/models.QhjMgrSubArea'
  20555. type: array
  20556. "500":
  20557. description: Internal Server Error
  20558. schema:
  20559. $ref: '#/definitions/app.Response'
  20560. security:
  20561. - ApiKeyAuth: []
  20562. summary: 查询子机构列表
  20563. tags:
  20564. - 大连千海金(PCWeb)
  20565. /QhjMgr/QueryTradeDetail:
  20566. get:
  20567. parameters:
  20568. - description: 用户ID
  20569. in: query
  20570. name: userid
  20571. required: true
  20572. type: integer
  20573. - description: 用户类型 1-个人 2-企业
  20574. in: query
  20575. name: userinfotype
  20576. type: integer
  20577. - description: 交易模式
  20578. in: query
  20579. name: trademode
  20580. type: integer
  20581. - description: 商品id
  20582. in: query
  20583. name: goodsid
  20584. type: integer
  20585. - description: 名称(模糊搜索账户)
  20586. in: query
  20587. name: filtername
  20588. type: string
  20589. - description: 开始交易日(yyyymmdd)
  20590. in: query
  20591. name: begindate
  20592. type: string
  20593. - description: 结束交易日(yyyymmdd)
  20594. in: query
  20595. name: enddate
  20596. type: string
  20597. - description: 是否包含子级 1-包含
  20598. in: query
  20599. name: includesub
  20600. type: integer
  20601. produces:
  20602. - application/json
  20603. responses:
  20604. "200":
  20605. description: OK
  20606. schema:
  20607. items:
  20608. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  20609. type: array
  20610. "500":
  20611. description: Internal Server Error
  20612. schema:
  20613. $ref: '#/definitions/app.Response'
  20614. security:
  20615. - ApiKeyAuth: []
  20616. summary: 查询成交明细
  20617. tags:
  20618. - 大连千海金(PCWeb)
  20619. /QhjMgr/QueryTradeOrderDetail:
  20620. get:
  20621. parameters:
  20622. - description: 用户ID
  20623. in: query
  20624. name: userid
  20625. required: true
  20626. type: integer
  20627. - description: 用户类型 1-个人 2-企业
  20628. in: query
  20629. name: userinfotype
  20630. type: integer
  20631. - description: 交易模式
  20632. in: query
  20633. name: trademode
  20634. type: integer
  20635. - description: 商品id
  20636. in: query
  20637. name: goodsid
  20638. type: integer
  20639. - description: 名称(模糊搜索账户)
  20640. in: query
  20641. name: filtername
  20642. type: string
  20643. - description: 开始交易日(yyyymmdd)
  20644. in: query
  20645. name: begindate
  20646. type: string
  20647. - description: 结束交易日(yyyymmdd)
  20648. in: query
  20649. name: enddate
  20650. type: string
  20651. - description: 是否包含子级 1-包含
  20652. in: query
  20653. name: includesub
  20654. type: integer
  20655. produces:
  20656. - application/json
  20657. responses:
  20658. "200":
  20659. description: OK
  20660. schema:
  20661. items:
  20662. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  20663. type: array
  20664. "500":
  20665. description: Internal Server Error
  20666. schema:
  20667. $ref: '#/definitions/app.Response'
  20668. security:
  20669. - ApiKeyAuth: []
  20670. summary: 查询委托明细
  20671. tags:
  20672. - 大连千海金(PCWeb)
  20673. /QhjMgr/QueryTradePayOrder:
  20674. get:
  20675. parameters:
  20676. - description: 用户ID
  20677. in: query
  20678. name: userid
  20679. required: true
  20680. type: integer
  20681. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20682. in: query
  20683. name: payflag
  20684. type: string
  20685. - description: 用户类型 1-个人 2-企业
  20686. in: query
  20687. name: userinfotype
  20688. type: integer
  20689. - description: 交易模式
  20690. in: query
  20691. name: trademode
  20692. type: integer
  20693. - description: 商品id
  20694. in: query
  20695. name: goodsid
  20696. type: integer
  20697. - description: 名称(模糊搜索账户)
  20698. in: query
  20699. name: filtername
  20700. type: string
  20701. - description: 开始交易日(yyyymmdd)
  20702. in: query
  20703. name: begindate
  20704. type: string
  20705. - description: 结束交易日(yyyymmdd)
  20706. in: query
  20707. name: enddate
  20708. type: string
  20709. - description: 是否包含子级 1-包含
  20710. in: query
  20711. name: includesub
  20712. type: integer
  20713. produces:
  20714. - application/json
  20715. responses:
  20716. "200":
  20717. description: OK
  20718. schema:
  20719. items:
  20720. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  20721. type: array
  20722. "500":
  20723. description: Internal Server Error
  20724. schema:
  20725. $ref: '#/definitions/app.Response'
  20726. security:
  20727. - ApiKeyAuth: []
  20728. summary: 查询待付款单
  20729. tags:
  20730. - 大连千海金(PCWeb)
  20731. /QhjMgr/QueryTradePosition:
  20732. get:
  20733. parameters:
  20734. - description: 用户ID
  20735. in: query
  20736. name: userid
  20737. required: true
  20738. type: integer
  20739. - description: 用户类型 1-个人 2-企业
  20740. in: query
  20741. name: userinfotype
  20742. type: integer
  20743. - description: 交易模式
  20744. in: query
  20745. name: trademode
  20746. type: integer
  20747. - description: 商品id
  20748. in: query
  20749. name: goodsid
  20750. type: integer
  20751. - description: 名称(模糊搜索账户)
  20752. in: query
  20753. name: filtername
  20754. type: string
  20755. - description: 是否包含子级 1-包含
  20756. in: query
  20757. name: includesub
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. items:
  20766. $ref: '#/definitions/models.QhjMgrPositionRsp'
  20767. type: array
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询持仓汇总
  20775. tags:
  20776. - 大连千海金(PCWeb)
  20777. /QhjSys/QueryAgreementChangeLog:
  20778. get:
  20779. parameters:
  20780. - description: 协议ID
  20781. in: query
  20782. name: agreementid
  20783. type: integer
  20784. - description: 协议版本号
  20785. in: query
  20786. name: agreementversion
  20787. type: integer
  20788. - description: 协议类型 - 1:注册 2:登录 3:交易
  20789. in: query
  20790. name: agreementtype
  20791. type: integer
  20792. - description: 协议编号(模糊匹配)
  20793. in: query
  20794. name: agreementno
  20795. type: string
  20796. - description: 协议名称(模糊匹配)
  20797. in: query
  20798. name: agreementname
  20799. type: string
  20800. produces:
  20801. - application/json
  20802. responses:
  20803. "200":
  20804. description: OK
  20805. schema:
  20806. items:
  20807. $ref: '#/definitions/models.QhjAgreementChangeLog'
  20808. type: array
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 查询协议配置变更流水
  20816. tags:
  20817. - 大连千海金(协议和签约信息)
  20818. /QhjSys/QueryAgreementConfig:
  20819. get:
  20820. parameters:
  20821. - description: 协议ID
  20822. in: query
  20823. name: agreementid
  20824. type: integer
  20825. - description: 协议版本号
  20826. in: query
  20827. name: agreementversion
  20828. type: integer
  20829. - description: 协议类型 - 1:注册 2:登录 3:交易
  20830. in: query
  20831. name: agreementtype
  20832. type: integer
  20833. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  20834. in: query
  20835. name: isvalid
  20836. type: integer
  20837. - description: 协议编号(模糊匹配)
  20838. in: query
  20839. name: agreementno
  20840. type: string
  20841. - description: 协议名称(模糊匹配)
  20842. in: query
  20843. name: agreementname
  20844. type: string
  20845. produces:
  20846. - application/json
  20847. responses:
  20848. "200":
  20849. description: OK
  20850. schema:
  20851. items:
  20852. $ref: '#/definitions/models.QhjAgreementConfig'
  20853. type: array
  20854. "500":
  20855. description: Internal Server Error
  20856. schema:
  20857. $ref: '#/definitions/app.Response'
  20858. security:
  20859. - ApiKeyAuth: []
  20860. summary: 查询协议配置
  20861. tags:
  20862. - 大连千海金(协议和签约信息)
  20863. /QhjSys/QueryCustomerSignStatus:
  20864. get:
  20865. parameters:
  20866. - description: 客户ID
  20867. in: query
  20868. name: userid
  20869. type: integer
  20870. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  20871. in: query
  20872. name: nodetype
  20873. type: integer
  20874. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20875. in: query
  20876. name: goodsid
  20877. type: integer
  20878. - description: 创建交易日(yyyyMMdd)
  20879. in: query
  20880. name: tradedate
  20881. type: string
  20882. - description: 用户名称(模糊匹配)
  20883. in: query
  20884. name: username
  20885. type: string
  20886. produces:
  20887. - application/json
  20888. responses:
  20889. "200":
  20890. description: OK
  20891. schema:
  20892. items:
  20893. $ref: '#/definitions/models.QhjCustomerSignStatus'
  20894. type: array
  20895. "500":
  20896. description: Internal Server Error
  20897. schema:
  20898. $ref: '#/definitions/app.Response'
  20899. security:
  20900. - ApiKeyAuth: []
  20901. summary: 查询客户协议签约状态
  20902. tags:
  20903. - 大连千海金(协议和签约信息)
  20904. /QhjSys/QueryNodeAgreementConfig:
  20905. get:
  20906. parameters:
  20907. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20908. in: query
  20909. name: configid
  20910. type: integer
  20911. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20912. in: query
  20913. name: nodetype
  20914. type: integer
  20915. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20916. in: query
  20917. name: goodsid
  20918. type: integer
  20919. - description: 协议ID
  20920. in: query
  20921. name: agreementid
  20922. type: integer
  20923. - description: 协议类型 - 1:注册 2:登录 3:交易
  20924. in: query
  20925. name: agreementtype
  20926. type: integer
  20927. - description: 协议版本号
  20928. in: query
  20929. name: agreementversion
  20930. type: integer
  20931. - description: 协议编号(模糊匹配)
  20932. in: query
  20933. name: agreementno
  20934. type: string
  20935. - description: 协议名称(模糊匹配)
  20936. in: query
  20937. name: agreementname
  20938. type: string
  20939. produces:
  20940. - application/json
  20941. responses:
  20942. "200":
  20943. description: OK
  20944. schema:
  20945. items:
  20946. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  20947. type: array
  20948. "500":
  20949. description: Internal Server Error
  20950. schema:
  20951. $ref: '#/definitions/app.Response'
  20952. security:
  20953. - ApiKeyAuth: []
  20954. summary: 查询协议节点配置
  20955. tags:
  20956. - 大连千海金(协议和签约信息)
  20957. /QhjSys/QueryQhjCustomerSignLog:
  20958. get:
  20959. parameters:
  20960. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  20961. in: query
  20962. name: logid
  20963. type: integer
  20964. - description: 客户ID
  20965. in: query
  20966. name: userid
  20967. type: integer
  20968. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20969. in: query
  20970. name: nodetype
  20971. type: integer
  20972. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20973. in: query
  20974. name: goodsid
  20975. type: integer
  20976. - description: 协议ID
  20977. in: query
  20978. name: agreementid
  20979. type: integer
  20980. - description: 用户名称(模糊匹配)
  20981. in: query
  20982. name: username
  20983. type: string
  20984. - description: 协议编号(模糊匹配)
  20985. in: query
  20986. name: agreementno
  20987. type: string
  20988. - description: 协议名称(模糊匹配)
  20989. in: query
  20990. name: agreementname
  20991. type: string
  20992. produces:
  20993. - application/json
  20994. responses:
  20995. "200":
  20996. description: OK
  20997. schema:
  20998. items:
  20999. $ref: '#/definitions/models.QhjCustomerSignLog'
  21000. type: array
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 查询客户协议签约流水
  21008. tags:
  21009. - 大连千海金(协议和签约信息)
  21010. /QhjSys/QueryUserNodeCfgAndStatus:
  21011. get:
  21012. parameters:
  21013. - description: 客户ID
  21014. in: query
  21015. name: userid
  21016. type: integer
  21017. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21018. in: query
  21019. name: configid
  21020. type: integer
  21021. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21022. in: query
  21023. name: nodetype
  21024. type: string
  21025. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21026. in: query
  21027. name: goodsid
  21028. type: integer
  21029. - description: 协议ID
  21030. in: query
  21031. name: agreementid
  21032. type: integer
  21033. - description: 协议类型 - 1:注册 2:登录 3:交易
  21034. in: query
  21035. name: agreementtype
  21036. type: integer
  21037. - description: 协议版本号
  21038. in: query
  21039. name: agreementversion
  21040. type: integer
  21041. - description: 协议编号(模糊匹配)
  21042. in: query
  21043. name: agreementno
  21044. type: string
  21045. - description: 协议名称(模糊匹配)
  21046. in: query
  21047. name: agreementname
  21048. type: string
  21049. produces:
  21050. - application/json
  21051. responses:
  21052. "200":
  21053. description: OK
  21054. schema:
  21055. items:
  21056. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  21057. type: array
  21058. "500":
  21059. description: Internal Server Error
  21060. schema:
  21061. $ref: '#/definitions/app.Response'
  21062. security:
  21063. - ApiKeyAuth: []
  21064. summary: 查询用户协议节点配置和状态
  21065. tags:
  21066. - 大连千海金(协议和签约信息)
  21067. /Quote/QueryHistoryDatas:
  21068. get:
  21069. parameters:
  21070. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  21071. 日线'
  21072. in: query
  21073. name: cycleType
  21074. required: true
  21075. type: integer
  21076. - description: 商品代码
  21077. in: query
  21078. name: goodsCode
  21079. required: true
  21080. type: string
  21081. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21082. in: query
  21083. name: startTime
  21084. type: string
  21085. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21086. in: query
  21087. name: endTime
  21088. type: string
  21089. - description: 条数
  21090. in: query
  21091. name: count
  21092. type: integer
  21093. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21094. in: query
  21095. name: isAsc
  21096. type: boolean
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. $ref: '#/definitions/quote.HistoryData'
  21104. "500":
  21105. description: Internal Server Error
  21106. schema:
  21107. $ref: '#/definitions/app.Response'
  21108. security:
  21109. - ApiKeyAuth: []
  21110. summary: 查询行情历史数据
  21111. tags:
  21112. - 行情服务
  21113. /Quote/QueryHistoryTikDatas:
  21114. get:
  21115. parameters:
  21116. - description: 商品代码
  21117. in: query
  21118. name: goodsCode
  21119. required: true
  21120. type: string
  21121. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21122. in: query
  21123. name: startTime
  21124. type: string
  21125. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21126. in: query
  21127. name: endTime
  21128. type: string
  21129. - description: 条数
  21130. in: query
  21131. name: count
  21132. type: integer
  21133. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21134. in: query
  21135. name: isAsc
  21136. type: boolean
  21137. produces:
  21138. - application/json
  21139. responses:
  21140. "200":
  21141. description: OK
  21142. schema:
  21143. $ref: '#/definitions/quote.HistoryTikData'
  21144. "500":
  21145. description: Internal Server Error
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. security:
  21149. - ApiKeyAuth: []
  21150. summary: 查询行情Tik数据
  21151. tags:
  21152. - 行情服务
  21153. /Quote/QueryQuoteDay:
  21154. get:
  21155. parameters:
  21156. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  21157. in: query
  21158. name: goodsCodes
  21159. required: true
  21160. type: string
  21161. produces:
  21162. - application/json
  21163. responses:
  21164. "200":
  21165. description: OK
  21166. schema:
  21167. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  21168. "500":
  21169. description: Internal Server Error
  21170. schema:
  21171. $ref: '#/definitions/app.Response'
  21172. security:
  21173. - ApiKeyAuth: []
  21174. summary: 获取商品盘面信息
  21175. tags:
  21176. - 行情服务
  21177. /Quote/QueryTSData:
  21178. get:
  21179. parameters:
  21180. - description: 商品代码
  21181. in: query
  21182. name: goodsCode
  21183. required: true
  21184. type: string
  21185. produces:
  21186. - application/json
  21187. responses:
  21188. "200":
  21189. description: OK
  21190. schema:
  21191. $ref: '#/definitions/quote.QueryTSDataRsp'
  21192. "500":
  21193. description: Internal Server Error
  21194. schema:
  21195. $ref: '#/definitions/app.Response'
  21196. security:
  21197. - ApiKeyAuth: []
  21198. summary: 分时图数据查询
  21199. tags:
  21200. - 行情服务
  21201. /SZDZ/QueryConvertConfig:
  21202. get:
  21203. parameters:
  21204. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  21205. 6:交易转花生米(不设置)
  21206. in: query
  21207. name: convertType
  21208. type: integer
  21209. - description: 外部商品代码[JD\PD]
  21210. in: query
  21211. name: outerGoodsCode
  21212. type: string
  21213. - description: 内部商品ID列表[交易],格式:1,2,3
  21214. in: query
  21215. name: innerGoodsIDs
  21216. type: string
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. $ref: '#/definitions/models.Szdz3convertconfig'
  21224. "500":
  21225. description: Internal Server Error
  21226. schema:
  21227. $ref: '#/definitions/app.Response'
  21228. security:
  21229. - ApiKeyAuth: []
  21230. summary: 查询交易系统转换设置
  21231. tags:
  21232. - 定制【尚志大宗】
  21233. /SZDZ/QueryConvertLog:
  21234. get:
  21235. parameters:
  21236. - description: 资金账户 - 格式:1,2,3
  21237. in: query
  21238. name: accountID
  21239. required: true
  21240. type: string
  21241. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21242. in: query
  21243. name: startDate
  21244. type: string
  21245. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21246. in: query
  21247. name: endDate
  21248. type: string
  21249. produces:
  21250. - application/json
  21251. responses:
  21252. "200":
  21253. description: OK
  21254. schema:
  21255. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  21256. "500":
  21257. description: Internal Server Error
  21258. schema:
  21259. $ref: '#/definitions/app.Response'
  21260. security:
  21261. - ApiKeyAuth: []
  21262. summary: 交易系统转换流水查询
  21263. tags:
  21264. - 定制【尚志大宗】
  21265. /SZDZ/QueryGoodsPickup:
  21266. get:
  21267. parameters:
  21268. - description: 资金账户 - 格式:1,2,3
  21269. in: query
  21270. name: accountID
  21271. required: true
  21272. type: string
  21273. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21274. in: query
  21275. name: takeOrderStatus
  21276. type: integer
  21277. produces:
  21278. - application/json
  21279. responses:
  21280. "200":
  21281. description: OK
  21282. schema:
  21283. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  21284. "500":
  21285. description: Internal Server Error
  21286. schema:
  21287. $ref: '#/definitions/app.Response'
  21288. security:
  21289. - ApiKeyAuth: []
  21290. summary: 商品提货单查询
  21291. tags:
  21292. - 定制【尚志大宗】
  21293. /SZDZ/QueryRecieptOrder:
  21294. get:
  21295. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21296. parameters:
  21297. - description: 页码
  21298. in: query
  21299. name: page
  21300. type: integer
  21301. - description: 每页条数
  21302. in: query
  21303. name: pagesize
  21304. type: integer
  21305. - description: 商品ID
  21306. in: query
  21307. name: goodsID
  21308. required: true
  21309. type: integer
  21310. - description: 所属账户名称
  21311. in: query
  21312. name: accountName
  21313. type: string
  21314. - description: 市场ID
  21315. in: query
  21316. name: marketID
  21317. type: integer
  21318. - description: 方向 - 0:买 1:卖
  21319. in: query
  21320. name: buyorsell
  21321. required: true
  21322. type: integer
  21323. produces:
  21324. - application/json
  21325. responses:
  21326. "200":
  21327. description: OK
  21328. schema:
  21329. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  21330. "500":
  21331. description: Internal Server Error
  21332. schema:
  21333. $ref: '#/definitions/app.Response'
  21334. security:
  21335. - ApiKeyAuth: []
  21336. summary: 点选挂牌委托单据查询(摘牌大厅)
  21337. tags:
  21338. - 定制【尚志大宗】
  21339. /SZDZ/QuerySZDZTradePosition:
  21340. get:
  21341. parameters:
  21342. - description: 资金账户
  21343. in: query
  21344. name: accountID
  21345. required: true
  21346. type: integer
  21347. produces:
  21348. - application/json
  21349. responses:
  21350. "200":
  21351. description: OK
  21352. schema:
  21353. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 持仓汇总查询(尚志大宗)
  21361. tags:
  21362. - 定制【尚志大宗】
  21363. /SZDZ/SearchWhite:
  21364. get:
  21365. parameters:
  21366. - description: 用户ID
  21367. in: query
  21368. name: userID
  21369. required: true
  21370. type: integer
  21371. produces:
  21372. - application/json
  21373. responses:
  21374. "200":
  21375. description: OK
  21376. schema:
  21377. $ref: '#/definitions/models.Szdz3searchwhitelist'
  21378. "500":
  21379. description: Internal Server Error
  21380. schema:
  21381. $ref: '#/definitions/app.Response'
  21382. security:
  21383. - ApiKeyAuth: []
  21384. summary: 搜索白名单
  21385. tags:
  21386. - 定制【尚志大宗】
  21387. /Search/SearchGoodses:
  21388. get:
  21389. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  21390. parameters:
  21391. - description: 检索内容
  21392. in: query
  21393. name: content
  21394. required: true
  21395. type: string
  21396. - description: 交易模式,格式:1,2,3
  21397. in: query
  21398. name: tradeModes
  21399. type: string
  21400. produces:
  21401. - application/json
  21402. responses:
  21403. "200":
  21404. description: OK
  21405. schema:
  21406. $ref: '#/definitions/models.SearchGoods'
  21407. "500":
  21408. description: Internal Server Error
  21409. schema:
  21410. $ref: '#/definitions/app.Response'
  21411. summary: 检索商品信息
  21412. tags:
  21413. - 检索服务
  21414. /TaAccount/GetTaAccounts:
  21415. get:
  21416. parameters:
  21417. - description: 登录账户
  21418. in: query
  21419. name: loginID
  21420. required: true
  21421. type: integer
  21422. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21423. in: query
  21424. name: taAccountType
  21425. type: integer
  21426. produces:
  21427. - application/json
  21428. responses:
  21429. "200":
  21430. description: OK
  21431. schema:
  21432. $ref: '#/definitions/models.Taaccount'
  21433. "500":
  21434. description: Internal Server Error
  21435. schema:
  21436. $ref: '#/definitions/app.Response'
  21437. security:
  21438. - ApiKeyAuth: []
  21439. summary: 获取资金账户信息
  21440. tags:
  21441. - 资金账户
  21442. /TaAccount/QueryAmountLog:
  21443. get:
  21444. parameters:
  21445. - description: 页码
  21446. in: query
  21447. name: page
  21448. type: integer
  21449. - description: 每页条数
  21450. in: query
  21451. name: pagesize
  21452. type: integer
  21453. - description: 资金账户 - 格式:1,2,3
  21454. in: query
  21455. name: accountID
  21456. required: true
  21457. type: string
  21458. - description: 资金操作类型 - 格式:1,2,3
  21459. in: query
  21460. name: OperateType
  21461. type: string
  21462. produces:
  21463. - application/json
  21464. responses:
  21465. "200":
  21466. description: OK
  21467. schema:
  21468. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 资金流水查询(当前)
  21476. tags:
  21477. - 资金账户
  21478. /TaAccount/QueryHisAmountLog:
  21479. get:
  21480. parameters:
  21481. - description: 页码
  21482. in: query
  21483. name: page
  21484. type: integer
  21485. - description: 每页条数
  21486. in: query
  21487. name: pagesize
  21488. type: integer
  21489. - description: 资金账户 - 格式:1,2,3
  21490. in: query
  21491. name: accountID
  21492. required: true
  21493. type: string
  21494. - description: 资金操作类型 - 格式:1,2,3
  21495. in: query
  21496. name: OperateType
  21497. type: string
  21498. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21499. in: query
  21500. name: startDate
  21501. type: string
  21502. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21503. in: query
  21504. name: endDate
  21505. type: string
  21506. produces:
  21507. - application/json
  21508. responses:
  21509. "200":
  21510. description: OK
  21511. schema:
  21512. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  21513. "500":
  21514. description: Internal Server Error
  21515. schema:
  21516. $ref: '#/definitions/app.Response'
  21517. security:
  21518. - ApiKeyAuth: []
  21519. summary: 资金流水查询(历史)
  21520. tags:
  21521. - 资金账户
  21522. /Trade/QueryRecieptOrder:
  21523. get:
  21524. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21525. parameters:
  21526. - description: 页码
  21527. in: query
  21528. name: page
  21529. type: integer
  21530. - description: 每页条数
  21531. in: query
  21532. name: pagesize
  21533. type: integer
  21534. - description: 商品ID
  21535. in: query
  21536. name: goodsID
  21537. required: true
  21538. type: integer
  21539. - description: 所属账户名称
  21540. in: query
  21541. name: accountName
  21542. type: string
  21543. - description: 市场ID
  21544. in: query
  21545. name: marketID
  21546. type: integer
  21547. - description: 方向 - 0:买 1:卖
  21548. in: query
  21549. name: buyorsell
  21550. required: true
  21551. type: integer
  21552. produces:
  21553. - application/json
  21554. responses:
  21555. "200":
  21556. description: OK
  21557. schema:
  21558. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  21559. "500":
  21560. description: Internal Server Error
  21561. schema:
  21562. $ref: '#/definitions/app.Response'
  21563. security:
  21564. - ApiKeyAuth: []
  21565. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  21566. tags:
  21567. - 通用交易
  21568. /User/AddMessageBoard:
  21569. post:
  21570. parameters:
  21571. - description: 用户ID
  21572. in: query
  21573. name: userID
  21574. required: true
  21575. type: integer
  21576. - description: 留言信息
  21577. in: query
  21578. name: message
  21579. required: true
  21580. type: string
  21581. - description: 联系电话
  21582. in: query
  21583. name: contactNum
  21584. required: true
  21585. type: string
  21586. produces:
  21587. - application/json
  21588. responses:
  21589. "200":
  21590. description: OK
  21591. schema:
  21592. $ref: '#/definitions/app.Response'
  21593. "500":
  21594. description: Internal Server Error
  21595. schema:
  21596. $ref: '#/definitions/app.Response'
  21597. security:
  21598. - ApiKeyAuth: []
  21599. summary: 添加用户留言板信息
  21600. tags:
  21601. - 用户信息
  21602. /User/AddUserFavoriteGoods:
  21603. post:
  21604. parameters:
  21605. - description: 用户ID
  21606. in: query
  21607. name: userID
  21608. required: true
  21609. type: integer
  21610. - description: 商品ID
  21611. in: query
  21612. name: goodsID
  21613. required: true
  21614. type: integer
  21615. produces:
  21616. - application/json
  21617. responses:
  21618. "200":
  21619. description: OK
  21620. schema:
  21621. $ref: '#/definitions/app.Response'
  21622. "500":
  21623. description: Internal Server Error
  21624. schema:
  21625. $ref: '#/definitions/app.Response'
  21626. security:
  21627. - ApiKeyAuth: []
  21628. summary: 添加用户商品收藏信息
  21629. tags:
  21630. - 用户信息
  21631. /User/GetLoginID:
  21632. get:
  21633. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  21634. parameters:
  21635. - description: 登录代码
  21636. in: query
  21637. name: username
  21638. required: true
  21639. type: string
  21640. produces:
  21641. - application/json
  21642. responses:
  21643. "200":
  21644. description: OK
  21645. schema:
  21646. $ref: '#/definitions/app.Response'
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. summary: 获取登录ID
  21652. tags:
  21653. - 用户信息
  21654. /User/GetUserAccount:
  21655. get:
  21656. parameters:
  21657. - description: 用户ID
  21658. in: query
  21659. name: userID
  21660. required: true
  21661. type: integer
  21662. produces:
  21663. - application/json
  21664. responses:
  21665. "200":
  21666. description: OK
  21667. schema:
  21668. $ref: '#/definitions/models.Useraccount'
  21669. "500":
  21670. description: Internal Server Error
  21671. schema:
  21672. $ref: '#/definitions/app.Response'
  21673. security:
  21674. - ApiKeyAuth: []
  21675. summary: 获取用户账号信息
  21676. tags:
  21677. - 用户信息
  21678. /User/GetUserAuthStatus:
  21679. get:
  21680. parameters:
  21681. - description: 用户ID
  21682. in: query
  21683. name: userID
  21684. required: true
  21685. type: integer
  21686. produces:
  21687. - application/json
  21688. responses:
  21689. "200":
  21690. description: OK
  21691. schema:
  21692. $ref: '#/definitions/app.Response'
  21693. "500":
  21694. description: Internal Server Error
  21695. schema:
  21696. $ref: '#/definitions/app.Response'
  21697. security:
  21698. - ApiKeyAuth: []
  21699. summary: 获取用户实名认证状态
  21700. tags:
  21701. - 用户信息
  21702. /User/LoginQuery:
  21703. get:
  21704. parameters:
  21705. - description: 登录账号
  21706. in: query
  21707. name: loginID
  21708. required: true
  21709. type: integer
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. $ref: '#/definitions/user.LoginQueryRsp'
  21717. "500":
  21718. description: Internal Server Error
  21719. schema:
  21720. $ref: '#/definitions/app.Response'
  21721. security:
  21722. - ApiKeyAuth: []
  21723. summary: 账户登录后信息查询
  21724. tags:
  21725. - 用户信息
  21726. /User/QueryMessageBoard:
  21727. get:
  21728. parameters:
  21729. - description: 用户ID
  21730. in: query
  21731. name: userID
  21732. required: true
  21733. type: integer
  21734. produces:
  21735. - application/json
  21736. responses:
  21737. "200":
  21738. description: OK
  21739. schema:
  21740. $ref: '#/definitions/models.Messageboard'
  21741. "500":
  21742. description: Internal Server Error
  21743. schema:
  21744. $ref: '#/definitions/app.Response'
  21745. security:
  21746. - ApiKeyAuth: []
  21747. summary: 获取用户留言板信息
  21748. tags:
  21749. - 用户信息
  21750. /User/QueryUserFavoriteGoodses:
  21751. get:
  21752. parameters:
  21753. - description: 用户ID
  21754. in: query
  21755. name: userID
  21756. required: true
  21757. type: integer
  21758. produces:
  21759. - application/json
  21760. responses:
  21761. "200":
  21762. description: OK
  21763. schema:
  21764. $ref: '#/definitions/models.Userfavoritegoods'
  21765. "500":
  21766. description: Internal Server Error
  21767. schema:
  21768. $ref: '#/definitions/app.Response'
  21769. security:
  21770. - ApiKeyAuth: []
  21771. summary: 获取用户商品收藏信息
  21772. tags:
  21773. - 用户信息
  21774. /User/QueryUserInfo:
  21775. get:
  21776. parameters:
  21777. - description: 用户ID
  21778. in: query
  21779. name: userID
  21780. required: true
  21781. type: integer
  21782. - description: 是否解密
  21783. in: query
  21784. name: isDecrypt
  21785. type: boolean
  21786. produces:
  21787. - application/json
  21788. responses:
  21789. "200":
  21790. description: OK
  21791. schema:
  21792. $ref: '#/definitions/models.Userinfo'
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 获取用户信息
  21800. tags:
  21801. - 用户信息
  21802. /User/QueryUserReferNum:
  21803. get:
  21804. parameters:
  21805. - description: 用户ID
  21806. in: query
  21807. name: userID
  21808. required: true
  21809. type: integer
  21810. produces:
  21811. - application/json
  21812. responses:
  21813. "200":
  21814. description: OK
  21815. schema:
  21816. $ref: '#/definitions/app.Response'
  21817. "500":
  21818. description: Internal Server Error
  21819. schema:
  21820. $ref: '#/definitions/app.Response'
  21821. summary: 获取用户邀请码
  21822. tags:
  21823. - 用户信息
  21824. /User/RemoveUserFavoriteGoods:
  21825. post:
  21826. parameters:
  21827. - description: 用户ID
  21828. in: query
  21829. name: userID
  21830. required: true
  21831. type: integer
  21832. - description: 商品ID
  21833. in: query
  21834. name: goodsID
  21835. required: true
  21836. type: integer
  21837. produces:
  21838. - application/json
  21839. responses:
  21840. "200":
  21841. description: OK
  21842. schema:
  21843. $ref: '#/definitions/app.Response'
  21844. "500":
  21845. description: Internal Server Error
  21846. schema:
  21847. $ref: '#/definitions/app.Response'
  21848. security:
  21849. - ApiKeyAuth: []
  21850. summary: 移除用户商品收藏信息
  21851. tags:
  21852. - 用户信息
  21853. /User/UpdateUserAccountStatus:
  21854. post:
  21855. parameters:
  21856. - description: 用户ID
  21857. in: query
  21858. name: userID
  21859. required: true
  21860. type: integer
  21861. - description: 账户状态 - 4:正常 6:注销(停用)
  21862. in: query
  21863. name: accountStatus
  21864. required: true
  21865. type: integer
  21866. produces:
  21867. - application/json
  21868. responses:
  21869. "200":
  21870. description: OK
  21871. schema:
  21872. $ref: '#/definitions/app.Response'
  21873. "500":
  21874. description: Internal Server Error
  21875. schema:
  21876. $ref: '#/definitions/app.Response'
  21877. security:
  21878. - ApiKeyAuth: []
  21879. summary: 更新用户状态
  21880. tags:
  21881. - 用户信息
  21882. /WRTrade/GetAllDeliveryGoods:
  21883. get:
  21884. produces:
  21885. - application/json
  21886. - application/json
  21887. responses:
  21888. "200":
  21889. description: OK
  21890. schema:
  21891. $ref: '#/definitions/app.Response'
  21892. "500":
  21893. description: Internal Server Error
  21894. schema:
  21895. $ref: '#/definitions/app.Response'
  21896. security:
  21897. - ApiKeyAuth: []
  21898. - ApiKeyAuth: []
  21899. summary: 获取带仓单分类的种类信息
  21900. tags:
  21901. - 仓单贸易
  21902. - 仓单贸易
  21903. securityDefinitions:
  21904. ApiKeyAuth:
  21905. in: header
  21906. name: Authorization
  21907. type: apiKey
  21908. swagger: "2.0"