swagger.yaml 597 KB

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