swagger.yaml 595 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. fromuserid:
  2941. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2942. type: integer
  2943. isreturnscore:
  2944. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2945. type: integer
  2946. modifierid:
  2947. description: 修改人ID
  2948. type: integer
  2949. modifytime:
  2950. description: 修改时间
  2951. type: string
  2952. orgtype:
  2953. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2954. type: integer
  2955. outuserid:
  2956. description: 外部账户[场外期权做市商]
  2957. type: string
  2958. parentuserid:
  2959. description: 上级组织机构(组织机构)
  2960. type: integer
  2961. roletype:
  2962. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2963. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2964. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2965. type: integer
  2966. rootuserid:
  2967. description: 顶级组织机构用户ID(组织机构)
  2968. type: integer
  2969. shoppassword:
  2970. description: 商城店铺登陆密码(商城店铺角色使用)
  2971. type: string
  2972. sublevelpath:
  2973. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2974. type: string
  2975. suborgtype:
  2976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2977. type: integer
  2978. tradeaccountid:
  2979. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2980. type: integer
  2981. transurl:
  2982. description: 物流地址(物流机构)
  2983. type: string
  2984. userid:
  2985. description: 机构用户ID其他做市关系,都设置为 1
  2986. type: integer
  2987. required:
  2988. - roletype
  2989. - userid
  2990. type: object
  2991. models.Clientfixedadconfig:
  2992. properties:
  2993. adsort:
  2994. description: 排序
  2995. type: integer
  2996. adtype:
  2997. description: 广告位类型 - 1:新品抢购(HSBY)
  2998. type: integer
  2999. areauserid:
  3000. description: 所属机构ID
  3001. type: integer
  3002. createdate:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. imagepath:
  3009. description: 图片
  3010. type: string
  3011. isshow:
  3012. description: 是否展示 - 0:不展示 1:展示
  3013. type: integer
  3014. modifierid:
  3015. description: 操作人
  3016. type: integer
  3017. recsize:
  3018. description: 推荐尺寸
  3019. type: string
  3020. title:
  3021. description: 标题
  3022. type: string
  3023. updatedate:
  3024. description: 更新时间
  3025. type: string
  3026. urlcontent:
  3027. description: 链接(地址或商品ID)
  3028. type: string
  3029. urltype:
  3030. description: 链接类型 - 1:直接地址 2:商品ID
  3031. type: integer
  3032. required:
  3033. - adsort
  3034. - adtype
  3035. type: object
  3036. models.Division:
  3037. properties:
  3038. autoid:
  3039. description: 自增ID
  3040. type: integer
  3041. divisioncode:
  3042. description: 行政代码
  3043. type: string
  3044. divisionlevel:
  3045. description: 行政级别
  3046. type: string
  3047. divisionname:
  3048. description: 行政名称
  3049. type: string
  3050. modifierid:
  3051. description: 修改人
  3052. type: integer
  3053. modifytime:
  3054. description: 修改时间
  3055. type: string
  3056. parentcode:
  3057. description: 上级行政代码
  3058. type: string
  3059. pathname:
  3060. description: 路径名称
  3061. type: string
  3062. postcode:
  3063. description: 邮政编码
  3064. type: string
  3065. separablename:
  3066. description: 可拆分的全称
  3067. type: string
  3068. shortcode:
  3069. description: 地区简码
  3070. type: string
  3071. required:
  3072. - autoid
  3073. - divisioncode
  3074. type: object
  3075. models.Enumdicitem:
  3076. properties:
  3077. autoid:
  3078. description: 自增ID
  3079. type: integer
  3080. bankmappedvalue:
  3081. description: 银行服务对应值
  3082. type: string
  3083. enumdiccode:
  3084. description: 所属枚举代码
  3085. type: string
  3086. enumdicid:
  3087. description: 所属枚举ID
  3088. type: integer
  3089. enumdicname:
  3090. description: 枚举项名称
  3091. type: string
  3092. enumitemname:
  3093. description: 枚举项值
  3094. type: integer
  3095. enumitemstatus:
  3096. description: 枚举项状态 - 1.启用 2.不启用
  3097. type: integer
  3098. enumitemvalue:
  3099. description: 通用值 - [币种通用简写]
  3100. type: string
  3101. param1:
  3102. description: 参数1[币种:币种小数位]
  3103. type: string
  3104. param2:
  3105. description: 参数1[币种:币种显示单位]
  3106. type: string
  3107. remark:
  3108. description: 备注
  3109. type: string
  3110. required:
  3111. - autoid
  3112. - enumdiccode
  3113. - enumdicid
  3114. - enumitemname
  3115. type: object
  3116. models.Ermcp3AreaSpot:
  3117. properties:
  3118. areauserid:
  3119. description: 所属机构
  3120. type: integer
  3121. decreaseqty:
  3122. description: 减少数量=-(销售已定价数量+采购计划数量)
  3123. type: number
  3124. deliverygoodscode:
  3125. description: 现货品种代码
  3126. type: string
  3127. deliverygoodsid:
  3128. description: 现货品种id
  3129. type: integer
  3130. deliverygoodsname:
  3131. description: 现货品种名称
  3132. type: string
  3133. enumdicname:
  3134. description: 单位名称
  3135. type: string
  3136. goodsunitid:
  3137. description: 现货品种单位id
  3138. type: integer
  3139. increaseqty:
  3140. description: 增加数量=销售计划数量+采购已定价数量
  3141. type: number
  3142. oritoalspotqty:
  3143. description: 昨日数量
  3144. type: number
  3145. totalspotqty:
  3146. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3147. type: number
  3148. updatetime:
  3149. description: 更新时间
  3150. type: string
  3151. type: object
  3152. models.Ermcp3AreaSpotDetail:
  3153. properties:
  3154. contracttype:
  3155. description: 合同类型 1-采购 -1-销售
  3156. type: integer
  3157. createtime:
  3158. description: 创建时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 记录类型 1-套保 2-现货合同
  3174. type: integer
  3175. qty:
  3176. description: 数量
  3177. type: number
  3178. recordname:
  3179. description: 类型名称
  3180. type: string
  3181. relatedid:
  3182. description: 套保计划ID/现货合同ID
  3183. type: string
  3184. relatedno:
  3185. description: 编号
  3186. type: string
  3187. strtime:
  3188. description: 时间
  3189. type: string
  3190. type: object
  3191. models.Ermcp3AreaSpotPLReport:
  3192. properties:
  3193. accountid:
  3194. description: 期货账户ID (作废, 默认为0)
  3195. type: integer
  3196. accountname:
  3197. description: 机构名称
  3198. type: string
  3199. actualpl:
  3200. description: 现货损益
  3201. type: number
  3202. areauserid:
  3203. description: 所属机构\交易用户ID
  3204. type: integer
  3205. begindate:
  3206. description: 开始交易日
  3207. type: string
  3208. biztype:
  3209. description: 业务类型 - 1:套保 2:套利
  3210. type: integer
  3211. brandname:
  3212. description: 品牌名称
  3213. type: string
  3214. curamount:
  3215. description: 期末额
  3216. type: number
  3217. curaverageprice:
  3218. description: 期末均价
  3219. type: number
  3220. curbuyamount:
  3221. description: 期末采购总额
  3222. type: number
  3223. curbuyqty:
  3224. description: 期末采购总量
  3225. type: number
  3226. curmarketvalue:
  3227. description: 参考市值(期末市值)
  3228. type: number
  3229. curqty:
  3230. description: 期末量
  3231. type: number
  3232. currencyid:
  3233. description: 结算币种ID【原值】
  3234. type: integer
  3235. currencyname:
  3236. description: 币种名称
  3237. type: string
  3238. cursellamount:
  3239. description: 期末销售总额
  3240. type: number
  3241. cursellqty:
  3242. description: 期末销售总量
  3243. type: number
  3244. curspotprice:
  3245. description: 参考市价(最新价)
  3246. type: number
  3247. cycletime:
  3248. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3249. type: string
  3250. cycletype:
  3251. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3252. type: integer
  3253. deliverygoodscode:
  3254. description: 现货商品代码
  3255. type: string
  3256. deliverygoodsid:
  3257. description: 现货品种ID
  3258. type: integer
  3259. deliverygoodsname:
  3260. description: 现货商品名称
  3261. type: string
  3262. enddate:
  3263. description: 结束交易日
  3264. type: string
  3265. enumdicname:
  3266. description: 现货商品单位名称
  3267. type: string
  3268. floatpl:
  3269. description: 浮动损益
  3270. type: number
  3271. goodsunitid:
  3272. description: 现货商品单位id
  3273. type: integer
  3274. oriamount:
  3275. description: 期初额
  3276. type: number
  3277. oriaverageprice:
  3278. description: 期初均价
  3279. type: number
  3280. oribuyamount:
  3281. description: 期初采购总额
  3282. type: number
  3283. oribuyqty:
  3284. description: 期初采购总量
  3285. type: number
  3286. oriqty:
  3287. description: 期初量
  3288. type: number
  3289. orisellamount:
  3290. description: 期初销售总额
  3291. type: number
  3292. orisellqty:
  3293. description: 期初销售总量
  3294. type: number
  3295. reckondate:
  3296. description: 日照时期(yyyyMMdd)
  3297. type: string
  3298. spotgoodsbrandid:
  3299. description: 现货品牌ID
  3300. type: integer
  3301. todaybuyamount:
  3302. description: 今日采购额(今采购额)
  3303. type: number
  3304. todaybuyaverageprice:
  3305. description: 今日采购均价
  3306. type: number
  3307. todaybuyqty:
  3308. description: 今日采购量(今采购量)
  3309. type: number
  3310. todayinqty:
  3311. description: 今日入库量(今入库量)
  3312. type: number
  3313. todayoutqty:
  3314. description: 今日出库量(今出库量)
  3315. type: number
  3316. todaysellamount:
  3317. description: 今日销售额(今销售额)
  3318. type: number
  3319. todaysellaverageprice:
  3320. description: 今日销售均价
  3321. type: number
  3322. todaysellqty:
  3323. description: 今日销售量(今销售量)
  3324. type: number
  3325. unitid:
  3326. description: 品类单位id
  3327. type: integer
  3328. unitidname:
  3329. description: 品类单位名称
  3330. type: string
  3331. updatetime:
  3332. description: 更新时间
  3333. type: string
  3334. wrfactortypeid:
  3335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 现货品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStock:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. curstock:
  3353. description: 期末库存量(今日量)
  3354. type: number
  3355. deliverygoodscode:
  3356. description: 现货品种代码
  3357. type: string
  3358. deliverygoodsid:
  3359. description: 现货品种id
  3360. type: integer
  3361. deliverygoodsname:
  3362. description: 现货品种名称
  3363. type: string
  3364. enumdicname:
  3365. description: 单位名称
  3366. type: string
  3367. goodsunitid:
  3368. description: 现货商品单位id
  3369. type: integer
  3370. oristock:
  3371. description: 期初库存量(昨日量)
  3372. type: number
  3373. spotgoodsbrandid:
  3374. description: 现货品牌ID
  3375. type: integer
  3376. todaybuyinqty:
  3377. description: 今日采购入库量
  3378. type: number
  3379. todayproduceinqty:
  3380. description: 今日生产入库量
  3381. type: number
  3382. todayproduceoutqty:
  3383. description: 今日生产出库量
  3384. type: number
  3385. todayselloutqty:
  3386. description: 今日销售出库量
  3387. type: number
  3388. unitid:
  3389. description: 单位id
  3390. type: integer
  3391. updatetime:
  3392. description: 更新时间
  3393. type: string
  3394. userid:
  3395. description: 机构ID
  3396. type: integer
  3397. username:
  3398. description: 机构名称
  3399. type: string
  3400. warehousecode:
  3401. description: 仓库代码
  3402. type: string
  3403. warehouseinfoid:
  3404. description: 仓库ID
  3405. type: string
  3406. warehousename:
  3407. description: 仓库名称
  3408. type: string
  3409. warehousetype:
  3410. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3411. type: integer
  3412. wrstandardcode:
  3413. description: 品类代码
  3414. type: string
  3415. wrstandardid:
  3416. description: 品类ID
  3417. type: string
  3418. wrstandardname:
  3419. description: 品类名称
  3420. type: string
  3421. required:
  3422. - userid
  3423. type: object
  3424. models.Ermcp3AreaStockApply:
  3425. properties:
  3426. applyid:
  3427. description: 申请人
  3428. type: integer
  3429. applyname:
  3430. description: 申请人名称
  3431. type: string
  3432. applyremark:
  3433. description: 申请备注
  3434. type: string
  3435. applysrc:
  3436. description: 申请来源 - 1:管理端 2:终端
  3437. type: integer
  3438. applystatus:
  3439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3440. type: integer
  3441. applytime:
  3442. description: 申请时间
  3443. type: string
  3444. auditid:
  3445. description: 审核人
  3446. type: integer
  3447. auditname:
  3448. description: 审核人名称
  3449. type: string
  3450. auditremark:
  3451. description: 审核备注
  3452. type: string
  3453. auditsrc:
  3454. description: 审核来源 - 1:管理端 2:终端
  3455. type: integer
  3456. audittime:
  3457. description: 审核时间
  3458. type: string
  3459. audittradedate:
  3460. description: 审核交易日(yyyyMMdd)
  3461. type: string
  3462. brandname:
  3463. description: 品牌名称
  3464. type: string
  3465. buynickname:
  3466. description: 采购方昵称
  3467. type: string
  3468. buyuserid:
  3469. description: 采购方userid
  3470. type: integer
  3471. buyusername:
  3472. description: 采购方名称
  3473. type: string
  3474. contractno:
  3475. description: 合同编号
  3476. type: string
  3477. contractqty:
  3478. description: 合同量
  3479. type: number
  3480. contracttype:
  3481. description: 现货合同类型 - 1:采购 -1:销售
  3482. type: integer
  3483. deliverygoodscode:
  3484. description: 现货品种代码
  3485. type: string
  3486. deliverygoodsid:
  3487. description: 现货品种id
  3488. type: integer
  3489. deliverygoodsname:
  3490. description: 现货品种名称
  3491. type: string
  3492. detailjson:
  3493. description: 明细数据
  3494. type: string
  3495. enumdicname:
  3496. description: 现货商品单位名称
  3497. type: string
  3498. inoutapplyid:
  3499. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3500. type: string
  3501. inouttype:
  3502. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3503. type: integer
  3504. pricetype:
  3505. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3506. type: integer
  3507. qty:
  3508. description: 数量
  3509. type: number
  3510. sellnickname:
  3511. description: 销售方昵称
  3512. type: string
  3513. selluserid:
  3514. description: 销售方userid
  3515. type: integer
  3516. sellusername:
  3517. description: 销售方名称
  3518. type: string
  3519. spotcontractid:
  3520. description: 关联现货合同ID
  3521. type: string
  3522. spotgoodsbrandid:
  3523. description: 现货品牌ID
  3524. type: integer
  3525. unitid:
  3526. description: 单位id
  3527. type: integer
  3528. userid:
  3529. description: 机构ID
  3530. type: integer
  3531. warehousecode:
  3532. description: 仓库代码
  3533. type: string
  3534. warehouseinfoid:
  3535. description: 现货仓库ID
  3536. type: string
  3537. warehousename:
  3538. description: 仓库名称
  3539. type: string
  3540. warehousetype:
  3541. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3542. type: integer
  3543. wrstandardcode:
  3544. description: 品类代码
  3545. type: string
  3546. wrstandardid:
  3547. description: 品类ID
  3548. type: integer
  3549. wrstandardname:
  3550. description: 品类名称
  3551. type: string
  3552. type: object
  3553. models.Ermcp3AreaStockApplySum:
  3554. properties:
  3555. brandname:
  3556. description: 品牌名称
  3557. type: string
  3558. inouttype:
  3559. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3560. type: integer
  3561. spotcontractid:
  3562. description: 关联现货合同ID
  3563. type: string
  3564. spotgoodsbrandid:
  3565. description: 品牌id
  3566. type: integer
  3567. totalqty:
  3568. description: 总数量
  3569. type: number
  3570. wrstandardid:
  3571. description: 品类id
  3572. type: integer
  3573. wrstandardname:
  3574. description: 品类名称
  3575. type: string
  3576. type: object
  3577. models.Ermcp3AreaStockReportEx:
  3578. properties:
  3579. begindate:
  3580. description: 开始交易日
  3581. type: string
  3582. brandname:
  3583. description: 品牌名称
  3584. type: string
  3585. curstock:
  3586. description: 期末库存量
  3587. type: number
  3588. cycletime:
  3589. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3590. type: string
  3591. cycletype:
  3592. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3593. type: integer
  3594. deliverygoodscode:
  3595. description: 现货品种代码
  3596. type: string
  3597. deliverygoodsid:
  3598. description: 现货品种id
  3599. type: integer
  3600. deliverygoodsname:
  3601. description: 现货品种名称
  3602. type: string
  3603. diffqty:
  3604. description: 库存变化量 = 期末 - 期初
  3605. type: number
  3606. enddate:
  3607. description: 结束交易日
  3608. type: string
  3609. enumdicname:
  3610. description: 单位名称
  3611. type: string
  3612. goodsunitid:
  3613. description: 现货单位id
  3614. type: integer
  3615. oristock:
  3616. description: 期初库存量
  3617. type: number
  3618. reckondate:
  3619. description: 日照时期(yyyyMMdd)
  3620. type: string
  3621. spotgoodsbrandid:
  3622. description: 现货品牌ID
  3623. type: integer
  3624. todaybuyinqty:
  3625. description: 今采购入库量
  3626. type: number
  3627. todayproduceinqty:
  3628. description: 今内部入库量
  3629. type: number
  3630. todayproduceoutqty:
  3631. description: 今内部出库量
  3632. type: number
  3633. todayselloutqty:
  3634. description: 今销售出库量
  3635. type: number
  3636. unbuyinqty:
  3637. description: 采购未入库量(数据库未找到相关字段?)
  3638. type: number
  3639. unitid:
  3640. description: 品类单位id
  3641. type: integer
  3642. unselloutqty:
  3643. description: 销售未出库量(数据库未找到相关字段?)
  3644. type: number
  3645. updatetime:
  3646. description: 更新时间
  3647. type: string
  3648. userid:
  3649. description: 机构ID
  3650. type: integer
  3651. username:
  3652. description: 机构名称
  3653. type: string
  3654. warehousecode:
  3655. description: 仓库代码
  3656. type: string
  3657. warehouseinfoid:
  3658. description: 仓库ID
  3659. type: string
  3660. warehousename:
  3661. description: 仓库名称
  3662. type: string
  3663. warehousetype:
  3664. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3665. type: integer
  3666. wrstandardcode:
  3667. description: 品类代码
  3668. type: string
  3669. wrstandardid:
  3670. description: 品类ID
  3671. type: integer
  3672. wrstandardname:
  3673. description: 品类名称
  3674. type: string
  3675. type: object
  3676. models.Ermcp3ArealSumPL:
  3677. properties:
  3678. accountname:
  3679. description: 机构名称
  3680. type: string
  3681. areauserid:
  3682. description: 所属机构\交易用户ID
  3683. type: integer
  3684. begindate:
  3685. description: 开始交易日
  3686. type: string
  3687. currencyid:
  3688. description: 结算币种ID
  3689. type: integer
  3690. currencyname:
  3691. description: 币种名称
  3692. type: string
  3693. cycletime:
  3694. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3695. type: string
  3696. cycletype:
  3697. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3698. type: integer
  3699. enddate:
  3700. description: 结束交易日
  3701. type: string
  3702. enumdicname:
  3703. description: 单位名称(套保品种)
  3704. type: string
  3705. futureactualpl:
  3706. description: 期货损益
  3707. type: number
  3708. futurefloatpl:
  3709. description: 期货浮动损益
  3710. type: number
  3711. goodsunitid:
  3712. description: 套保品种单位id
  3713. type: integer
  3714. middlegoodscode:
  3715. description: 套保品种代码
  3716. type: string
  3717. middlegoodsid:
  3718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3719. type: integer
  3720. middlegoodsname:
  3721. description: 套保品种名称
  3722. type: string
  3723. reckondate:
  3724. description: 日照时期(yyyyMMdd)
  3725. type: string
  3726. spotactualpl:
  3727. description: 现货损益
  3728. type: number
  3729. spotfloatpl:
  3730. description: 现货浮动损益
  3731. type: number
  3732. sumactualpl:
  3733. description: 实际损益 = (ActualPL + FutureActualPL)
  3734. type: number
  3735. sumpl:
  3736. description: 汇总损益
  3737. type: number
  3738. updatetime:
  3739. description: 更新时间
  3740. type: string
  3741. type: object
  3742. models.Ermcp3Brand:
  3743. properties:
  3744. areauserid:
  3745. description: 用户id
  3746. type: integer
  3747. brandid:
  3748. description: 品牌id
  3749. type: integer
  3750. brandname:
  3751. description: 品牌名称
  3752. type: string
  3753. deliverygoodsid:
  3754. description: 品种ID
  3755. type: integer
  3756. type: object
  3757. models.Ermcp3Contract:
  3758. properties:
  3759. accountid:
  3760. description: 期货账户id
  3761. type: string
  3762. amount:
  3763. description: 金额 [1:一口价、3:暂定价]
  3764. type: number
  3765. attachment:
  3766. description: 附件
  3767. type: string
  3768. auditremark:
  3769. description: 审核意见
  3770. type: string
  3771. audittime:
  3772. description: 审核时间
  3773. type: string
  3774. biztype:
  3775. description: 业务类型 1-套保 2-套利
  3776. type: integer
  3777. brandname:
  3778. description: 品牌名称
  3779. type: string
  3780. buynickname:
  3781. description: 销售方昵称
  3782. type: string
  3783. buyuserid:
  3784. description: 采购方ID
  3785. type: integer
  3786. buyusername:
  3787. description: 采购方名称
  3788. type: string
  3789. contracctstatus:
  3790. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3791. type: integer
  3792. contractmargin:
  3793. description: 合同保证金
  3794. type: number
  3795. contractno:
  3796. description: 现货合同编号
  3797. type: string
  3798. contracttype:
  3799. description: 现货合同类型 - 1:采购 -1:销售
  3800. type: integer
  3801. convertfactor:
  3802. description: 标仓系数(品类)
  3803. type: number
  3804. createtime:
  3805. description: 创建时间
  3806. type: string
  3807. currencyid:
  3808. description: 币种id
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. deliveryenddate:
  3814. description: 交收期(结束)
  3815. type: string
  3816. deliverygoodscode:
  3817. description: 现货品种代码
  3818. type: string
  3819. deliverygoodsid:
  3820. description: 现货品种ID
  3821. type: integer
  3822. deliverygoodsname:
  3823. description: 现货品种名称
  3824. type: string
  3825. deliverystartdate:
  3826. description: 交收期(开始)
  3827. type: string
  3828. enddate:
  3829. description: 点价结束日期 [2:点价 3:暂定价]
  3830. type: string
  3831. enumdicname:
  3832. description: 单位名称
  3833. type: string
  3834. goodscode:
  3835. description: 点价合约代码
  3836. type: string
  3837. goodsid:
  3838. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3839. type: integer
  3840. goodsname:
  3841. description: 点价商品名称
  3842. type: string
  3843. margin:
  3844. description: 当前保证金
  3845. type: number
  3846. meruserid:
  3847. description: 跟单员id
  3848. type: integer
  3849. meruserlogincode:
  3850. description: 跟单员登录代码
  3851. type: string
  3852. price:
  3853. description: 价格\暂定价 [1:一口价、3:暂定价]
  3854. type: number
  3855. pricemove:
  3856. description: 升贴水 [2:点价 3:暂定价]
  3857. type: number
  3858. pricetype:
  3859. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3860. type: integer
  3861. producttype:
  3862. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3863. type: integer
  3864. qty:
  3865. description: 数量
  3866. type: number
  3867. remark:
  3868. description: 备注
  3869. type: string
  3870. saleuserid:
  3871. description: 业务员id
  3872. type: integer
  3873. saleuserlogincode:
  3874. description: 业务员登录代码
  3875. type: string
  3876. sellnickname:
  3877. description: 采购方昵称
  3878. type: string
  3879. selluserid:
  3880. description: 销售方ID
  3881. type: integer
  3882. sellusername:
  3883. description: 销售方名称
  3884. type: string
  3885. spotcontractid:
  3886. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3887. type: string
  3888. spotgoodsbrandid:
  3889. description: 现货品牌ID(DGFactoryItem表的ID)
  3890. type: integer
  3891. spotgoodsdesc:
  3892. description: 商品型号
  3893. type: string
  3894. startdate:
  3895. description: 点价开始日期 [2:点价 3:暂定价]
  3896. type: string
  3897. tradeuserid:
  3898. description: 交易员id
  3899. type: integer
  3900. tradeuserlogincode:
  3901. description: 交易员登录代码
  3902. type: string
  3903. tradeusername:
  3904. description: 交易员名称
  3905. type: string
  3906. unitid:
  3907. description: 单位id(取品类上的单位id)
  3908. type: integer
  3909. updatetime:
  3910. description: 更新时间
  3911. type: string
  3912. userid:
  3913. description: 所属机构ID
  3914. type: integer
  3915. wrstandardcode:
  3916. description: 品类代码
  3917. type: string
  3918. wrstandardid:
  3919. description: 品类ID
  3920. type: integer
  3921. wrstandardname:
  3922. description: 品类名称
  3923. type: string
  3924. type: object
  3925. models.Ermcp3ExposureContractDetail:
  3926. properties:
  3927. biztype:
  3928. description: 业务类型 1-套保 2-套利
  3929. type: integer
  3930. brandname:
  3931. description: 品牌名称
  3932. type: string
  3933. buyuserid:
  3934. description: 采购方id
  3935. type: integer
  3936. buyusername:
  3937. description: 采购方名称
  3938. type: string
  3939. contractno:
  3940. description: 合同编号
  3941. type: string
  3942. contracttype:
  3943. description: 现货合同类型 - 1:采购 -1:销售
  3944. type: integer
  3945. convertfactor:
  3946. description: 标仓系数
  3947. type: number
  3948. convertratio:
  3949. description: 折算系数(套保品种)
  3950. type: number
  3951. curqty:
  3952. description: 今定价量
  3953. type: number
  3954. deliverygoodscode:
  3955. description: 现货商品代码
  3956. type: string
  3957. deliverygoodsid:
  3958. description: 现货商品id
  3959. type: integer
  3960. deliverygoodsname:
  3961. description: 现货商品名称
  3962. type: string
  3963. diffhedgeqty:
  3964. description: 套保变动量
  3965. type: number
  3966. diffneedhedgeqty:
  3967. description: 应套保变动量
  3968. type: number
  3969. diffqty:
  3970. description: 套保品种今变动量
  3971. type: number
  3972. enumdicname:
  3973. description: 单位名称
  3974. type: string
  3975. middlegoodscode:
  3976. description: 套保品种代码
  3977. type: string
  3978. middlegoodsid:
  3979. description: 套保品种id
  3980. type: integer
  3981. middlegoodsname:
  3982. description: 套保品种名称
  3983. type: string
  3984. needarbitrageratio:
  3985. description: 应套利比例
  3986. type: number
  3987. needhedgeratio:
  3988. description: 应套保比例
  3989. type: number
  3990. pricedqty:
  3991. description: 已定价量
  3992. type: number
  3993. qty:
  3994. description: 合同量
  3995. type: number
  3996. selluserid:
  3997. description: 销售方id
  3998. type: integer
  3999. sellusername:
  4000. description: 销售方名称
  4001. type: string
  4002. spotcontractid:
  4003. description: 合同id
  4004. type: string
  4005. todaypricedqty:
  4006. description: 今定价量
  4007. type: number
  4008. tradedate:
  4009. description: 交易日
  4010. type: string
  4011. unitid:
  4012. description: 品类单位id
  4013. type: integer
  4014. userid:
  4015. description: 机构id
  4016. type: integer
  4017. wrstandardcode:
  4018. description: 品类代码
  4019. type: string
  4020. wrstandardid:
  4021. description: 品类id
  4022. type: integer
  4023. wrstandardname:
  4024. description: 品类名称
  4025. type: string
  4026. type: object
  4027. models.Ermcp3ExposureDetail:
  4028. properties:
  4029. areauserid:
  4030. description: 机构ID
  4031. type: integer
  4032. changeQty:
  4033. description: 套保变动量
  4034. type: number
  4035. contracttype:
  4036. description: 现货合同类型 - 1:采购 -1:销售
  4037. type: integer
  4038. convertfactor:
  4039. description: 标仓系数
  4040. type: number
  4041. convertratio:
  4042. description: 套保系数
  4043. type: number
  4044. createtime:
  4045. description: 时间
  4046. type: string
  4047. deliverygoodscode:
  4048. description: 现货品种代码
  4049. type: string
  4050. deliverygoodsid:
  4051. description: 现货品种id
  4052. type: integer
  4053. deliverygoodsname:
  4054. description: 现货品种名称
  4055. type: string
  4056. enumdicname:
  4057. description: 现货商品单位名称
  4058. type: string
  4059. logtype:
  4060. description: 类型 - 1:套保计划 2:现货合同
  4061. type: integer
  4062. mgunitid:
  4063. description: 套保品种单位id
  4064. type: integer
  4065. mgunitidname:
  4066. description: 套保品种单位名称
  4067. type: string
  4068. middlegoodsId:
  4069. description: 套保商品id
  4070. type: integer
  4071. middlegoodscode:
  4072. description: 套保商品代码
  4073. type: string
  4074. middlegoodsname:
  4075. description: 套保商品名称
  4076. type: string
  4077. qty:
  4078. description: 数量
  4079. type: number
  4080. relateNo:
  4081. description: 现货合同/套保计划编号
  4082. type: string
  4083. type: object
  4084. models.Ermcp3ExposureFutuDetail:
  4085. properties:
  4086. accountid:
  4087. description: 交易账户id
  4088. type: integer
  4089. accountname:
  4090. description: 交易账户
  4091. type: string
  4092. begindate:
  4093. description: 开始交易日
  4094. type: string
  4095. buyorsell:
  4096. description: 方向 0-买 1-卖
  4097. type: integer
  4098. diffmgqty:
  4099. description: 套保品种今变化量
  4100. type: number
  4101. diffneedqty:
  4102. description: 应套保总量变化量
  4103. type: number
  4104. difftradeqty:
  4105. description: 交易品种今变化量
  4106. type: number
  4107. enddate:
  4108. description: 结束交易日
  4109. type: string
  4110. enumdicname:
  4111. description: 单位名称
  4112. type: string
  4113. goodscode:
  4114. description: 商品代码
  4115. type: string
  4116. goodsid:
  4117. description: 商品id
  4118. type: integer
  4119. goodsname:
  4120. description: 商品名称
  4121. type: string
  4122. holdqty:
  4123. description: 期末持仓量
  4124. type: number
  4125. middlegoodscode:
  4126. description: 套保商品代码
  4127. type: string
  4128. middlegoodsid:
  4129. description: 套保商品id
  4130. type: integer
  4131. middlegoodsname:
  4132. description: 套保商品名称
  4133. type: string
  4134. oriholdqty:
  4135. description: 期初持仓量
  4136. type: number
  4137. todaycloseqty:
  4138. description: 今平仓量
  4139. type: number
  4140. todayopenqty:
  4141. description: 今开仓量
  4142. type: number
  4143. tradedate:
  4144. description: 交易日
  4145. type: string
  4146. type: object
  4147. models.Ermcp3ExposureHedgeplanDetail:
  4148. properties:
  4149. biztype:
  4150. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4151. type: integer
  4152. changqty:
  4153. description: 应套保总量变化量
  4154. type: number
  4155. contracttype:
  4156. description: 计划类型 - 1:采购 -1:销售
  4157. type: integer
  4158. convertratio:
  4159. description: 折算系数(套保品种)
  4160. type: number
  4161. deliverygoodscode:
  4162. description: 现货商品代码
  4163. type: string
  4164. deliverygoodsid:
  4165. description: 现货商品id
  4166. type: integer
  4167. deliverygoodsname:
  4168. description: 现货商吕名称
  4169. type: string
  4170. dgunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. dgunitidname:
  4174. description: 单位名称(现货商品)
  4175. type: string
  4176. diffqty:
  4177. description: 套保品种今变动量
  4178. type: number
  4179. enumdicname:
  4180. description: 单位名称(品类)
  4181. type: string
  4182. hedgeplanid:
  4183. description: 套保计划id
  4184. type: string
  4185. hedgeplanno:
  4186. description: 套保计划名称
  4187. type: string
  4188. hedgeplanstatus:
  4189. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4190. type: integer
  4191. mgunitidname:
  4192. description: 单位名称(套保商品)
  4193. type: string
  4194. middlegoodscode:
  4195. description: 套保品种代码
  4196. type: string
  4197. middlegoodsid:
  4198. description: 套保品种id
  4199. type: integer
  4200. middlegoodsname:
  4201. description: 套保品种名称
  4202. type: string
  4203. needarbitrageratio:
  4204. description: 应套利比例
  4205. type: number
  4206. needhedgeratio:
  4207. description: 应套保比例
  4208. type: number
  4209. pricedqty:
  4210. description: 已定价量
  4211. type: number
  4212. qty:
  4213. description: 合同量
  4214. type: number
  4215. tradedate:
  4216. description: 交易日(登记日)
  4217. type: string
  4218. unitid:
  4219. description: 品类单位id
  4220. type: integer
  4221. userid:
  4222. description: 机构id
  4223. type: integer
  4224. wrstandardcode:
  4225. description: 品类代码
  4226. type: string
  4227. wrstandardid:
  4228. description: 品类id
  4229. type: integer
  4230. wrstandardname:
  4231. description: 品类名称
  4232. type: string
  4233. type: object
  4234. models.Ermcp3ExposureParamChLog:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. aftervalue:
  4240. description: 应套保\套利量变更后(调整后应套保总量)
  4241. type: number
  4242. areauserid:
  4243. description: 所属机构\交易用户ID
  4244. type: integer
  4245. beforevalue:
  4246. description: 应套保\套利量变更前(调整前应套保总量)
  4247. type: number
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. changelogtype:
  4252. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4253. type: integer
  4254. curvalue:
  4255. description: 当前套保\套利量(套保总量|套利总量)
  4256. type: number
  4257. diffvalue:
  4258. description: 应套保总量变化量
  4259. type: number
  4260. enddate:
  4261. description: 结束交易日
  4262. type: string
  4263. logdatetime:
  4264. description: 流水日期
  4265. type: string
  4266. logid:
  4267. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4268. type: string
  4269. middlegoodscode:
  4270. description: 套保品种代码
  4271. type: string
  4272. middlegoodsid:
  4273. description: 套保品种
  4274. type: integer
  4275. middlegoodsname:
  4276. description: 套保品种名称
  4277. type: string
  4278. paramaftervalue:
  4279. description: 参数变更后(调整后参数值)
  4280. type: number
  4281. parambeforevalue:
  4282. description: 参数变更前(调整前参数值)
  4283. type: number
  4284. tradedate:
  4285. description: 交易日(yyyyMMdd)
  4286. type: string
  4287. type: object
  4288. models.Ermcp3ExpourseReport:
  4289. properties:
  4290. accountid:
  4291. description: 期货账户ID (作废, 默认为0)
  4292. type: integer
  4293. accountname:
  4294. description: 机构名称
  4295. type: string
  4296. arbitrageqty:
  4297. description: 套利量
  4298. type: number
  4299. areauserid:
  4300. description: 所属机构\交易用户ID
  4301. type: integer
  4302. begindate:
  4303. description: 开始交易日
  4304. type: string
  4305. buyfutureqty:
  4306. description: 买入期货数量
  4307. type: number
  4308. buyplanqty:
  4309. description: 采购计划数量
  4310. type: number
  4311. buypricedqty:
  4312. description: 采购合同已定价数量
  4313. type: number
  4314. cycletime:
  4315. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4316. type: string
  4317. cycletype:
  4318. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4319. type: integer
  4320. diffexposure:
  4321. description: 变动量(套保敞口)
  4322. type: number
  4323. difffutuqty:
  4324. description: 变动量(期货)
  4325. type: number
  4326. diffhedgeqty:
  4327. description: 变动量(现货应套保总量)
  4328. type: number
  4329. diffmgqtya:
  4330. description: 套保变动量
  4331. type: number
  4332. diffmgqtyb:
  4333. description: 套利变动量
  4334. type: number
  4335. diffqty:
  4336. description: 变动量(总敞口)
  4337. type: number
  4338. diffspotqty:
  4339. description: 变动量(现货)
  4340. type: number
  4341. enddate:
  4342. description: 结束交易日
  4343. type: string
  4344. enumdicname:
  4345. description: 单位名称
  4346. type: string
  4347. hedgeqty:
  4348. description: 套保量
  4349. type: number
  4350. mgneedhedgeratio:
  4351. description: 套保比例(套保品的)
  4352. type: number
  4353. middlegoodsid:
  4354. description: 套保品种ID
  4355. type: integer
  4356. middlegoodsname:
  4357. description: 套保商品名称
  4358. type: string
  4359. middlgoodscode:
  4360. description: 套保商品代码
  4361. type: string
  4362. needarbitrageqty:
  4363. description: 应套利量
  4364. type: number
  4365. needarbitrageratio:
  4366. description: 套利比例(套保品的)
  4367. type: number
  4368. needhedgeexposoure:
  4369. description: 应套保敞口(套保敞口)
  4370. type: number
  4371. needhedgeqty:
  4372. description: 应套保量
  4373. type: number
  4374. needhedgeratio:
  4375. description: 应套保敞口比例
  4376. type: number
  4377. oriarbitrageqty:
  4378. description: 期初套利量
  4379. type: number
  4380. oribuyfutureqty:
  4381. description: 期初买入期货数量
  4382. type: number
  4383. oribuyplanqty:
  4384. description: 期初采购计划数量
  4385. type: number
  4386. oribuypricedqty:
  4387. description: 期初采购合同已定价数量
  4388. type: number
  4389. orihedgeqty:
  4390. description: 期初套保量
  4391. type: number
  4392. orineedarbitrageqty:
  4393. description: 期初应套利量
  4394. type: number
  4395. orineedhedgeexposoure:
  4396. description: 期初应套保敞口
  4397. type: number
  4398. orineedhedgeqty:
  4399. description: 期初应套保量
  4400. type: number
  4401. orisellfutureqty:
  4402. description: 期初卖出期货数量
  4403. type: number
  4404. orisellplanqty:
  4405. description: 期初销售计划数量
  4406. type: number
  4407. orisellpricedqty:
  4408. description: 期初销售合同已定价数量
  4409. type: number
  4410. oritotalexposure:
  4411. description: 期初实时总敞口
  4412. type: number
  4413. oritotalfutureqty:
  4414. description: 期初期货头寸总量
  4415. type: number
  4416. oritotalneedhedgeqty:
  4417. description: 期初应套保总量
  4418. type: number
  4419. oritotalspotqty:
  4420. description: 期初现货头寸总量
  4421. type: number
  4422. reckondate:
  4423. description: 日照时期(yyyyMMdd)
  4424. type: string
  4425. sellfutureqty:
  4426. description: 卖出期货数量
  4427. type: number
  4428. sellplanqty:
  4429. description: 销售计划数量
  4430. type: number
  4431. sellpricedqty:
  4432. description: 销售合同已定价数量
  4433. type: number
  4434. totalexposure:
  4435. description: 实时总敞口(总敞口)
  4436. type: number
  4437. totalfutureqty:
  4438. description: 期货头寸总量(期货总量)
  4439. type: number
  4440. totalhedgeratio:
  4441. description: 敞口比例
  4442. type: number
  4443. totalneedhedgeqty:
  4444. description: 应套保总量(现货应套保总量)
  4445. type: number
  4446. totalspotqty:
  4447. description: 现货头寸总量
  4448. type: number
  4449. unitid:
  4450. description: 单位id
  4451. type: integer
  4452. updatetime:
  4453. description: 更新时间
  4454. type: string
  4455. type: object
  4456. models.Ermcp3FinanceReport:
  4457. properties:
  4458. accountname:
  4459. description: 机构名称
  4460. type: string
  4461. areauserid:
  4462. description: 所属机构\交易用户ID
  4463. type: integer
  4464. begindate:
  4465. description: 开始交易日
  4466. type: string
  4467. biztype:
  4468. description: 业务类型 - 1:套保 2:套利
  4469. type: integer
  4470. brandname:
  4471. description: 品牌名称
  4472. type: string
  4473. buypreinvoicedamount:
  4474. description: 采购预收票额(预收票额)
  4475. type: number
  4476. buyprepaidamount:
  4477. description: 采购预付款额(预付货款额)
  4478. type: number
  4479. buytodayinvoiceamount:
  4480. description: 采购今收票额(今收票额)
  4481. type: number
  4482. buytodayrefundamount:
  4483. description: 采购今收退款额(今收退款额)
  4484. type: number
  4485. buytodaysettleamount:
  4486. description: 采购今付款额(今付货款额)
  4487. type: number
  4488. buyuninvoicedamount:
  4489. description: 采购应收票额(应收票额)
  4490. type: number
  4491. buyunpaidamount:
  4492. description: 采购应付款额(应付货款额)
  4493. type: number
  4494. currencyid:
  4495. description: 结算币种ID
  4496. type: integer
  4497. currencyname:
  4498. description: 币种名称
  4499. type: string
  4500. cycletime:
  4501. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4502. type: string
  4503. cycletype:
  4504. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4505. type: integer
  4506. deliverygoodscode:
  4507. description: 现货品种代码
  4508. type: string
  4509. deliverygoodsid:
  4510. description: 现货品种ID
  4511. type: integer
  4512. deliverygoodsname:
  4513. description: 现货品种名称
  4514. type: string
  4515. enddate:
  4516. description: 结束交易日
  4517. type: string
  4518. reckondate:
  4519. description: 日照时期(yyyyMMdd)
  4520. type: string
  4521. sellpreinvoicedamount:
  4522. description: 销售预开票额(预开票额)
  4523. type: number
  4524. sellprepaidamount:
  4525. description: 销售预收款额(预收货款额)
  4526. type: number
  4527. selltodayinvoiceamount:
  4528. description: 销售今开票额(今开票额)
  4529. type: number
  4530. selltodayrefundamount:
  4531. description: 销售今付退款额(今付退款额)
  4532. type: number
  4533. selltodaysettleamount:
  4534. description: 销售今收款额(今收货款额)
  4535. type: number
  4536. selluninvoicedamount:
  4537. description: 销售应开票额(应开票额)
  4538. type: number
  4539. sellunpaidamount:
  4540. description: 销售应收款额(应收货款额)
  4541. type: number
  4542. spotgoodsbrandid:
  4543. description: 现货品牌ID
  4544. type: integer
  4545. todaypaysum:
  4546. description: 今付款合计
  4547. type: number
  4548. todayreceivesum:
  4549. description: 今收款合计
  4550. type: number
  4551. updatetime:
  4552. description: 更新时间
  4553. type: string
  4554. wrfactortypeid:
  4555. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4556. type: integer
  4557. wrstandardcode:
  4558. description: 品类代码
  4559. type: string
  4560. wrstandardid:
  4561. description: 现货商品ID
  4562. type: integer
  4563. wrstandardname:
  4564. description: 品类名称
  4565. type: string
  4566. type: object
  4567. models.Ermcp3Goods:
  4568. properties:
  4569. agreeunit:
  4570. description: 合约单位(合约乘数)
  4571. type: number
  4572. enumdicname:
  4573. description: 单位名称
  4574. type: string
  4575. exexchangecode:
  4576. description: 交易所代码
  4577. type: string
  4578. goodscode:
  4579. description: 期货商品代码
  4580. type: string
  4581. goodsid:
  4582. description: 期货商品id
  4583. type: integer
  4584. goodsname:
  4585. description: 期货商品名称
  4586. type: string
  4587. type: object
  4588. models.Ermcp3GoodsGroup:
  4589. properties:
  4590. agreeunit:
  4591. description: 合约单位
  4592. type: number
  4593. areauserid:
  4594. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4595. type: integer
  4596. canshort:
  4597. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4598. type: integer
  4599. closepricemode:
  4600. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4601. type: integer
  4602. createtime:
  4603. description: 创建时间
  4604. type: string
  4605. creatorid:
  4606. description: 创建人
  4607. type: integer
  4608. currencyid:
  4609. description: 报价货币ID
  4610. type: integer
  4611. decimalplace:
  4612. description: 报价小数位
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位名称
  4616. type: string
  4617. exchangefullname:
  4618. description: 交易所全称
  4619. type: string
  4620. excludecfg:
  4621. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4622. type: integer
  4623. exexchangecode:
  4624. description: 交易所代码
  4625. type: string
  4626. exexchangeid:
  4627. description: 外部交易所ID[通道交易]
  4628. type: integer
  4629. exexchangename:
  4630. description: 交易所名称
  4631. type: string
  4632. goodsgroupid:
  4633. description: 商品组ID(自增ID)
  4634. type: integer
  4635. goodsgroupname:
  4636. description: 商品组名称
  4637. type: string
  4638. goodsgroupstatus:
  4639. description: 商品组状态 - 1:正常 2:注销
  4640. type: integer
  4641. goodunitid:
  4642. description: 报价单位ID
  4643. type: integer
  4644. groupcategroyid:
  4645. description: 品种分类ID
  4646. type: integer
  4647. innerdealmode:
  4648. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4649. type: integer
  4650. marketid:
  4651. description: 所属市场ID
  4652. type: integer
  4653. modifierid:
  4654. description: 修改人
  4655. type: integer
  4656. modifytime:
  4657. description: 修改时间
  4658. type: string
  4659. outerdealmode:
  4660. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. outergroupcode:
  4663. description: 外部商品组代码[通道交易]
  4664. type: string
  4665. quoteminunit:
  4666. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4667. type: integer
  4668. quotesourcegroupid:
  4669. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4670. type: integer
  4671. syncgoodsqty:
  4672. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4673. type: integer
  4674. required:
  4675. - areauserid
  4676. type: object
  4677. models.Ermcp3GoodsGroupEx:
  4678. properties:
  4679. convertratio:
  4680. description: 折算系数(品种系数)
  4681. type: number
  4682. enumdicname:
  4683. description: 单位名称
  4684. type: string
  4685. exexchangecode:
  4686. description: 交易所代码
  4687. type: string
  4688. glist:
  4689. description: 合约列表
  4690. items:
  4691. $ref: '#/definitions/models.Ermcp3Goods'
  4692. type: array
  4693. goodsgroupid:
  4694. description: 商品组id
  4695. type: integer
  4696. goodsgroupname:
  4697. description: 商品组名称
  4698. type: string
  4699. goodsunitid:
  4700. description: 单位id
  4701. type: integer
  4702. middlegoodsid:
  4703. description: 套保商品id
  4704. type: integer
  4705. type: object
  4706. models.Ermcp3HedgePlan:
  4707. properties:
  4708. accountid:
  4709. description: 资金账号
  4710. type: integer
  4711. areauserid:
  4712. description: 用户ID
  4713. type: integer
  4714. audittime:
  4715. description: 审核时间
  4716. type: string
  4717. contracttype:
  4718. description: 计划类型 - 1:采购 -1:销售
  4719. type: integer
  4720. convertfactor:
  4721. description: 标仓系数
  4722. type: number
  4723. createtime:
  4724. description: 创建时间
  4725. type: string
  4726. currencyid:
  4727. description: 币种id
  4728. type: integer
  4729. currencyname:
  4730. description: 币种名称
  4731. type: string
  4732. deliverygoodscode:
  4733. description: 现货品种代码
  4734. type: string
  4735. deliverygoodsid:
  4736. description: 现货品种ID
  4737. type: integer
  4738. deliverygoodsname:
  4739. description: 现货品种名称
  4740. type: string
  4741. enumdicname:
  4742. description: 单位名称(现货商品)
  4743. type: string
  4744. hedgeplanid:
  4745. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4746. type: string
  4747. hedgeplanno:
  4748. description: 套保计划编号(名称)
  4749. type: string
  4750. hedgeplanstatus:
  4751. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4752. type: integer
  4753. planqty:
  4754. description: 计划数量
  4755. type: number
  4756. plantime:
  4757. description: 计划时间
  4758. type: string
  4759. producttype:
  4760. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4761. type: integer
  4762. remark:
  4763. description: 备注
  4764. type: string
  4765. spotgoodsdesc:
  4766. description: 商品型号
  4767. type: string
  4768. taaccountname:
  4769. description: 资金账号名称
  4770. type: string
  4771. tradeuserid:
  4772. description: 交易用户id
  4773. type: integer
  4774. tradeusername:
  4775. description: 交易用户名称
  4776. type: string
  4777. unitid:
  4778. description: 单位id(现货商品)
  4779. type: integer
  4780. updatetime:
  4781. description: 更新时间
  4782. type: string
  4783. wrstandardcode:
  4784. description: 品类代码
  4785. type: string
  4786. wrstandardid:
  4787. description: 品类id
  4788. type: integer
  4789. wrstandardname:
  4790. description: 品类名称
  4791. type: string
  4792. wrunitid:
  4793. description: 品类单位id
  4794. type: integer
  4795. wrunitidame:
  4796. description: 品类单位名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3MiddleGoodsDetail2:
  4800. properties:
  4801. convertratio:
  4802. description: 套保系数(折算系数)
  4803. type: number
  4804. gplist:
  4805. description: 关联商品组列表
  4806. items:
  4807. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4808. type: array
  4809. mg:
  4810. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4811. description: 套保商品信息
  4812. type: object
  4813. type: object
  4814. models.Ermcp3MiddleGoodsDetailEx:
  4815. properties:
  4816. dglist:
  4817. description: 关联的现货品种列表
  4818. items:
  4819. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4820. type: array
  4821. gplist:
  4822. description: 关联商品组列表
  4823. items:
  4824. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4825. type: array
  4826. mg:
  4827. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4828. description: 套保商品信息
  4829. type: object
  4830. type: object
  4831. models.Ermcp3RootUserAccount:
  4832. properties:
  4833. accountname:
  4834. description: 账户名称(机构名称)
  4835. type: string
  4836. accountstatus:
  4837. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4838. type: integer
  4839. applysrc:
  4840. description: 申请来源 - 1:管理端 2:终端
  4841. type: integer
  4842. auditremark:
  4843. description: 审核备注
  4844. type: string
  4845. auditsrc:
  4846. description: 审核来源 - 1:管理端 2:终端
  4847. type: integer
  4848. audittime:
  4849. description: 审核时间
  4850. type: string
  4851. audituserid:
  4852. description: 审核人
  4853. type: integer
  4854. broker:
  4855. description: 所属经纪人ID
  4856. type: integer
  4857. canceltime:
  4858. description: 销户时间
  4859. type: string
  4860. canceluserid:
  4861. description: 销户人
  4862. type: integer
  4863. canrecommend:
  4864. description: 是否可推荐 - 0:不可 1;可
  4865. type: integer
  4866. createtime:
  4867. description: 创建时间
  4868. type: string
  4869. creatorid:
  4870. description: 创建人
  4871. type: integer
  4872. hasauth:
  4873. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4874. type: integer
  4875. isanonymous:
  4876. description: 是否匿名下单 - 0:否 1:是
  4877. type: integer
  4878. maxinvestornum:
  4879. description: 最大用户数(经纪会员下投资者个数)
  4880. type: integer
  4881. memberuserid:
  4882. description: 所属会员ID
  4883. type: integer
  4884. modifierid:
  4885. description: 修改人
  4886. type: integer
  4887. modifyremark:
  4888. description: 变更备注
  4889. type: string
  4890. modifystatus:
  4891. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4892. type: integer
  4893. modifytime:
  4894. description: 修改时间
  4895. type: string
  4896. parenttopuser:
  4897. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4898. type: string
  4899. parentuserid:
  4900. description: 所属机构ID
  4901. type: integer
  4902. reckonaccountid:
  4903. description: 默认结算资金账号ID(机构分润使用) 作废
  4904. type: integer
  4905. refercount:
  4906. description: 推荐总人数
  4907. type: integer
  4908. refereeuserid:
  4909. description: 推荐人ID
  4910. type: integer
  4911. refernum:
  4912. description: 推荐码
  4913. type: string
  4914. rootuserid:
  4915. description: 根用户ID
  4916. type: integer
  4917. subaccountlevel:
  4918. description: 子账户层数
  4919. type: integer
  4920. subarealevelpath:
  4921. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4922. type: string
  4923. userid:
  4924. description: 用户ID
  4925. type: integer
  4926. usertype:
  4927. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4928. type: integer
  4929. type: object
  4930. models.Ermcp3SellBuyContract:
  4931. properties:
  4932. accountid:
  4933. description: 期货账户id
  4934. type: string
  4935. accountname:
  4936. description: 账户名称
  4937. type: string
  4938. attachment:
  4939. description: 附件
  4940. type: string
  4941. audittime:
  4942. description: 审核时间
  4943. type: string
  4944. biztype:
  4945. description: 业务类型 1-套保 2-套利
  4946. type: integer
  4947. brandname:
  4948. description: 品牌名称
  4949. type: string
  4950. contracctstatus:
  4951. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4952. type: integer
  4953. contractmargin:
  4954. description: 合同保证金
  4955. type: number
  4956. contractno:
  4957. description: 合同编号
  4958. type: string
  4959. contracttype:
  4960. description: 合同类型 1-采购, -1-销售
  4961. type: integer
  4962. convertfactor:
  4963. description: 标仓系数(品类)
  4964. type: number
  4965. createtime:
  4966. description: 创建时间
  4967. type: string
  4968. currencyid:
  4969. description: 币种id
  4970. type: integer
  4971. currencyname:
  4972. description: 币种名称
  4973. type: string
  4974. daikaiamount:
  4975. description: 应收(开)票额
  4976. type: number
  4977. deliveryenddate:
  4978. description: 交割结束日
  4979. type: string
  4980. deliverygoodscode:
  4981. description: 现货品种代码
  4982. type: string
  4983. deliverygoodsid:
  4984. description: 现货商品ID
  4985. type: integer
  4986. deliverygoodsname:
  4987. description: 现货品种名称
  4988. type: string
  4989. deliverystartdate:
  4990. description: 交割开始日
  4991. type: string
  4992. enddate:
  4993. description: 点价结束日
  4994. type: string
  4995. enumdicname:
  4996. description: 单位名称
  4997. type: string
  4998. goodscode:
  4999. description: 点价商品代码
  5000. type: string
  5001. goodsid:
  5002. description: 点价商品ID
  5003. type: integer
  5004. goodsname:
  5005. description: 点价商品名称
  5006. type: string
  5007. invoiceamount:
  5008. description: 已开票额
  5009. type: number
  5010. loanamount:
  5011. description: 贷款总额=已定价额+调整金额
  5012. type: number
  5013. margin:
  5014. description: 保证金
  5015. type: number
  5016. meruserid:
  5017. description: 跟单员id
  5018. type: integer
  5019. meruserlogincode:
  5020. description: 跟单员登录代码
  5021. type: string
  5022. nickname:
  5023. description: 账户昵称
  5024. type: string
  5025. payamount:
  5026. description: 已收付额(收款或付款)
  5027. type: number
  5028. preinvoiceamount:
  5029. description: 预收(开)票额
  5030. type: number
  5031. prepayamount:
  5032. description: 预收付额
  5033. type: number
  5034. price:
  5035. description: 价格
  5036. type: number
  5037. pricedamount:
  5038. description: 已定价额
  5039. type: number
  5040. pricedavg:
  5041. description: 已点均价
  5042. type: number
  5043. pricedqty:
  5044. description: 已定价量
  5045. type: number
  5046. pricemove:
  5047. description: 升贴水
  5048. type: number
  5049. pricetype:
  5050. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5051. type: integer
  5052. producttype:
  5053. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5054. type: integer
  5055. qty:
  5056. description: 合同量
  5057. type: number
  5058. reckonadjustamount:
  5059. description: 调整金额
  5060. type: number
  5061. reckonedamount:
  5062. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5063. type: number
  5064. reckonotheramount:
  5065. description: 其它费用
  5066. type: number
  5067. reckonrealqty:
  5068. description: 已确定量
  5069. type: number
  5070. remark:
  5071. description: 备注
  5072. type: string
  5073. saleuserid:
  5074. description: 业务员id
  5075. type: integer
  5076. saleuserlogincode:
  5077. description: 业务员登录代码
  5078. type: string
  5079. spotcontractid:
  5080. description: 合同ID
  5081. type: string
  5082. spotgoodsbrandid:
  5083. description: 现货品牌ID(DGFactoryItem表的ID)
  5084. type: integer
  5085. spotgoodsdesc:
  5086. description: 商品型号(商品规格)
  5087. type: string
  5088. startdate:
  5089. description: 点价开始日
  5090. type: string
  5091. totalamount:
  5092. description: 合计总额
  5093. type: number
  5094. tradeuserid:
  5095. description: 交易员id
  5096. type: integer
  5097. tradeuserlogincode:
  5098. description: 交易员登录代码
  5099. type: string
  5100. tradeusername:
  5101. description: 交易员名称
  5102. type: string
  5103. unpayamount:
  5104. description: 应收付款额(应支付或应收款)
  5105. type: number
  5106. unpricedqty:
  5107. description: 未定价量
  5108. type: number
  5109. unsureqty:
  5110. description: 未确定量
  5111. type: number
  5112. userid:
  5113. description: 机构ID
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3SpotGoodsPrice:
  5126. properties:
  5127. areauserid:
  5128. description: 所属机构id
  5129. type: integer
  5130. brandname:
  5131. description: 品牌名称
  5132. type: string
  5133. currencyid:
  5134. description: 报价货币ID
  5135. type: integer
  5136. currencyname:
  5137. description: 币种名称
  5138. type: string
  5139. deliverygoodscode:
  5140. description: 现货商品代码
  5141. type: string
  5142. deliverygoodsid:
  5143. description: 现货商品id
  5144. type: integer
  5145. deliverygoodsname:
  5146. description: 现货商品名称
  5147. type: string
  5148. enumdicname:
  5149. description: 现货商品单位名称
  5150. type: string
  5151. gbenumdicname:
  5152. description: 品类单位名称
  5153. type: string
  5154. gmunitid:
  5155. description: 品类单位id
  5156. type: integer
  5157. isvalid:
  5158. description: 是否有效 - 0:无效 1:有效
  5159. type: integer
  5160. operateid:
  5161. description: 最后操作人
  5162. type: integer
  5163. operatesrc:
  5164. description: 最后操作来源 - 1:管理端 2:终端
  5165. type: integer
  5166. operatetime:
  5167. description: 最后操作时间
  5168. type: string
  5169. operatorname:
  5170. description: 操作人名称
  5171. type: string
  5172. spotgoodsbrandid:
  5173. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5174. type: integer
  5175. spotgoodsprice:
  5176. description: 现货价格
  5177. type: number
  5178. tradedate:
  5179. description: 交易日(yyyyMMdd)
  5180. type: string
  5181. unitid:
  5182. description: 现货商品单位id
  5183. type: integer
  5184. wrstandardcode:
  5185. description: 品类代码
  5186. type: string
  5187. wrstandardid:
  5188. description: 现货品类ID(通用则为0)
  5189. type: integer
  5190. wrstandardname:
  5191. description: 品类名称
  5192. type: string
  5193. type: object
  5194. models.Ermcp3SpotGoodsPriceLog:
  5195. properties:
  5196. areauserid:
  5197. description: 所属机构id
  5198. type: integer
  5199. brandname:
  5200. description: 品牌名称
  5201. type: string
  5202. currencyid:
  5203. description: 报价货币ID
  5204. type: integer
  5205. deliverygoodscode:
  5206. description: 现货商品代码
  5207. type: string
  5208. deliverygoodsid:
  5209. description: 现货商品id
  5210. type: integer
  5211. deliverygoodsname:
  5212. description: 现货商品名称
  5213. type: string
  5214. enumdicname:
  5215. description: 现货商品单位名称
  5216. type: string
  5217. gbenumdicname:
  5218. description: 品类单位名称
  5219. type: string
  5220. gmunitid:
  5221. description: 品类单位id
  5222. type: integer
  5223. logid:
  5224. description: 日志id
  5225. type: integer
  5226. operateid:
  5227. description: 最后操作人
  5228. type: integer
  5229. operatesrc:
  5230. description: 最后操作来源 - 1:管理端 2:终端
  5231. type: integer
  5232. operatetime:
  5233. description: 最后操作时间
  5234. type: string
  5235. operatorname:
  5236. description: 操作人名称
  5237. type: string
  5238. spotgoodsbrandid:
  5239. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5240. type: integer
  5241. spotgoodsprice:
  5242. description: 现货价格
  5243. type: number
  5244. tradedate:
  5245. description: 交易日(yyyyMMdd)
  5246. type: string
  5247. unitid:
  5248. description: 现货商品单位id
  5249. type: integer
  5250. wrstandardcode:
  5251. description: 品类代码
  5252. type: string
  5253. wrstandardid:
  5254. description: 现货品类ID(通用则为0)
  5255. type: integer
  5256. wrstandardname:
  5257. description: 品类名称
  5258. type: string
  5259. type: object
  5260. models.Ermcp3TaFutuReDataReport:
  5261. properties:
  5262. accountid:
  5263. description: 交易账户
  5264. type: integer
  5265. accountname:
  5266. description: 交易账号名称
  5267. type: string
  5268. begindate:
  5269. description: 开始交易日
  5270. type: string
  5271. buyorsell:
  5272. description: 持仓方向
  5273. type: integer
  5274. charge:
  5275. description: 手续费
  5276. type: number
  5277. closeavgprice:
  5278. description: 平仓均价
  5279. type: number
  5280. closepl:
  5281. description: 平仓损益
  5282. type: number
  5283. currencyid:
  5284. description: 结算币种ID
  5285. type: integer
  5286. cycletime:
  5287. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5288. type: string
  5289. cycletype:
  5290. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5291. type: integer
  5292. enddate:
  5293. description: 结束交易日
  5294. type: string
  5295. enumdicname:
  5296. description: 单位名称(现货商品)
  5297. type: string
  5298. floatpl:
  5299. description: 浮动损益
  5300. type: number
  5301. goodscode:
  5302. description: 交易合约代码
  5303. type: string
  5304. goodsgroupid:
  5305. description: 交易品种
  5306. type: integer
  5307. goodsgroupname:
  5308. description: 交易品种名称
  5309. type: string
  5310. goodsgroupspotqty:
  5311. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5312. type: number
  5313. goodsid:
  5314. description: 交易合约
  5315. type: integer
  5316. goodsname:
  5317. description: 交易合约名称
  5318. type: string
  5319. goodunitid:
  5320. description: 交易合约单位id
  5321. type: integer
  5322. holdamount:
  5323. description: 期末持仓额
  5324. type: number
  5325. holdqty:
  5326. description: 期末持仓量
  5327. type: number
  5328. lastholdamount:
  5329. description: 当前持仓额
  5330. type: number
  5331. lastprice:
  5332. description: 最新价
  5333. type: number
  5334. middlegoodsqty:
  5335. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5336. type: number
  5337. openamount:
  5338. description: 期末开仓额
  5339. type: number
  5340. openavgprice:
  5341. description: 开仓均价
  5342. type: number
  5343. oriholdamount:
  5344. description: 期初持仓额
  5345. type: number
  5346. oriholdqty:
  5347. description: 期初持仓量
  5348. type: number
  5349. oriopenamount:
  5350. description: 期初开仓额
  5351. type: number
  5352. outergroupcode:
  5353. description: 交易品种代码
  5354. type: string
  5355. reckondate:
  5356. description: 日照时期(yyyyMMdd)
  5357. type: string
  5358. reckonholdamount:
  5359. description: 结算持仓额
  5360. type: number
  5361. reckonpl:
  5362. description: 结算损益
  5363. type: number
  5364. reckonpl2:
  5365. description: 结算逐笔盈亏
  5366. type: number
  5367. reckonprice:
  5368. description: 结算价
  5369. type: number
  5370. relateduserid:
  5371. description: 账户关联用户ID
  5372. type: integer
  5373. todaycloseamount:
  5374. description: 今平仓额
  5375. type: number
  5376. todaycloseqty:
  5377. description: 今平仓量
  5378. type: number
  5379. todaygoodsgroupspotqty:
  5380. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5381. type: number
  5382. todaymiddlegoodsqty:
  5383. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5384. type: number
  5385. todayopenamount:
  5386. description: 今开仓额
  5387. type: number
  5388. todayopenqty:
  5389. description: 今开仓量
  5390. type: number
  5391. userid:
  5392. description: 账户所属用户ID
  5393. type: integer
  5394. type: object
  5395. models.Ermcp3Wrstandard:
  5396. properties:
  5397. areauserid:
  5398. description: 所属机构
  5399. type: integer
  5400. convertfactor:
  5401. description: 标仓系数
  5402. type: number
  5403. createtime:
  5404. description: 创建时间
  5405. type: string
  5406. creatorid:
  5407. description: 创建人
  5408. type: integer
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. enumdicname:
  5413. description: 品类单位名称
  5414. type: string
  5415. isvalid:
  5416. description: 是否有效 0-无效(停用) 1-有效(正常)
  5417. type: integer
  5418. minivalue:
  5419. description: 最小变动值
  5420. type: integer
  5421. minivaluedp:
  5422. description: 最小变动值小数位
  5423. type: integer
  5424. realminivalue:
  5425. description: 实际最小变动值
  5426. type: integer
  5427. realminivaluedp:
  5428. description: 实际最小变动值小数位
  5429. type: integer
  5430. remark:
  5431. description: 备注
  5432. type: string
  5433. unitid:
  5434. description: 品类单位ID
  5435. type: integer
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrstandardcode:
  5440. description: 品类代码
  5441. type: string
  5442. wrstandardid:
  5443. description: 品类ID(SEQ_WRSTANDARD)
  5444. type: integer
  5445. wrstandardname:
  5446. description: 品类名称
  5447. type: string
  5448. type: object
  5449. models.ErmcpAreaSpotDetailModel:
  5450. properties:
  5451. contracttype:
  5452. description: 合同类型 1-采购 -1-销售
  5453. type: integer
  5454. createtime:
  5455. description: 创建时间
  5456. type: string
  5457. enumdicname:
  5458. description: 现货商品单位名称
  5459. type: string
  5460. logtype:
  5461. description: 记录类型 1-套保 2-现货合同
  5462. type: integer
  5463. qty:
  5464. description: 数量
  5465. type: number
  5466. recordname:
  5467. description: 类型名称
  5468. type: string
  5469. relatedid:
  5470. description: 套保计划ID/现货合同ID
  5471. type: string
  5472. relatedno:
  5473. description: 编号
  5474. type: string
  5475. strtime:
  5476. description: 时间
  5477. type: string
  5478. wrstandardcode:
  5479. description: 现货商品代码
  5480. type: string
  5481. wrstandardname:
  5482. description: 现货商品名称
  5483. type: string
  5484. type: object
  5485. models.ErmcpAvalidGoodsGroupModel:
  5486. properties:
  5487. goodsgroupid:
  5488. description: 期货品种id
  5489. type: integer
  5490. goodsgroupname:
  5491. description: 期货品种名称
  5492. type: string
  5493. goodunitid:
  5494. description: 品种单位id
  5495. type: integer
  5496. goodunitname:
  5497. description: 品种单位名称
  5498. type: string
  5499. outergroupcode:
  5500. description: 期货品种代码
  5501. type: string
  5502. type: object
  5503. models.ErmcpBizGroupEx:
  5504. properties:
  5505. acclist:
  5506. description: 账号列表
  5507. items:
  5508. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5509. type: array
  5510. bizgroupid:
  5511. description: 业务分组id
  5512. type: integer
  5513. biztype:
  5514. description: 业务类型 1-套保 2-套利
  5515. type: integer
  5516. wrlist:
  5517. description: 现货商品表
  5518. items:
  5519. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5520. type: array
  5521. type: object
  5522. models.ErmcpBizGroupSpotGoods:
  5523. properties:
  5524. areauserid:
  5525. description: 所属机构id
  5526. type: integer
  5527. bizgroupid:
  5528. description: 分组id
  5529. type: integer
  5530. biztype:
  5531. description: 业务类型 1-套保 2-套利
  5532. type: integer
  5533. deliverygoodscode:
  5534. description: 现货商品代码
  5535. type: string
  5536. deliverygoodsid:
  5537. description: 现货商品id
  5538. type: integer
  5539. deliverygoodsname:
  5540. description: 现货商品名称
  5541. type: string
  5542. unitid:
  5543. description: 现货商品单位id
  5544. type: integer
  5545. type: object
  5546. models.ErmcpBizGroupTaAccount:
  5547. properties:
  5548. accountid:
  5549. description: 账号id
  5550. type: integer
  5551. accountname:
  5552. description: 账号名称
  5553. type: string
  5554. areauserid:
  5555. description: 所属机构id
  5556. type: integer
  5557. bizgroupid:
  5558. description: 业务分组id
  5559. type: integer
  5560. ismain:
  5561. description: 是否主账号 1-是 0-否
  5562. type: integer
  5563. type: object
  5564. models.ErmcpDGFactoryItem:
  5565. properties:
  5566. areauserid:
  5567. description: 用户id
  5568. type: integer
  5569. deliverygoodsid:
  5570. description: 现货品种ID
  5571. type: integer
  5572. dgfactoryitemid:
  5573. description: 选择项ID(SEQ_DGFACTORYITEM)
  5574. type: integer
  5575. dgfactoryitemtypeid:
  5576. description: 要素项类型
  5577. type: integer
  5578. dgfactoryitemvalue:
  5579. description: 要素项值(类型为仓库时填写仓库名称)
  5580. type: string
  5581. isvalid:
  5582. description: 是否有效 - 0:无效 1:有效
  5583. type: integer
  5584. orderindex:
  5585. description: 顺序
  5586. type: integer
  5587. warehouseid:
  5588. description: 仓库ID(类型为仓库时填写)
  5589. type: integer
  5590. type: object
  5591. models.ErmcpDeliveryGoods:
  5592. properties:
  5593. agreeunit:
  5594. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5595. type: integer
  5596. areauserid:
  5597. description: 所属机构
  5598. type: integer
  5599. auditflag:
  5600. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5601. type: integer
  5602. categoryid:
  5603. description: 类别ID(SEQ_WRCATEGORY)
  5604. type: integer
  5605. deliverygoodscode:
  5606. description: 现货品种代码
  5607. type: string
  5608. deliverygoodsid:
  5609. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5610. type: integer
  5611. deliverygoodsname:
  5612. description: 现货品种名称
  5613. type: string
  5614. deliverygoodstype:
  5615. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5616. type: integer
  5617. dgstatus:
  5618. description: 品种状态 - 作废 - 0:未激活 1:正常
  5619. type: integer
  5620. enumdicname:
  5621. description: 现货品种单位名称
  5622. type: string
  5623. goodsunitid:
  5624. description: 现货品种单位ID
  5625. type: integer
  5626. isvalid:
  5627. description: 是否有效 - 0:无效 1:有效
  5628. type: integer
  5629. qtydecimalplace:
  5630. description: 成交量小数位
  5631. type: integer
  5632. remark:
  5633. description: 备注
  5634. type: string
  5635. standardqty:
  5636. description: 标准数量(库位数量) [标准品特有]
  5637. type: integer
  5638. standardqtyrange:
  5639. description: 标准数量偏差范围 [标准品特有]
  5640. type: integer
  5641. type: object
  5642. models.ErmcpDeliveryGoodsDetail2:
  5643. properties:
  5644. convertratio:
  5645. description: 套保系数(折算系数)
  5646. type: number
  5647. data:
  5648. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5649. description: 现货商品基本信息(交割品种)
  5650. type: object
  5651. gblist:
  5652. description: 品牌列表
  5653. items:
  5654. $ref: '#/definitions/models.Ermcp3Brand'
  5655. type: array
  5656. gmlist:
  5657. description: 品类列表(仓单标准)
  5658. items:
  5659. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5660. type: array
  5661. type: object
  5662. models.ErmcpDeliveryGoodsDetailEx:
  5663. properties:
  5664. data:
  5665. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5666. description: 现货商品基本信息(交割品种)
  5667. type: object
  5668. gblist:
  5669. description: 品牌列表
  5670. items:
  5671. $ref: '#/definitions/models.Ermcp3Brand'
  5672. type: array
  5673. gmlist:
  5674. description: 品类列表(仓单标准)
  5675. items:
  5676. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5677. type: array
  5678. mgList:
  5679. description: 套保列表
  5680. items:
  5681. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5682. type: array
  5683. type: object
  5684. models.ErmcpExposureDetailModel:
  5685. properties:
  5686. areauserid:
  5687. description: 机构ID
  5688. type: integer
  5689. changeQty:
  5690. description: 套保变动量
  5691. type: number
  5692. contracttype:
  5693. description: 现货合同类型 - 1:采购 -1:销售
  5694. type: integer
  5695. convertfactor:
  5696. description: 标仓系数
  5697. type: number
  5698. convertratio:
  5699. description: 套保系数
  5700. type: number
  5701. createtime:
  5702. description: 时间
  5703. type: string
  5704. enumdicname:
  5705. description: 现货商品单位名称
  5706. type: string
  5707. logtype:
  5708. description: 类型 - 1:套保计划 2:现货合同
  5709. type: integer
  5710. middlegoodsId:
  5711. description: 套保商品id
  5712. type: integer
  5713. middlegoodscode:
  5714. description: 套保商品代码
  5715. type: string
  5716. middlegoodsname:
  5717. description: 套保商品名称
  5718. type: string
  5719. qty:
  5720. description: 数量
  5721. type: number
  5722. relateNo:
  5723. description: 现货合同/套保计划编号
  5724. type: string
  5725. wrstandardcode:
  5726. description: 现货商品代码
  5727. type: string
  5728. wrstandardid:
  5729. description: 现货商品ID
  5730. type: integer
  5731. wrstandardname:
  5732. description: 现货商品名称
  5733. type: string
  5734. type: object
  5735. models.ErmcpExposurePostion:
  5736. properties:
  5737. agreeunit:
  5738. description: 合约单位
  5739. type: string
  5740. areauserid:
  5741. description: 所属机构id
  5742. type: integer
  5743. convertratio:
  5744. description: 期货品种系数(折算系数)
  5745. type: number
  5746. curqty:
  5747. description: 当前持仓
  5748. type: integer
  5749. diffhedgeqty:
  5750. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5751. type: number
  5752. diffqty:
  5753. description: 持仓变动量=当前持仓-昨日持仓
  5754. type: integer
  5755. goodscode:
  5756. description: 商品代码
  5757. type: string
  5758. goodsid:
  5759. description: 商品id
  5760. type: integer
  5761. goodsname:
  5762. description: 商品名称
  5763. type: string
  5764. middlegoodsid:
  5765. description: 套保商品id
  5766. type: integer
  5767. ydqty:
  5768. description: 昨日持仓
  5769. type: integer
  5770. type: object
  5771. models.ErmcpFuturesCompany:
  5772. properties:
  5773. brokerid:
  5774. description: 经纪公司代码
  5775. type: string
  5776. channeladdress:
  5777. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5778. type: string
  5779. channelid:
  5780. description: 对冲渠道ID
  5781. type: string
  5782. createtime:
  5783. description: 创建时间
  5784. type: string
  5785. creatorid:
  5786. description: 创建人
  5787. type: string
  5788. fcid:
  5789. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5790. type: integer
  5791. fcname:
  5792. description: 期货公司名称
  5793. type: string
  5794. isvalid:
  5795. description: 是否有效 - 0:无效 1:有效
  5796. type: integer
  5797. mhpaddress:
  5798. description: MHP服务地址(IP:Port)
  5799. type: string
  5800. riskrulegroupid:
  5801. description: 风控规则组ID
  5802. type: string
  5803. tradefeetmpid:
  5804. description: 手续费模板ID[TradeConfigTmpType为2]
  5805. type: string
  5806. trademargintmpid:
  5807. description: 保证金模板ID [TradeConfigTmpType为1]
  5808. type: string
  5809. traderatetmpid:
  5810. description: 汇率模板ID[TradeConfigTmpType为3]
  5811. type: string
  5812. updatetime:
  5813. description: 更新时间
  5814. type: string
  5815. updatorid:
  5816. description: 更新人
  5817. type: string
  5818. type: object
  5819. models.ErmcpGGConvertCfg:
  5820. properties:
  5821. convertratio:
  5822. description: 折算系数
  5823. type: number
  5824. destgoodsgroupid:
  5825. description: 目标品种ID
  5826. type: integer
  5827. dstcode:
  5828. description: 目录品种代码
  5829. type: string
  5830. dstexchangecode:
  5831. description: 目标期货交易所
  5832. type: string
  5833. dstname:
  5834. description: 目标品种名称
  5835. type: string
  5836. dstunitid:
  5837. description: 目标品种单位ID
  5838. type: integer
  5839. dstunitidname:
  5840. description: 目标品种单位名称
  5841. type: string
  5842. modifytime:
  5843. description: 修改时间
  5844. type: string
  5845. srccode:
  5846. description: 源品种代码
  5847. type: string
  5848. srcexchangecode:
  5849. description: 源期货交易所
  5850. type: string
  5851. srcgoodsgroupid:
  5852. description: 源品种ID
  5853. type: integer
  5854. srcname:
  5855. description: 源品种名称
  5856. type: string
  5857. srcunitid:
  5858. description: 源品种单位ID
  5859. type: integer
  5860. srcunitidname:
  5861. description: 源品种单位名称
  5862. type: string
  5863. type: object
  5864. models.ErmcpGoods:
  5865. properties:
  5866. agreeunit:
  5867. description: 合约单位
  5868. type: number
  5869. areauserid:
  5870. description: 所属机构
  5871. type: integer
  5872. auditaccountid:
  5873. description: 审核操作员账号
  5874. type: integer
  5875. audittime:
  5876. description: 审核时间
  5877. type: string
  5878. cancelaccountid:
  5879. description: 注销操作员账号
  5880. type: integer
  5881. canceltime:
  5882. description: 注销时间
  5883. type: string
  5884. closepricemode:
  5885. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5886. type: integer
  5887. closepriceparam:
  5888. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5889. type: number
  5890. createtime:
  5891. description: 创建时间
  5892. type: string
  5893. creatorid:
  5894. description: 创建人
  5895. type: integer
  5896. currencyid:
  5897. description: 报价货币ID
  5898. type: integer
  5899. cutmode:
  5900. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5901. type: integer
  5902. decimalplace:
  5903. description: 报价小数位
  5904. type: integer
  5905. delistingdate:
  5906. description: 商品退市时间(状态:退市) -- 已作废
  5907. type: string
  5908. delistingmode:
  5909. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5910. type: integer
  5911. deliveryflag:
  5912. description: 交割标志 - 0:不可交割 1:可交割
  5913. type: integer
  5914. enumdicname:
  5915. description: 单位名称
  5916. type: string
  5917. forceclosemode:
  5918. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5919. type: integer
  5920. forceclosevalue:
  5921. description: 定期强平参数 [收益权]
  5922. type: integer
  5923. goodscode:
  5924. description: 商品代码(内部)
  5925. type: string
  5926. goodscurrencyid:
  5927. description: 合约货币ID
  5928. type: integer
  5929. goodsgroupid:
  5930. description: 所属商品组ID
  5931. type: integer
  5932. goodsid:
  5933. description: 商品ID(自增ID SEQ_GOODS)
  5934. type: integer
  5935. goodsname:
  5936. description: 商品名称
  5937. type: string
  5938. goodsquotetype:
  5939. description: '合约报价类型: 1-直接报价 2-间接报价'
  5940. type: integer
  5941. goodsstatus:
  5942. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5943. type: integer
  5944. goodstradetype:
  5945. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5946. type: integer
  5947. goodunitid:
  5948. description: 报价单位ID
  5949. type: integer
  5950. hasquoter:
  5951. description: 是否有报价商 - 0:无报价商 1:有报价商
  5952. type: integer
  5953. hqprotecttime:
  5954. description: 行情保护时间(秒)
  5955. type: integer
  5956. innerdealmode:
  5957. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. isbuylimited:
  5960. description: 是否限制建仓量 - 0:不限制 1:限制
  5961. type: integer
  5962. isvisible:
  5963. description: 游客是否可见 - 0:不可见 1:可见
  5964. type: integer
  5965. lasttradedate:
  5966. description: 最后交易日期(状态:待退市)
  5967. type: string
  5968. listingdate:
  5969. description: 交易开始日期
  5970. type: string
  5971. marketid:
  5972. description: 所属市场ID
  5973. type: integer
  5974. modifierid:
  5975. description: 修改人
  5976. type: integer
  5977. modifystatus:
  5978. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5979. type: integer
  5980. modifytime:
  5981. description: 修改时间
  5982. type: string
  5983. outerdealmode:
  5984. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5985. type: integer
  5986. outgoodscode:
  5987. description: 商品代码(外部)
  5988. type: string
  5989. pictureurl:
  5990. description: 商品图片
  5991. type: string
  5992. qtydecimalplace:
  5993. description: 成交量小数位
  5994. type: integer
  5995. quotegear:
  5996. description: 行情档位(1-10)
  5997. type: integer
  5998. quoteminunit:
  5999. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6000. type: integer
  6001. quoteshowtype:
  6002. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6003. type: integer
  6004. quoteshowtypeinterval:
  6005. description: 行情报价间隔时间(秒)(成交价时为0)
  6006. type: integer
  6007. relatedgoodsid:
  6008. description: 关联参考商品ID
  6009. type: integer
  6010. remark:
  6011. description: 备注
  6012. type: string
  6013. trademode:
  6014. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6015. 21:竞拍-大宗式 22:受托竞价
  6016. type: integer
  6017. required:
  6018. - goodscode
  6019. - goodsid
  6020. - goodsname
  6021. - marketid
  6022. type: object
  6023. models.ErmcpGoodsBrand:
  6024. properties:
  6025. areauserid:
  6026. description: 所属机构
  6027. type: integer
  6028. brandid:
  6029. description: BrandID(SEQ_SPOTGOODSBRAND)
  6030. type: integer
  6031. brandname:
  6032. description: 品牌名称
  6033. type: string
  6034. createtime:
  6035. description: 创建时间
  6036. type: string
  6037. creatorid:
  6038. description: 创建人
  6039. type: integer
  6040. creatorsrc:
  6041. description: 创建人来源 - 1:管理端 2:终端
  6042. type: integer
  6043. deliverygoodsid:
  6044. description: 现货品种ID
  6045. type: integer
  6046. isvalid:
  6047. description: 是否有效 - 0:无效 1:有效
  6048. type: integer
  6049. updatetime:
  6050. description: 更新时间
  6051. type: string
  6052. updatorid:
  6053. description: 更新人
  6054. type: integer
  6055. updatorsrc:
  6056. description: 更新人来源 - 1:管理端 2:终端
  6057. type: integer
  6058. wrstandardid:
  6059. description: 现货商品ID
  6060. type: integer
  6061. type: object
  6062. models.ErmcpGoodsModel:
  6063. properties:
  6064. areauserid:
  6065. description: 所属机构
  6066. type: integer
  6067. convertfactor:
  6068. description: 标仓系数
  6069. type: number
  6070. createtime:
  6071. description: 创建时间
  6072. type: string
  6073. creatorid:
  6074. description: 创建人
  6075. type: integer
  6076. creatorsrc:
  6077. description: 创建人来源 - 1:管理端 2:终端
  6078. type: integer
  6079. deliverygoodsid:
  6080. description: 现货品种ID
  6081. type: integer
  6082. isvalid:
  6083. description: 是否有效 - 0:无效 1:有效
  6084. type: integer
  6085. modelid:
  6086. description: ModelID(SEQ_SPOTGOODSMODEL)
  6087. type: integer
  6088. modelname:
  6089. description: 型号名称
  6090. type: string
  6091. updatetime:
  6092. description: 更新时间
  6093. type: string
  6094. updatorid:
  6095. description: 更新人
  6096. type: integer
  6097. updatorsrc:
  6098. description: 更新人来源 - 1:管理端 2:终端
  6099. type: integer
  6100. wrstandardid:
  6101. description: 现货商品ID
  6102. type: integer
  6103. type: object
  6104. models.ErmcpHedgePosition:
  6105. properties:
  6106. accountid:
  6107. description: 资金账号[外部母账户]
  6108. type: integer
  6109. curbuyposition:
  6110. description: 期末买头寸
  6111. type: integer
  6112. cursellposition:
  6113. description: 期末卖头寸
  6114. type: integer
  6115. curtdbuyposition:
  6116. description: 期末今日买头寸
  6117. type: integer
  6118. curtdsellposition:
  6119. description: 期末今日卖头寸
  6120. type: integer
  6121. curydbuyposition:
  6122. description: 期末上日买头寸
  6123. type: integer
  6124. curydsellposition:
  6125. description: 期末上日卖头寸
  6126. type: integer
  6127. decreaseqty:
  6128. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6129. type: integer
  6130. fretdbuyposition:
  6131. description: 冻结今日买头寸
  6132. type: integer
  6133. fretdsellposition:
  6134. description: 冻结今日卖头寸
  6135. type: integer
  6136. freydbuyposition:
  6137. description: 冻结上日买头寸
  6138. type: integer
  6139. freydsellposition:
  6140. description: 冻结上日卖头寸
  6141. type: integer
  6142. goodscode:
  6143. description: 商品代码
  6144. type: string
  6145. goodsid:
  6146. description: 商品id
  6147. type: integer
  6148. goodsname:
  6149. description: 商品名称
  6150. type: string
  6151. hedgeaccountcode:
  6152. description: 对冲账号
  6153. type: string
  6154. hedgegoodsid:
  6155. description: 对冲合约ID
  6156. type: integer
  6157. increaseqty:
  6158. description: 增加数量 = 期末买头寸 - 期初买头寸
  6159. type: integer
  6160. marketid:
  6161. description: 市场ID
  6162. type: integer
  6163. relateduserid:
  6164. description: 关联用户id
  6165. type: integer
  6166. totalcurqty:
  6167. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6168. type: integer
  6169. totalydqty:
  6170. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6171. type: integer
  6172. tradedate:
  6173. description: 交易日(yyyyMMdd)
  6174. type: string
  6175. ydbuyposition:
  6176. description: 期初买头寸
  6177. type: integer
  6178. ydsellposition:
  6179. description: 期初卖头寸
  6180. type: integer
  6181. type: object
  6182. models.ErmcpHedgePositionDetail:
  6183. properties:
  6184. buyorsell:
  6185. description: 买卖方向 0-买 1-卖
  6186. type: integer
  6187. channelbuildtype:
  6188. description: 开平方向 1-建仓 2-平仓
  6189. type: integer
  6190. goodscode:
  6191. description: 商品代码
  6192. type: string
  6193. goodsname:
  6194. description: 商品名称
  6195. type: string
  6196. hedgegoodsid:
  6197. description: 商品id
  6198. type: integer
  6199. tradeqty:
  6200. description: 数量(成交数量)
  6201. type: integer
  6202. tradetime:
  6203. description: 时间(成交时间)
  6204. type: string
  6205. type: object
  6206. models.ErmcpHisExposure:
  6207. properties:
  6208. needhedgeexposoure:
  6209. description: 应套保敞口
  6210. type: number
  6211. reckondate:
  6212. description: 日照时期(yyyyMMdd)
  6213. type: string
  6214. totalexposure:
  6215. description: 总敞口
  6216. type: number
  6217. type: object
  6218. models.ErmcpHisExposureS:
  6219. properties:
  6220. data:
  6221. description: 历史敞口
  6222. items:
  6223. $ref: '#/definitions/models.ErmcpHisExposure'
  6224. type: array
  6225. enumdicname:
  6226. description: 单位名称
  6227. type: string
  6228. middlegoodscode:
  6229. description: 套保品种代码
  6230. type: string
  6231. middlegoodsid:
  6232. description: 套保品种ID
  6233. type: integer
  6234. middlegoodsname:
  6235. description: 套保品种名称
  6236. type: string
  6237. type: object
  6238. models.ErmcpLoginTaAccount:
  6239. properties:
  6240. accountid:
  6241. description: 账号id
  6242. type: integer
  6243. accountname:
  6244. description: 账号名称
  6245. type: string
  6246. type: object
  6247. models.ErmcpLoginUser:
  6248. properties:
  6249. acclist:
  6250. description: 关联资金账号
  6251. items:
  6252. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6253. type: array
  6254. accountname:
  6255. description: 用户名称
  6256. type: string
  6257. clientroleid:
  6258. description: 角色id(usertype=2)
  6259. type: integer
  6260. createtime:
  6261. description: 创建时间
  6262. type: string
  6263. logincode:
  6264. description: 登录代码
  6265. type: string
  6266. loginid:
  6267. description: 登录id(LOGINID)
  6268. type: integer
  6269. loginname:
  6270. description: 登录名称(loginaccount表中的accountname字段)
  6271. type: string
  6272. loginstatus:
  6273. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6274. type: integer
  6275. memberuserid:
  6276. description: 所属会员id
  6277. type: integer
  6278. mobile:
  6279. description: 手机号
  6280. type: string
  6281. modifytime:
  6282. description: 修改时间
  6283. type: string
  6284. password:
  6285. description: 密码(不可解密)
  6286. type: string
  6287. rolename:
  6288. description: 角色名称
  6289. type: string
  6290. rolestatus:
  6291. description: 角色状态 1-启用 2-停用
  6292. type: integer
  6293. roletype:
  6294. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6295. type: string
  6296. userid:
  6297. description: 用户id
  6298. type: integer
  6299. usertype:
  6300. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6301. type: integer
  6302. type: object
  6303. models.ErmcpLoginUserEx:
  6304. properties:
  6305. accountstatus:
  6306. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6307. type: integer
  6308. mobile:
  6309. description: 手机号
  6310. type: string
  6311. querytype:
  6312. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6313. type: integer
  6314. roleid:
  6315. description: 角色id(交易账户->用户id)
  6316. type: integer
  6317. rolename:
  6318. description: 角色名称(交易账户->用户名称)
  6319. type: string
  6320. userlist:
  6321. description: 用户列表
  6322. items:
  6323. $ref: '#/definitions/models.ErmcpLoginUser'
  6324. type: array
  6325. usertype:
  6326. description: 用户类型 2-机构 7-企业成员(云平台)
  6327. type: integer
  6328. type: object
  6329. models.ErmcpMiddleGoodsChangeLog:
  6330. properties:
  6331. aftervalue:
  6332. description: 变更后
  6333. type: number
  6334. applyid:
  6335. description: 操作人
  6336. type: integer
  6337. applyname:
  6338. description: 操作人名称
  6339. type: string
  6340. applysrc:
  6341. description: 操作来源 - 1:管理端 2:终端
  6342. type: integer
  6343. beforevalue:
  6344. description: 变更前
  6345. type: number
  6346. changelogtype:
  6347. description: 变更流水类型 - 1:套保比率变更
  6348. type: integer
  6349. handlestatus:
  6350. description: 处理状态
  6351. type: integer
  6352. logdatetime:
  6353. description: 流水日期
  6354. type: string
  6355. logid:
  6356. description: 流水ID
  6357. type: integer
  6358. logremark:
  6359. description: 流水备注
  6360. type: string
  6361. middlegoodsid:
  6362. description: 套保品种ID
  6363. type: integer
  6364. tradedate:
  6365. description: 交易日(yyyyMMdd)
  6366. type: string
  6367. updatetime:
  6368. description: 更新时间
  6369. type: string
  6370. type: object
  6371. models.ErmcpMiddleGoodsDetail:
  6372. properties:
  6373. cvList:
  6374. description: 期货品种折算列表
  6375. items:
  6376. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6377. type: array
  6378. mg:
  6379. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6380. description: 套保品种基本信息
  6381. type: object
  6382. wrcList:
  6383. description: 现货品种列表(现货商品折算配置)
  6384. items:
  6385. $ref: '#/definitions/models.WRSConverTDetail'
  6386. type: array
  6387. type: object
  6388. models.ErmcpMiddleGoodsModel:
  6389. properties:
  6390. areauserid:
  6391. description: 机构用户ID
  6392. type: integer
  6393. createtime:
  6394. description: 修改时间
  6395. type: string
  6396. enumdicname:
  6397. description: 单位名称
  6398. type: string
  6399. evaluateratio:
  6400. description: 估价系数
  6401. type: number
  6402. goodsgroupid:
  6403. description: 关联期货品种ID
  6404. type: integer
  6405. goodsunitid:
  6406. description: 单位ID
  6407. type: integer
  6408. isvalid:
  6409. description: 状态 0-无效(停用) 1-有效(正常)
  6410. type: integer
  6411. middlegoodscode:
  6412. description: 套保品种代码
  6413. type: string
  6414. middlegoodsid:
  6415. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6416. type: integer
  6417. middlegoodsname:
  6418. description: 套保品种名称
  6419. type: string
  6420. modifytime:
  6421. description: 修改时间
  6422. type: string
  6423. needarbitrageratio:
  6424. description: 套利比例
  6425. type: number
  6426. needhedgeratio:
  6427. description: 套保比率
  6428. type: number
  6429. qtydecimalplace:
  6430. description: 数量小数位
  6431. type: integer
  6432. relatedgoodsid:
  6433. description: 关联交易商品ID
  6434. type: integer
  6435. relatedgoodstype:
  6436. description: 关联商品类型 - 1:期货合约 2:现货品种
  6437. type: integer
  6438. remark:
  6439. description: 备注
  6440. type: string
  6441. type: object
  6442. models.ErmcpMiddlegoodsRelateGoods:
  6443. properties:
  6444. agreeunit:
  6445. description: 合约乘数
  6446. type: number
  6447. convertratio:
  6448. description: 折算系数
  6449. type: number
  6450. enumdicname:
  6451. description: 单位名称(交易商品)
  6452. type: string
  6453. goodscode:
  6454. description: 交易商品代码
  6455. type: string
  6456. goodsgroupid:
  6457. description: 交易品种id
  6458. type: integer
  6459. goodsid:
  6460. description: 商品Id
  6461. type: integer
  6462. goodsname:
  6463. description: 交易商品名称
  6464. type: string
  6465. goodunitid:
  6466. description: 交易商品单位id
  6467. type: integer
  6468. middlegoodsid:
  6469. description: 套保商品id
  6470. type: integer
  6471. middlegoodsname:
  6472. description: 套保商品名称
  6473. type: string
  6474. middlegoodsswcode:
  6475. description: 套保商品代码
  6476. type: string
  6477. needarbitrageratio:
  6478. description: 应套利比例
  6479. type: number
  6480. needhedgeratio:
  6481. description: 应套保比例
  6482. type: number
  6483. type: object
  6484. models.ErmcpOPLogModel:
  6485. properties:
  6486. aftervalue:
  6487. description: 变更后
  6488. type: number
  6489. applyid:
  6490. description: 操作人ID
  6491. type: string
  6492. applyname:
  6493. description: 操作人名称
  6494. type: string
  6495. beforevalue:
  6496. description: 变更前
  6497. type: number
  6498. biztype:
  6499. description: 业务类型 - 1:套保计划 2:现货合同
  6500. type: integer
  6501. contracttype:
  6502. description: 现货合同类型 - 1:采购 -1:销售
  6503. type: integer
  6504. logvalue:
  6505. description: 数值
  6506. type: number
  6507. operatelogtype:
  6508. description: 操作流水类型
  6509. type: integer
  6510. operatelogtypedesc:
  6511. description: 操作流水类型名称
  6512. type: string
  6513. relatedid:
  6514. description: 现货合同ID\套保计划
  6515. type: string
  6516. updatetime:
  6517. description: 更新时间
  6518. type: string
  6519. type: object
  6520. models.ErmcpPendingAudit:
  6521. properties:
  6522. areastockqty:
  6523. description: '待审核数量: 库存申请'
  6524. type: integer
  6525. businessdjqty:
  6526. description: '待审核数量: 点价'
  6527. type: integer
  6528. businessfpqty:
  6529. description: '待审核数量: 发票'
  6530. type: integer
  6531. businessjsqty:
  6532. description: '待审核数量: 结算'
  6533. type: integer
  6534. businesskxqty:
  6535. description: '待审核数量: 款项'
  6536. type: integer
  6537. hedgeplanqty:
  6538. description: '待审核数量: 套保计划'
  6539. type: integer
  6540. spotcontractqty:
  6541. description: '待审核数量: 现货合同'
  6542. type: integer
  6543. userqty:
  6544. description: '待审核数量: 用户'
  6545. type: integer
  6546. type: object
  6547. models.ErmcpRealExposureModel:
  6548. properties:
  6549. AreaUserID:
  6550. description: 所属机构
  6551. type: integer
  6552. BuyFutureQty:
  6553. description: 买入期货数量
  6554. type: number
  6555. BuyPlanQty:
  6556. description: 采购计划数量
  6557. type: number
  6558. BuyPricedQty:
  6559. description: 采购合同已定价数量
  6560. type: number
  6561. MiddleGoodsCode:
  6562. description: 套保品种代码
  6563. type: string
  6564. MiddleGoodsHedgeRatio:
  6565. description: 套保比例
  6566. type: number
  6567. MiddleGoodsID:
  6568. description: 套保品种
  6569. type: integer
  6570. MiddleGoodsName:
  6571. description: 套保品种名称
  6572. type: string
  6573. NeedHedgeExposoure:
  6574. description: 应套保敞口(套保敞口)
  6575. type: number
  6576. NeedHedgeRatio:
  6577. description: 应套保敞口比例
  6578. type: number
  6579. OriBuyFutureQty:
  6580. description: 期初买入期货数量
  6581. type: number
  6582. OriBuyPlanQty:
  6583. description: 期初采购计划数量
  6584. type: number
  6585. OriBuyPricedQty:
  6586. description: 期初采购合同已定价数量
  6587. type: number
  6588. OriSellFutureQty:
  6589. description: 期初卖出期货数量
  6590. type: number
  6591. OriSellPlanQty:
  6592. description: 期初销售计划数量
  6593. type: number
  6594. OriSellPricedQty:
  6595. description: 期初销售合同已定价数量
  6596. type: number
  6597. SellFutureQty:
  6598. description: 卖出期货数量
  6599. type: number
  6600. SellPlanQty:
  6601. description: 销售计划数量
  6602. type: number
  6603. SellPricedQty:
  6604. description: 销售合同已定价数量
  6605. type: number
  6606. TotalExposure:
  6607. description: 总敞口
  6608. type: number
  6609. TotalFutureQty:
  6610. description: 期货总量
  6611. type: number
  6612. TotalHedgeRatio:
  6613. description: 敞口比例
  6614. type: number
  6615. TotalNeedHedgeQty:
  6616. description: 应套保总量(现货应套保总量)
  6617. type: number
  6618. TotalSpotQty:
  6619. description: 现货总量
  6620. type: number
  6621. arbitrageqty:
  6622. description: 套利量
  6623. type: number
  6624. diffArbitrageQty:
  6625. description: 套利变动量
  6626. type: number
  6627. diffExposoureQty:
  6628. description: 变动量(套保敞口)
  6629. type: number
  6630. diffFutuQty:
  6631. description: 变动量(期货总量)
  6632. type: number
  6633. diffHedgeQty:
  6634. description: 套保变动量
  6635. type: number
  6636. diffQty:
  6637. description: 变动量(总敞口)
  6638. type: number
  6639. diffSpotHedgeQty:
  6640. description: 变动量(现货应套保总量)
  6641. type: number
  6642. diffSpotQty:
  6643. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6644. type: number
  6645. enumdicname:
  6646. description: 单位名称
  6647. type: string
  6648. hedgeqty:
  6649. description: 套保量
  6650. type: number
  6651. needarbitrageqty:
  6652. description: 应套利量
  6653. type: number
  6654. needarbitrageratio:
  6655. description: 套利比例
  6656. type: number
  6657. needhedgeqty:
  6658. description: 应套保量
  6659. type: number
  6660. oriTotalFutuQty:
  6661. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6662. type: number
  6663. oriTotalSpotQty:
  6664. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6665. type: number
  6666. oriarbitrageqty:
  6667. description: 期初套利量
  6668. type: number
  6669. orihedgeqty:
  6670. description: 期初套保量
  6671. type: number
  6672. orineedhedgeexposoure:
  6673. description: 期初套保敞口
  6674. type: number
  6675. oritotalexposure:
  6676. description: 期初总敞口
  6677. type: number
  6678. oritotalfutureqty:
  6679. description: 期初期货总量
  6680. type: number
  6681. oritotalneedhedgeqty:
  6682. description: 期初现货应套保量
  6683. type: number
  6684. type: object
  6685. models.ErmcpRole:
  6686. properties:
  6687. areauserid:
  6688. description: 所属机构
  6689. type: integer
  6690. autoid:
  6691. description: 角色ID(自增ID)
  6692. type: integer
  6693. modifierid:
  6694. description: 修改人(创建人)
  6695. type: integer
  6696. modifiername:
  6697. description: 修改人名称
  6698. type: string
  6699. modifytime:
  6700. description: 修改时间(创建时间)
  6701. type: string
  6702. rolename:
  6703. description: 角色名称
  6704. type: string
  6705. rolestatus:
  6706. description: 角色状态 - 1:启用 2:停用
  6707. type: integer
  6708. roletype:
  6709. description: 角色类型 - 1- 管理端 2- 交易端
  6710. type: integer
  6711. type: object
  6712. models.ErmcpRoleMenu:
  6713. properties:
  6714. iconame:
  6715. description: 菜单图标
  6716. type: string
  6717. ishadrole:
  6718. description: 是否有权限
  6719. type: boolean
  6720. menutype:
  6721. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6722. type: integer
  6723. parentcode:
  6724. description: 上级资源代码
  6725. type: string
  6726. remark:
  6727. description: 菜单备注
  6728. type: string
  6729. resourcecode:
  6730. description: 菜单代码
  6731. type: string
  6732. resourcelevel:
  6733. description: 级别
  6734. type: integer
  6735. resourcename:
  6736. description: 菜单名称
  6737. type: string
  6738. roleid:
  6739. description: 角色id
  6740. type: integer
  6741. sort:
  6742. description: 排序
  6743. type: integer
  6744. url:
  6745. description: URL
  6746. type: string
  6747. userid:
  6748. description: 用户id
  6749. type: integer
  6750. type: object
  6751. models.ErmcpRoleMenuEx:
  6752. properties:
  6753. menu:
  6754. $ref: '#/definitions/models.ErmcpRoleMenu'
  6755. description: 父级菜单
  6756. type: object
  6757. subMenu:
  6758. description: 子级菜单
  6759. items:
  6760. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6761. type: array
  6762. type: object
  6763. models.ErmcpTaAccount:
  6764. properties:
  6765. accountid:
  6766. description: 账户id
  6767. type: integer
  6768. accountname:
  6769. description: 账户名称
  6770. type: string
  6771. currencyid:
  6772. description: 币种id
  6773. type: integer
  6774. hedgeaccountcode:
  6775. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6776. type: string
  6777. ismain:
  6778. description: 是否主账户 0-否 1-是
  6779. type: integer
  6780. parentaccountid:
  6781. description: 父账户id
  6782. type: integer
  6783. relateduserid:
  6784. description: 关联userid
  6785. type: integer
  6786. tradefeetmpid:
  6787. description: 手续费模板id
  6788. type: integer
  6789. tradefeetmpname:
  6790. description: 手续费模板名称
  6791. type: string
  6792. trademargintmpid:
  6793. description: 保证金模板id
  6794. type: integer
  6795. trademargintmpname:
  6796. description: 保证金模板名称
  6797. type: string
  6798. traderatetmpid:
  6799. description: 汇率模板id
  6800. type: integer
  6801. traderatetmpname:
  6802. description: 汇率模板名称
  6803. type: string
  6804. tradestatus:
  6805. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6806. type: integer
  6807. userid:
  6808. description: 用户id
  6809. type: integer
  6810. type: object
  6811. models.ErmcpTaAccountEx:
  6812. properties:
  6813. mainAcc:
  6814. $ref: '#/definitions/models.ErmcpTaAccountM'
  6815. description: 主账号
  6816. type: object
  6817. subacclist:
  6818. description: 子账号列表
  6819. items:
  6820. $ref: '#/definitions/models.ErmcpTaAccount'
  6821. type: array
  6822. type: object
  6823. models.ErmcpTaAccountInfo:
  6824. properties:
  6825. accountid:
  6826. description: 资金账户ID
  6827. type: integer
  6828. accountname:
  6829. description: 账户名称
  6830. type: string
  6831. balance:
  6832. description: 期初余额
  6833. type: number
  6834. capitalbalance:
  6835. description: 本金余额[外部子账户实际出入金余额]
  6836. type: number
  6837. closepl:
  6838. description: 今日平仓盈亏
  6839. type: number
  6840. creditdecrease:
  6841. description: 今日授信减少
  6842. type: number
  6843. creditincrease:
  6844. description: 今日授信增加
  6845. type: number
  6846. curdebt:
  6847. description: 期末欠款
  6848. type: number
  6849. currencyid:
  6850. description: 货币ID
  6851. type: integer
  6852. currentbalance:
  6853. description: 期末余额
  6854. type: number
  6855. freezecharge:
  6856. description: 手续费冻结
  6857. type: number
  6858. freezemargin:
  6859. description: 冻结保证金
  6860. type: number
  6861. fromaccountid:
  6862. description: 所属上级账户
  6863. type: integer
  6864. inamount:
  6865. description: 今日入金金额(包括三方入金)
  6866. type: number
  6867. ismain:
  6868. description: 是否母账号 0:不是母账户 1:是母账户
  6869. type: integer
  6870. mortgagecredit:
  6871. description: 授信金额
  6872. type: number
  6873. oridebt:
  6874. description: 期初欠款
  6875. type: number
  6876. orifreezecharge:
  6877. description: 期初手续费冻结
  6878. type: number
  6879. orifreezemargin:
  6880. description: 期初冻结保证金
  6881. type: number
  6882. orimortgagecredit:
  6883. description: 期初授信金额
  6884. type: number
  6885. oriothercredit:
  6886. description: 期初其它授信金额
  6887. type: number
  6888. oriotherfreezemargin:
  6889. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6890. type: number
  6891. orioutamountfreeze:
  6892. description: 期初出金冻结
  6893. type: number
  6894. oriusedmargin:
  6895. description: 期初占用保证金
  6896. type: number
  6897. othercredit:
  6898. description: 其它授信金额
  6899. type: number
  6900. othercreditdecrease:
  6901. description: 今日其它授信减少
  6902. type: number
  6903. othercreditincrease:
  6904. description: 今日其它授信增加
  6905. type: number
  6906. otherfreezemargin:
  6907. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6908. type: number
  6909. outamount:
  6910. description: 今日出金金额(包括三方出金)
  6911. type: number
  6912. outamountfreeze:
  6913. description: 出金冻结
  6914. type: number
  6915. outthreshold:
  6916. description: 出金阈值
  6917. type: number
  6918. parentaccountid:
  6919. description: 所属根账号
  6920. type: integer
  6921. paycharge:
  6922. description: 今日手续费支出
  6923. type: number
  6924. relateduserid:
  6925. description: 关联用户
  6926. type: integer
  6927. signstatus:
  6928. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6929. type: integer
  6930. sublevelpath:
  6931. description: 账号层级路径(逗号分隔,首尾加逗号)
  6932. type: string
  6933. taaccounttype:
  6934. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6935. type: integer
  6936. thirdinamount:
  6937. description: 今日三方入金
  6938. type: number
  6939. thirdoutamount:
  6940. description: 今日三方出金
  6941. type: number
  6942. tradestatus:
  6943. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6944. type: integer
  6945. transferamount:
  6946. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6947. type: number
  6948. usedmargin:
  6949. description: 占用保证金
  6950. type: number
  6951. userid:
  6952. description: 用户ID
  6953. type: integer
  6954. type: object
  6955. models.ErmcpTaAccountM:
  6956. properties:
  6957. accountid:
  6958. description: 账户id
  6959. type: integer
  6960. accountname:
  6961. description: 账户名称
  6962. type: string
  6963. currencyid:
  6964. description: 币种id
  6965. type: integer
  6966. fcid:
  6967. description: 期货公司id
  6968. type: integer
  6969. fcname:
  6970. description: 期货公司代码
  6971. type: string
  6972. hedgeaccountcode:
  6973. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6974. type: string
  6975. ismain:
  6976. description: 是否主账户 0-否 1-是
  6977. type: integer
  6978. parentaccountid:
  6979. description: 父账户id
  6980. type: integer
  6981. relateduserid:
  6982. description: 关联userid
  6983. type: integer
  6984. tradefeetmpid:
  6985. description: 手续费模板id
  6986. type: integer
  6987. tradefeetmpname:
  6988. description: 手续费模板名称
  6989. type: string
  6990. trademargintmpid:
  6991. description: 保证金模板id
  6992. type: integer
  6993. trademargintmpname:
  6994. description: 保证金模板名称
  6995. type: string
  6996. traderatetmpid:
  6997. description: 汇率模板id
  6998. type: integer
  6999. traderatetmpname:
  7000. description: 汇率模板名称
  7001. type: string
  7002. tradestatus:
  7003. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7004. type: integer
  7005. userid:
  7006. description: 用户id
  7007. type: integer
  7008. type: object
  7009. models.ErmcpTradeConfigTMP:
  7010. properties:
  7011. areauserid:
  7012. description: 所属机构
  7013. type: integer
  7014. basiccurrencyid:
  7015. description: 基本币种ID[汇率] - 目标币种
  7016. type: integer
  7017. mainaccountid:
  7018. description: 主账户ID
  7019. type: integer
  7020. modifierid:
  7021. description: 修改人
  7022. type: integer
  7023. remark:
  7024. description: 备注
  7025. type: string
  7026. tradeconfigtmpid:
  7027. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7028. type: integer
  7029. tradeconfigtmpname:
  7030. description: 交易配置模板名称
  7031. type: string
  7032. tradeconfigtmptype:
  7033. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7034. type: integer
  7035. updatetime:
  7036. description: 更新时间
  7037. type: string
  7038. type: object
  7039. models.ErmcpUserModel:
  7040. properties:
  7041. address:
  7042. description: 通讯地址
  7043. type: string
  7044. attachment1:
  7045. description: 附件1
  7046. type: string
  7047. audittime:
  7048. description: 审核时间
  7049. type: string
  7050. cardbackphotourl:
  7051. description: 证件反面图片地址
  7052. type: string
  7053. cardfrontphotourl:
  7054. description: 证件正面图片地址
  7055. type: string
  7056. cardnum:
  7057. description: 证件号码
  7058. type: string
  7059. cardtype:
  7060. description: 证件类型
  7061. type: integer
  7062. cardtypename:
  7063. description: 证件类型名称
  7064. type: string
  7065. cityid:
  7066. description: 市
  7067. type: integer
  7068. contactname:
  7069. description: 联系人
  7070. type: string
  7071. countryid:
  7072. description: 国家
  7073. type: integer
  7074. createtime:
  7075. description: 创建时间
  7076. type: string
  7077. customername:
  7078. description: 企业名称
  7079. type: string
  7080. districtid:
  7081. description: 区域
  7082. type: integer
  7083. email:
  7084. description: 邮件
  7085. type: string
  7086. legalpersonname:
  7087. description: 法人姓名(企业)
  7088. type: string
  7089. memberuserid:
  7090. description: 所属机构ID
  7091. type: integer
  7092. mobile:
  7093. description: 手机号码
  7094. type: string
  7095. modifytime:
  7096. description: 修改时间
  7097. type: string
  7098. nickname:
  7099. description: 昵称
  7100. type: string
  7101. provinceid:
  7102. description: 省
  7103. type: integer
  7104. remark:
  7105. description: 备注
  7106. type: string
  7107. status:
  7108. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7109. type: integer
  7110. statusdesc:
  7111. description: 账户状态中文描述
  7112. type: string
  7113. taxpayernum:
  7114. description: 纳税人识别号
  7115. type: string
  7116. telphone:
  7117. description: 联系电话
  7118. type: string
  7119. userid:
  7120. description: 用户ID
  7121. type: integer
  7122. userinfotype:
  7123. description: 客户类型
  7124. type: string
  7125. type: object
  7126. models.ErmcpWareHouseInfo:
  7127. properties:
  7128. address:
  7129. description: 详细地址
  7130. type: string
  7131. areauserid:
  7132. description: 所属机构
  7133. type: integer
  7134. autoid:
  7135. description: 自增ID(仓库ID)
  7136. type: integer
  7137. cityid:
  7138. description: 市
  7139. type: integer
  7140. contactname:
  7141. description: 联系人
  7142. type: string
  7143. contactnum:
  7144. description: 联系电话
  7145. type: string
  7146. countryid:
  7147. description: 国家
  7148. type: integer
  7149. createtime:
  7150. description: 创建时间
  7151. type: string
  7152. districtid:
  7153. description: 区
  7154. type: integer
  7155. hasvideo:
  7156. description: 是否有视频 - 0:无 1:有
  7157. type: integer
  7158. provinceid:
  7159. description: 省
  7160. type: integer
  7161. remark:
  7162. description: 审核备注
  7163. type: string
  7164. videourl:
  7165. description: 视频地址
  7166. type: string
  7167. warehousecode:
  7168. description: 仓库代码
  7169. type: string
  7170. warehousename:
  7171. description: 仓库名称
  7172. type: string
  7173. warehousestatus:
  7174. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7175. type: integer
  7176. warehousetype:
  7177. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7178. type: integer
  7179. type: object
  7180. models.Externalexchange:
  7181. properties:
  7182. autoid:
  7183. description: AutoID - SEQ_EXTERNALEXCHANGE
  7184. type: integer
  7185. exchangefullname:
  7186. description: 外部交易所全称
  7187. type: string
  7188. exexchangecode:
  7189. description: 外部交易所代码
  7190. type: string
  7191. exexchangename:
  7192. description: 外部交易所名称(简称)
  7193. type: string
  7194. ismarketprice:
  7195. description: 是否支持市价 - 0:不支持 1:支持
  7196. type: integer
  7197. quotegear:
  7198. description: 行情档位(1-10)
  7199. type: integer
  7200. showbrokerflag:
  7201. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7202. type: integer
  7203. updatetime:
  7204. description: 更新时间
  7205. type: string
  7206. required:
  7207. - autoid
  7208. type: object
  7209. models.Funcmenulist:
  7210. properties:
  7211. iconame:
  7212. description: 菜单图标
  7213. type: string
  7214. menutype:
  7215. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7216. type: integer
  7217. parentcode:
  7218. description: 上级资源代码
  7219. type: string
  7220. remark:
  7221. description: 备注
  7222. type: string
  7223. resourcecode:
  7224. description: 资源代码
  7225. type: string
  7226. resourcelevel:
  7227. description: 级别 1-一级 2-二级 3-三级 4-四级
  7228. type: integer
  7229. resourcename:
  7230. description: 资源名
  7231. type: string
  7232. sort:
  7233. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7234. type: integer
  7235. url:
  7236. description: URL
  7237. type: string
  7238. required:
  7239. - resourcecode
  7240. type: object
  7241. models.Goods:
  7242. properties:
  7243. agreeunit:
  7244. description: 合约单位
  7245. type: number
  7246. areauserid:
  7247. description: 所属机构
  7248. type: integer
  7249. auditaccountid:
  7250. description: 审核操作员账号
  7251. type: integer
  7252. audittime:
  7253. description: 审核时间
  7254. type: string
  7255. cancelaccountid:
  7256. description: 注销操作员账号
  7257. type: integer
  7258. canceltime:
  7259. description: 注销时间
  7260. type: string
  7261. closepricemode:
  7262. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7263. type: integer
  7264. closepriceparam:
  7265. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7266. type: number
  7267. createtime:
  7268. description: 创建时间
  7269. type: string
  7270. creatorid:
  7271. description: 创建人
  7272. type: integer
  7273. currencyid:
  7274. description: 报价货币ID
  7275. type: integer
  7276. cutmode:
  7277. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7278. type: integer
  7279. decimalplace:
  7280. description: 报价小数位
  7281. type: integer
  7282. delistingdate:
  7283. description: 商品退市时间(状态:退市) -- 已作废
  7284. type: string
  7285. delistingmode:
  7286. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7287. type: integer
  7288. deliveryflag:
  7289. description: 交割标志 - 0:不可交割 1:可交割
  7290. type: integer
  7291. forceclosemode:
  7292. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7293. type: integer
  7294. forceclosevalue:
  7295. description: 定期强平参数 [收益权]
  7296. type: integer
  7297. goodscode:
  7298. description: 商品代码(内部)
  7299. type: string
  7300. goodscurrencyid:
  7301. description: 合约货币ID
  7302. type: integer
  7303. goodsgroupid:
  7304. description: 所属商品组ID
  7305. type: integer
  7306. goodsid:
  7307. description: 商品ID(自增ID SEQ_GOODS)
  7308. type: integer
  7309. goodsname:
  7310. description: 商品名称
  7311. type: string
  7312. goodsquotetype:
  7313. description: '合约报价类型: 1-直接报价 2-间接报价'
  7314. type: integer
  7315. goodsstatus:
  7316. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7317. type: integer
  7318. goodstradetype:
  7319. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7320. type: integer
  7321. goodunitid:
  7322. description: 报价单位ID
  7323. type: integer
  7324. hasquoter:
  7325. description: 是否有报价商 - 0:无报价商 1:有报价商
  7326. type: integer
  7327. hqprotecttime:
  7328. description: 行情保护时间(秒)
  7329. type: integer
  7330. innerdealmode:
  7331. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7332. type: integer
  7333. isbuylimited:
  7334. description: 是否限制建仓量 - 0:不限制 1:限制
  7335. type: integer
  7336. isvisible:
  7337. description: 游客是否可见 - 0:不可见 1:可见
  7338. type: integer
  7339. lasttradedate:
  7340. description: 最后交易日期(状态:待退市)
  7341. type: string
  7342. listingdate:
  7343. description: 交易开始日期
  7344. type: string
  7345. marketid:
  7346. description: 所属市场ID
  7347. type: integer
  7348. modifierid:
  7349. description: 修改人
  7350. type: integer
  7351. modifystatus:
  7352. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7353. type: integer
  7354. modifytime:
  7355. description: 修改时间
  7356. type: string
  7357. outerdealmode:
  7358. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7359. type: integer
  7360. outgoodscode:
  7361. description: 商品代码(外部)
  7362. type: string
  7363. pictureurl:
  7364. description: 商品图片
  7365. type: string
  7366. qtydecimalplace:
  7367. description: 成交量小数位
  7368. type: integer
  7369. quotegear:
  7370. description: 行情档位(1-10)
  7371. type: integer
  7372. quoteminunit:
  7373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7374. type: integer
  7375. quoteshowtype:
  7376. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7377. type: integer
  7378. quoteshowtypeinterval:
  7379. description: 行情报价间隔时间(秒)(成交价时为0)
  7380. type: integer
  7381. remark:
  7382. description: 备注
  7383. type: string
  7384. required:
  7385. - goodscode
  7386. - goodsid
  7387. - goodsname
  7388. - marketid
  7389. type: object
  7390. models.GoodsIDAndName:
  7391. properties:
  7392. goodscode:
  7393. description: 商品代码(内部)
  7394. type: string
  7395. goodsid:
  7396. description: 商品ID(自增ID SEQ_GOODS)
  7397. type: integer
  7398. goodsname:
  7399. description: 商品名称
  7400. type: string
  7401. marketid:
  7402. description: 所属市场ID
  7403. type: integer
  7404. required:
  7405. - goodscode
  7406. - goodsid
  7407. - goodsname
  7408. - marketid
  7409. type: object
  7410. models.Goodsgroup:
  7411. properties:
  7412. agreeunit:
  7413. description: 合约单位
  7414. type: number
  7415. canshort:
  7416. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7417. type: integer
  7418. closepricemode:
  7419. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7420. type: integer
  7421. closepriceparam:
  7422. description: 强平最新价浮动比例 - 方式为2时使用
  7423. type: number
  7424. createtime:
  7425. description: 创建时间
  7426. type: string
  7427. creatorid:
  7428. description: 创建人
  7429. type: integer
  7430. currencyid:
  7431. description: 报价货币ID
  7432. type: integer
  7433. decimalplace:
  7434. description: 报价小数位
  7435. type: integer
  7436. exercisetype:
  7437. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7438. type: integer
  7439. exexchangeid:
  7440. description: 外部交易所ID[通道交易]
  7441. type: integer
  7442. goodsgroupid:
  7443. description: 商品组ID(自增ID)
  7444. type: integer
  7445. goodsgroupname:
  7446. description: 商品组名称
  7447. type: string
  7448. goodsgroupstatus:
  7449. description: 商品组状态 - 1:正常 2:注销
  7450. type: integer
  7451. goodunitid:
  7452. description: 报价单位ID
  7453. type: integer
  7454. innerdealmode:
  7455. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7456. type: integer
  7457. isbuylimited:
  7458. description: 是否限制建仓量 - 0:不限制 1:限制
  7459. type: integer
  7460. marketid:
  7461. description: 所属市场ID
  7462. type: integer
  7463. modifierid:
  7464. description: 修改人
  7465. type: integer
  7466. modifytime:
  7467. description: 修改时间
  7468. type: string
  7469. outerdealmode:
  7470. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7471. type: integer
  7472. outergroupcode:
  7473. description: 外部商品组代码[通道交易]
  7474. type: string
  7475. premiumdecimalplace:
  7476. description: 权利金小数位[场外期权]
  7477. type: integer
  7478. premiumspreadalgorithm:
  7479. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7480. type: integer
  7481. premiumspreadvalue:
  7482. description: 权利金点差值[场外期权]
  7483. type: number
  7484. qtydecimalplace:
  7485. description: 成交量小数位
  7486. type: integer
  7487. quotegear:
  7488. description: 行情档位(1-10)
  7489. type: integer
  7490. quoteminunit:
  7491. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7492. type: integer
  7493. quoterid:
  7494. description: 报价商ID[场外期权]
  7495. type: integer
  7496. quotesourcegroupid:
  7497. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7498. type: integer
  7499. syncgoodsqty:
  7500. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7501. type: integer
  7502. required:
  7503. - goodsgroupid
  7504. - goodsgroupname
  7505. - goodsgroupstatus
  7506. - marketid
  7507. type: object
  7508. models.Goodssortbypreposition:
  7509. properties:
  7510. goodscode:
  7511. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7512. type: string
  7513. goodsgroupcode:
  7514. description: 品种代码
  7515. type: string
  7516. prepositionqty:
  7517. description: 昨持仓量
  7518. type: integer
  7519. sortindex:
  7520. description: 排序
  7521. type: integer
  7522. tradedate:
  7523. description: 交易日
  7524. type: string
  7525. updatetime:
  7526. description: 更新时间
  7527. type: string
  7528. required:
  7529. - goodscode
  7530. - tradedate
  7531. type: object
  7532. models.Hedgeinnerholderdetail:
  7533. properties:
  7534. accountid:
  7535. description: 账号ID
  7536. type: integer
  7537. buyorsell:
  7538. description: 方向 - 0:买 1:卖
  7539. type: integer
  7540. freezeqty:
  7541. description: 冻结数量 - 按单平使用
  7542. type: integer
  7543. goodsid:
  7544. description: 商品ID
  7545. type: integer
  7546. holderamount:
  7547. description: 持仓金额 [商品币种]
  7548. type: number
  7549. holderdays:
  7550. description: 剩余冻结天数
  7551. type: integer
  7552. holderprice:
  7553. description: 持仓价格
  7554. type: number
  7555. holderqty:
  7556. description: 持仓数量
  7557. type: integer
  7558. marketid:
  7559. description: 市场ID
  7560. type: integer
  7561. openprice:
  7562. description: 建仓价格
  7563. type: number
  7564. openqty:
  7565. description: 建仓数量
  7566. type: integer
  7567. parentaccountid:
  7568. description: 所属母账户
  7569. type: integer
  7570. releaseamount:
  7571. description: 释放持仓金额[商品币种]
  7572. type: number
  7573. tradeamount:
  7574. description: 成交金额[账户]
  7575. type: number
  7576. tradedate:
  7577. description: 交易日(yyyyMMdd)
  7578. type: string
  7579. tradeid:
  7580. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7581. type: string
  7582. tradetime:
  7583. description: 交易时间
  7584. type: string
  7585. required:
  7586. - buyorsell
  7587. - tradeid
  7588. type: object
  7589. models.Hedgemarketopenlog:
  7590. properties:
  7591. accountid:
  7592. description: 资金账号[外部母账户]
  7593. type: integer
  7594. fcname:
  7595. description: 期货公司名称
  7596. type: string
  7597. handlestatus:
  7598. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7599. type: integer
  7600. marketid:
  7601. description: 市场ID
  7602. type: integer
  7603. status:
  7604. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7605. type: integer
  7606. tradedate:
  7607. description: 交易日(yyyyMMdd)
  7608. type: string
  7609. updatetime:
  7610. description: 更新时间
  7611. type: string
  7612. required:
  7613. - accountid
  7614. type: object
  7615. models.HsbyBuyMyPayOrder:
  7616. properties:
  7617. agreeunit:
  7618. description: 合约单位
  7619. type: number
  7620. buyaccountid:
  7621. description: 买方账号ID[报价币种]
  7622. type: integer
  7623. buyorderid:
  7624. description: 买方委托单号
  7625. type: string
  7626. createtime:
  7627. description: 创建时间
  7628. type: string
  7629. currencysign:
  7630. description: 货币符号
  7631. type: string
  7632. decimalplace:
  7633. description: 报价小数位
  7634. type: integer
  7635. goodscode:
  7636. description: 商品代码(内部)
  7637. type: string
  7638. goodsid:
  7639. description: 商品ID
  7640. type: integer
  7641. goodsname:
  7642. description: 商品名称
  7643. type: string
  7644. marketid:
  7645. description: 市场ID
  7646. type: integer
  7647. offamount:
  7648. description: 优惠金额
  7649. type: number
  7650. originalamount:
  7651. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7652. type: number
  7653. payamount:
  7654. description: 支付金额 = TradeAmount + TradeCharge
  7655. type: number
  7656. payflag:
  7657. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7658. type: integer
  7659. paylimitedtime:
  7660. description: 支付期限
  7661. type: string
  7662. paytime:
  7663. description: 付款时间
  7664. type: string
  7665. picurls1:
  7666. description: 预售商品介绍图片[多张用逗号分隔]
  7667. type: string
  7668. picurls2:
  7669. description: 挂牌商品介绍图片[多张用逗号分隔]
  7670. type: string
  7671. sellaccountid:
  7672. description: 卖方账号ID[报价币种]
  7673. type: integer
  7674. sellorderid:
  7675. description: 卖方委托单号
  7676. type: string
  7677. tradeamount:
  7678. description: 成交金额
  7679. type: number
  7680. tradecharge:
  7681. description: 成交手续费(买方)
  7682. type: number
  7683. tradedate:
  7684. description: 交易日(yyyyMMdd)
  7685. type: string
  7686. tradeid:
  7687. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7688. type: string
  7689. trademode:
  7690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7691. 21:竞拍-大宗式 22:受托竞价
  7692. type: integer
  7693. tradeprice:
  7694. description: 成交价格
  7695. type: number
  7696. tradeqty:
  7697. description: 成交数量
  7698. type: integer
  7699. vendorname1:
  7700. description: 预售商品供应商名称
  7701. type: string
  7702. vendorname2:
  7703. description: 挂牌商品供应商名称
  7704. type: string
  7705. required:
  7706. - goodscode
  7707. - goodsname
  7708. - tradeid
  7709. - trademode
  7710. type: object
  7711. models.HsbyBuyMyTradeDetail:
  7712. properties:
  7713. accountid:
  7714. description: 账户ID[报价币种]
  7715. type: integer
  7716. agreeunit:
  7717. description: 合约单位
  7718. type: number
  7719. amount:
  7720. description: 金额 = 价格 * 数量 * 合约单位
  7721. type: number
  7722. buyorsell:
  7723. description: 买卖 - 0:买 1:卖
  7724. type: integer
  7725. currencysign:
  7726. description: 货币符号
  7727. type: string
  7728. decimalplace:
  7729. description: 报价小数位
  7730. type: integer
  7731. goodscode:
  7732. description: 商品代码(内部)
  7733. type: string
  7734. goodsid:
  7735. description: 商品ID
  7736. type: integer
  7737. goodsname:
  7738. description: 商品名称
  7739. type: string
  7740. marketid:
  7741. description: 市场ID
  7742. type: integer
  7743. orderamount:
  7744. description: 委托金额
  7745. type: number
  7746. orderid:
  7747. description: 单号(成交单号)
  7748. type: string
  7749. picurls1:
  7750. description: 预售商品介绍图片[多张用逗号分隔]
  7751. type: string
  7752. picurls2:
  7753. description: 挂牌商品介绍图片[多张用逗号分隔]
  7754. type: string
  7755. price:
  7756. description: 价格
  7757. type: number
  7758. qty:
  7759. description: 数量
  7760. type: integer
  7761. time:
  7762. description: 时间
  7763. type: string
  7764. trademode:
  7765. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7766. 21:竞拍-大宗式 22:受托竞价
  7767. type: integer
  7768. vendorname1:
  7769. description: 预售商品供应商名称
  7770. type: string
  7771. vendorname2:
  7772. description: 挂牌商品供应商名称
  7773. type: string
  7774. required:
  7775. - accountid
  7776. - buyorsell
  7777. - goodscode
  7778. - goodsid
  7779. - goodsname
  7780. - marketid
  7781. - orderid
  7782. - qty
  7783. - time
  7784. - trademode
  7785. type: object
  7786. models.HsbyGoodsOrderDetail:
  7787. properties:
  7788. buyorsell:
  7789. description: 买卖 - 0:买 1:卖
  7790. type: integer
  7791. currencysign:
  7792. description: 货币符号
  7793. type: string
  7794. customername:
  7795. description: 客户名称(企业名称),已脱敏
  7796. type: string
  7797. enableqty:
  7798. description: 可用数量
  7799. type: integer
  7800. goodunit:
  7801. description: 报价单位
  7802. type: string
  7803. orderid:
  7804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7805. type: string
  7806. orderprice:
  7807. description: 委托价格
  7808. type: number
  7809. ordertime:
  7810. description: 委托时间
  7811. type: string
  7812. required:
  7813. - buyorsell
  7814. - orderid
  7815. - ordertime
  7816. type: object
  7817. models.HsbyListingGoodsDetail:
  7818. properties:
  7819. agreeunit:
  7820. description: 合约单位
  7821. type: number
  7822. buymaxqty:
  7823. description: 购买上限 [71] - 0为不限
  7824. type: integer
  7825. currency:
  7826. description: 货币
  7827. type: string
  7828. currencysign:
  7829. description: 货币符号
  7830. type: string
  7831. decimalplace:
  7832. description: 报价小数位
  7833. type: integer
  7834. desccityid:
  7835. description: 目的地(市)ID
  7836. type: integer
  7837. descprovinceid:
  7838. description: 目的地(省)ID
  7839. type: integer
  7840. goodscode:
  7841. description: 商品代码(内部)
  7842. type: string
  7843. goodsdesc:
  7844. description: 商品详情
  7845. type: string
  7846. goodsid:
  7847. description: 商品ID(自增ID SEQ_GOODS)
  7848. type: integer
  7849. goodsname:
  7850. description: 商品名称
  7851. type: string
  7852. goodsprice:
  7853. description: 商品价格
  7854. type: number
  7855. hotindex:
  7856. description: 景点热度
  7857. type: integer
  7858. last:
  7859. description: 现价
  7860. type: number
  7861. limitdown:
  7862. description: 跌停价
  7863. type: number
  7864. limitup:
  7865. description: 涨停价
  7866. type: number
  7867. lotsize:
  7868. description: 手数最小变动单位
  7869. type: integer
  7870. marketid:
  7871. description: 所属市场ID
  7872. type: integer
  7873. picurls:
  7874. description: 介绍图片[多张用逗号分隔]
  7875. type: string
  7876. quoteminunit:
  7877. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7878. type: integer
  7879. stepvalue:
  7880. description: 价格最小变动单位
  7881. type: number
  7882. trademode:
  7883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7884. 21:竞拍-大宗式 22:受托竞价
  7885. type: integer
  7886. vendorattr:
  7887. description: 供应商附件(多张,逗号分隔)
  7888. type: string
  7889. vendorname:
  7890. description: 供应商名称
  7891. type: string
  7892. vendorphone:
  7893. description: 供应商客服电话
  7894. type: string
  7895. videourls:
  7896. description: 介绍视频[多张用逗号分隔]
  7897. type: string
  7898. required:
  7899. - goodscode
  7900. - goodsid
  7901. - goodsname
  7902. - marketid
  7903. - trademode
  7904. type: object
  7905. models.HsbyMarketGoods:
  7906. properties:
  7907. accountid:
  7908. description: 账户ID[报价币种]
  7909. type: integer
  7910. agreeunit:
  7911. description: 合约单位
  7912. type: number
  7913. buyorsell:
  7914. description: 买卖 - 0:买 1:卖
  7915. type: integer
  7916. categoryid:
  7917. description: 类别ID(WRCATEGORY)
  7918. type: integer
  7919. currency:
  7920. description: 货币
  7921. type: string
  7922. currencysign:
  7923. description: 货币符号
  7924. type: string
  7925. customername:
  7926. description: 卖家名称
  7927. type: string
  7928. decimalplace:
  7929. description: 报价小数位
  7930. type: integer
  7931. goodscode:
  7932. description: 商品代码(内部)
  7933. type: string
  7934. goodsid:
  7935. description: 商品ID
  7936. type: integer
  7937. goodsname:
  7938. description: 商品名称
  7939. type: string
  7940. goodsprice:
  7941. description: 商品价格
  7942. type: number
  7943. hascoupon:
  7944. description: 是否可用优惠卷
  7945. type: boolean
  7946. hotindex:
  7947. description: 景点热度
  7948. type: integer
  7949. marketid:
  7950. description: 市场ID
  7951. type: integer
  7952. orderid:
  7953. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7954. type: string
  7955. orderprice:
  7956. description: 委托价格
  7957. type: number
  7958. orderstatus:
  7959. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7960. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7961. 16:成交失败违约(荷兰式竞拍专用)
  7962. type: integer
  7963. picurls:
  7964. description: 介绍图片[多张用逗号分隔]
  7965. type: string
  7966. quoteminunit:
  7967. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7968. type: integer
  7969. sellUserID:
  7970. description: 卖方UserID
  7971. type: integer
  7972. trademode:
  7973. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7974. 21:竞拍-大宗式 22:受托竞价
  7975. type: integer
  7976. videourls:
  7977. description: 介绍视频[多张用逗号分隔]
  7978. type: string
  7979. required:
  7980. - accountid
  7981. - buyorsell
  7982. - goodscode
  7983. - goodsid
  7984. - goodsname
  7985. - marketid
  7986. - orderid
  7987. - trademode
  7988. type: object
  7989. models.HsbyMarketGoodsDetail:
  7990. properties:
  7991. accountid:
  7992. description: 账户ID[报价币种]
  7993. type: integer
  7994. agreeunit:
  7995. description: 合约单位
  7996. type: number
  7997. buymaxqty:
  7998. description: 购买上限 [71] - 0为不限
  7999. type: integer
  8000. buyorsell:
  8001. description: 买卖 - 0:买 1:卖
  8002. type: integer
  8003. cancelqty:
  8004. description: 撤单数量
  8005. type: integer
  8006. categoryid:
  8007. description: 类别ID(WRCATEGORY)
  8008. type: integer
  8009. currency:
  8010. description: 货币
  8011. type: string
  8012. currencysign:
  8013. description: 货币符号
  8014. type: string
  8015. customername:
  8016. description: 卖家名称
  8017. type: string
  8018. decimalplace:
  8019. description: 报价小数位
  8020. type: integer
  8021. goodscode:
  8022. description: 商品代码(内部)
  8023. type: string
  8024. goodsdesc:
  8025. description: 商品详情
  8026. type: string
  8027. goodsid:
  8028. description: 商品ID
  8029. type: integer
  8030. goodsname:
  8031. description: 商品名称
  8032. type: string
  8033. goodsprice:
  8034. description: 商品价格
  8035. type: number
  8036. hotindex:
  8037. description: 景点热度
  8038. type: integer
  8039. lotsize:
  8040. description: 手数最小变动单位
  8041. type: integer
  8042. marketid:
  8043. description: 市场ID
  8044. type: integer
  8045. orderid:
  8046. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8047. type: string
  8048. orderprice:
  8049. description: 委托价格
  8050. type: number
  8051. orderqty:
  8052. description: 委托数量
  8053. type: integer
  8054. orderstatus:
  8055. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8056. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8057. 16:成交失败违约(荷兰式竞拍专用)
  8058. type: integer
  8059. picurls:
  8060. description: 介绍图片[多张用逗号分隔]
  8061. type: string
  8062. quoteminunit:
  8063. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8064. type: integer
  8065. sellUserID:
  8066. description: 卖方UserID
  8067. type: integer
  8068. trademode:
  8069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8070. 21:竞拍-大宗式 22:受托竞价
  8071. type: integer
  8072. tradeqty:
  8073. description: 成交数量
  8074. type: integer
  8075. vendorattr:
  8076. description: 供应商附件(多张,逗号分隔)
  8077. type: string
  8078. vendorname:
  8079. description: 供应商名称
  8080. type: string
  8081. vendorphone:
  8082. description: 供应商客服电话
  8083. type: string
  8084. videourls:
  8085. description: 介绍视频[多张用逗号分隔]
  8086. type: string
  8087. required:
  8088. - accountid
  8089. - buyorsell
  8090. - goodscode
  8091. - goodsid
  8092. - goodsname
  8093. - marketid
  8094. - orderid
  8095. - orderqty
  8096. - trademode
  8097. type: object
  8098. models.HsbyMarketInfo:
  8099. properties:
  8100. marketid:
  8101. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8102. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8103. type: integer
  8104. marketname:
  8105. description: 市场名称
  8106. type: string
  8107. marketstatus:
  8108. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8109. type: integer
  8110. trademode:
  8111. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8112. 21:竞拍-大宗式 22:受托竞价
  8113. type: integer
  8114. required:
  8115. - marketid
  8116. - marketstatus
  8117. - trademode
  8118. type: object
  8119. models.HsbyMyGoods:
  8120. properties:
  8121. accountid:
  8122. description: 账号Id
  8123. type: integer
  8124. agreeunit:
  8125. description: 合约单位
  8126. type: number
  8127. buyaverageprice:
  8128. description: 持仓均价
  8129. type: number
  8130. buycurholderamount:
  8131. description: 买当前持仓总金额[商品币种]
  8132. type: number
  8133. buycurpositionqty:
  8134. description: 买当前持仓总数量
  8135. type: integer
  8136. buymaxqty:
  8137. description: 购买上限 [71] - 0为不限
  8138. type: integer
  8139. currencysign:
  8140. description: 货币符号
  8141. type: string
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. enableqty:
  8146. description: 可用数量
  8147. type: integer
  8148. goodscode:
  8149. description: 商品代码(内部)
  8150. type: string
  8151. goodsid:
  8152. description: 商品Id
  8153. type: integer
  8154. goodsname:
  8155. description: 商品名称
  8156. type: string
  8157. goodsprice:
  8158. description: 商品价格
  8159. type: number
  8160. goodsstatus:
  8161. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8162. type: integer
  8163. last:
  8164. description: 现价(仅使用于挂牌点选)
  8165. type: number
  8166. limitdown:
  8167. description: 跌停价(仅使用于挂牌点选)
  8168. type: number
  8169. limitup:
  8170. description: 涨停价(仅使用于挂牌点选)
  8171. type: number
  8172. lotsize:
  8173. description: 手数最小变动单位
  8174. type: integer
  8175. marketid:
  8176. description: 所属市场ID
  8177. type: integer
  8178. picurls:
  8179. description: 介绍图片[多张用逗号分隔]
  8180. type: string
  8181. quoteminunit:
  8182. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8183. type: integer
  8184. stepvalue:
  8185. description: 价格最小变动单位
  8186. type: number
  8187. trademode:
  8188. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8189. 21:竞拍-大宗式 22:受托竞价
  8190. type: integer
  8191. required:
  8192. - accountid
  8193. - goodscode
  8194. - goodsid
  8195. - goodsname
  8196. - marketid
  8197. - trademode
  8198. type: object
  8199. models.HsbyMyPackage:
  8200. properties:
  8201. accountid:
  8202. description: 账户ID
  8203. type: integer
  8204. address:
  8205. description: 提货人详细地址
  8206. type: string
  8207. agreeunit:
  8208. description: 合约单位
  8209. type: number
  8210. amount:
  8211. description: 提货金额
  8212. type: number
  8213. auditer:
  8214. description: 审核人
  8215. type: integer
  8216. audittime:
  8217. description: 审核时间
  8218. type: string
  8219. averageprice:
  8220. description: 均价
  8221. type: number
  8222. cardnum:
  8223. description: 提货人证件号码
  8224. type: string
  8225. cardtypeid:
  8226. description: 提货人证件类型
  8227. type: integer
  8228. checkremark:
  8229. description: 审核备注
  8230. type: string
  8231. currencysign:
  8232. description: 货币符号
  8233. type: string
  8234. decimalplace:
  8235. description: 报价小数位
  8236. type: integer
  8237. goodscode:
  8238. description: 商品代码(内部)
  8239. type: string
  8240. goodsid:
  8241. description: 商品ID
  8242. type: integer
  8243. goodsname:
  8244. description: 商品名称
  8245. type: string
  8246. handlestatus:
  8247. description: 处理状态
  8248. type: integer
  8249. marketid:
  8250. description: 市场ID
  8251. type: integer
  8252. phonenum:
  8253. description: 提货人联系方式
  8254. type: string
  8255. picurls:
  8256. description: 介绍图片[多张用逗号分隔]
  8257. type: string
  8258. qty:
  8259. description: 提货数量
  8260. type: number
  8261. recivername:
  8262. description: 提货人姓名
  8263. type: string
  8264. reqtime:
  8265. description: 更新时间
  8266. type: string
  8267. takemode:
  8268. description: 提货方式 - 2:自提 3:配送
  8269. type: integer
  8270. takeorderid:
  8271. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8272. type: string
  8273. takeorderstatus:
  8274. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8275. type: integer
  8276. takeremark:
  8277. description: 提货备注
  8278. type: string
  8279. tradedate:
  8280. description: 交易日(yyyyMMdd)
  8281. type: string
  8282. trademode:
  8283. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8284. 21:竞拍-大宗式 22:受托竞价
  8285. type: integer
  8286. userid:
  8287. description: 用户ID
  8288. type: integer
  8289. vendorname:
  8290. description: 供应商名称
  8291. type: string
  8292. required:
  8293. - goodscode
  8294. - goodsname
  8295. - takeorderid
  8296. - trademode
  8297. type: object
  8298. models.HsbyPreGoods:
  8299. properties:
  8300. agreeunit:
  8301. description: 合约单位
  8302. type: number
  8303. currency:
  8304. description: 货币
  8305. type: string
  8306. currencysign:
  8307. description: 货币符号
  8308. type: string
  8309. decimalplace:
  8310. description: 报价小数位
  8311. type: integer
  8312. desccityid:
  8313. description: 目的地(市)
  8314. type: integer
  8315. descprovinceid:
  8316. description: 目的地(省)
  8317. type: integer
  8318. enableqty:
  8319. description: 剩余数量
  8320. type: integer
  8321. goodscode:
  8322. description: 商品代码(内部)
  8323. type: string
  8324. goodsid:
  8325. description: 商品ID(自增ID SEQ_GOODS)
  8326. type: integer
  8327. goodsname:
  8328. description: 商品名称
  8329. type: string
  8330. goodsstatus:
  8331. description: 商品状态- 2:未上市 3:上市
  8332. type: integer
  8333. lasttradedate:
  8334. description: 最后交易日期(状态:待退市)
  8335. type: string
  8336. listingdate:
  8337. description: 交易开始日期
  8338. type: string
  8339. marketid:
  8340. description: 所属市场ID
  8341. type: integer
  8342. picurls:
  8343. description: 介绍图片[多张用逗号分隔]
  8344. type: string
  8345. presaledqty:
  8346. description: 已预售量(预售结束时更新)
  8347. type: integer
  8348. presaleqty:
  8349. description: 预售数量
  8350. type: integer
  8351. quoteminunit:
  8352. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8353. type: integer
  8354. refprice:
  8355. description: 参考价格[一口价]
  8356. type: number
  8357. relatedgoodsid:
  8358. description: 关联交易合约ID
  8359. type: integer
  8360. trademode:
  8361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8362. 21:竞拍-大宗式 22:受托竞价
  8363. type: integer
  8364. videourls:
  8365. description: 介绍视频[多张用逗号分隔]
  8366. type: string
  8367. required:
  8368. - goodscode
  8369. - goodsid
  8370. - goodsname
  8371. - marketid
  8372. - trademode
  8373. type: object
  8374. models.HsbyPreGoodsDetail:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位
  8378. type: number
  8379. buymaxqty:
  8380. description: 购买上限 [71] - 0为不限
  8381. type: integer
  8382. currency:
  8383. description: 货币
  8384. type: string
  8385. currencysign:
  8386. description: 货币符号
  8387. type: string
  8388. customername:
  8389. description: 发行单位
  8390. type: string
  8391. decimalplace:
  8392. description: 报价小数位
  8393. type: integer
  8394. desccityid:
  8395. description: 目的地(市)ID
  8396. type: integer
  8397. descprovinceid:
  8398. description: 目的地(省)ID
  8399. type: integer
  8400. enableqty:
  8401. description: 剩余数量
  8402. type: integer
  8403. goodscode:
  8404. description: 商品代码(内部)
  8405. type: string
  8406. goodsdesc:
  8407. description: 商品详情
  8408. type: string
  8409. goodsid:
  8410. description: 商品ID(自增ID SEQ_GOODS)
  8411. type: integer
  8412. goodsname:
  8413. description: 商品名称
  8414. type: string
  8415. goodsstatus:
  8416. description: 商品状态- 2:未上市 3:上市
  8417. type: integer
  8418. goodunit:
  8419. description: 报价单位
  8420. type: string
  8421. lasttradedate:
  8422. description: 最后交易日期(状态:待退市)
  8423. type: string
  8424. listingdate:
  8425. description: 交易开始日期
  8426. type: string
  8427. lotsize:
  8428. description: 手数最小变动单位
  8429. type: integer
  8430. marketid:
  8431. description: 所属市场ID
  8432. type: integer
  8433. picurls:
  8434. description: 介绍图片[多张用逗号分隔]
  8435. type: string
  8436. presaledqty:
  8437. description: 已预售量(预售结束时更新)
  8438. type: integer
  8439. presaleqty:
  8440. description: 预售数量
  8441. type: integer
  8442. quoteminunit:
  8443. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8444. type: integer
  8445. refprice:
  8446. description: 参考价格[一口价]
  8447. type: number
  8448. relatedgoodsid:
  8449. description: 关联交易合约ID
  8450. type: integer
  8451. stepvalue:
  8452. description: 价格最小变动单位
  8453. type: number
  8454. trademode:
  8455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8456. 21:竞拍-大宗式 22:受托竞价
  8457. type: integer
  8458. vendorattr:
  8459. description: 供应商附件(多张,逗号分隔)
  8460. type: string
  8461. vendorname:
  8462. description: 供应商名称
  8463. type: string
  8464. vendorphone:
  8465. description: 供应商客服电话
  8466. type: string
  8467. videourls:
  8468. description: 介绍视频[多张用逗号分隔]
  8469. type: string
  8470. required:
  8471. - goodscode
  8472. - goodsid
  8473. - goodsname
  8474. - marketid
  8475. - trademode
  8476. type: object
  8477. models.HsbySellCollectionOrder:
  8478. properties:
  8479. agreeunit:
  8480. description: 合约单位
  8481. type: number
  8482. buyaccountid:
  8483. description: 买方账号ID[报价币种]
  8484. type: integer
  8485. buyorderid:
  8486. description: 买方委托单号
  8487. type: string
  8488. createtime:
  8489. description: 创建时间
  8490. type: string
  8491. currencysign:
  8492. description: 货币符号
  8493. type: string
  8494. decimalplace:
  8495. description: 报价小数位
  8496. type: integer
  8497. goodscode:
  8498. description: 商品代码(内部)
  8499. type: string
  8500. goodsid:
  8501. description: 商品ID
  8502. type: integer
  8503. goodsname:
  8504. description: 商品名称
  8505. type: string
  8506. marketid:
  8507. description: 市场ID
  8508. type: integer
  8509. offamount:
  8510. description: 优惠金额
  8511. type: number
  8512. payamount:
  8513. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8514. type: number
  8515. payflag:
  8516. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8517. type: integer
  8518. paylimitedtime:
  8519. description: 支付期限
  8520. type: string
  8521. paytime:
  8522. description: 付款时间
  8523. type: string
  8524. picurls:
  8525. description: 商品介绍图片[多张用逗号分隔]
  8526. type: string
  8527. sellaccountid:
  8528. description: 卖方账号ID[报价币种]
  8529. type: integer
  8530. sellorderid:
  8531. description: 卖方委托单号
  8532. type: string
  8533. tradeamount:
  8534. description: 成交金额
  8535. type: number
  8536. tradecharge:
  8537. description: 成交手续费(买方)
  8538. type: number
  8539. tradedate:
  8540. description: 交易日(yyyyMMdd)
  8541. type: string
  8542. tradeid:
  8543. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8544. type: string
  8545. trademode:
  8546. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8547. 21:竞拍-大宗式 22:受托竞价
  8548. type: integer
  8549. tradeprice:
  8550. description: 成交价格
  8551. type: number
  8552. tradeqty:
  8553. description: 成交数量
  8554. type: integer
  8555. required:
  8556. - goodscode
  8557. - goodsname
  8558. - tradeid
  8559. - trademode
  8560. type: object
  8561. models.HsbySellMyDetail:
  8562. properties:
  8563. accountid:
  8564. description: 账户ID[报价币种]
  8565. type: integer
  8566. agreeunit:
  8567. description: 合约单位
  8568. type: number
  8569. buyorsell:
  8570. description: 买卖 - 0:买 1:卖
  8571. type: integer
  8572. currencysign:
  8573. description: 货币符号
  8574. type: string
  8575. decimalplace:
  8576. description: 报价小数位
  8577. type: integer
  8578. goodscode:
  8579. description: 商品代码(内部)
  8580. type: string
  8581. goodsid:
  8582. description: 商品ID
  8583. type: integer
  8584. goodsname:
  8585. description: 商品名称
  8586. type: string
  8587. marketid:
  8588. description: 市场ID
  8589. type: integer
  8590. orderid:
  8591. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8592. type: string
  8593. ordertype:
  8594. description: 单据类型:0 - 发布中, 1 - 已完成
  8595. type: integer
  8596. picurls:
  8597. description: 介绍图片[多张用逗号分隔]
  8598. type: string
  8599. price:
  8600. description: 价格
  8601. type: number
  8602. qty:
  8603. description: 数量
  8604. type: integer
  8605. time:
  8606. description: 时间
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. vendorname:
  8613. description: 供应商名称
  8614. type: string
  8615. required:
  8616. - accountid
  8617. - buyorsell
  8618. - goodscode
  8619. - goodsid
  8620. - goodsname
  8621. - marketid
  8622. - orderid
  8623. - time
  8624. - trademode
  8625. type: object
  8626. models.HsbyTopGoods:
  8627. properties:
  8628. agreeunit:
  8629. description: 合约单位
  8630. type: number
  8631. currency:
  8632. description: 货币
  8633. type: string
  8634. currencysign:
  8635. description: 货币符号
  8636. type: string
  8637. decimalplace:
  8638. description: 报价小数位
  8639. type: integer
  8640. desccityid:
  8641. description: 目的地(市)
  8642. type: integer
  8643. descprovinceid:
  8644. description: 目的地(省)
  8645. type: integer
  8646. goodscode:
  8647. description: 商品代码(内部)
  8648. type: string
  8649. goodsid:
  8650. description: 商品ID(自增ID SEQ_GOODS)
  8651. type: integer
  8652. goodsname:
  8653. description: 商品名称
  8654. type: string
  8655. hotindex:
  8656. description: 景点热度
  8657. type: integer
  8658. last:
  8659. description: 现价
  8660. type: number
  8661. marketid:
  8662. description: 所属市场ID
  8663. type: integer
  8664. picurls:
  8665. description: 介绍图片[多张用逗号分隔]
  8666. type: string
  8667. quoteminunit:
  8668. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8669. type: integer
  8670. trademode:
  8671. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8672. 21:竞拍-大宗式 22:受托竞价
  8673. type: integer
  8674. videourls:
  8675. description: 介绍视频[多张用逗号分隔]
  8676. type: string
  8677. required:
  8678. - goodscode
  8679. - goodsid
  8680. - goodsname
  8681. - marketid
  8682. - trademode
  8683. type: object
  8684. models.HybsMyBuyOrderDetail:
  8685. properties:
  8686. accountid:
  8687. description: 账户ID[报价币种]
  8688. type: integer
  8689. agreeunit:
  8690. description: 合约单位
  8691. type: number
  8692. buyorsell:
  8693. description: 买卖 - 0:买 1:卖
  8694. type: integer
  8695. cancelqty:
  8696. description: 撤单数量
  8697. type: integer
  8698. currencysign:
  8699. description: 货币符号
  8700. type: string
  8701. decimalplace:
  8702. description: 报价小数位
  8703. type: integer
  8704. goodscode:
  8705. description: 商品代码(内部)
  8706. type: string
  8707. goodsid:
  8708. description: 商品ID
  8709. type: integer
  8710. goodsname:
  8711. description: 商品名称
  8712. type: string
  8713. listingselecttype:
  8714. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8715. type: integer
  8716. marketid:
  8717. description: 市场ID
  8718. type: integer
  8719. mybuystatus:
  8720. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8721. type: integer
  8722. orderamount:
  8723. description: 委托金额
  8724. type: number
  8725. orderid:
  8726. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8727. type: string
  8728. orderprice:
  8729. description: 委托价格
  8730. type: number
  8731. orderqty:
  8732. description: 委托数量
  8733. type: integer
  8734. orderstatus:
  8735. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8736. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8737. 16:成交失败违约(荷兰式竞拍专用)
  8738. type: integer
  8739. ordertime:
  8740. description: 委托时间
  8741. type: string
  8742. picurls1:
  8743. description: 预售商品介绍图片[多张用逗号分隔]
  8744. type: string
  8745. picurls2:
  8746. description: 挂牌商品介绍图片[多张用逗号分隔]
  8747. type: string
  8748. trademode:
  8749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8750. 21:竞拍-大宗式 22:受托竞价
  8751. type: integer
  8752. tradeqty:
  8753. description: 成交数量
  8754. type: integer
  8755. vendorname1:
  8756. description: 预售商品供应商名称
  8757. type: string
  8758. vendorname2:
  8759. description: 挂牌商品供应商名称
  8760. type: string
  8761. required:
  8762. - accountid
  8763. - buyorsell
  8764. - goodscode
  8765. - goodsid
  8766. - goodsname
  8767. - marketid
  8768. - orderid
  8769. - orderqty
  8770. - ordertime
  8771. - trademode
  8772. type: object
  8773. models.Loginaccount:
  8774. properties:
  8775. canoutin:
  8776. description: 是否可出入金 - 0:不可 1:可
  8777. type: integer
  8778. clientroleid:
  8779. description: 终端角色ID
  8780. type: integer
  8781. haslogined:
  8782. description: 是否已登录 - 0:未登录 1:已登录
  8783. type: integer
  8784. hasupdatedpwd:
  8785. description: 是否已更改密码 - 0:未修改 1:已修改
  8786. type: integer
  8787. lastloginip:
  8788. description: 最新登录地址
  8789. type: string
  8790. lastloginmode:
  8791. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8792. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8793. type: integer
  8794. lastloginremark:
  8795. description: 最新登录描述
  8796. type: string
  8797. lastlogintime:
  8798. description: 最新登录时间
  8799. type: string
  8800. logincode:
  8801. description: 登录代码
  8802. type: string
  8803. loginfailnum:
  8804. description: 连续登录失败次数(登录成功时清零)
  8805. type: integer
  8806. loginid:
  8807. description: 登陆账号
  8808. type: integer
  8809. loginport:
  8810. description: 最新登录端口
  8811. type: integer
  8812. loginstatus:
  8813. description: 登录账号状态 1:正常 2:冻结 3:无效
  8814. type: integer
  8815. loginusertype:
  8816. description: 登录账号类型 - 1:投资者 2:机构交易员
  8817. type: integer
  8818. modifierid:
  8819. description: 修改人
  8820. type: integer
  8821. modifytime:
  8822. description: 修改时间
  8823. type: string
  8824. pwdwrongcount:
  8825. description: 密码错误次数
  8826. type: integer
  8827. taaccountrighttype:
  8828. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8829. type: integer
  8830. unfreezetime:
  8831. description: 账户解冻时间
  8832. type: string
  8833. userid:
  8834. description: 用户ID
  8835. type: integer
  8836. required:
  8837. - loginid
  8838. type: object
  8839. models.MainAccountInfo:
  8840. properties:
  8841. accountid:
  8842. description: 账号id
  8843. type: integer
  8844. accountname:
  8845. description: 账号名称(taaccount表中的名称)
  8846. type: string
  8847. appid:
  8848. description: AppID
  8849. type: string
  8850. authcode:
  8851. description: 授权码
  8852. type: string
  8853. brokerid:
  8854. description: 经纪商id
  8855. type: string
  8856. fcid:
  8857. description: 期货公司id
  8858. type: integer
  8859. fcname:
  8860. description: 期货公司代码
  8861. type: string
  8862. hedgeaccountcode:
  8863. description: 外部账号代码(主账号登录代码)
  8864. type: string
  8865. hedgeaccountpwd:
  8866. description: 密码
  8867. type: string
  8868. ismain:
  8869. description: 是否主账号
  8870. type: integer
  8871. relateduserid:
  8872. description: 关联用户id
  8873. type: integer
  8874. userid:
  8875. description: 关联用户id
  8876. type: integer
  8877. type: object
  8878. models.Market:
  8879. properties:
  8880. auctionwrtype:
  8881. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8882. type: integer
  8883. canacceptquote:
  8884. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8885. type: integer
  8886. cangoodsexercise:
  8887. description: '[期权]是否可现货行权- 0:否 1:是'
  8888. type: integer
  8889. cangoodsexercisetype:
  8890. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8891. type: integer
  8892. canmanualquotestrike:
  8893. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8894. type: integer
  8895. canmutistage:
  8896. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8897. type: integer
  8898. canpreexercise:
  8899. description: '[期权]是否可预申报- 0:否 1:是'
  8900. type: integer
  8901. clearinterval:
  8902. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8903. type: integer
  8904. contracttmp:
  8905. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8906. type: string
  8907. exchareaid:
  8908. description: 所属交易所,可以没有
  8909. type: integer
  8910. goodstype:
  8911. description: 商品类型 - 1:交易商品 2:仓单商品
  8912. type: integer
  8913. hasrebate:
  8914. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8915. type: integer
  8916. hastradecredit:
  8917. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8918. type: integer
  8919. haswr:
  8920. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8921. type: integer
  8922. isdeductmargin:
  8923. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8924. type: integer
  8925. isrecordsource:
  8926. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8927. type: integer
  8928. isreleasemargin:
  8929. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8930. type: integer
  8931. marginformula:
  8932. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8933. type: integer
  8934. marginformula2:
  8935. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8936. type: integer
  8937. marketid:
  8938. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8939. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8940. type: integer
  8941. marketname:
  8942. description: 市场名称
  8943. type: string
  8944. marketserviceid:
  8945. description: 市场服务ID
  8946. type: integer
  8947. marketstatus:
  8948. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8949. type: integer
  8950. markettype:
  8951. description: 市场类型- 1:非交易服务 2:交易服务
  8952. type: integer
  8953. matchermode:
  8954. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8955. type: integer
  8956. openmethod:
  8957. description: 开盘模式 - 0 自动 1手动
  8958. type: integer
  8959. otcuserid:
  8960. description: 场外期权做市商[场外期权]
  8961. type: integer
  8962. outersynctime:
  8963. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8964. type: string
  8965. pendingflag:
  8966. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8967. type: integer
  8968. pendingtime:
  8969. description: 待开市时间[通道交易-对冲](HH:mm)
  8970. type: string
  8971. performancetempid:
  8972. description: 履约计划模板ID - 作废
  8973. type: integer
  8974. premiumquotemode:
  8975. description: 权利金报价方式 - 1:自动 2:手动
  8976. type: integer
  8977. rebateratio:
  8978. description: 返利比率[竞价式]
  8979. type: number
  8980. reckonorder:
  8981. description: 结算顺序
  8982. type: integer
  8983. reckonpricealgorithm:
  8984. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8985. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8986. type: integer
  8987. reckonpriceparam:
  8988. description: 结算价参数
  8989. type: integer
  8990. reckontime:
  8991. description: 结算时间[通道交易-对冲](HH:mm)
  8992. type: string
  8993. roleprioritytype:
  8994. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8995. type: integer
  8996. selllistingauditflag:
  8997. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8998. type: integer
  8999. trademarkettype:
  9000. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9001. type: integer
  9002. trademode:
  9003. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9004. 21:竞拍-大宗式 22:受托竞价
  9005. type: integer
  9006. tradeproperty:
  9007. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9008. 8:场外期权
  9009. type: integer
  9010. tradetype:
  9011. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9012. type: integer
  9013. required:
  9014. - marketid
  9015. - marketstatus
  9016. - openmethod
  9017. - reckonpricealgorithm
  9018. - trademode
  9019. - tradeproperty
  9020. type: object
  9021. models.Marketrun:
  9022. properties:
  9023. afternexttradedate:
  9024. description: 下下交易日
  9025. type: string
  9026. clearquoteflag:
  9027. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9028. type: integer
  9029. lastreckondate:
  9030. description: 最新交易日(结算成功)
  9031. type: string
  9032. machinedate:
  9033. description: 机器时间
  9034. type: string
  9035. manualflag:
  9036. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9037. type: integer
  9038. marketid:
  9039. description: 市场ID
  9040. type: integer
  9041. nexttradedate:
  9042. description: 下一交易日
  9043. type: string
  9044. pretradedate:
  9045. description: 上一交易日
  9046. type: string
  9047. reckonflag:
  9048. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9049. type: integer
  9050. runstatus:
  9051. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9052. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9053. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9054. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9055. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9056. 62.今日免清算
  9057. type: integer
  9058. sectionid:
  9059. description: 时间段号[多时段时用]
  9060. type: integer
  9061. tradedate:
  9062. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9063. type: string
  9064. tradedate2:
  9065. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9066. type: string
  9067. updatetime:
  9068. description: 更新时间
  9069. type: string
  9070. required:
  9071. - marketid
  9072. - nexttradedate
  9073. - reckonflag
  9074. - runstatus
  9075. - tradedate
  9076. - tradedate2
  9077. type: object
  9078. models.Messageboard:
  9079. properties:
  9080. contactnum:
  9081. description: 联系电话
  9082. type: string
  9083. createtime:
  9084. description: 创建时间
  9085. type: string
  9086. message:
  9087. description: 留言信息
  9088. type: string
  9089. messageboardid:
  9090. description: 留言簿ID(SEQ_MessageBoard)
  9091. type: integer
  9092. userid:
  9093. description: 用户ID
  9094. type: integer
  9095. required:
  9096. - messageboardid
  9097. type: object
  9098. models.MyCoupon:
  9099. properties:
  9100. accountid:
  9101. description: 资金账户ID
  9102. type: integer
  9103. areauserid:
  9104. description: 所属机构
  9105. type: integer
  9106. conditionvalue:
  9107. description: 条件阈值(可为0)
  9108. type: number
  9109. couponcategroy:
  9110. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9111. type: integer
  9112. couponname:
  9113. description: 优惠券名称
  9114. type: string
  9115. coupontypeid:
  9116. description: 优惠券类型ID
  9117. type: string
  9118. couponvalue:
  9119. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9120. type: number
  9121. curfreezeqty:
  9122. description: 期末冻结数量
  9123. type: integer
  9124. curqty:
  9125. description: 期末数量
  9126. type: integer
  9127. isgeneral:
  9128. description: 是否通用券 - 0:否 1:是
  9129. type: integer
  9130. isunusable:
  9131. description: 是否不可用
  9132. type: boolean
  9133. limitedflag:
  9134. description: 是否指定商品 - 0:不限 1:限制
  9135. type: integer
  9136. limitedgoodsids:
  9137. description: 指定商品IDs[逗号分隔,前后加逗号]
  9138. type: string
  9139. orifreezeqty:
  9140. description: 期初冻结数量
  9141. type: integer
  9142. oriqty:
  9143. description: 期初数量
  9144. type: integer
  9145. reasontype:
  9146. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9147. type: integer
  9148. todaydecrease:
  9149. description: 今日减少
  9150. type: integer
  9151. todayincrease:
  9152. description: 今日增加
  9153. type: integer
  9154. userid:
  9155. description: 用户ID
  9156. type: integer
  9157. userscope:
  9158. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9159. type: string
  9160. required:
  9161. - accountid
  9162. - coupontypeid
  9163. type: object
  9164. models.MyCouponHold:
  9165. properties:
  9166. accountid:
  9167. description: 资金账户ID
  9168. type: integer
  9169. conditionvalue:
  9170. description: 条件阈值(可为0)
  9171. type: number
  9172. couponcategroy:
  9173. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9174. type: integer
  9175. couponholdid:
  9176. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9177. type: string
  9178. couponname:
  9179. description: 优惠券名称
  9180. type: string
  9181. coupontypeid:
  9182. description: 优惠券类型ID - SEQ_COUPONTYPE
  9183. type: string
  9184. couponvalue:
  9185. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9186. type: number
  9187. createtime:
  9188. description: 创建时间
  9189. type: string
  9190. enddate:
  9191. description: 结束日期
  9192. type: string
  9193. giveapplyid:
  9194. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9195. type: integer
  9196. holdstatus:
  9197. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9198. type: integer
  9199. isgeneral:
  9200. description: 是否通用券 - 0:否 1:是
  9201. type: integer
  9202. limitedflag:
  9203. description: 是否指定商品 - 0:不限 1:限制
  9204. type: integer
  9205. limitedgoodsids:
  9206. description: 指定商品IDs[逗号分隔]
  9207. type: string
  9208. qty:
  9209. description: 数量(按1平铺)
  9210. type: integer
  9211. startdate:
  9212. description: 开始日期
  9213. type: string
  9214. userid:
  9215. description: 用户ID
  9216. type: integer
  9217. userscope:
  9218. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9219. type: string
  9220. required:
  9221. - couponholdid
  9222. type: object
  9223. models.MyUsedCoupon:
  9224. properties:
  9225. accountid:
  9226. description: 资金账户ID(买方)
  9227. type: integer
  9228. conditionvalue:
  9229. description: 条件阈值(可为0)
  9230. type: number
  9231. couponcategroy:
  9232. description: 种类 - 1:现金券 2:折扣券
  9233. type: integer
  9234. couponname:
  9235. description: 优惠券名称
  9236. type: string
  9237. coupontypeid:
  9238. description: 优惠券类型ID(买方)
  9239. type: string
  9240. couponvalue:
  9241. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9242. type: number
  9243. createtime:
  9244. description: 创建时间
  9245. type: string
  9246. goodsid:
  9247. description: 商品ID
  9248. type: integer
  9249. handlestatus:
  9250. description: 处理状态
  9251. type: integer
  9252. marketid:
  9253. description: 市场ID
  9254. type: integer
  9255. offamount:
  9256. description: 优惠金额
  9257. type: number
  9258. orderid:
  9259. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9260. type: string
  9261. sellaccountid:
  9262. description: 资金账户ID(卖方)
  9263. type: integer
  9264. tradeamount:
  9265. description: 成交金额
  9266. type: number
  9267. tradeid:
  9268. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9269. type: string
  9270. usedqty:
  9271. description: 使用数量
  9272. type: integer
  9273. required:
  9274. - coupontypeid
  9275. - orderid
  9276. type: object
  9277. models.OperationPrimaryMenu:
  9278. properties:
  9279. Children:
  9280. description: 二级功能菜单
  9281. items:
  9282. $ref: '#/definitions/models.OperationSecondaryMenu'
  9283. type: array
  9284. Key:
  9285. description: 菜单KEY
  9286. type: string
  9287. Label:
  9288. description: 菜单标题
  9289. type: string
  9290. type: object
  9291. models.OperationSecondaryMenu:
  9292. properties:
  9293. Key:
  9294. description: 菜单KEY
  9295. type: string
  9296. Label:
  9297. description: 菜单标题
  9298. type: string
  9299. TabList:
  9300. description: 三级功能菜单
  9301. items:
  9302. $ref: '#/definitions/models.OperationTabMenu'
  9303. type: array
  9304. type: object
  9305. models.OperationTabMenu:
  9306. properties:
  9307. Key:
  9308. description: 菜单KEY
  9309. type: string
  9310. Label:
  9311. description: 菜单标题
  9312. type: string
  9313. type: object
  9314. models.PendingAuditBizModel:
  9315. properties:
  9316. accountid:
  9317. description: 现货账户
  9318. type: string
  9319. areaname:
  9320. description: 所属部门
  9321. type: string
  9322. bizid:
  9323. description: 业务ID
  9324. type: string
  9325. bizname:
  9326. description: 业务名称
  9327. type: string
  9328. status:
  9329. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9330. type: integer
  9331. type:
  9332. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9333. type: integer
  9334. type: object
  9335. models.QhjAccountOutInApply:
  9336. properties:
  9337. accountcode:
  9338. description: 资金账号
  9339. type: string
  9340. accountname:
  9341. description: 用户名称(名称)
  9342. type: string
  9343. accountpwd:
  9344. description: 资金密码
  9345. type: string
  9346. accountticket:
  9347. description: 最新账户服务流水号
  9348. type: string
  9349. amount:
  9350. description: 金额
  9351. type: number
  9352. applyremark:
  9353. description: 申请备注
  9354. type: string
  9355. applystatus:
  9356. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9357. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9358. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9359. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9360. type: integer
  9361. auditid:
  9362. description: 审核人
  9363. type: integer
  9364. audittime:
  9365. description: 审核时间
  9366. type: string
  9367. bank_apply_ticket:
  9368. description: 银行申请流水
  9369. type: string
  9370. bankaccountname:
  9371. description: 银行账户名
  9372. type: string
  9373. bankaccountno:
  9374. description: 银行卡号
  9375. type: string
  9376. bankid:
  9377. description: 银行编号
  9378. type: string
  9379. bankticket:
  9380. description: 银行流水
  9381. type: string
  9382. branchbankid:
  9383. description: 银行支行号
  9384. type: string
  9385. branchbankname:
  9386. description: 银行支行名称
  9387. type: string
  9388. capamountout:
  9389. description: 出金(劣后本金) - 外部子账户
  9390. type: number
  9391. certificatephotourl:
  9392. description: 凭证地址
  9393. type: string
  9394. charge:
  9395. description: 手续费
  9396. type: number
  9397. checkerrorflag:
  9398. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9399. type: integer
  9400. currency:
  9401. description: 币种
  9402. type: string
  9403. cusbankid:
  9404. description: 托管银行编号
  9405. type: string
  9406. exchticket:
  9407. description: 银行服务流水号
  9408. type: string
  9409. executetype:
  9410. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9411. 7:外部子账户:入金 8:外部子账户:出金'
  9412. type: integer
  9413. extendinfo:
  9414. description: 扩展信息
  9415. type: string
  9416. extoperateid:
  9417. description: 交易服务流水号
  9418. type: integer
  9419. infamount:
  9420. description: 劣后金额(自有)
  9421. type: number
  9422. logincode:
  9423. description: 登录账号(账号)
  9424. type: string
  9425. netaddr:
  9426. description: 调转网址
  9427. type: string
  9428. priamount:
  9429. description: 优先金额(授信)
  9430. type: number
  9431. reauditid:
  9432. description: 复审人
  9433. type: integer
  9434. reauditremark:
  9435. description: 复审备注
  9436. type: string
  9437. reaudittime:
  9438. description: 复审时间
  9439. type: string
  9440. relatedorderid:
  9441. description: 三方关联ID
  9442. type: string
  9443. remark:
  9444. description: 备注
  9445. type: string
  9446. remark2:
  9447. description: 备注(失败原因)
  9448. type: string
  9449. soucreamount:
  9450. description: 原始出入金金额
  9451. type: number
  9452. soucrecurrencyid:
  9453. description: 原始出入金币种
  9454. type: integer
  9455. tradedate:
  9456. description: 交易日(yyyyMMdd)
  9457. type: string
  9458. updatetime:
  9459. description: 更新时间(申请时间)
  9460. type: string
  9461. userid:
  9462. description: 用户id
  9463. type: integer
  9464. userinfotype:
  9465. description: 账户类型 1-个人 2-企业
  9466. type: integer
  9467. type: object
  9468. models.QhjAgreementChangeLog:
  9469. properties:
  9470. agreementcontent:
  9471. description: 协议内容
  9472. type: string
  9473. agreementfrequency:
  9474. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9475. type: integer
  9476. agreementid:
  9477. description: 协议ID
  9478. type: integer
  9479. agreementname:
  9480. description: 协议名称
  9481. type: string
  9482. agreementno:
  9483. description: 协议编号
  9484. type: string
  9485. agreementtype:
  9486. description: 协议类型 - 1:注册 2:登录 3:交易
  9487. type: integer
  9488. agreementversion:
  9489. description: 协议版本号
  9490. type: integer
  9491. logid:
  9492. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9493. type: integer
  9494. reviserid:
  9495. description: 修改人
  9496. type: integer
  9497. revisersrc:
  9498. description: 修改来源 - 1:管理端 2:终端
  9499. type: integer
  9500. updatetime:
  9501. description: 更新时间
  9502. type: string
  9503. type: object
  9504. models.QhjAgreementConfig:
  9505. properties:
  9506. agreementcontent:
  9507. description: 协议内容
  9508. type: string
  9509. agreementfrequency:
  9510. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9511. type: integer
  9512. agreementid:
  9513. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9514. type: integer
  9515. agreementname:
  9516. description: 协议名称
  9517. type: string
  9518. agreementno:
  9519. description: 协议编号
  9520. type: string
  9521. agreementtype:
  9522. description: 协议类型 - 1:注册 2:登录 3:交易
  9523. type: integer
  9524. agreementversion:
  9525. description: 协议版本号(从1开始每次修改加1)
  9526. type: integer
  9527. createtime:
  9528. description: 创建时间
  9529. type: string
  9530. creatorid:
  9531. description: 创建人
  9532. type: integer
  9533. creatorsrc:
  9534. description: 创建来源 - 1:管理端 2:终端
  9535. type: integer
  9536. isvalid:
  9537. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9538. type: integer
  9539. reviserid:
  9540. description: 修改人
  9541. type: integer
  9542. revisersrc:
  9543. description: 修改来源 - 1:管理端 2:终端
  9544. type: integer
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. type: object
  9549. models.QhjAreaFinanceConfig:
  9550. properties:
  9551. additionalratio:
  9552. description: 追加款比例
  9553. type: number
  9554. advanceratio:
  9555. description: 预付款比例
  9556. type: number
  9557. alarmratio:
  9558. description: 告警比例
  9559. type: number
  9560. consumptiondirectreward:
  9561. description: 消费直推奖励值
  9562. type: number
  9563. consumptionenabled:
  9564. description: 是否启用消费奖励 - 0:不启用 1:启用
  9565. type: integer
  9566. consumptionindirectreward:
  9567. description: 消费间推奖励值
  9568. type: number
  9569. consumptionmodel:
  9570. description: 消费奖励方式 - 1:比率 2:固定
  9571. type: integer
  9572. customerservicenum:
  9573. description: 客服电话
  9574. type: string
  9575. dayinterestrate:
  9576. description: 日利率
  9577. type: number
  9578. disableconsumptiontips:
  9579. description: 关闭消费奖励提示
  9580. type: string
  9581. modifierid:
  9582. description: 修改人ID
  9583. type: integer
  9584. modifysrc:
  9585. description: 审核来源 - 1:管理端 2:终端
  9586. type: integer
  9587. modifytime:
  9588. description: 修改时间
  9589. type: string
  9590. promotionvalue:
  9591. description: 推广奖励值(固定)
  9592. type: number
  9593. scoreconfigvalue1:
  9594. description: 提货积分配置1
  9595. type: integer
  9596. scoreconfigvalue2:
  9597. description: 提货积分配置2
  9598. type: integer
  9599. userid:
  9600. description: 机构用户ID其他做市关系,都设置为 1
  9601. type: integer
  9602. username:
  9603. description: 用户名称
  9604. type: string
  9605. type: object
  9606. models.QhjBankAccountSign:
  9607. properties:
  9608. accountcode:
  9609. description: 资金账号
  9610. type: string
  9611. accountname:
  9612. description: 资金账号对应的账号名(UserName)
  9613. type: string
  9614. accountname2:
  9615. description: 资金账号对应的账号名(UserName) - 密文
  9616. type: string
  9617. accounttype:
  9618. description: 账户类型(UserType)
  9619. type: integer
  9620. applicationtime:
  9621. description: 最后一次更新的时间
  9622. type: string
  9623. applyexchticket:
  9624. description: 申请流水
  9625. type: string
  9626. auditid:
  9627. description: 审核人
  9628. type: integer
  9629. audittime:
  9630. description: 审核时间
  9631. type: string
  9632. bankaccountname:
  9633. description: 签约银行卡账号名
  9634. type: string
  9635. bankaccountname2:
  9636. description: 签约银行卡账号名 - 密文
  9637. type: string
  9638. bankaccountno:
  9639. description: 银行卡号
  9640. type: string
  9641. bankaccountno2:
  9642. description: 银行卡号 - 密文
  9643. type: string
  9644. bankaccounttype:
  9645. description: 银行账户类型 - 1-对私; 2-对公
  9646. type: integer
  9647. bankcardtype:
  9648. description: 银行卡类型
  9649. type: integer
  9650. bankchildaccount:
  9651. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9652. type: string
  9653. bankcity:
  9654. description: 开户行城市
  9655. type: string
  9656. bankid:
  9657. description: 签约银行ID
  9658. type: string
  9659. bankname:
  9660. description: 签约银行名称
  9661. type: string
  9662. bankprovince:
  9663. description: 开户行省份
  9664. type: string
  9665. branchbankid:
  9666. description: 签约银行支行号
  9667. type: string
  9668. branchbankname:
  9669. description: 签约银行支行名称
  9670. type: string
  9671. cardno:
  9672. description: 证件号码
  9673. type: string
  9674. cardno2:
  9675. description: 证件号码 - 密文
  9676. type: string
  9677. cardtype:
  9678. description: 证件类型
  9679. type: string
  9680. currency:
  9681. description: 币种
  9682. type: string
  9683. cusbankid:
  9684. description: 托管银行编号
  9685. type: string
  9686. direct:
  9687. description: 方向(可以判断那方先发起的签约)
  9688. type: integer
  9689. exchticket:
  9690. description: 最后一次签约成功的流水号
  9691. type: string
  9692. extendinfo:
  9693. description: 扩展信息(JSON字符串)
  9694. type: string
  9695. mobilephone:
  9696. description: 手机号
  9697. type: string
  9698. mobilephone2:
  9699. description: 手机号 - 密文
  9700. type: string
  9701. netaddr:
  9702. description: 调转网址
  9703. type: string
  9704. relateduserid:
  9705. description: 关联使用者userid
  9706. type: integer
  9707. signstatus:
  9708. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9709. 10:审核拒绝 11:换签待审核
  9710. type: integer
  9711. updatetime:
  9712. description: 更新时间(签解约更新时间)
  9713. type: string
  9714. type: object
  9715. models.QhjBankInfo:
  9716. properties:
  9717. bankid:
  9718. description: 银行ID
  9719. type: string
  9720. bankname:
  9721. description: 银行名称
  9722. type: string
  9723. clearbankno:
  9724. description: 清算系统银行编号
  9725. type: string
  9726. orderindex:
  9727. description: 排序顺序
  9728. type: integer
  9729. status:
  9730. description: 状态 - 0:正常 1:注销
  9731. type: integer
  9732. type: object
  9733. models.QhjContract:
  9734. properties:
  9735. contractconfirmtime:
  9736. description: 合同确认时间(时间)
  9737. type: string
  9738. currisklevel:
  9739. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9740. type: integer
  9741. decimalplace:
  9742. description: 商品报价小数位
  9743. type: integer
  9744. enumdicname:
  9745. description: 单位名称
  9746. type: string
  9747. goodscode:
  9748. description: 商品代码
  9749. type: string
  9750. goodsid:
  9751. description: 商品ID [5:融资单]
  9752. type: integer
  9753. goodsname:
  9754. description: 商品名称
  9755. type: string
  9756. goodunitid:
  9757. description: 商品单位id
  9758. type: integer
  9759. initmargin:
  9760. description: 初始保证金(首付款)
  9761. type: number
  9762. lenderamount:
  9763. description: 贷款金额(总额|订单总额)
  9764. type: number
  9765. marginratio:
  9766. description: 保证金比率(首付比例)
  9767. type: number
  9768. payamount:
  9769. description: 已付(已付货款)
  9770. type: number
  9771. reckonrecovermargin:
  9772. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9773. type: number
  9774. recoveredmargin:
  9775. description: 已追缴保证金
  9776. type: number
  9777. remainamount:
  9778. description: 合同剩余金额(融资额)
  9779. type: number
  9780. scfcontractid:
  9781. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9782. type: string
  9783. scfcontractstatus:
  9784. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9785. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9786. type: integer
  9787. scfcontracttype:
  9788. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9789. type: integer
  9790. totalinterest:
  9791. description: 已计总利息(利息)
  9792. type: number
  9793. tradeprice:
  9794. description: 成交价格(成本价格)
  9795. type: number
  9796. userid:
  9797. description: 用户ID
  9798. type: integer
  9799. username:
  9800. description: 用户名称
  9801. type: string
  9802. wrqty:
  9803. description: 仓单数量(数量)
  9804. type: number
  9805. type: object
  9806. models.QhjContractLog:
  9807. properties:
  9808. amount:
  9809. description: 支付金额
  9810. type: number
  9811. amounttype:
  9812. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9813. type: integer
  9814. logid:
  9815. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9816. type: string
  9817. remainamount:
  9818. description: 剩余货款
  9819. type: number
  9820. scfcontractid:
  9821. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9822. type: integer
  9823. updatetime:
  9824. description: 更新时间
  9825. type: string
  9826. type: object
  9827. models.QhjCusBankSignBankEx:
  9828. properties:
  9829. banklst:
  9830. description: 银行列表
  9831. items:
  9832. $ref: '#/definitions/models.QhjBankInfo'
  9833. type: array
  9834. canallot:
  9835. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9836. type: integer
  9837. canallotquery:
  9838. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9839. type: integer
  9840. canbindcard:
  9841. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9842. type: integer
  9843. caninamount:
  9844. description: 是否可入金 - 0:不可 1:可以
  9845. type: integer
  9846. caninamount2:
  9847. description: 是否可入金(网银端) - 0:不可 1:可以
  9848. type: integer
  9849. canmodifybankcard:
  9850. description: 是否可修改银行卡号 - 0:不可 1:可以
  9851. type: integer
  9852. canmodifyphone:
  9853. description: 是否可修改手机号 - 0:不可 1:可以
  9854. type: integer
  9855. canmodifysigninfo:
  9856. description: 是否可修改签约信息 - 0:不可 1:可以
  9857. type: integer
  9858. canoutamount:
  9859. description: 是否可出金 - 0:不可 1:可以
  9860. type: integer
  9861. canoutamount2:
  9862. description: 是否可出金(网银端) - 0:不可 1:可以
  9863. type: integer
  9864. canrelease:
  9865. description: 是否可解约 - 0:不可 1:可以
  9866. type: integer
  9867. canrelease2:
  9868. description: 是否可解约(网银端) - 0:不可 1:可以
  9869. type: integer
  9870. cansign:
  9871. description: 是否可签约 - 0:不可 1:可以
  9872. type: integer
  9873. cansign2:
  9874. description: 是否可签约(网银端) - 0:不可 1:可以
  9875. type: integer
  9876. currency:
  9877. description: 币种
  9878. type: string
  9879. cusbankid:
  9880. description: 托管银行编号(对应清算中心TRAN_NO)
  9881. type: string
  9882. cusbankname:
  9883. description: 银行业务名称
  9884. type: string
  9885. cusbankshortname:
  9886. description: 银行业务简称
  9887. type: string
  9888. exchbankid:
  9889. description: 交易所开户银行ID
  9890. type: string
  9891. exchpaybankaccname:
  9892. description: 交易所支出结算账户户名
  9893. type: string
  9894. exchpaybankaccno:
  9895. description: 交易所支出结算账户
  9896. type: string
  9897. isneedcheck:
  9898. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9899. type: integer
  9900. isneedclear:
  9901. description: 是否需要清算 - 0:不需要 1:需要
  9902. type: integer
  9903. lastcheckstatus:
  9904. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  9905. type: integer
  9906. lastchecktime:
  9907. description: 最后对账时间
  9908. type: string
  9909. lastclearstatus:
  9910. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  9911. type: integer
  9912. lastcleartime:
  9913. description: 最后清算时间
  9914. type: string
  9915. lastsignintime:
  9916. description: 最后签到时间
  9917. type: string
  9918. lastsignouttime:
  9919. description: 最后签退时间
  9920. type: string
  9921. riskinfo:
  9922. description: 签约风险提示书
  9923. type: string
  9924. signstatus:
  9925. description: 当前签到/签退状态 - 1:签到 2:签退
  9926. type: integer
  9927. tradedate:
  9928. description: 交易日(yyyyMMdd)
  9929. type: string
  9930. updatetime:
  9931. description: 当前签到/签退更新时间
  9932. type: string
  9933. type: object
  9934. models.QhjCustomer:
  9935. properties:
  9936. address:
  9937. description: 通讯地址
  9938. type: string
  9939. attachment1:
  9940. description: 附件1
  9941. type: string
  9942. audittime:
  9943. description: 审核时间
  9944. type: string
  9945. cardbackphotourl:
  9946. description: 证件反面图片地址
  9947. type: string
  9948. cardfrontphotourl:
  9949. description: 证件正面图片地址
  9950. type: string
  9951. cardnum:
  9952. description: 证件号码
  9953. type: string
  9954. cardtype:
  9955. description: 证件类型
  9956. type: integer
  9957. cardtypename:
  9958. description: 证件类型名称
  9959. type: string
  9960. cityid:
  9961. description: 市
  9962. type: integer
  9963. cityname:
  9964. description: 城市名称
  9965. type: string
  9966. contactname:
  9967. description: 联系人
  9968. type: string
  9969. countryid:
  9970. description: 国家
  9971. type: integer
  9972. countryname:
  9973. description: 国家名称
  9974. type: string
  9975. createtime:
  9976. description: 创建时间
  9977. type: string
  9978. customername:
  9979. description: 客户名称
  9980. type: string
  9981. districtid:
  9982. description: 区域
  9983. type: integer
  9984. districtname:
  9985. description: 地区名称
  9986. type: string
  9987. email:
  9988. description: 邮件
  9989. type: string
  9990. legalpersonname:
  9991. description: 法人姓名(企业)
  9992. type: string
  9993. logincode:
  9994. description: 登录账号(代码)
  9995. type: string
  9996. memberuserid:
  9997. description: 所属机构ID(所属会员)
  9998. type: integer
  9999. memberusername:
  10000. description: 所属会员名称
  10001. type: string
  10002. mobile:
  10003. description: 手机号码
  10004. type: string
  10005. modifytime:
  10006. description: 修改时间
  10007. type: string
  10008. nickname:
  10009. description: 昵称
  10010. type: string
  10011. parentuserid:
  10012. description: 上级机构(所属机构)
  10013. type: integer
  10014. parentusername:
  10015. description: 所属机构名称
  10016. type: string
  10017. provinceid:
  10018. description: 省
  10019. type: integer
  10020. provincename:
  10021. description: 省名称
  10022. type: string
  10023. proxystatementurl:
  10024. description: 授权委托书
  10025. type: string
  10026. remark:
  10027. description: 备注
  10028. type: string
  10029. status:
  10030. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10031. type: integer
  10032. statusdesc:
  10033. description: 账户状态中文描述
  10034. type: string
  10035. taxpayernum:
  10036. description: 纳税人识别号
  10037. type: string
  10038. telphone:
  10039. description: 联系电话
  10040. type: string
  10041. userid:
  10042. description: 用户ID
  10043. type: integer
  10044. userinfotype:
  10045. description: 客户类型 1-个人 2-企业
  10046. type: integer
  10047. username:
  10048. description: 用户名称
  10049. type: string
  10050. type: object
  10051. models.QhjCustomerSignLog:
  10052. properties:
  10053. agreementcontent:
  10054. description: 协议内容
  10055. type: string
  10056. agreementid:
  10057. description: 协议ID
  10058. type: integer
  10059. agreementname:
  10060. description: 协议名称
  10061. type: string
  10062. agreementno:
  10063. description: 协议编号
  10064. type: string
  10065. agreementtype:
  10066. description: 协议类型 - 1:注册 2:登录 3:交易
  10067. type: integer
  10068. agreementversion:
  10069. description: 协议版本号
  10070. type: integer
  10071. createtime:
  10072. description: 创建时间
  10073. type: string
  10074. goodscode:
  10075. description: 商品代码
  10076. type: string
  10077. goodsid:
  10078. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10079. type: integer
  10080. goodsname:
  10081. description: 商品名称
  10082. type: string
  10083. logid:
  10084. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10085. type: integer
  10086. nodetype:
  10087. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10088. type: integer
  10089. signadressurl:
  10090. description: 签约文件地址
  10091. type: string
  10092. signtimestamp:
  10093. description: 签约状态时间戳
  10094. type: string
  10095. userid:
  10096. description: 客户ID
  10097. type: integer
  10098. username:
  10099. description: 客户名称
  10100. type: string
  10101. type: object
  10102. models.QhjCustomerSignStatus:
  10103. properties:
  10104. createtime:
  10105. description: 创建时间
  10106. type: string
  10107. goodscode:
  10108. description: 商品代码
  10109. type: string
  10110. goodsid:
  10111. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10112. type: integer
  10113. goodsname:
  10114. description: 商品名称
  10115. type: string
  10116. nodetype:
  10117. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10118. type: integer
  10119. signtimestamp:
  10120. description: 签约状态时间戳
  10121. type: string
  10122. tradedate:
  10123. description: 创建交易日(yyyyMMdd)
  10124. type: string
  10125. updatetime:
  10126. description: 更新时间
  10127. type: string
  10128. userid:
  10129. description: 客户ID
  10130. type: integer
  10131. username:
  10132. description: 客户名称
  10133. type: string
  10134. type: object
  10135. models.QhjMgrAccountOutInApply:
  10136. properties:
  10137. accountcode:
  10138. description: 资金账号
  10139. type: string
  10140. accountname:
  10141. description: 用户名称(名称)
  10142. type: string
  10143. accountpwd:
  10144. description: 资金密码
  10145. type: string
  10146. accountticket:
  10147. description: 最新账户服务流水号
  10148. type: string
  10149. amount:
  10150. description: 金额
  10151. type: number
  10152. applyremark:
  10153. description: 申请备注
  10154. type: string
  10155. applystatus:
  10156. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10157. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10158. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10159. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10160. type: integer
  10161. auditid:
  10162. description: 审核人
  10163. type: integer
  10164. audittime:
  10165. description: 审核时间
  10166. type: string
  10167. bank_apply_ticket:
  10168. description: 银行申请流水
  10169. type: string
  10170. bankaccountname:
  10171. description: 银行账户名
  10172. type: string
  10173. bankaccountno:
  10174. description: 银行卡号
  10175. type: string
  10176. bankid:
  10177. description: 银行编号
  10178. type: string
  10179. bankname:
  10180. description: 银行名称
  10181. type: string
  10182. bankticket:
  10183. description: 银行流水
  10184. type: string
  10185. branchbankid:
  10186. description: 银行支行号
  10187. type: string
  10188. branchbankname:
  10189. description: 银行支行名称
  10190. type: string
  10191. capamountout:
  10192. description: 出金(劣后本金) - 外部子账户
  10193. type: number
  10194. certificatephotourl:
  10195. description: 凭证地址
  10196. type: string
  10197. charge:
  10198. description: 手续费
  10199. type: number
  10200. checkerrorflag:
  10201. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10202. type: integer
  10203. currency:
  10204. description: 币种
  10205. type: string
  10206. cusbankid:
  10207. description: 托管银行编号
  10208. type: string
  10209. exchticket:
  10210. description: 银行服务流水号
  10211. type: string
  10212. executetype:
  10213. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10214. 7:外部子账户:入金 8:外部子账户:出金'
  10215. type: integer
  10216. extendinfo:
  10217. description: 扩展信息
  10218. type: string
  10219. extoperateid:
  10220. description: 交易服务流水号
  10221. type: integer
  10222. infamount:
  10223. description: 劣后金额(自有)
  10224. type: number
  10225. logincode:
  10226. description: 登录账号(账号)
  10227. type: string
  10228. netaddr:
  10229. description: 调转网址
  10230. type: string
  10231. priamount:
  10232. description: 优先金额(授信)
  10233. type: number
  10234. reauditid:
  10235. description: 复审人
  10236. type: integer
  10237. reauditremark:
  10238. description: 复审备注
  10239. type: string
  10240. reaudittime:
  10241. description: 复审时间
  10242. type: string
  10243. relatedorderid:
  10244. description: 三方关联ID
  10245. type: string
  10246. remark:
  10247. description: 备注
  10248. type: string
  10249. remark2:
  10250. description: 备注(失败原因)
  10251. type: string
  10252. soucreamount:
  10253. description: 原始出入金金额
  10254. type: number
  10255. soucrecurrencyid:
  10256. description: 原始出入金币种
  10257. type: integer
  10258. tradedate:
  10259. description: 交易日(yyyyMMdd)
  10260. type: string
  10261. updatetime:
  10262. description: 更新时间(申请时间)
  10263. type: string
  10264. userid:
  10265. description: 用户id
  10266. type: integer
  10267. userinfotype:
  10268. description: 账户类型 1-个人 2-企业
  10269. type: integer
  10270. type: object
  10271. models.QhjMgrBrokerApply:
  10272. properties:
  10273. applicantid:
  10274. description: 申请人
  10275. type: integer
  10276. applysrc:
  10277. description: 申请来源 - 1:管理端 2:终端
  10278. type: integer
  10279. applystatus:
  10280. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10281. type: integer
  10282. applytime:
  10283. description: 申请时间
  10284. type: string
  10285. auditorid:
  10286. description: 审核人
  10287. type: integer
  10288. auditremark:
  10289. description: 审核备注
  10290. type: string
  10291. auditsrc:
  10292. description: 审核来源 - 1:管理端 2:终端
  10293. type: integer
  10294. audittime:
  10295. description: 审核时间
  10296. type: string
  10297. audittradedate:
  10298. description: 审核交易日(yyyyMMdd)
  10299. type: string
  10300. brokerapplyid:
  10301. description: 申请ID(SEQ_BROKERAPPLY)
  10302. type: integer
  10303. cardbackphotourl:
  10304. description: 证件背面图片地址
  10305. type: string
  10306. cardfrontphotourl:
  10307. description: 证件正面图片地址
  10308. type: string
  10309. cardnum:
  10310. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10311. type: string
  10312. customername:
  10313. description: 姓名
  10314. type: string
  10315. filterstatus:
  10316. description: 筛选条件
  10317. type: string
  10318. logincode:
  10319. description: 登录代码
  10320. type: string
  10321. mobile:
  10322. description: 手机号码
  10323. type: string
  10324. parentuserid:
  10325. description: 所属机构id
  10326. type: integer
  10327. parentusername:
  10328. description: 所属机构名称
  10329. type: string
  10330. refereeuserid:
  10331. description: 推荐人id(经纪人)
  10332. type: integer
  10333. refernum:
  10334. description: 推荐码
  10335. type: string
  10336. remark:
  10337. description: 备注
  10338. type: string
  10339. subarealevelpath:
  10340. description: 层级路径
  10341. type: string
  10342. tradedate:
  10343. description: 交易日(yyyyMMdd)
  10344. type: string
  10345. userid:
  10346. description: 申请人用户ID
  10347. type: integer
  10348. userinfotype:
  10349. description: 用户类型 1-个人 2-企业
  10350. type: integer
  10351. username:
  10352. description: 用户名称
  10353. type: string
  10354. type: object
  10355. models.QhjMgrBrokerRewardReport:
  10356. properties:
  10357. createtime:
  10358. description: 创建时间(注册时间)
  10359. type: string
  10360. cycletime:
  10361. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10362. type: string
  10363. cycletype:
  10364. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10365. type: integer
  10366. directtotalnum:
  10367. description: 直推总人数【期末】
  10368. type: integer
  10369. indirecttotalnum:
  10370. description: 间推总人数【期末】
  10371. type: integer
  10372. mobile:
  10373. description: 电话号码
  10374. type: string
  10375. refereeuserid:
  10376. description: 推荐人id(经纪人id)
  10377. type: integer
  10378. refereeusername:
  10379. description: 推荐人名称(经纪人) 上级经纪人名称
  10380. type: string
  10381. refernum:
  10382. description: 推荐码
  10383. type: string
  10384. subarealevelpath:
  10385. description: 用户层级路径
  10386. type: string
  10387. todayrewardamount:
  10388. description: 奖励总金额【汇总】
  10389. type: number
  10390. updatetime:
  10391. description: 更新时间
  10392. type: string
  10393. userid:
  10394. description: 经纪人用户ID
  10395. type: integer
  10396. userinfotype:
  10397. description: 用户类型 1-个人 2-企业
  10398. type: integer
  10399. username:
  10400. description: 用户名称
  10401. type: string
  10402. type: object
  10403. models.QhjMgrContract:
  10404. properties:
  10405. contractconfirmtime:
  10406. description: 合同确认时间(时间)
  10407. type: string
  10408. currisklevel:
  10409. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10410. type: integer
  10411. decimalplace:
  10412. description: 商品报价小数位
  10413. type: integer
  10414. enumdicname:
  10415. description: 单位名称
  10416. type: string
  10417. goodscode:
  10418. description: 商品代码
  10419. type: string
  10420. goodsid:
  10421. description: 商品ID [5:融资单]
  10422. type: integer
  10423. goodsname:
  10424. description: 商品名称
  10425. type: string
  10426. goodunitid:
  10427. description: 商品单位id
  10428. type: integer
  10429. initmargin:
  10430. description: 初始保证金(首付款)
  10431. type: number
  10432. lenderamount:
  10433. description: 贷款金额(总额|订单总额)
  10434. type: number
  10435. logincode:
  10436. description: 账号(登录代码)
  10437. type: string
  10438. marginratio:
  10439. description: 保证金比率(首付比例)
  10440. type: number
  10441. mobile:
  10442. description: 电话号码(用户资料里的电话)
  10443. type: string
  10444. payamount:
  10445. description: 已付(已付货款)
  10446. type: number
  10447. reckonrecovermargin:
  10448. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10449. type: number
  10450. recoveredmargin:
  10451. description: 已追缴保证金
  10452. type: number
  10453. remainamount:
  10454. description: 合同剩余金额(融资额)
  10455. type: number
  10456. scfcontractid:
  10457. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10458. type: string
  10459. scfcontractstatus:
  10460. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10461. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10462. type: integer
  10463. scfcontracttype:
  10464. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10465. type: integer
  10466. totalinterest:
  10467. description: 已计总利息(利息)
  10468. type: number
  10469. tradedate:
  10470. description: 交易日
  10471. type: string
  10472. tradeprice:
  10473. description: 成交价格(成本价格)
  10474. type: number
  10475. userid:
  10476. description: 用户ID
  10477. type: integer
  10478. userinfotype:
  10479. description: 用户类型 1-个人 2-企业
  10480. type: integer
  10481. username:
  10482. description: 用户名称
  10483. type: string
  10484. wrqty:
  10485. description: 仓单数量(数量)
  10486. type: number
  10487. type: object
  10488. models.QhjMgrCustomer:
  10489. properties:
  10490. address:
  10491. description: 通讯地址
  10492. type: string
  10493. attachment1:
  10494. description: 附件1
  10495. type: string
  10496. audittime:
  10497. description: 审核时间
  10498. type: string
  10499. cardbackphotourl:
  10500. description: 证件反面图片地址
  10501. type: string
  10502. cardfrontphotourl:
  10503. description: 证件正面图片地址
  10504. type: string
  10505. cardnum:
  10506. description: 证件号码
  10507. type: string
  10508. cardtype:
  10509. description: 证件类型
  10510. type: integer
  10511. cardtypename:
  10512. description: 证件类型名称
  10513. type: string
  10514. cityid:
  10515. description: 市
  10516. type: integer
  10517. cityname:
  10518. description: 城市名称
  10519. type: string
  10520. contactname:
  10521. description: 联系人
  10522. type: string
  10523. countryid:
  10524. description: 国家
  10525. type: integer
  10526. countryname:
  10527. description: 国家名称
  10528. type: string
  10529. createtime:
  10530. description: 创建时间
  10531. type: string
  10532. customername:
  10533. description: 客户名称
  10534. type: string
  10535. districtid:
  10536. description: 区域
  10537. type: integer
  10538. districtname:
  10539. description: 地区名称
  10540. type: string
  10541. email:
  10542. description: 邮件
  10543. type: string
  10544. legalpersonname:
  10545. description: 法人姓名(企业)
  10546. type: string
  10547. logincode:
  10548. description: 登录账号(代码)
  10549. type: string
  10550. memberuserid:
  10551. description: 所属机构ID(所属会员)
  10552. type: integer
  10553. memberusername:
  10554. description: 所属会员名称
  10555. type: string
  10556. mobile:
  10557. description: 手机号码
  10558. type: string
  10559. modifytime:
  10560. description: 修改时间
  10561. type: string
  10562. nickname:
  10563. description: 昵称
  10564. type: string
  10565. parentuserid:
  10566. description: 上级机构(所属机构)
  10567. type: integer
  10568. parentusername:
  10569. description: 所属机构名称
  10570. type: string
  10571. provinceid:
  10572. description: 省
  10573. type: integer
  10574. provincename:
  10575. description: 省名称
  10576. type: string
  10577. proxystatementurl:
  10578. description: 授权委托书
  10579. type: string
  10580. querytype:
  10581. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10582. type: integer
  10583. remark:
  10584. description: 备注
  10585. type: string
  10586. status:
  10587. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10588. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10589. type: integer
  10590. statusdesc:
  10591. description: 账户状态中文描述
  10592. type: string
  10593. taxpayernum:
  10594. description: 纳税人识别号
  10595. type: string
  10596. telphone:
  10597. description: 联系电话
  10598. type: string
  10599. userid:
  10600. description: 用户ID
  10601. type: integer
  10602. userinfotype:
  10603. description: 客户类型 1-个人 2-企业
  10604. type: integer
  10605. username:
  10606. description: 用户名称
  10607. type: string
  10608. type: object
  10609. models.QhjMgrPositionRsp:
  10610. properties:
  10611. accountid:
  10612. description: 账号Id
  10613. type: integer
  10614. accountname:
  10615. description: 用户名称
  10616. type: string
  10617. agreeunit:
  10618. description: 合约乘数
  10619. type: number
  10620. averageprice:
  10621. description: 均价
  10622. type: number
  10623. avialqty:
  10624. description: 可用数量
  10625. type: number
  10626. decimalplace:
  10627. description: 报价小数位
  10628. type: integer
  10629. enumdicname:
  10630. description: 单位名称(商品)
  10631. type: string
  10632. frozenqty:
  10633. description: 冻结数量
  10634. type: number
  10635. goodscode:
  10636. description: 商品代码(内部)
  10637. type: string
  10638. goodsid:
  10639. description: 商品Id
  10640. type: integer
  10641. goodsname:
  10642. description: 商品名称
  10643. type: string
  10644. goodunitid:
  10645. description: 报价单位ID
  10646. type: integer
  10647. holderamount:
  10648. description: 金额
  10649. type: number
  10650. holderqty:
  10651. description: 持有数量
  10652. type: number
  10653. holdertype:
  10654. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10655. type: integer
  10656. logincode:
  10657. description: 登录代码(账户)
  10658. type: string
  10659. marketid:
  10660. description: 市场id
  10661. type: integer
  10662. qtydecimalplace:
  10663. description: 成交量小数位
  10664. type: integer
  10665. trademode:
  10666. description: 交易模式
  10667. type: integer
  10668. userid:
  10669. description: 用户id
  10670. type: integer
  10671. userinfotype:
  10672. description: 账户类型 1-个人 2-企业
  10673. type: integer
  10674. type: object
  10675. models.QhjMgrSubArea:
  10676. properties:
  10677. accountname:
  10678. description: 账户名称(机构名称)
  10679. type: string
  10680. memberuserid:
  10681. description: 所属会员ID
  10682. type: integer
  10683. parenttopuser:
  10684. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10685. type: string
  10686. parentuserid:
  10687. description: 所属机构ID
  10688. type: integer
  10689. rootuserid:
  10690. description: 根用户ID
  10691. type: string
  10692. subaccountlevel:
  10693. description: 子账户层数
  10694. type: integer
  10695. subarealevelpath:
  10696. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10697. type: string
  10698. userid:
  10699. description: 用户ID
  10700. type: integer
  10701. usertype:
  10702. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10703. type: integer
  10704. type: object
  10705. models.QhjMgrTradeDetailRsp:
  10706. properties:
  10707. accountid:
  10708. description: 资金账号
  10709. type: integer
  10710. accountname:
  10711. description: 用户名称
  10712. type: string
  10713. agreeunit:
  10714. description: 合约乘数
  10715. type: number
  10716. buyorsell:
  10717. description: 成交类型(方向) 0:买 1:卖
  10718. type: integer
  10719. decimalplace:
  10720. description: 报价小数位
  10721. type: integer
  10722. enumdicname:
  10723. description: 单位名称(商品)
  10724. type: string
  10725. goodscode:
  10726. description: 商品代码(内部)
  10727. type: string
  10728. goodsid:
  10729. description: 商品id
  10730. type: integer
  10731. goodsname:
  10732. description: 商品名称
  10733. type: string
  10734. goodunitid:
  10735. description: 报价单位ID
  10736. type: integer
  10737. logincode:
  10738. description: 登录代码(账户)
  10739. type: string
  10740. marketid:
  10741. description: 市场id
  10742. type: integer
  10743. orderid:
  10744. description: 关联委托单号
  10745. type: string
  10746. qtydecimalplace:
  10747. description: 成交量小数位
  10748. type: integer
  10749. tradeamount:
  10750. description: 金额
  10751. type: number
  10752. tradedate:
  10753. description: 交易日
  10754. type: string
  10755. tradeid:
  10756. description: 成交单号
  10757. type: string
  10758. trademode:
  10759. description: 交易模式
  10760. type: integer
  10761. tradeprice:
  10762. description: 价格
  10763. type: number
  10764. tradeqty:
  10765. description: 数量
  10766. type: number
  10767. tradetime:
  10768. description: 成交时间
  10769. type: string
  10770. userid:
  10771. description: 用户id
  10772. type: integer
  10773. userinfotype:
  10774. description: 账户类型 1-个人 2-企业
  10775. type: integer
  10776. type: object
  10777. models.QhjMgrTradeOrderDetailRsp:
  10778. properties:
  10779. accountid:
  10780. description: 资金账号
  10781. type: integer
  10782. accountname:
  10783. description: 用户名称
  10784. type: string
  10785. agreeunit:
  10786. description: 合约乘数
  10787. type: number
  10788. amount:
  10789. description: 金额
  10790. type: number
  10791. decimalplace:
  10792. description: 报价小数位
  10793. type: integer
  10794. enumdicname:
  10795. description: 单位名称(商品)
  10796. type: string
  10797. goodscode:
  10798. description: 商品代码(内部)
  10799. type: string
  10800. goodsid:
  10801. description: 商品id
  10802. type: integer
  10803. goodsname:
  10804. description: 商品名称
  10805. type: string
  10806. goodunitid:
  10807. description: 报价单位ID
  10808. type: integer
  10809. logincode:
  10810. description: 登录代码(账户)
  10811. type: string
  10812. marketid:
  10813. description: 市场id
  10814. type: integer
  10815. orderid:
  10816. description: 关联委托单号
  10817. type: string
  10818. orderprice:
  10819. description: 价格
  10820. type: number
  10821. orderqty:
  10822. description: 数量
  10823. type: number
  10824. orderstatus:
  10825. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10826. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10827. 16:成交失败违约(荷兰式竞拍专用)
  10828. type: integer
  10829. ordertime:
  10830. description: 委托时间
  10831. type: string
  10832. qtydecimalplace:
  10833. description: 成交量小数位
  10834. type: integer
  10835. tradedate:
  10836. description: 交易日
  10837. type: string
  10838. trademode:
  10839. description: 交易模式
  10840. type: integer
  10841. userid:
  10842. description: 用户id
  10843. type: integer
  10844. userinfotype:
  10845. description: 账户类型 1-个人 2-企业
  10846. type: integer
  10847. type: object
  10848. models.QhjMgrTradePayOrder:
  10849. properties:
  10850. accountname:
  10851. description: 用户名称
  10852. type: string
  10853. advanceratio:
  10854. description: 首付比率
  10855. type: number
  10856. agreeunit:
  10857. description: 合约乘数
  10858. type: number
  10859. buyaccountid:
  10860. description: 买方账号ID[报价币种]
  10861. type: integer
  10862. buyorderid:
  10863. description: 买方委托单号(关联单号)
  10864. type: string
  10865. createtime:
  10866. description: 创建时间
  10867. type: string
  10868. decimalplace:
  10869. description: 报价小数位
  10870. type: integer
  10871. enumdicname:
  10872. description: 单位名称(商品)
  10873. type: string
  10874. goodscode:
  10875. description: 商品代码(内部)
  10876. type: string
  10877. goodsid:
  10878. description: 商品ID
  10879. type: integer
  10880. goodsname:
  10881. description: 商品名称
  10882. type: string
  10883. goodunitid:
  10884. description: 报价单位ID
  10885. type: integer
  10886. logincode:
  10887. description: 登录代码(账户)
  10888. type: string
  10889. marketid:
  10890. description: 市场id
  10891. type: integer
  10892. offamount:
  10893. description: 优惠金额
  10894. type: number
  10895. operatetype:
  10896. description: 买委托操作类型 - 1:正常下单 16:融资买入
  10897. type: integer
  10898. payamount:
  10899. description: 支付金额(金额)
  10900. type: number
  10901. payflag:
  10902. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10903. type: integer
  10904. paylimitedtime:
  10905. description: 支付期限
  10906. type: string
  10907. paytime:
  10908. description: 付款时间
  10909. type: string
  10910. qtydecimalplace:
  10911. description: 成交量小数位
  10912. type: integer
  10913. sellaccountid:
  10914. description: 卖方账号ID[报价币种]
  10915. type: integer
  10916. sellorderid:
  10917. description: 卖方委托单号
  10918. type: string
  10919. tradeamount:
  10920. description: 成交金额(优惠后金额)
  10921. type: number
  10922. tradecharge:
  10923. description: 成交手续费(买方)
  10924. type: number
  10925. tradedate:
  10926. description: 交易日(yyyyMMdd)
  10927. type: string
  10928. tradeid:
  10929. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10930. type: string
  10931. trademode:
  10932. description: 交易模式
  10933. type: integer
  10934. tradeprice:
  10935. description: 成交价格(价格)
  10936. type: number
  10937. tradeqty:
  10938. description: 成交数量(数量)
  10939. type: number
  10940. tradetime:
  10941. description: 成交时间
  10942. type: string
  10943. userid:
  10944. description: 用户id
  10945. type: integer
  10946. userinfotype:
  10947. description: 账户类型 1-个人 2-企业
  10948. type: integer
  10949. type: object
  10950. models.QhjMyTeam:
  10951. properties:
  10952. accountname:
  10953. description: 用户名称
  10954. type: string
  10955. accountstatus:
  10956. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10957. type: integer
  10958. createtime:
  10959. description: 创建时间
  10960. type: string
  10961. mobile:
  10962. description: 手机号码
  10963. type: string
  10964. refereeuserid:
  10965. description: 推荐人id
  10966. type: integer
  10967. refernum:
  10968. description: 推荐码
  10969. type: string
  10970. userid:
  10971. description: 用户id
  10972. type: integer
  10973. userinfotype:
  10974. description: 用户类型 1-个人 2-企业
  10975. type: integer
  10976. type: object
  10977. models.QhjNodeAgreementConfig:
  10978. properties:
  10979. agreementcontent:
  10980. description: 协议内容
  10981. type: string
  10982. agreementid:
  10983. description: 协议ID
  10984. type: integer
  10985. agreementname:
  10986. description: 协议名称
  10987. type: string
  10988. agreementno:
  10989. description: 协议编号
  10990. type: string
  10991. agreementtype:
  10992. description: 协议类型 - 1:注册 2:登录 3:交易
  10993. type: integer
  10994. agreementversion:
  10995. description: 协议版本号
  10996. type: integer
  10997. configid:
  10998. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  10999. type: integer
  11000. createtime:
  11001. description: 创建时间
  11002. type: string
  11003. goodsid:
  11004. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11005. type: integer
  11006. nodetype:
  11007. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11008. type: integer
  11009. type: object
  11010. models.QhjParentAreaList:
  11011. properties:
  11012. accountname:
  11013. description: 账户名称(机构名称)
  11014. type: string
  11015. userid:
  11016. description: 用户ID
  11017. type: integer
  11018. usertype:
  11019. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11020. type: integer
  11021. type: object
  11022. models.QhjPayOrder:
  11023. properties:
  11024. advanceratio:
  11025. description: 首付比率
  11026. type: number
  11027. buyaccountid:
  11028. description: 买方账号ID[报价币种]
  11029. type: integer
  11030. buyorderid:
  11031. description: 买方委托单号
  11032. type: string
  11033. createtime:
  11034. description: 创建时间
  11035. type: string
  11036. decimalplace:
  11037. description: 商品报价小数位
  11038. type: integer
  11039. enumdicname:
  11040. description: 单位名称
  11041. type: string
  11042. goodscode:
  11043. description: 商品代码
  11044. type: string
  11045. goodsid:
  11046. description: 商品ID
  11047. type: integer
  11048. goodsname:
  11049. description: 商品名称
  11050. type: string
  11051. goodunitid:
  11052. description: 商品单位id
  11053. type: integer
  11054. marketid:
  11055. description: 市场ID
  11056. type: integer
  11057. offamount:
  11058. description: 优惠金额
  11059. type: number
  11060. operatetype:
  11061. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11062. type: integer
  11063. payamount:
  11064. description: 支付金额
  11065. type: number
  11066. payflag:
  11067. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11068. type: integer
  11069. paylimitedtime:
  11070. description: 支付期限
  11071. type: string
  11072. paytime:
  11073. description: 付款时间
  11074. type: string
  11075. qtydecimalplace:
  11076. description: 成交量小数位
  11077. type: integer
  11078. sellaccountid:
  11079. description: 卖方账号ID[报价币种]
  11080. type: integer
  11081. sellorderid:
  11082. description: 卖方委托单号
  11083. type: string
  11084. tradeamount:
  11085. description: 成交金额(优惠后金额)
  11086. type: number
  11087. tradecharge:
  11088. description: 成交手续费(买方)
  11089. type: number
  11090. tradedate:
  11091. description: 交易日(yyyyMMdd)
  11092. type: string
  11093. tradeid:
  11094. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11095. type: string
  11096. tradeprice:
  11097. description: 成交价格
  11098. type: number
  11099. tradeqty:
  11100. description: 成交数量
  11101. type: number
  11102. type: object
  11103. models.QhjPickArea:
  11104. properties:
  11105. address:
  11106. description: 详细地址
  11107. type: string
  11108. cityid:
  11109. description: 市
  11110. type: integer
  11111. cityname:
  11112. description: 城市名称
  11113. type: string
  11114. countryid:
  11115. description: 国家
  11116. type: integer
  11117. countryname:
  11118. description: 国家名称
  11119. type: string
  11120. districtid:
  11121. description: 地区
  11122. type: integer
  11123. districtname:
  11124. description: 地区名称
  11125. type: string
  11126. fromuserid:
  11127. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11128. type: integer
  11129. fromusername:
  11130. description: 所属机构名称
  11131. type: string
  11132. provinceid:
  11133. description: 省
  11134. type: integer
  11135. provincename:
  11136. description: 省名称
  11137. type: string
  11138. suborgtype:
  11139. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11140. type: integer
  11141. userid:
  11142. description: 机构用户ID 其他做市关系,都设置为 1
  11143. type: integer
  11144. username:
  11145. description: 机构用户名称(门店门称)
  11146. type: string
  11147. type: object
  11148. models.QhjPickGoods:
  11149. properties:
  11150. enumdicname:
  11151. description: 单位名称(提货商品)
  11152. type: string
  11153. goodsid:
  11154. description: 商品id
  11155. type: integer
  11156. imageaddress:
  11157. description: 图片
  11158. type: string
  11159. modifierid:
  11160. description: 修改人
  11161. type: integer
  11162. modifiername:
  11163. description: 修改人名称
  11164. type: string
  11165. modifysrc:
  11166. description: 修改来源 - 1:管理端 2:终端
  11167. type: integer
  11168. pickupgoodsagreeunit:
  11169. description: 合约乘数
  11170. type: number
  11171. pickupgoodsdesc:
  11172. description: 描述
  11173. type: string
  11174. pickupgoodsid:
  11175. description: 提货商品ID
  11176. type: string
  11177. pickupgoodsname:
  11178. description: 提货商品名称
  11179. type: string
  11180. pickupgoodsstatus:
  11181. description: 状态 - 1:正常 2:停用 3:注销
  11182. type: integer
  11183. pickupgoodsunitid:
  11184. description: 单位ID
  11185. type: integer
  11186. pickupratio:
  11187. description: 提货系数
  11188. type: number
  11189. preparedays:
  11190. description: 备货期(天)
  11191. type: integer
  11192. remark:
  11193. description: 备注
  11194. type: string
  11195. updatetime:
  11196. description: 更新时间
  11197. type: string
  11198. type: object
  11199. models.QhjRSTriggerLog:
  11200. properties:
  11201. accountid:
  11202. description: 用户资金账户
  11203. type: integer
  11204. accountname:
  11205. description: 账号名称(ACCOUNTID对应的名称)
  11206. type: string
  11207. currencyid:
  11208. description: 币种id
  11209. type: integer
  11210. currencyname:
  11211. description: 币种名称
  11212. type: string
  11213. decimalplace:
  11214. description: 商品报价小数位
  11215. type: integer
  11216. enumdicname:
  11217. description: 单位名称
  11218. type: string
  11219. goodscode:
  11220. description: 定投商品代码
  11221. type: string
  11222. goodsid:
  11223. description: 定投商品ID
  11224. type: integer
  11225. goodsname:
  11226. description: 定投商品名称
  11227. type: string
  11228. goodunitid:
  11229. description: 定投商品单位id
  11230. type: integer
  11231. logid:
  11232. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11233. type: string
  11234. logincode:
  11235. description: 账号(登录代码)
  11236. type: string
  11237. qtydecimalplace:
  11238. description: 成交量小数位
  11239. type: integer
  11240. regularlycycle:
  11241. description: 定投频率 - 1:每周 2:每月
  11242. type: integer
  11243. regularlycyclevalue:
  11244. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11245. type: string
  11246. regularlymode:
  11247. description: 定投方式 - 1:按数量 2:按金额
  11248. type: integer
  11249. regularlymodevalue:
  11250. description: 定投方式值 - 数量或金额
  11251. type: number
  11252. regularlystrategyid:
  11253. description: 定投策略ID
  11254. type: integer
  11255. retcode:
  11256. description: 错误码
  11257. type: string
  11258. tradeid:
  11259. description: 成交单ID
  11260. type: string
  11261. triggeramount:
  11262. description: 触发金额
  11263. type: number
  11264. triggerqty:
  11265. description: 触发数量
  11266. type: number
  11267. triggerstatus:
  11268. description: 触发状态 - 1:成功 2:失败
  11269. type: integer
  11270. triggertime:
  11271. description: 触发时间
  11272. type: string
  11273. triggertradedate:
  11274. description: 触发交易日
  11275. type: string
  11276. userid:
  11277. description: 所属用户ID
  11278. type: integer
  11279. userinfotype:
  11280. description: 用户类型 1-个人 2-企业
  11281. type: integer
  11282. username:
  11283. description: 用户名称(userid对应的名称)
  11284. type: string
  11285. type: object
  11286. models.QhjRStrategy:
  11287. properties:
  11288. accountid:
  11289. description: 用户资金账户
  11290. type: integer
  11291. accountname:
  11292. description: 账号名称(ACCOUNTID对应的名称)
  11293. type: string
  11294. currencyid:
  11295. description: 币种id
  11296. type: integer
  11297. currencyname:
  11298. description: 币种名称
  11299. type: string
  11300. decimalplace:
  11301. description: 商品报价小数位
  11302. type: integer
  11303. enumdicname:
  11304. description: 单位名称
  11305. type: string
  11306. goodscode:
  11307. description: 定投商品代码
  11308. type: string
  11309. goodsid:
  11310. description: 定投商品ID
  11311. type: integer
  11312. goodsname:
  11313. description: 定投商品名称
  11314. type: string
  11315. goodunitid:
  11316. description: 定投商品单位id
  11317. type: integer
  11318. lasteffecttradedate:
  11319. description: 最新生效交易日
  11320. type: string
  11321. laststoptradedate:
  11322. description: 最新暂停交易日
  11323. type: string
  11324. lasttriggertradedate:
  11325. description: 最新触发交易日
  11326. type: string
  11327. logincode:
  11328. description: 账号(登录代码)
  11329. type: string
  11330. nexttriggeramount:
  11331. description: 下次触发金额
  11332. type: number
  11333. nexttriggerdate:
  11334. description: 下次触发日期
  11335. type: string
  11336. nexttriggerqty:
  11337. description: 下次触发数量 [按小数位放大值]
  11338. type: number
  11339. qtydecimalplace:
  11340. description: 成交量小数位
  11341. type: integer
  11342. regularlycycle:
  11343. description: 定投频率 - 1:每周 2:每月
  11344. type: integer
  11345. regularlycyclevalue:
  11346. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11347. type: string
  11348. regularlymode:
  11349. description: 定投方式 - 1:按数量 2:按金额
  11350. type: integer
  11351. regularlymodevalue:
  11352. description: 定投方式值 - 数量或金额
  11353. type: number
  11354. regularlystrategyid:
  11355. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11356. type: integer
  11357. regularlystrategystatus:
  11358. description: 策略状态 - 1:正常 2:暂停 3:终止
  11359. type: integer
  11360. remark:
  11361. description: 备注
  11362. type: string
  11363. triggersuccesstimes:
  11364. description: 累计定投成功次数
  11365. type: string
  11366. triggertotalamount:
  11367. description: 累计定投金额(成功)
  11368. type: number
  11369. triggertotalqty:
  11370. description: 累计定投数量(成功) [按小数位放大值]
  11371. type: number
  11372. triggertotaltimes:
  11373. description: 累计定投总次数
  11374. type: string
  11375. updatesrc:
  11376. description: 更新来源 - 1:管理端 2:终端
  11377. type: integer
  11378. updatetime:
  11379. description: 更新时间
  11380. type: string
  11381. updatorid:
  11382. description: 更新人
  11383. type: string
  11384. userid:
  11385. description: 所属用户ID
  11386. type: integer
  11387. userinfotype:
  11388. description: 用户类型 1-个人 2-企业
  11389. type: integer
  11390. username:
  11391. description: 用户名称(userid对应的名称)
  11392. type: string
  11393. type: object
  11394. models.QhjReckonPriceLog:
  11395. properties:
  11396. decimalplace:
  11397. description: 商品报价小数位
  11398. type: integer
  11399. goodscode:
  11400. description: 商品代码
  11401. type: string
  11402. goodsid:
  11403. description: 商品ID
  11404. type: integer
  11405. goodsname:
  11406. description: 商品名称
  11407. type: string
  11408. lastreckonprice:
  11409. description: 上日结算价
  11410. type: number
  11411. nextdnlimitprice:
  11412. description: 下个交易日跌停价
  11413. type: number
  11414. nexttrade:
  11415. description: 下个交易日
  11416. type: string
  11417. nextuplimitprice:
  11418. description: 下个交易日涨停价
  11419. type: number
  11420. reckonprice:
  11421. description: 今日结算价(定投价)
  11422. type: number
  11423. reckontime:
  11424. description: 结算时间
  11425. type: string
  11426. totalholderqty:
  11427. description: 总持仓数
  11428. type: integer
  11429. totalstock:
  11430. description: 总库存
  11431. type: integer
  11432. tradedate:
  11433. description: 交易日
  11434. type: string
  11435. updowncount:
  11436. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11437. type: integer
  11438. updownflag:
  11439. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11440. type: integer
  11441. updownrate:
  11442. description: 今日涨跌幅
  11443. type: number
  11444. updownrate_2d:
  11445. description: 连续两日涨跌幅
  11446. type: number
  11447. updownrate_3d:
  11448. description: 连续三日涨跌幅
  11449. type: number
  11450. type: object
  11451. models.QhjSiteColumnDetail:
  11452. properties:
  11453. author:
  11454. description: 作者
  11455. type: string
  11456. brief:
  11457. description: 简介
  11458. type: string
  11459. columnid:
  11460. description: 所属栏目
  11461. type: integer
  11462. context:
  11463. description: 内容
  11464. type: string
  11465. coverimage:
  11466. description: 封面图片
  11467. type: string
  11468. creaedate:
  11469. description: 创建时间
  11470. type: string
  11471. creatorid:
  11472. description: 创建人
  11473. type: integer
  11474. hits:
  11475. description: 点击数
  11476. type: integer
  11477. id:
  11478. description: ID(SEQ_SITE_COLUMNDETAIL)
  11479. type: integer
  11480. isshow:
  11481. description: 是否展示 - 0:不展示 1:展示
  11482. type: integer
  11483. istop:
  11484. description: 是否置顶 - 0:不置 1:置顶
  11485. type: integer
  11486. modifierid:
  11487. description: 操作人
  11488. type: integer
  11489. publishdate:
  11490. description: 发布日期
  11491. type: string
  11492. status:
  11493. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11494. type: integer
  11495. title:
  11496. description: 标题
  11497. type: string
  11498. updatedate:
  11499. description: 修改时间
  11500. type: string
  11501. userid:
  11502. description: 用户ID(默认为0, 核心为为机构用户ID)
  11503. type: integer
  11504. username:
  11505. description: 用户名称
  11506. type: string
  11507. type: object
  11508. models.QhjTeamOrder:
  11509. properties:
  11510. accountid:
  11511. description: 账户ID[报价币种]
  11512. type: integer
  11513. accountname:
  11514. description: 账户名称
  11515. type: string
  11516. agreeunit:
  11517. description: 合约乘数
  11518. type: number
  11519. buyorsell:
  11520. description: 方向 - 0:买 1:卖
  11521. type: integer
  11522. decimalplace:
  11523. description: 报价小数位
  11524. type: integer
  11525. enumdicname:
  11526. description: 单位名称
  11527. type: string
  11528. goodscode:
  11529. description: 商品代码(内部)
  11530. type: string
  11531. goodsid:
  11532. description: 商品ID
  11533. type: integer
  11534. goodsname:
  11535. description: 商品名称
  11536. type: string
  11537. goodunitid:
  11538. description: 报价单位ID
  11539. type: integer
  11540. marketid:
  11541. description: 市场ID
  11542. type: integer
  11543. marketname:
  11544. description: 市场名称
  11545. type: string
  11546. qtydecimalplace:
  11547. description: 成交量小数位
  11548. type: integer
  11549. refereeuserid:
  11550. description: 推荐人ID
  11551. type: integer
  11552. tradeamount:
  11553. description: 成交金额[账户币种,用于所有权]
  11554. type: number
  11555. tradedate:
  11556. description: 交易日(yyyyMMdd)
  11557. type: string
  11558. trademode:
  11559. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11560. 21:竞拍-大宗式 22:受托竞价
  11561. type: integer
  11562. tradeprice:
  11563. description: 成交价格
  11564. type: number
  11565. tradeqty:
  11566. description: 成交数量
  11567. type: number
  11568. tradetime:
  11569. description: 成交时间
  11570. type: string
  11571. userid:
  11572. description: 用户ID
  11573. type: integer
  11574. type: object
  11575. models.QhjTradeGoodsPickup:
  11576. properties:
  11577. accountid:
  11578. description: 账户ID
  11579. type: integer
  11580. address:
  11581. description: 提货人详细地址
  11582. type: string
  11583. amount:
  11584. description: 提货金额
  11585. type: number
  11586. artradedate:
  11587. description: 自动收货交易日(yyyyMMdd)
  11588. type: string
  11589. auditer:
  11590. description: 审核人
  11591. type: integer
  11592. auditsrc:
  11593. description: 更新来源 - 1:管理端 2:终端
  11594. type: integer
  11595. audittime:
  11596. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11597. type: string
  11598. audittradedate:
  11599. description: 审核交易日(yyyyMMdd)
  11600. type: string
  11601. cardnum:
  11602. description: 提货人证件号码
  11603. type: string
  11604. cardtypeid:
  11605. description: 提货人证件类型
  11606. type: integer
  11607. checkremark:
  11608. description: 审核备注
  11609. type: string
  11610. cityid:
  11611. description: 市
  11612. type: integer
  11613. cityname:
  11614. description: 城市名称
  11615. type: string
  11616. confirmtime:
  11617. description: 取货时间 或 收货时间
  11618. type: string
  11619. countryid:
  11620. description: 国家
  11621. type: integer
  11622. countryname:
  11623. description: 国家名称
  11624. type: string
  11625. decimalplace:
  11626. description: 商品报价小数位
  11627. type: integer
  11628. districtid:
  11629. description: 地区
  11630. type: integer
  11631. districtname:
  11632. description: 地区名称
  11633. type: string
  11634. enumdicname:
  11635. description: 单位名称(提货商品)
  11636. type: string
  11637. expresscompany:
  11638. description: 物流公司
  11639. type: string
  11640. expressnum:
  11641. description: 物流单号
  11642. type: string
  11643. goodsagreeunit:
  11644. description: 交易商品乘数
  11645. type: number
  11646. goodscode:
  11647. description: 商品代码
  11648. type: string
  11649. goodsid:
  11650. description: 商品ID
  11651. type: integer
  11652. goodsname:
  11653. description: 商品名称
  11654. type: string
  11655. goodsqty:
  11656. description: 交易商品手数(69模式按成交量小数位放大取整)
  11657. type: number
  11658. handlestatus:
  11659. description: 处理状态
  11660. type: integer
  11661. logincode:
  11662. description: 账号(登录代码, 有可能为空)
  11663. type: string
  11664. marketid:
  11665. description: 市场ID
  11666. type: integer
  11667. phonenum:
  11668. description: 提货人联系方式
  11669. type: string
  11670. pickupgoodsagreeunit:
  11671. description: 提货商品合约乘数
  11672. type: number
  11673. pickupgoodsid:
  11674. description: 提货商品ID
  11675. type: string
  11676. pickupgoodsname:
  11677. description: 提货商品名称
  11678. type: string
  11679. pickupgoodsqty:
  11680. description: 提货商品手数(数量)
  11681. type: number
  11682. pickupgoodsunitid:
  11683. description: 单位ID(提货商品)
  11684. type: integer
  11685. pickupratio:
  11686. description: 提货系数
  11687. type: number
  11688. preparedays:
  11689. description: 备货期(天)-提货单明细表
  11690. type: integer
  11691. provinceid:
  11692. description: 省
  11693. type: integer
  11694. provincename:
  11695. description: 省名称
  11696. type: string
  11697. qty:
  11698. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  11699. type: number
  11700. qtydecimalplace:
  11701. description: 商品数量小数位
  11702. type: integer
  11703. recivername:
  11704. description: 提货人姓名
  11705. type: string
  11706. reqtime:
  11707. description: 提货申请时间
  11708. type: string
  11709. storeuserid:
  11710. description: 门店用户ID (千海金)
  11711. type: integer
  11712. storeusername:
  11713. description: 门店用户名称
  11714. type: string
  11715. takemode:
  11716. description: 提货方式 - 2:自提 3:配送(邮寄)
  11717. type: integer
  11718. takeorderid:
  11719. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11720. type: string
  11721. takeorderstatus:
  11722. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  11723. 7:已拒绝 8:已撤销
  11724. type: integer
  11725. takeremark:
  11726. description: 提货备注
  11727. type: string
  11728. tradedate:
  11729. description: 交易日(yyyyMMdd)
  11730. type: string
  11731. updatetime:
  11732. description: 更新时间
  11733. type: string
  11734. userid:
  11735. description: 用户ID
  11736. type: integer
  11737. userinfotype:
  11738. description: 客户类型 1-个人 2-企业
  11739. type: integer
  11740. username:
  11741. description: 用户名称
  11742. type: string
  11743. type: object
  11744. models.QhjUserNodeCfgAndStatus:
  11745. properties:
  11746. agreementcontent:
  11747. description: 协议内容
  11748. type: string
  11749. agreementid:
  11750. description: 协议ID
  11751. type: integer
  11752. agreementname:
  11753. description: 协议名称
  11754. type: string
  11755. agreementno:
  11756. description: 协议编号
  11757. type: string
  11758. agreementtype:
  11759. description: 协议类型 - 1:注册 2:登录 3:交易
  11760. type: integer
  11761. agreementversion:
  11762. description: 协议版本号
  11763. type: integer
  11764. configid:
  11765. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11766. type: integer
  11767. createtime:
  11768. description: 创建时间
  11769. type: string
  11770. goodsid:
  11771. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11772. type: integer
  11773. nodetype:
  11774. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11775. type: integer
  11776. signtimestamp:
  11777. description: 签约状态时间戳(最近一次)
  11778. type: string
  11779. tradedate:
  11780. description: 签约交易日(yyyyMMdd)
  11781. type: string
  11782. userid:
  11783. description: 客户ID
  11784. type: integer
  11785. type: object
  11786. models.Qhjgoodsex:
  11787. properties:
  11788. canfinance:
  11789. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  11790. type: integer
  11791. canregularlybuy:
  11792. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  11793. type: integer
  11794. defaulttradeuserid:
  11795. description: 默认交易用户ID
  11796. type: integer
  11797. deliverygoodsid:
  11798. description: 现货品种ID
  11799. type: integer
  11800. goodsid:
  11801. description: 商品ID(自增ID SEQ_GOODS)
  11802. type: integer
  11803. minamount:
  11804. description: 最小购买金额
  11805. type: number
  11806. regularlybuyminamount:
  11807. description: 定投最小金额
  11808. type: number
  11809. regularlybuyminqty:
  11810. description: 定投最小数量
  11811. type: number
  11812. spotgoodsbrandid:
  11813. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  11814. type: integer
  11815. visibilityforenterprise:
  11816. description: 企业客户是否可见 - 0:不可见 1:可见
  11817. type: integer
  11818. visibilityforpersonal:
  11819. description: 个人客户是否可见 - 0:不可见 1:可见
  11820. type: integer
  11821. wrstandardid:
  11822. description: 现货商品ID
  11823. type: integer
  11824. type: object
  11825. models.QueryErrorInfosRsp:
  11826. properties:
  11827. description:
  11828. description: 异常描述
  11829. type: string
  11830. errorcode:
  11831. description: 异常代码
  11832. type: string
  11833. errorid:
  11834. description: 异常ID
  11835. type: integer
  11836. modulecode:
  11837. description: 所属模块
  11838. type: string
  11839. operatecode:
  11840. description: 所属操作
  11841. type: string
  11842. rownumber:
  11843. description: 行号
  11844. type: string
  11845. required:
  11846. - errorid
  11847. type: object
  11848. models.QueryHedgeOrderDetailRsp:
  11849. properties:
  11850. accountid:
  11851. description: 账户ID
  11852. type: integer
  11853. buyorsell:
  11854. description: 买卖 - 0:买 1:卖
  11855. type: integer
  11856. cancellogincode:
  11857. description: 撤单人
  11858. type: string
  11859. channelbuildtype:
  11860. description: 开平标志 - 0:无 1:建仓 2:平仓
  11861. type: integer
  11862. channelinnerorderstatus:
  11863. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  11864. 9:全部成交
  11865. type: integer
  11866. channeloperatetype:
  11867. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  11868. type: integer
  11869. closetype:
  11870. description: 平仓方式 - 0:无 1:平今 2:平昨
  11871. type: integer
  11872. curexchangerate:
  11873. description: 当前汇率
  11874. type: number
  11875. exchangefullname:
  11876. description: 外部交易所全称
  11877. type: string
  11878. goodscode:
  11879. description: 商品代码(内部)
  11880. type: string
  11881. goodsid:
  11882. description: 商品ID
  11883. type: integer
  11884. goodsname:
  11885. description: 商品名称
  11886. type: string
  11887. marketid:
  11888. description: 市场ID
  11889. type: integer
  11890. openfreezemargin:
  11891. description: 冻结保证金(冻结交易金额)
  11892. type: number
  11893. orderid:
  11894. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11895. type: string
  11896. orderlogincode:
  11897. description: 委托人
  11898. type: string
  11899. orderprice:
  11900. description: 委托价格(账户)
  11901. type: number
  11902. orderqty:
  11903. description: 委托数量
  11904. type: integer
  11905. ordertime:
  11906. description: 委托时间
  11907. type: string
  11908. pricemode:
  11909. description: '取价方式 - 1:市价 2: 限价'
  11910. type: integer
  11911. tradedate:
  11912. description: 交易日(yyyyMMdd)
  11913. type: string
  11914. tradeqty:
  11915. description: 成交数量
  11916. type: integer
  11917. type: object
  11918. models.QueryHedgeTradeDetailRsp:
  11919. properties:
  11920. accountid:
  11921. description: 账号ID
  11922. type: integer
  11923. buyorsell:
  11924. description: 方向 - 0:买 1:卖
  11925. type: integer
  11926. channelbuildtype:
  11927. description: 委托单据类型 0:无 1:建仓 2:平仓
  11928. type: integer
  11929. closecharge:
  11930. description: 平仓手续费(账户)
  11931. type: number
  11932. closecharge2:
  11933. description: 平仓手续费(商品)
  11934. type: number
  11935. closepl:
  11936. description: 平仓盈亏(账户)
  11937. type: number
  11938. closepl2:
  11939. description: 平仓盈亏(商品)
  11940. type: number
  11941. closepl3:
  11942. description: 平仓盈亏(账户)(逐笔)
  11943. type: number
  11944. closepl4:
  11945. description: 平仓盈亏(商品)(逐笔)
  11946. type: number
  11947. closetype:
  11948. description: 平仓方式 - 0:无 1:平今 2:平昨
  11949. type: integer
  11950. curexchangerate:
  11951. description: 当前汇率
  11952. type: number
  11953. exchangefullname:
  11954. description: 外部交易所全称
  11955. type: string
  11956. goodscode:
  11957. description: 商品代码(内部)
  11958. type: string
  11959. goodsid:
  11960. description: 商品ID
  11961. type: integer
  11962. goodsname:
  11963. description: 商品名称
  11964. type: string
  11965. marketid:
  11966. description: 市场ID
  11967. type: integer
  11968. opencharge:
  11969. description: 建仓手续费(账户)
  11970. type: number
  11971. opencharge2:
  11972. description: 建仓手续费(商品)
  11973. type: number
  11974. orderid:
  11975. description: 委托单号
  11976. type: string
  11977. orderlogincode:
  11978. description: 委托人
  11979. type: string
  11980. tradeamount:
  11981. description: 成交金额(账户)
  11982. type: number
  11983. tradedate:
  11984. description: 交易日(yyyyMMdd)
  11985. type: string
  11986. tradeid:
  11987. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11988. type: string
  11989. tradeprice:
  11990. description: 成交价格
  11991. type: number
  11992. tradeqty:
  11993. description: 成交数量
  11994. type: integer
  11995. tradetime:
  11996. description: 成交时间
  11997. type: string
  11998. tradetype:
  11999. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12000. type: integer
  12001. type: object
  12002. models.QuotePrimaryMenu:
  12003. properties:
  12004. Index:
  12005. description: 序号
  12006. type: integer
  12007. Key:
  12008. description: 键名
  12009. type: string
  12010. Name:
  12011. description: 菜单名称
  12012. type: string
  12013. SubMenus:
  12014. description: 子菜单
  12015. items:
  12016. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12017. type: array
  12018. SubTitleType:
  12019. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12020. type: integer
  12021. TradeModes:
  12022. description: 包含市场交易类型
  12023. type: string
  12024. type: object
  12025. models.QuoteSecondaryMenu:
  12026. properties:
  12027. ExExchangeCode:
  12028. description: 外部交易所代码
  12029. type: string
  12030. ExExchangeID:
  12031. description: 外部交易所ID
  12032. type: integer
  12033. GoodsGroupIDs:
  12034. description: 商品组ID列表
  12035. items:
  12036. type: integer
  12037. type: array
  12038. Index:
  12039. description: 序号
  12040. type: integer
  12041. MarketID:
  12042. description: 市场ID
  12043. type: integer
  12044. MenuTitle:
  12045. description: 菜单标题(市场名称或外部交易所名称)
  12046. type: string
  12047. TradeMode:
  12048. description: 交易模式
  12049. type: integer
  12050. type: object
  12051. models.SearchGoods:
  12052. properties:
  12053. goodscode:
  12054. description: 商品代码(内部)
  12055. type: string
  12056. goodsid:
  12057. description: 商品ID(自增ID SEQ_GOODS)
  12058. type: integer
  12059. goodsname:
  12060. description: 商品名称
  12061. type: string
  12062. marketid:
  12063. description: 所属市场ID
  12064. type: integer
  12065. marketname:
  12066. description: 市场名称
  12067. type: string
  12068. trademode:
  12069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12070. 21:竞拍-大宗式 22:受托竞价
  12071. type: integer
  12072. required:
  12073. - goodscode
  12074. - goodsid
  12075. - goodsname
  12076. - marketid
  12077. - trademode
  12078. type: object
  12079. models.Systemparam:
  12080. properties:
  12081. loginid:
  12082. description: 更新用户账号,登录账号
  12083. type: string
  12084. modifyflag:
  12085. description: 修改标志0 不允许修改 1 允许修改
  12086. type: integer
  12087. paramcode:
  12088. description: 参数代码
  12089. type: string
  12090. paramname:
  12091. description: 参数名
  12092. type: string
  12093. paramtype:
  12094. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12095. type: integer
  12096. paramvalue:
  12097. description: 参数值
  12098. type: string
  12099. paramvalue2:
  12100. description: 参数值(CLOB)
  12101. type: string
  12102. regexpress:
  12103. description: 正则表达式
  12104. type: string
  12105. remark:
  12106. description: 备注
  12107. type: string
  12108. serverip:
  12109. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12110. type: string
  12111. showflag:
  12112. description: 是否显示0 不显示 1 显示
  12113. type: integer
  12114. updatetime:
  12115. description: 更新时间
  12116. type: string
  12117. userid:
  12118. description: 更新用户ID
  12119. type: integer
  12120. required:
  12121. - paramcode
  12122. type: object
  12123. models.Szdz3convertconfig:
  12124. properties:
  12125. canin:
  12126. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12127. type: integer
  12128. canout:
  12129. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12130. type: integer
  12131. converttype:
  12132. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12133. 6:交易转花生米(不设置)
  12134. type: integer
  12135. createtime:
  12136. description: 创建时间
  12137. type: string
  12138. creatorid:
  12139. description: 创建人
  12140. type: integer
  12141. daymaxvalue:
  12142. description: 当日最大转入限制
  12143. type: number
  12144. freezedays:
  12145. description: 冻结天数 [5:花生米转交易]
  12146. type: integer
  12147. innergoodsid:
  12148. description: 内部商品ID[交易]
  12149. type: integer
  12150. inratio:
  12151. description: 目标值
  12152. type: integer
  12153. modifierid:
  12154. description: 修改人
  12155. type: integer
  12156. modifytime:
  12157. description: 修改时间
  12158. type: string
  12159. outergoodscode:
  12160. description: 外部商品代码[JD\PD]
  12161. type: string
  12162. outratio:
  12163. description: 源值
  12164. type: integer
  12165. pddecimalplace:
  12166. description: PD小数位
  12167. type: integer
  12168. timemaxvalue:
  12169. description: 单次最大转入限制
  12170. type: number
  12171. timeminvalue:
  12172. description: 单次最小转入限制
  12173. type: number
  12174. required:
  12175. - converttype
  12176. - innergoodsid
  12177. - outergoodscode
  12178. type: object
  12179. models.Szdz3searchwhitelist:
  12180. properties:
  12181. createtime:
  12182. description: 创建时间
  12183. type: string
  12184. creatorid:
  12185. description: 创建人
  12186. type: integer
  12187. modifierid:
  12188. description: 修改人
  12189. type: integer
  12190. modifytime:
  12191. description: 修改时间
  12192. type: string
  12193. userid:
  12194. description: 用户ID
  12195. type: integer
  12196. required:
  12197. - userid
  12198. type: object
  12199. models.Taaccount:
  12200. properties:
  12201. accountflag:
  12202. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12203. type: integer
  12204. accountid:
  12205. description: 资金账户ID
  12206. type: integer
  12207. accountname:
  12208. description: 账户名称
  12209. type: string
  12210. balance:
  12211. description: 期初余额
  12212. type: number
  12213. capitalbalance:
  12214. description: 本金余额[外部子账户实际出入金余额]
  12215. type: number
  12216. changeflag:
  12217. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12218. type: integer
  12219. changetime:
  12220. description: 账户状态变更时间
  12221. type: string
  12222. closepl:
  12223. description: 今日平仓盈亏
  12224. type: number
  12225. creditdecrease:
  12226. description: 今日授信减少
  12227. type: number
  12228. creditincrease:
  12229. description: 今日授信增加
  12230. type: number
  12231. currencyid:
  12232. description: 货币ID
  12233. type: integer
  12234. currentbalance:
  12235. description: 期末余额
  12236. type: number
  12237. freezecharge:
  12238. description: 手续费冻结
  12239. type: number
  12240. freezemargin:
  12241. description: 冻结保证金
  12242. type: number
  12243. fromaccountid:
  12244. description: 所属上级账户
  12245. type: integer
  12246. inamount:
  12247. description: 今日入金金额(包括三方入金)
  12248. type: number
  12249. ismain:
  12250. description: 是否母账号 0:不是母账户 1:是母账户
  12251. type: integer
  12252. ismarketaccount:
  12253. description: 是否机构接单账号 0:不是 1:是
  12254. type: integer
  12255. isreckonaccount:
  12256. description: 是否机构分润账号 0:不是 1:是
  12257. type: integer
  12258. mortgagecredit:
  12259. description: 授信金额
  12260. type: number
  12261. orifreezecharge:
  12262. description: 期初手续费冻结
  12263. type: number
  12264. orifreezemargin:
  12265. description: 期初冻结保证金
  12266. type: number
  12267. orimortgagecredit:
  12268. description: 期初授信金额
  12269. type: number
  12270. oriothercredit:
  12271. description: 期初其它授信金额
  12272. type: number
  12273. oriotherfreezemargin:
  12274. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12275. type: number
  12276. orioutamountfreeze:
  12277. description: 期初出金冻结
  12278. type: number
  12279. oriusedmargin:
  12280. description: 期初占用保证金
  12281. type: number
  12282. othercredit:
  12283. description: 其它授信金额
  12284. type: number
  12285. othercreditdecrease:
  12286. description: 今日其它授信减少
  12287. type: number
  12288. othercreditincrease:
  12289. description: 今日其它授信增加
  12290. type: number
  12291. otherfreezemargin:
  12292. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12293. type: number
  12294. otherincome:
  12295. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12296. type: number
  12297. otherpay:
  12298. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12299. type: number
  12300. outamount:
  12301. description: 今日出金金额(包括三方出金)
  12302. type: number
  12303. outamountfreeze:
  12304. description: 出金冻结
  12305. type: number
  12306. outthreshold:
  12307. description: 出金阈值
  12308. type: number
  12309. parentaccountid:
  12310. description: 所属根账号
  12311. type: integer
  12312. paycharge:
  12313. description: 今日手续费支出
  12314. type: number
  12315. relatedaccountstatus:
  12316. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12317. type: integer
  12318. relateduserid:
  12319. description: 关联用户
  12320. type: integer
  12321. serivcegroup:
  12322. description: 服务分组
  12323. type: integer
  12324. signstatus:
  12325. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12326. type: integer
  12327. sublevelpath:
  12328. description: 账号层级路径(逗号分隔,首尾加逗号)
  12329. type: string
  12330. taaccounttype:
  12331. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12332. type: integer
  12333. thirdinamount:
  12334. description: 今日三方入金
  12335. type: number
  12336. thirdoutamount:
  12337. description: 今日三方出金
  12338. type: number
  12339. tradestatus:
  12340. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12341. type: integer
  12342. tradestatuschangetime:
  12343. description: 激活时间
  12344. type: string
  12345. transferamount:
  12346. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12347. type: number
  12348. usedmargin:
  12349. description: 占用保证金
  12350. type: number
  12351. userid:
  12352. description: 用户ID
  12353. type: integer
  12354. required:
  12355. - accountid
  12356. - userid
  12357. type: object
  12358. models.Tablecolumnconfig:
  12359. properties:
  12360. aligntype:
  12361. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12362. type: integer
  12363. autoid:
  12364. description: AutoID
  12365. type: integer
  12366. columnfield:
  12367. description: 列字段
  12368. type: string
  12369. columntitle:
  12370. description: 列Title
  12371. type: string
  12372. columnwidth:
  12373. description: 列宽
  12374. type: string
  12375. formatterstring:
  12376. description: 格式化字符
  12377. type: string
  12378. formattertype:
  12379. description: 格式化类型
  12380. type: string
  12381. groupname:
  12382. description: 表头分组名称
  12383. type: string
  12384. isshow:
  12385. description: 是否显示 - 0:不显示 1:显示
  12386. type: integer
  12387. needsummary:
  12388. description: 是否需要汇总 - 0:不需要 1:需要
  12389. type: integer
  12390. orderindex:
  12391. description: 顺序
  12392. type: integer
  12393. remark:
  12394. description: 备注
  12395. type: string
  12396. summarytype:
  12397. description: 汇总类型 - 1:加总 2:最后一个
  12398. type: integer
  12399. tablekey:
  12400. description: 列表Key
  12401. type: string
  12402. required:
  12403. - autoid
  12404. type: object
  12405. models.UserCollectConfig:
  12406. properties:
  12407. accountstatus:
  12408. description: 账户状态 - 1:正常 2:停用 3:注销
  12409. type: integer
  12410. collectaccountname:
  12411. description: 收款人账户名称
  12412. type: string
  12413. collectaccountno:
  12414. description: 收款人账户
  12415. type: string
  12416. collectbankname:
  12417. description: 收款人开户行
  12418. type: string
  12419. collectbranchbankname:
  12420. description: 收款人开户支行
  12421. type: string
  12422. collectconfigid:
  12423. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12424. type: string
  12425. remark:
  12426. description: 备注
  12427. type: string
  12428. userid:
  12429. description: 收款人用户ID
  12430. type: integer
  12431. type: object
  12432. models.UserReceiveInfo:
  12433. properties:
  12434. address:
  12435. description: 提货人详细地址
  12436. type: string
  12437. autoid:
  12438. description: AutoID
  12439. type: integer
  12440. cardnum:
  12441. description: 证件号码(加密存储)
  12442. type: string
  12443. cardtypeid:
  12444. description: 证件类型
  12445. type: integer
  12446. cityid:
  12447. description: 市
  12448. type: integer
  12449. cityname:
  12450. description: 城市名称
  12451. type: string
  12452. countryid:
  12453. description: 国家
  12454. type: integer
  12455. countryname:
  12456. description: 国家名称
  12457. type: string
  12458. districtid:
  12459. description: 地区
  12460. type: integer
  12461. districtname:
  12462. description: 地区名称
  12463. type: string
  12464. hasencrypt:
  12465. description: 数据是否已加密 - 0:未加密 1:已加密
  12466. type: integer
  12467. isdefault:
  12468. description: 是否默认地址 - 0:否 1:是
  12469. type: integer
  12470. phonenum:
  12471. description: 提货人联系方式(加密存储)
  12472. type: string
  12473. provinceid:
  12474. description: 省
  12475. type: integer
  12476. provincename:
  12477. description: 省名称
  12478. type: string
  12479. receivername:
  12480. description: 提货人姓名
  12481. type: string
  12482. takeremark:
  12483. description: 提货备注
  12484. type: string
  12485. userid:
  12486. description: 用户ID
  12487. type: integer
  12488. type: object
  12489. models.Useraccount:
  12490. properties:
  12491. accountname:
  12492. description: 账户名称(机构名称)
  12493. type: string
  12494. accountstatus:
  12495. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12496. type: integer
  12497. applysrc:
  12498. description: 申请来源 - 1:管理端 2:终端
  12499. type: integer
  12500. auditremark:
  12501. description: 审核备注
  12502. type: string
  12503. auditsrc:
  12504. description: 审核来源 - 1:管理端 2:终端
  12505. type: integer
  12506. audittime:
  12507. description: 审核时间
  12508. type: string
  12509. audituserid:
  12510. description: 审核人
  12511. type: integer
  12512. broker:
  12513. description: 所属经纪人ID
  12514. type: integer
  12515. canceltime:
  12516. description: 销户时间
  12517. type: string
  12518. canceluserid:
  12519. description: 销户人
  12520. type: integer
  12521. canrecommend:
  12522. description: 是否可推荐 - 0:不可 1;可
  12523. type: integer
  12524. createtime:
  12525. description: 创建时间
  12526. type: string
  12527. creatorid:
  12528. description: 创建人
  12529. type: integer
  12530. hasauth:
  12531. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12532. type: integer
  12533. isanonymous:
  12534. description: 是否匿名下单 - 0:否 1:是
  12535. type: integer
  12536. maxinvestornum:
  12537. description: 最大用户数(经纪会员下投资者个数)
  12538. type: integer
  12539. memberuserid:
  12540. description: 所属会员ID
  12541. type: integer
  12542. modifierid:
  12543. description: 修改人
  12544. type: integer
  12545. modifyremark:
  12546. description: 变更备注
  12547. type: string
  12548. modifystatus:
  12549. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12550. type: integer
  12551. modifytime:
  12552. description: 修改时间
  12553. type: string
  12554. parenttopuser:
  12555. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12556. type: string
  12557. parentuserid:
  12558. description: 所属机构ID
  12559. type: integer
  12560. reckonaccountid:
  12561. description: 默认结算资金账号ID(机构分润使用) 作废
  12562. type: integer
  12563. refercount:
  12564. description: 推荐总人数
  12565. type: integer
  12566. refereeuserid:
  12567. description: 推荐人ID
  12568. type: integer
  12569. refernum:
  12570. description: 推荐码
  12571. type: string
  12572. rootuserid:
  12573. description: 根用户ID
  12574. type: integer
  12575. subaccountlevel:
  12576. description: 子账户层数
  12577. type: integer
  12578. subarealevelpath:
  12579. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12580. type: string
  12581. userid:
  12582. description: 用户ID
  12583. type: integer
  12584. usertype:
  12585. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12586. type: integer
  12587. required:
  12588. - userid
  12589. type: object
  12590. models.Userfavoritegoods:
  12591. properties:
  12592. goodsid:
  12593. description: 商品ID
  12594. type: integer
  12595. required:
  12596. - goodsid
  12597. type: object
  12598. models.Userinfo:
  12599. properties:
  12600. address:
  12601. description: 地址
  12602. type: string
  12603. attachment1:
  12604. description: 附件1
  12605. type: string
  12606. attachment2:
  12607. description: 附件2
  12608. type: string
  12609. bankaccount:
  12610. description: 银行帐号 (加密存储)
  12611. type: string
  12612. bankaccountname:
  12613. description: 收款人名称
  12614. type: string
  12615. bankcardfrontphotourl:
  12616. description: 银行卡正面照地址
  12617. type: string
  12618. bankid:
  12619. description: 银行编码
  12620. type: string
  12621. bankname:
  12622. description: 银行名称
  12623. type: string
  12624. biznature:
  12625. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12626. type: integer
  12627. bizscope:
  12628. description: 企业经营范围(企业)
  12629. type: string
  12630. cardbackphotourl:
  12631. description: 证件背面图片地址
  12632. type: string
  12633. cardfrontphotourl:
  12634. description: 证件正面图片地址
  12635. type: string
  12636. cardnum:
  12637. description: 证件号码(加密存储)
  12638. type: string
  12639. cardtypeid:
  12640. description: 证件类型ID
  12641. type: integer
  12642. cityid:
  12643. description: 市
  12644. type: integer
  12645. company:
  12646. description: 公司(个人)
  12647. type: string
  12648. contactname:
  12649. description: 联系人
  12650. type: string
  12651. countryid:
  12652. description: 国家
  12653. type: integer
  12654. createtime:
  12655. description: 创建时间
  12656. type: string
  12657. creatorid:
  12658. description: 创建人
  12659. type: integer
  12660. customername:
  12661. description: 客户名称(企业名称)
  12662. type: string
  12663. districtid:
  12664. description: 地区
  12665. type: integer
  12666. email:
  12667. description: 邮件(加密存储)
  12668. type: string
  12669. fax:
  12670. description: 传真(加密存储)
  12671. type: string
  12672. halfbodyphotourl:
  12673. description: 半身照地址
  12674. type: string
  12675. hasencrypt:
  12676. description: 数据是否已加密 - 0:未加密 1:已加密
  12677. type: integer
  12678. headurl:
  12679. description: 头像地址
  12680. type: string
  12681. legalcardbackphotourl:
  12682. description: 法人身份证背面照地址
  12683. type: string
  12684. legalcardfrontphotourl:
  12685. description: 法人身份证正面照地址
  12686. type: string
  12687. legalpersonname:
  12688. description: 法人姓名(企业)
  12689. type: string
  12690. mobile:
  12691. description: 手机号码(加密存储)
  12692. type: string
  12693. mobile2:
  12694. description: 手机号码[明文-尚志]
  12695. type: string
  12696. modifierid:
  12697. description: 修改人
  12698. type: integer
  12699. modifiertime:
  12700. description: 修改时间
  12701. type: string
  12702. needinvoice:
  12703. description: 是否需要发票 - 0:不需要 1:需要
  12704. type: integer
  12705. nickname:
  12706. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  12707. type: string
  12708. openmode:
  12709. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  12710. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  12711. type: integer
  12712. otherurl:
  12713. description: 其它图片地址[使用分号分隔]
  12714. type: string
  12715. postalcode:
  12716. description: 邮政编码
  12717. type: string
  12718. provinceid:
  12719. description: 省
  12720. type: integer
  12721. qq:
  12722. description: QQ(加密存储
  12723. type: string
  12724. remark:
  12725. description: 备注
  12726. type: string
  12727. sex:
  12728. description: '用户性别 0: 女 1: 男'
  12729. type: integer
  12730. signpdfurl:
  12731. description: 签约pdf文件
  12732. type: string
  12733. telphone:
  12734. description: 联系电话(加密存储)
  12735. type: string
  12736. userid:
  12737. description: 用户ID
  12738. type: integer
  12739. userinfotype:
  12740. description: 用户信息类型 - 1:个人 2:企业
  12741. type: integer
  12742. userstatus:
  12743. description: 用户状态 - 1:正常 2:注销
  12744. type: integer
  12745. usertype:
  12746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  12747. type: integer
  12748. wechat:
  12749. description: 微信(加密存储)
  12750. type: string
  12751. wskhinfo:
  12752. description: 开户申请信息(JSON)
  12753. type: string
  12754. required:
  12755. - userid
  12756. type: object
  12757. models.WRSConverTDetail:
  12758. properties:
  12759. convertratio:
  12760. description: 套保系数
  12761. type: number
  12762. deliverygoodscode:
  12763. description: 现货商品代码
  12764. type: string
  12765. deliverygoodsid:
  12766. description: 现货品种ID
  12767. type: integer
  12768. deliverygoodsname:
  12769. description: 现货商品名称
  12770. type: string
  12771. enumdicname:
  12772. description: 单位名称
  12773. type: string
  12774. goodsunitid:
  12775. description: 套保品种单位id
  12776. type: integer
  12777. middlegoodscode:
  12778. description: 套保品种代码
  12779. type: string
  12780. middlegoodsid:
  12781. description: 套保品种ID
  12782. type: integer
  12783. middlegoodsname:
  12784. description: 套保品种名称
  12785. type: string
  12786. modifytime:
  12787. description: 修改时间
  12788. type: string
  12789. wrstandardid:
  12790. description: 品类ID
  12791. type: integer
  12792. type: object
  12793. models.WRStandardInfo:
  12794. properties:
  12795. areauserid:
  12796. description: 所属机构
  12797. type: integer
  12798. convertfactor:
  12799. description: 标仓系数
  12800. type: number
  12801. createtime:
  12802. description: 创建时间
  12803. type: string
  12804. creatorid:
  12805. description: 创建人
  12806. type: integer
  12807. deliverygoodsid:
  12808. description: 品种ID
  12809. type: integer
  12810. deliverygoodsname:
  12811. description: 交割商品名称
  12812. type: string
  12813. factoryitemjson:
  12814. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  12815. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  12816. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  12817. 逗号分隔'
  12818. type: string
  12819. isvalid:
  12820. description: 是否有效 - 0:无效 1:有效
  12821. type: integer
  12822. minivalue:
  12823. description: 最小变动值
  12824. type: integer
  12825. minivaluedp:
  12826. description: 最小变动值小数位
  12827. type: integer
  12828. realminivalue:
  12829. description: 实际最小变动值
  12830. type: integer
  12831. realminivaluedp:
  12832. description: 实际最小变动值小数位
  12833. type: integer
  12834. remark:
  12835. description: 备注
  12836. type: string
  12837. unitid:
  12838. description: 单位ID
  12839. type: integer
  12840. unitname:
  12841. description: 单位
  12842. type: string
  12843. updatetime:
  12844. description: 更新时间
  12845. type: string
  12846. updatorid:
  12847. description: 更新人
  12848. type: integer
  12849. wrsstatus:
  12850. description: 状态 - 作废 - 0:未激活 1:正常
  12851. type: integer
  12852. wrstandardcode:
  12853. description: 现货品类代码
  12854. type: string
  12855. wrstandardid:
  12856. description: 现货品类ID(SEQ_WRSTANDARD)
  12857. type: integer
  12858. wrstandardname:
  12859. description: 现货品类名称
  12860. type: string
  12861. required:
  12862. - wrstandardid
  12863. type: object
  12864. models.Warehouseinfo:
  12865. properties:
  12866. address:
  12867. description: 详细地址
  12868. type: string
  12869. areauserid:
  12870. description: 所属机构
  12871. type: integer
  12872. autoid:
  12873. description: 自增ID
  12874. type: integer
  12875. cityid:
  12876. description: 市
  12877. type: integer
  12878. contactname:
  12879. description: 联系人
  12880. type: string
  12881. contactnum:
  12882. description: 联系电话
  12883. type: string
  12884. countryid:
  12885. description: 国家
  12886. type: integer
  12887. createtime:
  12888. description: 创建时间
  12889. type: string
  12890. districtid:
  12891. description: 区
  12892. type: integer
  12893. hasvideo:
  12894. description: 是否有视频 - 0:无 1:有
  12895. type: integer
  12896. provinceid:
  12897. description: 省
  12898. type: integer
  12899. remark:
  12900. description: 审核备注
  12901. type: string
  12902. videourl:
  12903. description: 视频地址
  12904. type: string
  12905. warehousecode:
  12906. description: 仓库代码
  12907. type: string
  12908. warehousename:
  12909. description: 仓库名称
  12910. type: string
  12911. warehousestatus:
  12912. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  12913. type: integer
  12914. warehousetype:
  12915. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  12916. type: integer
  12917. required:
  12918. - autoid
  12919. - warehousecode
  12920. type: object
  12921. order.QueryHisTradeDetailRsp:
  12922. properties:
  12923. accountid:
  12924. description: 账户ID[报价币种]
  12925. type: integer
  12926. advanceratio:
  12927. description: 首付比率
  12928. type: number
  12929. buildtype:
  12930. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  12931. type: integer
  12932. buyorsell:
  12933. description: 方向 - 0:买 1:卖
  12934. type: integer
  12935. charge:
  12936. description: 手续费
  12937. type: number
  12938. closecharge:
  12939. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12940. type: number
  12941. closeexchagechargevalue:
  12942. description: 平仓交易所手续费设置值
  12943. type: number
  12944. closefeealgorithm:
  12945. description: 平仓手续费收取方式 1:比率 2:固定
  12946. type: integer
  12947. closememberchargevalue:
  12948. description: 平仓会员手续费设置值
  12949. type: number
  12950. closepl:
  12951. description: 平仓盈亏
  12952. type: number
  12953. closepl2:
  12954. description: 平仓盈亏[逐笔]
  12955. type: number
  12956. closeqty:
  12957. description: 平仓数量(先建后平操作 需要记录)
  12958. type: number
  12959. creditamount:
  12960. description: 授信金额
  12961. type: number
  12962. decimalplace:
  12963. description: 商品报价小数位
  12964. type: integer
  12965. enumdicname:
  12966. description: 单位名称
  12967. type: string
  12968. gcaccountid:
  12969. description: 账户ID[合约币种]
  12970. type: integer
  12971. goodscode:
  12972. description: 商品代码
  12973. type: string
  12974. goodsid:
  12975. description: 商品ID
  12976. type: integer
  12977. goodsname:
  12978. description: 商品名称
  12979. type: string
  12980. goodunitid:
  12981. description: 商品单位id
  12982. type: integer
  12983. histradedate:
  12984. description: 历史交易日
  12985. type: string
  12986. intclosepl:
  12987. description: 整型盈亏(用于交易结算试算平衡-收益权)
  12988. type: integer
  12989. isconfirmexercise:
  12990. description: 是否确认行权- 0:否 1:是
  12991. type: integer
  12992. ismain:
  12993. description: 是否主单 - 0:不是 1:是
  12994. type: integer
  12995. ispreexercise:
  12996. description: 是否预申报- 0:否 1:是
  12997. type: integer
  12998. isreckoned:
  12999. description: 是否结算 - 0:未结算 1:已结算
  13000. type: integer
  13001. isvaliddata:
  13002. description: 是否有效 - 0:无效 1:有效
  13003. type: integer
  13004. listingselecttype:
  13005. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13006. type: integer
  13007. marketid:
  13008. description: 市场ID
  13009. type: integer
  13010. marketname:
  13011. description: 市场名称
  13012. type: string
  13013. matchaccountid:
  13014. description: 对手账号id
  13015. type: integer
  13016. memberuserid:
  13017. description: 会员id 个人投资者 需要填写
  13018. type: integer
  13019. opencharge:
  13020. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13021. type: number
  13022. openexchagechargevalue:
  13023. description: 建仓交易所手续费设置值
  13024. type: number
  13025. openfeealgorithm:
  13026. description: 建仓手续费收取方式 1:比率 2:固定
  13027. type: integer
  13028. openmemberchargevalue:
  13029. description: 建仓会员手续费设置值
  13030. type: number
  13031. openqty:
  13032. description: 开仓数量(先建后平操作 需要记录)
  13033. type: number
  13034. optiontype:
  13035. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13036. type: integer
  13037. orderid:
  13038. description: 委托单号
  13039. type: string
  13040. payamount:
  13041. description: 支付金额(付款金额)
  13042. type: number
  13043. performanceplanid:
  13044. description: 履约计划ID[期权]
  13045. type: integer
  13046. performancestatus:
  13047. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13048. type: integer
  13049. preexerciseprice:
  13050. description: 预申报价格
  13051. type: number
  13052. premium:
  13053. description: 权利金 - [持仓单的权利金]
  13054. type: number
  13055. qtydecimalplace:
  13056. description: 商品报价小数位
  13057. type: integer
  13058. recvamount:
  13059. description: 到账金额 = 成交金额 - 手续费
  13060. type: number
  13061. relatedouttradeid:
  13062. description: 关联外部成交单ID
  13063. type: integer
  13064. status:
  13065. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13066. type: integer
  13067. totalamount:
  13068. description: 订单总额 = 成交金额 + 手续费
  13069. type: number
  13070. tradeamount:
  13071. description: 成交金额[账户币种,用于所有权]
  13072. type: number
  13073. tradedate:
  13074. description: 交易日(yyyyMMdd)
  13075. type: string
  13076. tradeid:
  13077. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13078. type: string
  13079. trademode:
  13080. description: 交易模式
  13081. type: integer
  13082. tradeprice:
  13083. description: 成交价格
  13084. type: number
  13085. tradeproperty:
  13086. description: 交易属性
  13087. type: integer
  13088. tradeqty:
  13089. description: 成交数量
  13090. type: number
  13091. tradetime:
  13092. description: 成交时间
  13093. type: string
  13094. tradetype:
  13095. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13096. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13097. type: integer
  13098. required:
  13099. - accountid
  13100. - buyorsell
  13101. - goodsid
  13102. - histradedate
  13103. - marketid
  13104. - memberuserid
  13105. - orderid
  13106. - tradeamount
  13107. - tradedate
  13108. - tradeid
  13109. - tradeprice
  13110. - tradeqty
  13111. - tradetime
  13112. type: object
  13113. order.QueryHisTradeOrderDetailRsp:
  13114. properties:
  13115. accountid:
  13116. description: 账户ID[报价币种]
  13117. type: integer
  13118. buildtype:
  13119. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13120. type: integer
  13121. buyorsell:
  13122. description: 买卖 - 0:买 1:卖
  13123. type: integer
  13124. cancelorderid:
  13125. description: 撤单单号(撤单时填写)
  13126. type: string
  13127. cancelqty:
  13128. description: 撤单数量
  13129. type: number
  13130. clientordertime:
  13131. description: 客户端委托时间
  13132. type: string
  13133. clientticket:
  13134. description: 客户端流水号
  13135. type: string
  13136. clienttype:
  13137. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13138. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13139. type: integer
  13140. closeexchagechargevalue:
  13141. description: 平仓交易所手续费设置值
  13142. type: number
  13143. closefeealgorithm:
  13144. description: 平仓手续费收取方式 1:比率 2:固定
  13145. type: integer
  13146. closefreezecharge:
  13147. description: 平仓冻结手续费(先建后平操作,需要记录)
  13148. type: number
  13149. closememberchargevalue:
  13150. description: 平仓会员手续费设置值
  13151. type: number
  13152. closeqty:
  13153. description: 平仓数量(先建后平操作 需要记录)
  13154. type: number
  13155. closetradeqty:
  13156. description: 平仓成交数量(先建后平操作,需要记录)
  13157. type: number
  13158. closeunfreezecharge:
  13159. description: 平仓解冻手续费(先建后平操作,需要记录)
  13160. type: number
  13161. decimalplace:
  13162. description: 商品报价小数位
  13163. type: integer
  13164. delistingtype:
  13165. description: 摘牌类型 - 1:价格最优 2:点选成交
  13166. type: integer
  13167. enumdicname:
  13168. description: 单位名称
  13169. type: string
  13170. freezecharge:
  13171. description: 冻结手续费
  13172. type: number
  13173. freezemargin:
  13174. description: 冻结保证金(冻结交易金额)
  13175. type: number
  13176. gcaccountid:
  13177. description: 账户ID[合约币种]
  13178. type: integer
  13179. goodscode:
  13180. description: 商品代码
  13181. type: string
  13182. goodsid:
  13183. description: 商品ID
  13184. type: integer
  13185. goodsname:
  13186. description: 商品名称
  13187. type: string
  13188. goodunitid:
  13189. description: 商品单位id
  13190. type: integer
  13191. histradedate:
  13192. description: 历史交易日
  13193. type: string
  13194. isconfirmexercise:
  13195. description: 是否确认行权- 0:否 1:是
  13196. type: integer
  13197. ispreexercise:
  13198. description: 是否预申报- 0:否 1:是
  13199. type: integer
  13200. isvaliddata:
  13201. description: 是否有效 - 0:无效 1:有效
  13202. type: integer
  13203. listingselecttype:
  13204. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13205. type: integer
  13206. marginalgorithm:
  13207. description: 保证金收取方式 1:比率 2:固定
  13208. type: integer
  13209. marginvalue:
  13210. description: 即市保证金设置值
  13211. type: number
  13212. marketid:
  13213. description: 市场ID
  13214. type: integer
  13215. marketmaxsub:
  13216. description: 市价最大偏移范围
  13217. type: number
  13218. marketname:
  13219. description: 市场名称
  13220. type: string
  13221. memberuserid:
  13222. description: 所属会员UserID
  13223. type: integer
  13224. openexchagechargevalue:
  13225. description: 建仓交易所手续费设置值
  13226. type: number
  13227. openfeealgorithm:
  13228. description: 建仓手续费收取方式 1:比率 2:固定
  13229. type: integer
  13230. openfreezecharge:
  13231. description: 开仓冻结手续费(先建后平操作,需要记录)
  13232. type: number
  13233. openmemberchargevalue:
  13234. description: 建仓会员手续费设置值
  13235. type: number
  13236. openqty:
  13237. description: 开仓数量(先建后平操作,需要记录)
  13238. type: number
  13239. opentradeqty:
  13240. description: 开仓成交数量(先建后平操作,需要记录)
  13241. type: number
  13242. openunfreezecharge:
  13243. description: 开仓解冻手续费(先建后平操作,需要记录)
  13244. type: number
  13245. operatetype:
  13246. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13247. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13248. 15:管理端协议转让
  13249. type: integer
  13250. operatorid:
  13251. description: 登录账号(LoginID)
  13252. type: integer
  13253. optiontype:
  13254. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13255. type: integer
  13256. orderid:
  13257. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13258. type: string
  13259. orderprice:
  13260. description: 委托价格
  13261. type: number
  13262. orderqty:
  13263. description: 委托数量
  13264. type: number
  13265. ordersrc:
  13266. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13267. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13268. type: integer
  13269. orderstatus:
  13270. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13271. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13272. 16:成交失败违约(荷兰式竞拍专用)
  13273. type: integer
  13274. ordertime:
  13275. description: 委托时间
  13276. type: string
  13277. preexerciseprice:
  13278. description: 预申报价格
  13279. type: number
  13280. premium:
  13281. description: 权利金
  13282. type: number
  13283. preorderid:
  13284. description: 关联预埋单号(止盈止损单时填写)
  13285. type: string
  13286. pricemode:
  13287. description: '取价方式 - 1:市价 2: 限价'
  13288. type: integer
  13289. qtydecimalplace:
  13290. description: 成交量小数位
  13291. type: integer
  13292. quoteid:
  13293. description: 报价单ID
  13294. type: integer
  13295. relatedid:
  13296. description: 关联单号(交割单)
  13297. type: string
  13298. retcode:
  13299. description: 错误代码
  13300. type: integer
  13301. sessionid:
  13302. description: 会话ID
  13303. type: integer
  13304. tradedate:
  13305. description: 交易日(yyyyMMdd)
  13306. type: string
  13307. trademode:
  13308. description: 交易模式
  13309. type: integer
  13310. tradeproperty:
  13311. description: 交易属性
  13312. type: integer
  13313. tradeqty:
  13314. description: 成交数量
  13315. type: number
  13316. unfreezecharge:
  13317. description: 解冻手续费
  13318. type: number
  13319. unfreezemargin:
  13320. description: 解冻保证金
  13321. type: number
  13322. updatetime:
  13323. description: 更新时间
  13324. type: string
  13325. uuid:
  13326. description: 发起端唯一id
  13327. type: string
  13328. validtime:
  13329. description: 有效期限
  13330. type: string
  13331. validtype:
  13332. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13333. type: integer
  13334. volumetype:
  13335. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13336. type: integer
  13337. required:
  13338. - accountid
  13339. - buildtype
  13340. - buyorsell
  13341. - goodsid
  13342. - histradedate
  13343. - marketid
  13344. - memberuserid
  13345. - operatetype
  13346. - orderid
  13347. - orderqty
  13348. - ordertime
  13349. - pricemode
  13350. - tradedate
  13351. - validtype
  13352. type: object
  13353. order.QueryTradeDetailRsp:
  13354. properties:
  13355. accountid:
  13356. description: 账户ID[报价币种]
  13357. type: integer
  13358. advanceratio:
  13359. description: 首付比率
  13360. type: number
  13361. buildtype:
  13362. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13363. type: integer
  13364. buyorsell:
  13365. description: 方向 - 0:买 1:卖
  13366. type: integer
  13367. charge:
  13368. description: 手续费
  13369. type: number
  13370. closecharge:
  13371. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13372. type: number
  13373. closeexchagechargevalue:
  13374. description: 平仓交易所手续费设置值
  13375. type: number
  13376. closefeealgorithm:
  13377. description: 平仓手续费收取方式 1:比率 2:固定
  13378. type: integer
  13379. closememberchargevalue:
  13380. description: 平仓会员手续费设置值
  13381. type: number
  13382. closepl:
  13383. description: 平仓盈亏
  13384. type: number
  13385. closepl2:
  13386. description: 平仓盈亏[逐笔]
  13387. type: number
  13388. closeqty:
  13389. description: 平仓数量(先建后平操作 需要记录)
  13390. type: number
  13391. creditamount:
  13392. description: 授信金额
  13393. type: number
  13394. decimalplace:
  13395. description: 商品报价小数位
  13396. type: integer
  13397. enumdicname:
  13398. description: 单位名称
  13399. type: string
  13400. gcaccountid:
  13401. description: 账户ID[合约币种]
  13402. type: integer
  13403. goodscode:
  13404. description: 商品代码
  13405. type: string
  13406. goodsid:
  13407. description: 商品ID
  13408. type: integer
  13409. goodsname:
  13410. description: 商品名称
  13411. type: string
  13412. goodunitid:
  13413. description: 商品单位id
  13414. type: integer
  13415. intclosepl:
  13416. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13417. type: integer
  13418. isconfirmexercise:
  13419. description: 是否确认行权- 0:否 1:是
  13420. type: integer
  13421. ismain:
  13422. description: 是否主单 - 0:不是 1:是
  13423. type: integer
  13424. ispreexercise:
  13425. description: 是否预申报- 0:否 1:是
  13426. type: integer
  13427. isreckoned:
  13428. description: 是否结算 - 0:未结算 1:已结算
  13429. type: integer
  13430. listingselecttype:
  13431. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13432. type: integer
  13433. marketid:
  13434. description: 市场ID
  13435. type: integer
  13436. marketname:
  13437. description: 市场名称
  13438. type: string
  13439. matchaccountid:
  13440. description: 对手账号id
  13441. type: integer
  13442. memberuserid:
  13443. description: 会员id 个人投资者 需要填写
  13444. type: integer
  13445. opencharge:
  13446. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13447. type: number
  13448. openexchagechargevalue:
  13449. description: 建仓交易所手续费设置值
  13450. type: number
  13451. openfeealgorithm:
  13452. description: 建仓手续费收取方式 1:比率 2:固定
  13453. type: integer
  13454. openmemberchargevalue:
  13455. description: 建仓会员手续费设置值
  13456. type: number
  13457. openqty:
  13458. description: 开仓数量(先建后平操作 需要记录)
  13459. type: number
  13460. optiontype:
  13461. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13462. type: integer
  13463. orderid:
  13464. description: 委托单号
  13465. type: string
  13466. payamount:
  13467. description: 支付金额(付款金额)
  13468. type: number
  13469. performanceplanid:
  13470. description: 履约计划ID[期权]
  13471. type: integer
  13472. performancestatus:
  13473. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13474. type: integer
  13475. preexerciseprice:
  13476. description: 预申报价格
  13477. type: number
  13478. premium:
  13479. description: 权利金 - [持仓单的权利金]
  13480. type: number
  13481. qtydecimalplace:
  13482. description: 商品报价小数位
  13483. type: integer
  13484. recvamount:
  13485. description: 到账金额 = 成交金额 - 手续费
  13486. type: number
  13487. relatedouttradeid:
  13488. description: 关联外部成交单ID
  13489. type: integer
  13490. status:
  13491. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13492. type: integer
  13493. totalamount:
  13494. description: 订单总额 = 成交金额 + 手续费
  13495. type: number
  13496. tradeamount:
  13497. description: 成交金额[账户币种,用于所有权]
  13498. type: number
  13499. tradedate:
  13500. description: 交易日(yyyyMMdd)
  13501. type: string
  13502. tradeid:
  13503. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13504. type: string
  13505. trademode:
  13506. description: 交易模式
  13507. type: integer
  13508. tradeprice:
  13509. description: 成交价格
  13510. type: number
  13511. tradeproperty:
  13512. description: 交易属性
  13513. type: integer
  13514. tradeqty:
  13515. description: 成交数量
  13516. type: number
  13517. tradetime:
  13518. description: 成交时间
  13519. type: string
  13520. tradetype:
  13521. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13522. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13523. type: integer
  13524. required:
  13525. - accountid
  13526. - buyorsell
  13527. - goodsid
  13528. - marketid
  13529. - memberuserid
  13530. - orderid
  13531. - tradeamount
  13532. - tradedate
  13533. - tradeid
  13534. - tradeprice
  13535. - tradeqty
  13536. - tradetime
  13537. type: object
  13538. order.QueryTradeOrderDetailRsp:
  13539. properties:
  13540. accountid:
  13541. description: 账户ID[报价币种]
  13542. type: integer
  13543. buildtype:
  13544. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13545. type: integer
  13546. buyorsell:
  13547. description: 买卖 - 0:买 1:卖
  13548. type: integer
  13549. cancelorderid:
  13550. description: 撤单单号(撤单时填写)
  13551. type: string
  13552. cancelqty:
  13553. description: 撤单数量
  13554. type: number
  13555. clienttype:
  13556. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13557. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13558. type: integer
  13559. closefreezecharge:
  13560. description: 平仓冻结手续费(先建后平操作,需要记录)
  13561. type: number
  13562. closeqty:
  13563. description: 平仓数量(先建后平操作 需要记录)
  13564. type: number
  13565. closetradeqty:
  13566. description: 平仓成交数量(先建后平操作,需要记录)
  13567. type: number
  13568. closeunfreezecharge:
  13569. description: 平仓解冻手续费(先建后平操作,需要记录)
  13570. type: number
  13571. decimalplace:
  13572. description: 商品报价小数位
  13573. type: integer
  13574. delistingtype:
  13575. description: 摘牌类型 - 1:价格最优 2:点选成交
  13576. type: integer
  13577. enableqty:
  13578. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  13579. type: number
  13580. enumdicname:
  13581. description: 单位名称
  13582. type: string
  13583. freezecharge:
  13584. description: 冻结手续费
  13585. type: number
  13586. freezemargin:
  13587. description: 冻结保证金(冻结交易金额)
  13588. type: number
  13589. goodscode:
  13590. description: 商品代码
  13591. type: string
  13592. goodsid:
  13593. description: 商品ID
  13594. type: integer
  13595. goodsname:
  13596. description: 商品名称
  13597. type: string
  13598. goodunitid:
  13599. description: 商品单位id
  13600. type: integer
  13601. listingselecttype:
  13602. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13603. type: integer
  13604. marketid:
  13605. description: 市场ID
  13606. type: integer
  13607. marketname:
  13608. description: 市场名称
  13609. type: string
  13610. openfreezecharge:
  13611. description: 开仓冻结手续费(先建后平操作,需要记录)
  13612. type: number
  13613. openqty:
  13614. description: 开仓数量(先建后平操作,需要记录)
  13615. type: number
  13616. opentradeqty:
  13617. description: 开仓成交数量(先建后平操作,需要记录)
  13618. type: number
  13619. openunfreezecharge:
  13620. description: 开仓解冻手续费(先建后平操作,需要记录)
  13621. type: number
  13622. operatetype:
  13623. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13624. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13625. 15:管理端协议转让
  13626. type: integer
  13627. operatorid:
  13628. description: 登录账号(LoginID)
  13629. type: integer
  13630. orderid:
  13631. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13632. type: string
  13633. orderprice:
  13634. description: 委托价格
  13635. type: number
  13636. orderqty:
  13637. description: 委托数量
  13638. type: number
  13639. ordersrc:
  13640. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13641. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13642. type: integer
  13643. orderstatus:
  13644. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13645. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13646. 16:成交失败违约(荷兰式竞拍专用)
  13647. type: integer
  13648. ordertime:
  13649. description: 委托时间
  13650. type: string
  13651. preorderid:
  13652. description: 关联预埋单号(止盈止损单时填写)
  13653. type: string
  13654. pricemode:
  13655. description: '取价方式 - 1:市价 2: 限价'
  13656. type: integer
  13657. qtydecimalplace:
  13658. description: 商品报价小数位
  13659. type: integer
  13660. relatedid:
  13661. description: 关联单号(交割单)
  13662. type: string
  13663. tradedate:
  13664. description: 交易日(yyyyMMdd)
  13665. type: string
  13666. trademode:
  13667. description: 交易模式
  13668. type: integer
  13669. tradeqty:
  13670. description: 成交数量
  13671. type: number
  13672. unfreezecharge:
  13673. description: 解冻手续费
  13674. type: number
  13675. unfreezemargin:
  13676. description: 解冻保证金
  13677. type: number
  13678. validtime:
  13679. description: 有效期限
  13680. type: string
  13681. validtype:
  13682. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13683. type: integer
  13684. volumetype:
  13685. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13686. type: integer
  13687. required:
  13688. - accountid
  13689. - buildtype
  13690. - buyorsell
  13691. - goodsid
  13692. - marketid
  13693. - operatetype
  13694. - orderqty
  13695. - ordertime
  13696. - pricemode
  13697. - tradedate
  13698. - validtype
  13699. type: object
  13700. order.QueryTradePositionRsp:
  13701. properties:
  13702. accountid:
  13703. description: 资金账户
  13704. type: integer
  13705. agreeunit:
  13706. description: 合约单位
  13707. type: number
  13708. averageprice:
  13709. description: 持仓均价
  13710. type: number
  13711. buyorsell:
  13712. description: 方向 - 0:买 1:卖
  13713. type: integer
  13714. closetotalqty:
  13715. description: 平仓总数量
  13716. type: number
  13717. curholderamount:
  13718. description: 当前持仓总金额[商品币种]
  13719. type: number
  13720. curpositionqty:
  13721. description: 当前持仓总数量
  13722. type: number
  13723. currencyid:
  13724. description: 报价货币ID
  13725. type: integer
  13726. curtdposition:
  13727. description: 期末今日头寸
  13728. type: number
  13729. decimalplace:
  13730. description: 报价小数位
  13731. type: integer
  13732. enableqty:
  13733. description: 可用量
  13734. type: number
  13735. fretdposition:
  13736. description: 冻结今日头寸
  13737. type: number
  13738. frozenqty:
  13739. description: 持仓冻结数量
  13740. type: number
  13741. goodscode:
  13742. description: 商品代码
  13743. type: string
  13744. goodsid:
  13745. description: 商品Id
  13746. type: integer
  13747. goodsname:
  13748. description: 商品名称
  13749. type: string
  13750. goodunit:
  13751. description: 报价单位
  13752. type: string
  13753. goodunitid:
  13754. description: 报价单位ID
  13755. type: integer
  13756. holderamount:
  13757. description: 期初持仓总金额[商品币种]
  13758. type: number
  13759. marketid:
  13760. description: 所属市场ID
  13761. type: integer
  13762. openreqqty:
  13763. description: 开仓申请数量(用于比较最大持仓数量)
  13764. type: number
  13765. opentotalqty:
  13766. description: 开仓总数量
  13767. type: number
  13768. otherfrozenqty:
  13769. description: 持仓其他冻结数量(交割冻结)
  13770. type: number
  13771. positionqty:
  13772. description: 期初持仓数量
  13773. type: number
  13774. qtydecimalplace:
  13775. description: 成交量小数位
  13776. type: integer
  13777. tnqty:
  13778. description: T+N冻结总量
  13779. type: number
  13780. tnusedqty:
  13781. description: T+N使用量(可以使用T+N的冻结数量)
  13782. type: number
  13783. trademode:
  13784. description: 交易模式
  13785. type: integer
  13786. usedmargin:
  13787. description: 占用保证金[商品币种]
  13788. type: number
  13789. required:
  13790. - goodsid
  13791. type: object
  13792. quote.HistoryData:
  13793. properties:
  13794. c:
  13795. description: 收盘价
  13796. type: number
  13797. f:
  13798. description: 是否补充数据
  13799. type: boolean
  13800. h:
  13801. description: 最高价
  13802. type: number
  13803. hv:
  13804. description: 持仓量
  13805. type: integer
  13806. l:
  13807. description: 最低价
  13808. type: number
  13809. o:
  13810. description: 开盘价
  13811. type: number
  13812. s:
  13813. description: 结算价,日线周期(包括)以上才有
  13814. type: number
  13815. ts:
  13816. description: 时间
  13817. type: string
  13818. tt:
  13819. description: 总金额
  13820. type: number
  13821. tv:
  13822. description: 总量
  13823. type: integer
  13824. type: object
  13825. quote.HistoryTikData:
  13826. properties:
  13827. AV:
  13828. description: 卖量
  13829. type: integer
  13830. Ask:
  13831. description: 卖价
  13832. type: number
  13833. BV:
  13834. description: 买量
  13835. type: integer
  13836. Bid:
  13837. description: 买价
  13838. type: number
  13839. HI:
  13840. description: 单笔持仓
  13841. type: integer
  13842. HV:
  13843. description: 持仓量
  13844. type: integer
  13845. PE:
  13846. description: 现价
  13847. type: number
  13848. TDR:
  13849. description: 交易方向,0:买 1:卖
  13850. type: integer
  13851. TK:
  13852. description: 交易类型
  13853. type: integer
  13854. TS:
  13855. description: 行情时间文本
  13856. type: string
  13857. TT:
  13858. description: 现金额
  13859. type: number
  13860. Vol:
  13861. description: 现量
  13862. type: integer
  13863. type: object
  13864. quote.QueryQuoteDayRsp:
  13865. properties:
  13866. ask:
  13867. description: 卖1
  13868. type: number
  13869. ask2:
  13870. description: 卖2
  13871. type: number
  13872. ask3:
  13873. description: 卖3
  13874. type: number
  13875. ask4:
  13876. description: 卖4
  13877. type: number
  13878. ask5:
  13879. description: 卖5
  13880. type: number
  13881. ask6:
  13882. description: 卖6
  13883. type: number
  13884. ask7:
  13885. description: 卖7
  13886. type: number
  13887. ask8:
  13888. description: 卖8
  13889. type: number
  13890. ask9:
  13891. description: 卖9
  13892. type: number
  13893. ask10:
  13894. description: 卖10
  13895. type: number
  13896. askorderid:
  13897. description: 卖单号1
  13898. type: integer
  13899. askorderid2:
  13900. description: 卖单号2
  13901. type: integer
  13902. askorderid3:
  13903. description: 卖单号3
  13904. type: integer
  13905. askorderid4:
  13906. description: 卖单号4
  13907. type: integer
  13908. askorderid5:
  13909. description: 卖单号5
  13910. type: integer
  13911. askordervolume:
  13912. description: 卖单量1
  13913. type: integer
  13914. askordervolume2:
  13915. description: 卖单量2
  13916. type: integer
  13917. askordervolume3:
  13918. description: 卖单量3
  13919. type: integer
  13920. askordervolume4:
  13921. description: 卖单量4
  13922. type: integer
  13923. askordervolume5:
  13924. description: 卖单量5
  13925. type: integer
  13926. askordervolume6:
  13927. description: 卖单量6
  13928. type: integer
  13929. askordervolume7:
  13930. description: 卖单量7
  13931. type: integer
  13932. askordervolume8:
  13933. description: 卖单量8
  13934. type: integer
  13935. askordervolume9:
  13936. description: 卖单量9
  13937. type: integer
  13938. askordervolume10:
  13939. description: 卖单量10
  13940. type: integer
  13941. askqueueinfo:
  13942. description: 大利市卖港股用
  13943. type: string
  13944. askvolume:
  13945. description: 卖量1
  13946. type: integer
  13947. askvolume2:
  13948. description: 卖量2
  13949. type: integer
  13950. askvolume3:
  13951. description: 卖量3
  13952. type: integer
  13953. askvolume4:
  13954. description: 卖量4
  13955. type: integer
  13956. askvolume5:
  13957. description: 卖量5
  13958. type: integer
  13959. askvolume6:
  13960. description: 卖量6
  13961. type: integer
  13962. askvolume7:
  13963. description: 卖量7
  13964. type: integer
  13965. askvolume8:
  13966. description: 卖量8
  13967. type: integer
  13968. askvolume9:
  13969. description: 卖量9
  13970. type: integer
  13971. askvolume10:
  13972. description: 卖量10
  13973. type: integer
  13974. averageprice:
  13975. description: 均价
  13976. type: number
  13977. bid:
  13978. description: 买1
  13979. type: number
  13980. bid2:
  13981. description: 买2
  13982. type: number
  13983. bid3:
  13984. description: 买3
  13985. type: number
  13986. bid4:
  13987. description: 买4
  13988. type: number
  13989. bid5:
  13990. description: 买5
  13991. type: number
  13992. bid6:
  13993. description: 买6
  13994. type: number
  13995. bid7:
  13996. description: 买7
  13997. type: number
  13998. bid8:
  13999. description: 买8
  14000. type: number
  14001. bid9:
  14002. description: 买9
  14003. type: number
  14004. bid10:
  14005. description: 买10
  14006. type: number
  14007. bidorderid:
  14008. description: 买单号1
  14009. type: integer
  14010. bidorderid2:
  14011. description: 买单号2
  14012. type: integer
  14013. bidorderid3:
  14014. description: 买单号3
  14015. type: integer
  14016. bidorderid4:
  14017. description: 买单号4
  14018. type: integer
  14019. bidorderid5:
  14020. description: 买单号5
  14021. type: integer
  14022. bidordervolume:
  14023. description: 买单量1
  14024. type: integer
  14025. bidordervolume2:
  14026. description: 买单量2
  14027. type: integer
  14028. bidordervolume3:
  14029. description: 买单量3
  14030. type: integer
  14031. bidordervolume4:
  14032. description: 买单量4
  14033. type: integer
  14034. bidordervolume5:
  14035. description: 买单量5
  14036. type: integer
  14037. bidordervolume6:
  14038. description: 买单量6
  14039. type: integer
  14040. bidordervolume7:
  14041. description: 买单量7
  14042. type: integer
  14043. bidordervolume8:
  14044. description: 买单量8
  14045. type: integer
  14046. bidordervolume9:
  14047. description: 买单量9
  14048. type: integer
  14049. bidordervolume10:
  14050. description: 买单量10
  14051. type: integer
  14052. bidqueueinfo:
  14053. description: 大利市买港股用
  14054. type: string
  14055. bidvolume:
  14056. description: 买量1
  14057. type: integer
  14058. bidvolume2:
  14059. description: 买量2
  14060. type: integer
  14061. bidvolume3:
  14062. description: 买量3
  14063. type: integer
  14064. bidvolume4:
  14065. description: 买量4
  14066. type: integer
  14067. bidvolume5:
  14068. description: 买量5
  14069. type: integer
  14070. bidvolume6:
  14071. description: 买量6
  14072. type: integer
  14073. bidvolume7:
  14074. description: 买量7
  14075. type: integer
  14076. bidvolume8:
  14077. description: 买量8
  14078. type: integer
  14079. bidvolume9:
  14080. description: 买量9
  14081. type: integer
  14082. bidvolume10:
  14083. description: 买量10
  14084. type: integer
  14085. calloptionpremiums:
  14086. description: 认购期权1
  14087. type: integer
  14088. calloptionpremiums2:
  14089. description: 认购期权2
  14090. type: integer
  14091. calloptionpremiums3:
  14092. description: 认购期权3
  14093. type: integer
  14094. calloptionpremiums4:
  14095. description: 认购期权4
  14096. type: integer
  14097. calloptionpremiums5:
  14098. description: 认购期权5
  14099. type: integer
  14100. cleartime:
  14101. description: 清盘时间
  14102. type: integer
  14103. exchangecode:
  14104. description: 交易所代码
  14105. type: integer
  14106. exchangedate:
  14107. description: 交易日
  14108. type: integer
  14109. goodscode:
  14110. description: 商品代码
  14111. type: string
  14112. grepmarketprice:
  14113. description: 暗盘价 港股专用
  14114. type: number
  14115. highest:
  14116. description: 最高价
  14117. type: number
  14118. holdincrement:
  14119. description: 单笔持仓
  14120. type: integer
  14121. holdvolume:
  14122. description: 持仓
  14123. type: integer
  14124. iep:
  14125. description: 平衡价 港股专用
  14126. type: number
  14127. iev:
  14128. description: 平衡量 港股专用
  14129. type: number
  14130. inventory:
  14131. description: 库存
  14132. type: integer
  14133. iscleared:
  14134. description: 是否清盘标志
  14135. type: integer
  14136. issettled:
  14137. description: 是否结算标志
  14138. type: integer
  14139. last:
  14140. description: 最新价
  14141. type: number
  14142. lastlot:
  14143. description: 最新成交手数
  14144. type: integer
  14145. lasttime:
  14146. description: 行情时间(只有现价变化行情时间才变化)
  14147. type: string
  14148. lastturnover:
  14149. description: 最新成交金额
  14150. type: number
  14151. lastvolume:
  14152. description: 最新成交量
  14153. type: integer
  14154. limitdown:
  14155. description: 跌停价
  14156. type: number
  14157. limitup:
  14158. description: 涨停价
  14159. type: number
  14160. lowest:
  14161. description: 最低价
  14162. type: number
  14163. nontotalholdervolume:
  14164. description: 非交易持仓量
  14165. type: integer
  14166. nontotallot:
  14167. description: 非交易总手数
  14168. type: integer
  14169. nontotalturnover:
  14170. description: 非交易总金额
  14171. type: integer
  14172. nontotalvolume:
  14173. description: 非交易总量
  14174. type: integer
  14175. opened:
  14176. description: 开盘价
  14177. type: number
  14178. opentime:
  14179. description: 开盘时间
  14180. type: string
  14181. orderid:
  14182. description: 序号
  14183. type: integer
  14184. preclose:
  14185. description: 昨收
  14186. type: number
  14187. preholdvolume:
  14188. description: 昨持仓
  14189. type: integer
  14190. presettle:
  14191. description: 昨结价
  14192. type: number
  14193. publictradetype:
  14194. description: 公共交易标志类型 港股专用
  14195. type: string
  14196. putoptionpremiums:
  14197. description: 认沽期权1
  14198. type: integer
  14199. putoptionpremiums2:
  14200. description: 认沽期权2
  14201. type: integer
  14202. putoptionpremiums3:
  14203. description: 认沽期权3
  14204. type: integer
  14205. putoptionpremiums4:
  14206. description: 认沽期权4
  14207. type: integer
  14208. putoptionpremiums5:
  14209. description: 认沽期权5
  14210. type: integer
  14211. settle:
  14212. description: 结算价
  14213. type: number
  14214. strikeprice:
  14215. description: 发行价
  14216. type: number
  14217. totalaskvolume:
  14218. description: 内盘
  14219. type: integer
  14220. totalbidvolume:
  14221. description: 外盘
  14222. type: integer
  14223. totallot:
  14224. description: 总手数
  14225. type: integer
  14226. totalturnover:
  14227. description: 总金额
  14228. type: number
  14229. totalvolume:
  14230. description: 总量
  14231. type: integer
  14232. utclasttime:
  14233. description: utc的行情时间
  14234. type: string
  14235. type: object
  14236. quote.QueryTSDataRsp:
  14237. properties:
  14238. Count:
  14239. description: 交易日应有数据个数
  14240. type: integer
  14241. decimalPlace:
  14242. description: 小数位
  14243. type: integer
  14244. endTime:
  14245. description: 结束时间
  14246. type: string
  14247. goodsCode:
  14248. description: 商品代码
  14249. type: string
  14250. historyDatas:
  14251. description: 历史数据
  14252. items:
  14253. $ref: '#/definitions/quote.HistoryData'
  14254. type: array
  14255. outGoodsCode:
  14256. description: 外部商品代码
  14257. type: string
  14258. preSettle:
  14259. description: 昨结价
  14260. type: number
  14261. runSteps:
  14262. description: 交易日开休市计划
  14263. items:
  14264. $ref: '#/definitions/quote.TSDataRunStep'
  14265. type: array
  14266. startTime:
  14267. description: 开始时间
  14268. type: string
  14269. tradeDate:
  14270. description: 交易日
  14271. type: string
  14272. type: object
  14273. quote.TSDataRunStep:
  14274. properties:
  14275. end:
  14276. description: 真实结束时间
  14277. type: string
  14278. endflag:
  14279. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  14280. type: integer
  14281. endtime:
  14282. description: 结束时间(HH:mm)
  14283. type: string
  14284. endweekday:
  14285. description: 结束周几
  14286. type: integer
  14287. groupid:
  14288. description: 分组ID
  14289. type: integer
  14290. runstep:
  14291. description: 运行阶段 - 2:连续交易
  14292. type: integer
  14293. sectionid:
  14294. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  14295. 结束时间=结算时间 结束周几=结算周几
  14296. type: integer
  14297. start:
  14298. description: 真实开始时间
  14299. type: string
  14300. startflag:
  14301. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  14302. type: integer
  14303. starttime:
  14304. description: 起始时间(HH:mm)
  14305. type: string
  14306. startweekday:
  14307. description: 起始周几
  14308. type: integer
  14309. tradeweekday:
  14310. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  14311. type: integer
  14312. type: object
  14313. szdz.QueryConvertLogRsp:
  14314. properties:
  14315. accountid:
  14316. description: 资金账户ID
  14317. type: integer
  14318. clientticket:
  14319. description: 客户端流水号
  14320. type: string
  14321. converttype:
  14322. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  14323. type: integer
  14324. createtime:
  14325. description: 记账时间
  14326. type: string
  14327. daymaxvalue:
  14328. description: 配置当日最大转入限制
  14329. type: number
  14330. daymaxvalue2:
  14331. description: 配置当日最大转入限制(转入)
  14332. type: number
  14333. goodscode:
  14334. description: 商品代码
  14335. type: string
  14336. goodsname:
  14337. description: 商品名称
  14338. type: string
  14339. handlestatus:
  14340. description: 处理状态
  14341. type: integer
  14342. innergoodsid:
  14343. description: 内部商品ID
  14344. type: integer
  14345. inratio:
  14346. description: 配置转入比值
  14347. type: integer
  14348. invalue:
  14349. description: 目标值
  14350. type: number
  14351. logid:
  14352. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14353. type: integer
  14354. mobile:
  14355. description: 手机号码(加密存储)
  14356. type: string
  14357. outergoodscode:
  14358. description: 外部商品代码[JD\PD]
  14359. type: string
  14360. outratio:
  14361. description: 配置转出比值
  14362. type: integer
  14363. outvalue:
  14364. description: 源值
  14365. type: number
  14366. pddecimalplace:
  14367. description: PD小数位
  14368. type: integer
  14369. qty:
  14370. description: 数量
  14371. type: string
  14372. remark:
  14373. description: 备注
  14374. type: string
  14375. sessionid:
  14376. description: 会话ID
  14377. type: integer
  14378. timemaxvalue:
  14379. description: 配置单次最大转入限制
  14380. type: number
  14381. timemaxvalue2:
  14382. description: 配置单次最大转入限制(转入)
  14383. type: number
  14384. timeminvalue:
  14385. description: 配置单次最小数量限制
  14386. type: number
  14387. timeminvalue2:
  14388. description: 配置单次最小数量限制(转入)
  14389. type: number
  14390. tradedate:
  14391. description: 交易日(yyyyMMdd)
  14392. type: string
  14393. userid:
  14394. description: 用户ID
  14395. type: integer
  14396. required:
  14397. - logid
  14398. type: object
  14399. szdz.QueryGoodsPickupRsp:
  14400. properties:
  14401. accountid:
  14402. description: 账户ID
  14403. type: integer
  14404. address:
  14405. description: 提货人详细地址
  14406. type: string
  14407. auditer:
  14408. description: 审核人
  14409. type: integer
  14410. audittime:
  14411. description: 审核时间
  14412. type: string
  14413. cardnum:
  14414. description: 提货人证件号码
  14415. type: string
  14416. cardtypeid:
  14417. description: 提货人证件类型
  14418. type: integer
  14419. checkremark:
  14420. description: 审核备注
  14421. type: string
  14422. goodscode:
  14423. description: 商品代码
  14424. type: string
  14425. goodsid:
  14426. description: 商品ID
  14427. type: integer
  14428. goodsname:
  14429. description: 商品名称
  14430. type: string
  14431. handlestatus:
  14432. description: 处理状态
  14433. type: integer
  14434. marketid:
  14435. description: 市场ID
  14436. type: integer
  14437. phonenum:
  14438. description: 提货人联系方式
  14439. type: string
  14440. qty:
  14441. description: 提货数量
  14442. type: number
  14443. recivername:
  14444. description: 提货人姓名
  14445. type: string
  14446. reqtime:
  14447. description: 更新时间
  14448. type: string
  14449. takemode:
  14450. description: 提货方式 - 2:自提 3:配送
  14451. type: integer
  14452. takeorderid:
  14453. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14454. type: string
  14455. takeorderstatus:
  14456. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14457. type: integer
  14458. takeremark:
  14459. description: 提货备注
  14460. type: string
  14461. tradedate:
  14462. description: 交易日(yyyyMMdd)
  14463. type: string
  14464. userid:
  14465. description: 用户ID
  14466. type: integer
  14467. required:
  14468. - takeorderid
  14469. type: object
  14470. szdz.QueryRecieptOrderRsp:
  14471. properties:
  14472. accountName:
  14473. description: 所属账号名称(已脱敏)
  14474. type: string
  14475. accountid:
  14476. description: 资金账号
  14477. type: integer
  14478. buyorsell:
  14479. description: 方向 - 0:买 1:卖
  14480. type: integer
  14481. enableqty:
  14482. description: 可摘数量
  14483. type: integer
  14484. goodscode:
  14485. description: 商品代码
  14486. type: string
  14487. goodsid:
  14488. description: 商品ID
  14489. type: integer
  14490. goodsname:
  14491. description: 商品名称
  14492. type: string
  14493. orderid:
  14494. description: 委托单号
  14495. type: string
  14496. orderprice:
  14497. description: 委托价格
  14498. type: number
  14499. ordertime:
  14500. description: 委托时间
  14501. type: string
  14502. tradedate:
  14503. description: 交易日(yyyyMMdd)
  14504. type: string
  14505. required:
  14506. - ordertime
  14507. type: object
  14508. szdz.QuerySZDZTradePositionRsp:
  14509. properties:
  14510. accountid:
  14511. description: 账号Id
  14512. type: integer
  14513. agreeunit:
  14514. description: 合约单位
  14515. type: number
  14516. averageprice:
  14517. description: 持仓均价
  14518. type: number
  14519. buyorsell:
  14520. description: 方向 - 0:买 1:卖
  14521. type: integer
  14522. closetotalqty:
  14523. description: 平仓总数量
  14524. type: integer
  14525. curholderamount:
  14526. description: 当前持仓总金额
  14527. type: number
  14528. curpositionqty:
  14529. description: 当前持仓总数量
  14530. type: integer
  14531. currencyid:
  14532. description: 报价货币ID
  14533. type: integer
  14534. curtdposition:
  14535. description: 期末今日头寸
  14536. type: integer
  14537. decimalplace:
  14538. description: 报价小数位
  14539. type: integer
  14540. enableqty:
  14541. description: 可用量
  14542. type: integer
  14543. fretdposition:
  14544. description: 冻结今日头寸
  14545. type: integer
  14546. frozenqty:
  14547. description: 持仓冻结数量
  14548. type: integer
  14549. goodscode:
  14550. description: 商品代码(内部)
  14551. type: string
  14552. goodsid:
  14553. description: 商品Id
  14554. type: integer
  14555. goodsname:
  14556. description: 商品名称
  14557. type: string
  14558. goodunit:
  14559. description: 报价单位
  14560. type: string
  14561. goodunitid:
  14562. description: 报价单位ID
  14563. type: integer
  14564. holderamount:
  14565. description: 期初持仓总金额
  14566. type: number
  14567. marketid:
  14568. description: 市场ID
  14569. type: integer
  14570. openreqqty:
  14571. description: 开仓申请数量
  14572. type: integer
  14573. opentotalqty:
  14574. description: 开仓总数量
  14575. type: integer
  14576. otherfrozenqty:
  14577. description: 持仓其他冻结数量(交割冻结)
  14578. type: integer
  14579. positionqty:
  14580. description: 期初持仓数量
  14581. type: integer
  14582. szdz3freezqty:
  14583. description: 尚志大宗转换冻结总数量
  14584. type: integer
  14585. tnqty:
  14586. description: T+N冻结总量
  14587. type: integer
  14588. tnusedqty:
  14589. description: T+N使用量
  14590. type: integer
  14591. trademode:
  14592. description: 交易模式
  14593. type: integer
  14594. usedmargin:
  14595. description: 占用保证金
  14596. type: number
  14597. type: object
  14598. taaccount.QueryAmountLogRsp:
  14599. properties:
  14600. OPERATETYPENAME:
  14601. description: 资金操作类型名称
  14602. type: string
  14603. accountid:
  14604. description: 资金账户ID
  14605. type: integer
  14606. agoodscode:
  14607. description: 竞拍商品代码
  14608. type: string
  14609. agoodsname:
  14610. description: 竞拍商品名称
  14611. type: string
  14612. amount:
  14613. description: 资金金额
  14614. type: number
  14615. amountadjusttype:
  14616. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14617. type: integer
  14618. autoid:
  14619. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14620. type: integer
  14621. balance:
  14622. description: 期初余额
  14623. type: number
  14624. businesscode:
  14625. description: 业务编号
  14626. type: integer
  14627. createtime:
  14628. description: 发生时间
  14629. type: string
  14630. currencyid:
  14631. description: 币种ID
  14632. type: integer
  14633. currentbalance:
  14634. description: 期末余额(变动后金额)
  14635. type: number
  14636. dgoodscode:
  14637. description: 交割商品代码
  14638. type: string
  14639. dgoodsname:
  14640. description: 交割商品名称
  14641. type: string
  14642. goodscode:
  14643. description: 商品代码
  14644. type: string
  14645. goodsid:
  14646. description: 商品ID
  14647. type: integer
  14648. goodsname:
  14649. description: 商品名称
  14650. type: string
  14651. marketid:
  14652. description: 市场ID
  14653. type: integer
  14654. marketname:
  14655. description: 市场名称
  14656. type: string
  14657. moneyticket:
  14658. description: 资金流水号:银行端流水号
  14659. type: integer
  14660. operatetype:
  14661. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14662. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14663. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14664. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14665. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14666. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14667. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14668. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14669. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14670. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14671. type: integer
  14672. relationorderid:
  14673. description: 关联单号
  14674. type: string
  14675. remark:
  14676. description: 备注
  14677. type: string
  14678. trademode:
  14679. description: 交易模式
  14680. type: integer
  14681. required:
  14682. - accountid
  14683. - amount
  14684. - amountadjusttype
  14685. - autoid
  14686. - balance
  14687. - createtime
  14688. - currentbalance
  14689. - operatetype
  14690. type: object
  14691. taaccount.QueryHisAmountLogRsp:
  14692. properties:
  14693. OPERATETYPENAME:
  14694. description: 资金操作类型名称
  14695. type: string
  14696. accountid:
  14697. description: 资金账户ID
  14698. type: integer
  14699. agoodscode:
  14700. description: 竞拍商品代码
  14701. type: string
  14702. agoodsname:
  14703. description: 竞拍商品名称
  14704. type: string
  14705. amount:
  14706. description: 资金金额
  14707. type: number
  14708. amountadjusttype:
  14709. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14710. type: integer
  14711. autoid:
  14712. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14713. type: integer
  14714. balance:
  14715. description: 期初余额
  14716. type: number
  14717. businesscode:
  14718. description: 业务编号
  14719. type: integer
  14720. createtime:
  14721. description: 发生时间
  14722. type: string
  14723. currencyid:
  14724. description: 币种ID
  14725. type: integer
  14726. currentbalance:
  14727. description: 期末余额(变动后金额)
  14728. type: number
  14729. dgoodscode:
  14730. description: 交割商品代码
  14731. type: string
  14732. dgoodsname:
  14733. description: 交割商品名称
  14734. type: string
  14735. goodscode:
  14736. description: 商品代码
  14737. type: string
  14738. goodsid:
  14739. description: 商品ID
  14740. type: integer
  14741. goodsname:
  14742. description: 商品名称
  14743. type: string
  14744. histradedate:
  14745. description: 历史交易日
  14746. type: string
  14747. isvaliddata:
  14748. description: 是否有效 - 0:无效 1:有效
  14749. type: integer
  14750. marketid:
  14751. description: 市场ID
  14752. type: integer
  14753. marketname:
  14754. description: 市场名称
  14755. type: string
  14756. moneyticket:
  14757. description: 资金流水号:银行端流水号
  14758. type: integer
  14759. operatetype:
  14760. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14761. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14762. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14763. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14764. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14765. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14766. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14767. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14768. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14769. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14770. type: integer
  14771. relationorderid:
  14772. description: 关联单号
  14773. type: string
  14774. remark:
  14775. description: 备注
  14776. type: string
  14777. trademode:
  14778. description: 交易模式
  14779. type: integer
  14780. required:
  14781. - accountid
  14782. - amount
  14783. - amountadjusttype
  14784. - autoid
  14785. - balance
  14786. - createtime
  14787. - currentbalance
  14788. - histradedate
  14789. - operatetype
  14790. type: object
  14791. trade.QueryRecieptOrderRsp:
  14792. properties:
  14793. accountName:
  14794. description: 所属账号名称(已脱敏)
  14795. type: string
  14796. accountid:
  14797. description: 资金账号
  14798. type: integer
  14799. buyorsell:
  14800. description: 方向 - 0:买 1:卖
  14801. type: integer
  14802. enableqty:
  14803. description: 可摘数量
  14804. type: integer
  14805. goodscode:
  14806. description: 商品代码
  14807. type: string
  14808. goodsid:
  14809. description: 商品ID
  14810. type: integer
  14811. goodsname:
  14812. description: 商品名称
  14813. type: string
  14814. orderid:
  14815. description: 委托单号
  14816. type: string
  14817. orderprice:
  14818. description: 委托价格
  14819. type: number
  14820. ordertime:
  14821. description: 委托时间
  14822. type: string
  14823. tradedate:
  14824. description: 交易日(yyyyMMdd)
  14825. type: string
  14826. required:
  14827. - ordertime
  14828. type: object
  14829. user.LoginQueryRsp:
  14830. properties:
  14831. areaRoles:
  14832. description: 所属角色信息
  14833. items:
  14834. $ref: '#/definitions/models.Arearole'
  14835. type: array
  14836. externalExchanges:
  14837. description: 外部交易所
  14838. items:
  14839. $ref: '#/definitions/models.Externalexchange'
  14840. type: array
  14841. goodsgroups:
  14842. description: 商品组
  14843. items:
  14844. $ref: '#/definitions/models.Goodsgroup'
  14845. type: array
  14846. loginAccount:
  14847. $ref: '#/definitions/models.Loginaccount'
  14848. description: 登录账号
  14849. type: object
  14850. markets:
  14851. description: 市场
  14852. items:
  14853. $ref: '#/definitions/models.Market'
  14854. type: array
  14855. systemParams:
  14856. description: 系统参数
  14857. items:
  14858. $ref: '#/definitions/models.Systemparam'
  14859. type: array
  14860. userAccount:
  14861. $ref: '#/definitions/models.Useraccount'
  14862. description: 用户账号
  14863. type: object
  14864. userInfo:
  14865. $ref: '#/definitions/models.Userinfo'
  14866. description: 用户信息
  14867. type: object
  14868. username:
  14869. description: 用户姓名
  14870. type: string
  14871. type: object
  14872. info:
  14873. contact: {}
  14874. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  14875. license: {}
  14876. termsOfService: http://www.muchinfo.cn
  14877. title: MTP2.0 查询服务 API
  14878. version: "1.0"
  14879. paths:
  14880. /CPTrade/QueryCPTradeMyBidInfos:
  14881. get:
  14882. parameters:
  14883. - description: 资金账户
  14884. in: query
  14885. name: accountid
  14886. required: true
  14887. type: integer
  14888. - description: 预售市场ID
  14889. in: query
  14890. name: marketid
  14891. type: integer
  14892. - description: 预售商品ID
  14893. in: query
  14894. name: goodsid
  14895. type: integer
  14896. produces:
  14897. - application/json
  14898. responses:
  14899. "200":
  14900. description: OK
  14901. schema:
  14902. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  14903. "500":
  14904. description: Internal Server Error
  14905. schema:
  14906. $ref: '#/definitions/app.Response'
  14907. security:
  14908. - ApiKeyAuth: []
  14909. summary: 查询产能预售我的出价信息
  14910. tags:
  14911. - 产能预售
  14912. /CPTrade/QueryCPTradeOrderDetail:
  14913. get:
  14914. parameters:
  14915. - description: 预售商品ID
  14916. in: query
  14917. name: goodsid
  14918. type: integer
  14919. - description: 预售市场ID
  14920. in: query
  14921. name: marketid
  14922. type: integer
  14923. - description: 预售商品ID列表 - 格式:1,2,3
  14924. in: query
  14925. name: goodsids
  14926. type: string
  14927. produces:
  14928. - application/json
  14929. responses:
  14930. "200":
  14931. description: OK
  14932. schema:
  14933. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  14934. "500":
  14935. description: Internal Server Error
  14936. schema:
  14937. $ref: '#/definitions/app.Response'
  14938. security:
  14939. - ApiKeyAuth: []
  14940. summary: 查询产能预售委托单信息
  14941. tags:
  14942. - 产能预售
  14943. /CPTrade/QueryMyCPTradeGoods:
  14944. get:
  14945. parameters:
  14946. - description: 资金账户
  14947. in: query
  14948. name: accountid
  14949. required: true
  14950. type: integer
  14951. produces:
  14952. - application/json
  14953. responses:
  14954. "200":
  14955. description: OK
  14956. schema:
  14957. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  14958. "500":
  14959. description: Internal Server Error
  14960. schema:
  14961. $ref: '#/definitions/app.Response'
  14962. security:
  14963. - ApiKeyAuth: []
  14964. summary: 查询我的预售信息
  14965. tags:
  14966. - 产能预售
  14967. /CPTrade/QueryPositionCancel:
  14968. get:
  14969. parameters:
  14970. - description: 账户ID
  14971. in: query
  14972. name: userid
  14973. required: true
  14974. type: integer
  14975. - description: 注销ID
  14976. in: query
  14977. name: cancelid
  14978. type: integer
  14979. - description: 资金账户ID
  14980. in: query
  14981. name: accountid
  14982. type: integer
  14983. produces:
  14984. - application/json
  14985. responses:
  14986. "200":
  14987. description: OK
  14988. schema:
  14989. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  14990. "500":
  14991. description: Internal Server Error
  14992. schema:
  14993. $ref: '#/definitions/app.Response'
  14994. security:
  14995. - ApiKeyAuth: []
  14996. summary: 查询远期订单注销申请信息
  14997. tags:
  14998. - 产能预售
  14999. /CPTrade/QueryPreasleApply:
  15000. get:
  15001. parameters:
  15002. - description: 账户ID
  15003. in: query
  15004. name: userid
  15005. required: true
  15006. type: integer
  15007. - description: 申请ID
  15008. in: query
  15009. name: applyid
  15010. type: integer
  15011. - description: 资金账户ID
  15012. in: query
  15013. name: accountid
  15014. type: integer
  15015. produces:
  15016. - application/json
  15017. responses:
  15018. "200":
  15019. description: OK
  15020. schema:
  15021. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15022. "500":
  15023. description: Internal Server Error
  15024. schema:
  15025. $ref: '#/definitions/app.Response'
  15026. security:
  15027. - ApiKeyAuth: []
  15028. summary: 查询产能预售申请信息
  15029. tags:
  15030. - 产能预售
  15031. /CPTrade/QueryPresaleGoodsEx:
  15032. get:
  15033. parameters:
  15034. - description: 预售商品ID
  15035. in: query
  15036. name: goodsid
  15037. type: integer
  15038. - description: 预售市场ID
  15039. in: query
  15040. name: marketid
  15041. type: integer
  15042. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15043. in: query
  15044. name: presalemode
  15045. type: integer
  15046. - description: 预售商品ID列表 - 格式:1,2,3
  15047. in: query
  15048. name: goodsids
  15049. type: string
  15050. - description: 预售商品代码
  15051. in: query
  15052. name: goodscode
  15053. type: string
  15054. produces:
  15055. - application/json
  15056. responses:
  15057. "200":
  15058. description: OK
  15059. schema:
  15060. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  15061. "500":
  15062. description: Internal Server Error
  15063. schema:
  15064. $ref: '#/definitions/app.Response'
  15065. security:
  15066. - ApiKeyAuth: []
  15067. summary: 查询产能预售商品扩展信息
  15068. tags:
  15069. - 产能预售
  15070. /CPTrade/QueryUserGoodsData:
  15071. get:
  15072. parameters:
  15073. - description: 资金账户ID
  15074. in: query
  15075. name: accountid
  15076. required: true
  15077. type: integer
  15078. produces:
  15079. - application/json
  15080. responses:
  15081. "200":
  15082. description: OK
  15083. schema:
  15084. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15085. "500":
  15086. description: Internal Server Error
  15087. schema:
  15088. $ref: '#/definitions/app.Response'
  15089. security:
  15090. - ApiKeyAuth: []
  15091. summary: 查询远期订单信息
  15092. tags:
  15093. - 产能预售
  15094. /Common/GetAllEnums:
  15095. get:
  15096. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15097. parameters:
  15098. - description: 起始自增ID
  15099. in: query
  15100. name: autoid
  15101. type: integer
  15102. produces:
  15103. - application/json
  15104. responses:
  15105. "200":
  15106. description: OK
  15107. schema:
  15108. $ref: '#/definitions/models.Enumdicitem'
  15109. "500":
  15110. description: Internal Server Error
  15111. schema:
  15112. $ref: '#/definitions/app.Response'
  15113. summary: 获取所有枚举信息
  15114. tags:
  15115. - 通用服务
  15116. /Common/GetClientMenus:
  15117. get:
  15118. parameters:
  15119. - description: 登录账号
  15120. in: query
  15121. name: loginID
  15122. required: true
  15123. type: integer
  15124. - description: 终端类型,0:PC 1:Mobile
  15125. in: query
  15126. name: clientType
  15127. type: integer
  15128. produces:
  15129. - application/json
  15130. responses:
  15131. "200":
  15132. description: OK
  15133. schema:
  15134. items:
  15135. $ref: '#/definitions/common.ClientMenu'
  15136. type: array
  15137. "500":
  15138. description: Internal Server Error
  15139. schema:
  15140. $ref: '#/definitions/app.Response'
  15141. security:
  15142. - ApiKeyAuth: []
  15143. summary: 获取交易端菜单
  15144. tags:
  15145. - 通用服务
  15146. /Common/GetDivisions:
  15147. get:
  15148. produces:
  15149. - application/json
  15150. responses:
  15151. "200":
  15152. description: OK
  15153. schema:
  15154. $ref: '#/definitions/models.Division'
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. summary: 查询区域信息
  15160. tags:
  15161. - 通用服务
  15162. /Common/GetServerTime:
  15163. get:
  15164. produces:
  15165. - application/json
  15166. responses:
  15167. "200":
  15168. description: OK
  15169. schema:
  15170. $ref: '#/definitions/app.Response'
  15171. "500":
  15172. description: Internal Server Error
  15173. schema:
  15174. $ref: '#/definitions/app.Response'
  15175. summary: 获取服务器时间
  15176. tags:
  15177. - 通用服务
  15178. /Common/NoticeReaded:
  15179. post:
  15180. parameters:
  15181. - description: 登录账号
  15182. in: query
  15183. name: loginID
  15184. required: true
  15185. type: integer
  15186. - description: 通知公告ID
  15187. in: query
  15188. name: noticeID
  15189. required: true
  15190. type: integer
  15191. produces:
  15192. - application/json
  15193. responses:
  15194. "200":
  15195. description: OK
  15196. schema:
  15197. $ref: '#/definitions/app.Response'
  15198. "500":
  15199. description: Internal Server Error
  15200. schema:
  15201. $ref: '#/definitions/app.Response'
  15202. security:
  15203. - ApiKeyAuth: []
  15204. summary: 通知公告设置已读请求
  15205. tags:
  15206. - 通用服务
  15207. /Common/QueryErrorInfos:
  15208. get:
  15209. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15210. parameters:
  15211. - description: 起始行号前索引
  15212. in: query
  15213. name: rowNumber
  15214. type: string
  15215. produces:
  15216. - application/json
  15217. responses:
  15218. "200":
  15219. description: OK
  15220. schema:
  15221. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. summary: 获取数据库错误信息
  15227. tags:
  15228. - 通用服务
  15229. /Common/QueryImageConfigs:
  15230. get:
  15231. parameters:
  15232. - description: 用户id
  15233. in: query
  15234. name: userId
  15235. type: integer
  15236. - description: 类型 - 1:App首页轮播 2:我的
  15237. in: query
  15238. name: imageType
  15239. type: integer
  15240. produces:
  15241. - application/json
  15242. responses:
  15243. "200":
  15244. description: OK
  15245. schema:
  15246. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15247. "500":
  15248. description: Internal Server Error
  15249. schema:
  15250. $ref: '#/definitions/app.Response'
  15251. summary: 查询轮播图配置信息
  15252. tags:
  15253. - 通用服务
  15254. /Common/QueryNotice:
  15255. get:
  15256. parameters:
  15257. - description: 页码
  15258. in: query
  15259. name: page
  15260. type: integer
  15261. - description: 每页条数
  15262. in: query
  15263. name: pagesize
  15264. type: integer
  15265. - description: 登录账号
  15266. in: query
  15267. name: loginID
  15268. required: true
  15269. type: integer
  15270. - description: 消息类型 - 1:公告通知 2:系统消息
  15271. in: query
  15272. name: msgType
  15273. type: integer
  15274. - description: 是否只获取未读信息
  15275. in: query
  15276. name: onlyUnRead
  15277. type: boolean
  15278. - description: 自增ID,传入后会返回这个ID后面的记录
  15279. in: query
  15280. name: lastID
  15281. type: integer
  15282. produces:
  15283. - application/json
  15284. responses:
  15285. "200":
  15286. description: OK
  15287. schema:
  15288. $ref: '#/definitions/common.QueryNoticeRsp'
  15289. "500":
  15290. description: Internal Server Error
  15291. schema:
  15292. $ref: '#/definitions/app.Response'
  15293. security:
  15294. - ApiKeyAuth: []
  15295. summary: 通知公告系统消息查询
  15296. tags:
  15297. - 通用服务
  15298. /Common/QueryProvincesAndCities:
  15299. get:
  15300. parameters:
  15301. - description: 省ID
  15302. in: query
  15303. name: provinceID
  15304. type: integer
  15305. produces:
  15306. - application/json
  15307. responses:
  15308. "200":
  15309. description: OK
  15310. schema:
  15311. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  15312. "500":
  15313. description: Internal Server Error
  15314. schema:
  15315. $ref: '#/definitions/app.Response'
  15316. summary: 查询省市信息(不包括区)
  15317. tags:
  15318. - 通用服务
  15319. /Common/QueryTableDefine:
  15320. get:
  15321. parameters:
  15322. - description: 表key
  15323. in: query
  15324. name: tableKey
  15325. type: string
  15326. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  15327. in: query
  15328. name: tableType
  15329. type: integer
  15330. produces:
  15331. - application/json
  15332. responses:
  15333. "200":
  15334. description: OK
  15335. schema:
  15336. $ref: '#/definitions/common.QueryTableDefineRsp'
  15337. "500":
  15338. description: Internal Server Error
  15339. schema:
  15340. $ref: '#/definitions/app.Response'
  15341. summary: 查询交易端列表头信息
  15342. tags:
  15343. - 通用服务
  15344. /Common/QueryTraderMenu:
  15345. get:
  15346. parameters:
  15347. - description: 登录账号
  15348. in: query
  15349. name: loginid
  15350. required: true
  15351. type: integer
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. $ref: '#/definitions/common.QueryTraderMenuRsp'
  15359. "500":
  15360. description: Internal Server Error
  15361. schema:
  15362. $ref: '#/definitions/app.Response'
  15363. summary: 查询交易端菜单
  15364. tags:
  15365. - 通用服务
  15366. /Delivery/QueryDeliveryRelation:
  15367. get:
  15368. parameters:
  15369. - description: 商品ID
  15370. in: query
  15371. name: goodsid
  15372. type: integer
  15373. - description: 品种ID
  15374. in: query
  15375. name: deliverygoodsid
  15376. type: integer
  15377. - description: 市场ID
  15378. in: query
  15379. name: marketid
  15380. type: integer
  15381. produces:
  15382. - application/json
  15383. responses:
  15384. "200":
  15385. description: OK
  15386. schema:
  15387. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  15388. "500":
  15389. description: Internal Server Error
  15390. schema:
  15391. $ref: '#/definitions/app.Response'
  15392. security:
  15393. - ApiKeyAuth: []
  15394. summary: 查询商品交割关系表
  15395. tags:
  15396. - 交割服务
  15397. /Ermcp/GetErmcpGoods:
  15398. get:
  15399. parameters:
  15400. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15401. in: query
  15402. name: lastUpdateTime
  15403. type: string
  15404. produces:
  15405. - application/json
  15406. responses:
  15407. "200":
  15408. description: OK
  15409. schema:
  15410. $ref: '#/definitions/models.ErmcpGoods'
  15411. "500":
  15412. description: Internal Server Error
  15413. schema:
  15414. $ref: '#/definitions/app.Response'
  15415. security:
  15416. - ApiKeyAuth: []
  15417. summary: 查询企业风管期货商品信息
  15418. tags:
  15419. - 企业风险管理(app)
  15420. /Ermcp/GetErmcpGoodsSortByPosition:
  15421. get:
  15422. parameters:
  15423. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  15424. in: query
  15425. name: sortIndex
  15426. type: string
  15427. produces:
  15428. - application/json
  15429. responses:
  15430. "200":
  15431. description: OK
  15432. schema:
  15433. $ref: '#/definitions/models.Goodssortbypreposition'
  15434. "500":
  15435. description: Internal Server Error
  15436. schema:
  15437. $ref: '#/definitions/app.Response'
  15438. security:
  15439. - ApiKeyAuth: []
  15440. summary: 查询企业风管期货主力、次主力商品信息
  15441. tags:
  15442. - 企业风险管理(app)
  15443. /Ermcp/GetErmcpOutAccountStatus:
  15444. get:
  15445. parameters:
  15446. - description: 登录账号
  15447. in: query
  15448. name: loginID
  15449. required: true
  15450. type: integer
  15451. produces:
  15452. - application/json
  15453. responses:
  15454. "200":
  15455. description: OK
  15456. schema:
  15457. $ref: '#/definitions/models.Hedgemarketopenlog'
  15458. "500":
  15459. description: Internal Server Error
  15460. schema:
  15461. $ref: '#/definitions/app.Response'
  15462. security:
  15463. - ApiKeyAuth: []
  15464. summary: 获取目标登录账号当前对冲账号在线状态
  15465. tags:
  15466. - 企业风险管理(app)
  15467. /Ermcp/GetErmcpRoleFuncMenuLists:
  15468. get:
  15469. parameters:
  15470. - description: 登录账号
  15471. in: query
  15472. name: loginID
  15473. required: true
  15474. type: integer
  15475. produces:
  15476. - application/json
  15477. responses:
  15478. "200":
  15479. description: OK
  15480. schema:
  15481. $ref: '#/definitions/models.Funcmenulist'
  15482. "500":
  15483. description: Internal Server Error
  15484. schema:
  15485. $ref: '#/definitions/app.Response'
  15486. security:
  15487. - ApiKeyAuth: []
  15488. summary: 获取企业风管终端权限
  15489. tags:
  15490. - 企业风险管理(app)
  15491. /Ermcp/QueryAccMgrBizGroupSet:
  15492. get:
  15493. parameters:
  15494. - description: 用户ID
  15495. in: query
  15496. name: userid
  15497. required: true
  15498. type: integer
  15499. - description: 现货商品id
  15500. in: query
  15501. name: deliverygoodsid
  15502. type: integer
  15503. produces:
  15504. - application/json
  15505. responses:
  15506. "200":
  15507. description: OK
  15508. schema:
  15509. items:
  15510. $ref: '#/definitions/models.ErmcpBizGroupEx'
  15511. type: array
  15512. "500":
  15513. description: Internal Server Error
  15514. schema:
  15515. $ref: '#/definitions/app.Response'
  15516. security:
  15517. - ApiKeyAuth: []
  15518. summary: 查询业务类型分组(账户管理/账户设置)
  15519. tags:
  15520. - 企业风险管理(app)
  15521. /Ermcp/QueryAccMgrLoginUser:
  15522. get:
  15523. parameters:
  15524. - description: 用户ID
  15525. in: query
  15526. name: userid
  15527. required: true
  15528. type: integer
  15529. - description: 用户类型 2-机构 7-企业成员
  15530. in: query
  15531. name: usertype
  15532. type: integer
  15533. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  15534. in: query
  15535. name: querytype
  15536. required: true
  15537. type: integer
  15538. produces:
  15539. - application/json
  15540. responses:
  15541. "200":
  15542. description: OK
  15543. schema:
  15544. items:
  15545. $ref: '#/definitions/models.ErmcpLoginUserEx'
  15546. type: array
  15547. "500":
  15548. description: Internal Server Error
  15549. schema:
  15550. $ref: '#/definitions/app.Response'
  15551. security:
  15552. - ApiKeyAuth: []
  15553. summary: 查询账户管理登录账号(账户管理/登录账号)
  15554. tags:
  15555. - 企业风险管理(app)
  15556. /Ermcp/QueryAccMgrMainAccountInfo:
  15557. get:
  15558. parameters:
  15559. - description: 用户ID
  15560. in: query
  15561. name: userid
  15562. type: integer
  15563. - description: 主账号id
  15564. in: query
  15565. name: accountid
  15566. type: integer
  15567. produces:
  15568. - application/json
  15569. responses:
  15570. "200":
  15571. description: OK
  15572. schema:
  15573. items:
  15574. $ref: '#/definitions/models.MainAccountInfo'
  15575. type: array
  15576. "500":
  15577. description: Internal Server Error
  15578. schema:
  15579. $ref: '#/definitions/app.Response'
  15580. security:
  15581. - ApiKeyAuth: []
  15582. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  15583. tags:
  15584. - 企业风险管理(app)
  15585. /Ermcp/QueryAccMgrRole:
  15586. get:
  15587. parameters:
  15588. - description: 用户ID
  15589. in: query
  15590. name: userid
  15591. required: true
  15592. type: integer
  15593. produces:
  15594. - application/json
  15595. responses:
  15596. "200":
  15597. description: OK
  15598. schema:
  15599. items:
  15600. $ref: '#/definitions/models.ErmcpRole'
  15601. type: array
  15602. "500":
  15603. description: Internal Server Error
  15604. schema:
  15605. $ref: '#/definitions/app.Response'
  15606. security:
  15607. - ApiKeyAuth: []
  15608. summary: 查询账户管理角色设置(账户管理/角色设置)
  15609. tags:
  15610. - 企业风险管理(app)
  15611. /Ermcp/QueryAccMgrRoleMenu:
  15612. get:
  15613. parameters:
  15614. - description: 用户ID
  15615. in: query
  15616. name: userid
  15617. required: true
  15618. type: integer
  15619. - description: 角色id(可多个,逗号隔开)
  15620. in: query
  15621. name: roleid
  15622. type: string
  15623. produces:
  15624. - application/json
  15625. responses:
  15626. "200":
  15627. description: OK
  15628. schema:
  15629. items:
  15630. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  15631. type: array
  15632. "500":
  15633. description: Internal Server Error
  15634. schema:
  15635. $ref: '#/definitions/app.Response'
  15636. security:
  15637. - ApiKeyAuth: []
  15638. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  15639. tags:
  15640. - 企业风险管理(app)
  15641. /Ermcp/QueryAccMgrTaAccountInfo:
  15642. get:
  15643. parameters:
  15644. - description: 用户ID
  15645. in: query
  15646. name: userid
  15647. required: true
  15648. type: integer
  15649. - description: 账号id
  15650. in: query
  15651. name: accountid
  15652. type: integer
  15653. produces:
  15654. - application/json
  15655. responses:
  15656. "200":
  15657. description: OK
  15658. schema:
  15659. items:
  15660. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  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/QueryAccMgrTaaccount:
  15672. get:
  15673. parameters:
  15674. - description: 用户ID
  15675. in: query
  15676. name: userid
  15677. required: true
  15678. type: integer
  15679. produces:
  15680. - application/json
  15681. responses:
  15682. "200":
  15683. description: OK
  15684. schema:
  15685. items:
  15686. $ref: '#/definitions/models.ErmcpTaAccountEx'
  15687. type: array
  15688. "500":
  15689. description: Internal Server Error
  15690. schema:
  15691. $ref: '#/definitions/app.Response'
  15692. security:
  15693. - ApiKeyAuth: []
  15694. summary: 查询账户管理期货账号(账户管理/期货账号)
  15695. tags:
  15696. - 企业风险管理(app)
  15697. /Ermcp/QueryAvaildGoodsGroup:
  15698. get:
  15699. parameters:
  15700. - description: 所属机构ID
  15701. in: query
  15702. name: userid
  15703. required: true
  15704. type: integer
  15705. produces:
  15706. - application/json
  15707. responses:
  15708. "200":
  15709. description: OK
  15710. schema:
  15711. items:
  15712. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  15713. type: array
  15714. "500":
  15715. description: Internal Server Error
  15716. schema:
  15717. $ref: '#/definitions/app.Response'
  15718. security:
  15719. - ApiKeyAuth: []
  15720. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  15721. tags:
  15722. - 企业风险管理(app)
  15723. /Ermcp/QueryBusinessDj:
  15724. get:
  15725. parameters:
  15726. - description: 用户ID
  15727. in: query
  15728. name: UserId
  15729. required: true
  15730. type: integer
  15731. - description: 用户类型 2-机构 7-企业成员
  15732. in: query
  15733. name: usertype
  15734. type: integer
  15735. - description: 现货合同ID, 不填则查所有
  15736. in: query
  15737. name: relatedid
  15738. type: string
  15739. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15740. in: query
  15741. name: applystatus
  15742. type: string
  15743. produces:
  15744. - application/json
  15745. responses:
  15746. "200":
  15747. description: OK
  15748. schema:
  15749. items:
  15750. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  15751. type: array
  15752. "500":
  15753. description: Internal Server Error
  15754. schema:
  15755. $ref: '#/definitions/app.Response'
  15756. security:
  15757. - ApiKeyAuth: []
  15758. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  15759. tags:
  15760. - 企业风险管理(app)
  15761. /Ermcp/QueryBusinessFp:
  15762. get:
  15763. parameters:
  15764. - description: 用户ID
  15765. in: query
  15766. name: UserId
  15767. required: true
  15768. type: integer
  15769. - description: 用户类型 2-机构 7-企业成员
  15770. in: query
  15771. name: usertype
  15772. type: integer
  15773. - description: 现货合同ID, 不填则查所有
  15774. in: query
  15775. name: relatedid
  15776. type: string
  15777. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15778. in: query
  15779. name: applystatus
  15780. type: string
  15781. produces:
  15782. - application/json
  15783. responses:
  15784. "200":
  15785. description: OK
  15786. schema:
  15787. items:
  15788. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  15789. type: array
  15790. "500":
  15791. description: Internal Server Error
  15792. schema:
  15793. $ref: '#/definitions/app.Response'
  15794. security:
  15795. - ApiKeyAuth: []
  15796. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  15797. tags:
  15798. - 企业风险管理(app)
  15799. /Ermcp/QueryBusinessJs:
  15800. get:
  15801. parameters:
  15802. - description: 用户ID
  15803. in: query
  15804. name: UserId
  15805. required: true
  15806. type: integer
  15807. - description: 用户类型 2-机构 7-企业成员
  15808. in: query
  15809. name: usertype
  15810. type: integer
  15811. - description: 现货合同ID, 不填则查所有
  15812. in: query
  15813. name: relatedid
  15814. type: string
  15815. - description: 操作申请id
  15816. in: query
  15817. name: operateapplyid
  15818. type: string
  15819. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15820. in: query
  15821. name: applystatus
  15822. type: string
  15823. produces:
  15824. - application/json
  15825. responses:
  15826. "200":
  15827. description: OK
  15828. schema:
  15829. items:
  15830. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  15831. type: array
  15832. "500":
  15833. description: Internal Server Error
  15834. schema:
  15835. $ref: '#/definitions/app.Response'
  15836. security:
  15837. - ApiKeyAuth: []
  15838. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  15839. tags:
  15840. - 企业风险管理(app)
  15841. /Ermcp/QueryBusinessJsEx:
  15842. get:
  15843. parameters:
  15844. - description: 用户ID
  15845. in: query
  15846. name: UserId
  15847. required: true
  15848. type: integer
  15849. - description: 用户类型 2-机构 7-企业成员
  15850. in: query
  15851. name: usertype
  15852. type: integer
  15853. - description: 现货合同ID, 不填则查所有
  15854. in: query
  15855. name: relatedid
  15856. type: string
  15857. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15858. in: query
  15859. name: applystatus
  15860. type: string
  15861. produces:
  15862. - application/json
  15863. responses:
  15864. "200":
  15865. description: OK
  15866. schema:
  15867. items:
  15868. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  15869. type: array
  15870. "500":
  15871. description: Internal Server Error
  15872. schema:
  15873. $ref: '#/definitions/app.Response'
  15874. security:
  15875. - ApiKeyAuth: []
  15876. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  15877. tags:
  15878. - 企业风险管理(app)
  15879. /Ermcp/QueryBusinessKx:
  15880. get:
  15881. parameters:
  15882. - description: 用户ID
  15883. in: query
  15884. name: UserId
  15885. required: true
  15886. type: integer
  15887. - description: 用户类型 2-机构 7-企业成员
  15888. in: query
  15889. name: usertype
  15890. type: integer
  15891. - description: 现货合同ID, 不填则查所有
  15892. in: query
  15893. name: relatedid
  15894. type: string
  15895. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15896. in: query
  15897. name: applystatus
  15898. type: string
  15899. produces:
  15900. - application/json
  15901. responses:
  15902. "200":
  15903. description: OK
  15904. schema:
  15905. items:
  15906. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  15907. type: array
  15908. "500":
  15909. description: Internal Server Error
  15910. schema:
  15911. $ref: '#/definitions/app.Response'
  15912. security:
  15913. - ApiKeyAuth: []
  15914. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  15915. tags:
  15916. - 企业风险管理(app)
  15917. /Ermcp/QueryChangeLog:
  15918. get:
  15919. parameters:
  15920. - description: 合同ID
  15921. in: query
  15922. name: RelatedId
  15923. required: true
  15924. type: string
  15925. produces:
  15926. - application/json
  15927. responses:
  15928. "200":
  15929. description: OK
  15930. schema:
  15931. items:
  15932. $ref: '#/definitions/ermcp.QryOPLogRsp'
  15933. type: array
  15934. "500":
  15935. description: Internal Server Error
  15936. schema:
  15937. $ref: '#/definitions/app.Response'
  15938. security:
  15939. - ApiKeyAuth: []
  15940. summary: 查询变更记录
  15941. tags:
  15942. - 企业风险管理(app)
  15943. /Ermcp/QueryErmcpHisOrderDetails:
  15944. get:
  15945. parameters:
  15946. - description: 资金账户ID
  15947. in: query
  15948. name: accountID
  15949. required: true
  15950. type: integer
  15951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15952. in: query
  15953. name: startDate
  15954. type: string
  15955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15956. in: query
  15957. name: endDate
  15958. type: string
  15959. produces:
  15960. - application/json
  15961. responses:
  15962. "200":
  15963. description: OK
  15964. schema:
  15965. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  15966. "500":
  15967. description: Internal Server Error
  15968. schema:
  15969. $ref: '#/definitions/app.Response'
  15970. security:
  15971. - ApiKeyAuth: []
  15972. summary: 获取企业风管期货历史委托单信息
  15973. tags:
  15974. - 企业风险管理(app)
  15975. /Ermcp/QueryErmcpHisTradeDetails:
  15976. get:
  15977. parameters:
  15978. - description: 资金账户ID
  15979. in: query
  15980. name: accountID
  15981. required: true
  15982. type: integer
  15983. - description: 商品ID
  15984. in: query
  15985. name: goodsID
  15986. type: integer
  15987. - description: 买卖方向,0:买 1:卖
  15988. in: query
  15989. name: buyOrSell
  15990. type: integer
  15991. - description: 关联委托单号
  15992. in: query
  15993. name: orderID
  15994. type: integer
  15995. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15996. in: query
  15997. name: startDate
  15998. type: string
  15999. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16000. in: query
  16001. name: endDate
  16002. type: string
  16003. produces:
  16004. - application/json
  16005. responses:
  16006. "200":
  16007. description: OK
  16008. schema:
  16009. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16010. "500":
  16011. description: Internal Server Error
  16012. schema:
  16013. $ref: '#/definitions/app.Response'
  16014. security:
  16015. - ApiKeyAuth: []
  16016. summary: 获取企业风管期货历史成交单信息
  16017. tags:
  16018. - 企业风险管理(app)
  16019. /Ermcp/QueryErmcpInnerHolderDetails:
  16020. get:
  16021. parameters:
  16022. - description: 资金账户ID
  16023. in: query
  16024. name: accountID
  16025. required: true
  16026. type: integer
  16027. - description: 商品ID
  16028. in: query
  16029. name: goodsID
  16030. type: integer
  16031. - description: 买卖方向,0:买 1:卖
  16032. in: query
  16033. name: buyOrSell
  16034. type: integer
  16035. produces:
  16036. - application/json
  16037. responses:
  16038. "200":
  16039. description: OK
  16040. schema:
  16041. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16042. "500":
  16043. description: Internal Server Error
  16044. schema:
  16045. $ref: '#/definitions/app.Response'
  16046. security:
  16047. - ApiKeyAuth: []
  16048. summary: 获取企业风管期货内部持仓单信息
  16049. tags:
  16050. - 企业风险管理(app)
  16051. /Ermcp/QueryErmcpOrderDetails:
  16052. get:
  16053. parameters:
  16054. - description: 资金账户ID
  16055. in: query
  16056. name: accountID
  16057. required: true
  16058. type: integer
  16059. produces:
  16060. - application/json
  16061. responses:
  16062. "200":
  16063. description: OK
  16064. schema:
  16065. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16066. "500":
  16067. description: Internal Server Error
  16068. schema:
  16069. $ref: '#/definitions/app.Response'
  16070. security:
  16071. - ApiKeyAuth: []
  16072. summary: 获取企业风管期货委托单信息
  16073. tags:
  16074. - 企业风险管理(app)
  16075. /Ermcp/QueryErmcpTradeDetails:
  16076. get:
  16077. parameters:
  16078. - description: 资金账户ID
  16079. in: query
  16080. name: accountID
  16081. required: true
  16082. type: integer
  16083. - description: 商品ID
  16084. in: query
  16085. name: goodsID
  16086. type: integer
  16087. - description: 买卖方向,0:买 1:卖
  16088. in: query
  16089. name: buyOrSell
  16090. type: integer
  16091. - description: 关联委托单号
  16092. in: query
  16093. name: orderID
  16094. type: integer
  16095. produces:
  16096. - application/json
  16097. responses:
  16098. "200":
  16099. description: OK
  16100. schema:
  16101. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpTradePosition:
  16112. get:
  16113. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16114. parameters:
  16115. - description: 资金账户ID
  16116. in: query
  16117. name: accountID
  16118. required: true
  16119. type: integer
  16120. - description: 所属市场ID
  16121. in: query
  16122. name: marketID
  16123. type: integer
  16124. produces:
  16125. - application/json
  16126. responses:
  16127. "200":
  16128. description: OK
  16129. schema:
  16130. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16131. "500":
  16132. description: Internal Server Error
  16133. schema:
  16134. $ref: '#/definitions/app.Response'
  16135. security:
  16136. - ApiKeyAuth: []
  16137. summary: 获取企业风管期货持仓头寸信息
  16138. tags:
  16139. - 企业风险管理(app)
  16140. /Ermcp/QueryExposureDetail:
  16141. get:
  16142. parameters:
  16143. - description: 所属机构ID
  16144. in: query
  16145. name: areaUserId
  16146. required: true
  16147. type: integer
  16148. - description: 套保商品
  16149. in: query
  16150. name: middleGoodsId
  16151. required: true
  16152. type: integer
  16153. produces:
  16154. - application/json
  16155. responses:
  16156. "200":
  16157. description: OK
  16158. schema:
  16159. items:
  16160. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16161. type: array
  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/QueryExposureGoods:
  16172. get:
  16173. parameters:
  16174. - description: 套保商品id
  16175. in: query
  16176. name: middlegoodsid
  16177. required: true
  16178. type: integer
  16179. produces:
  16180. - application/json
  16181. responses:
  16182. "200":
  16183. description: OK
  16184. schema:
  16185. items:
  16186. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16187. type: array
  16188. "500":
  16189. description: Internal Server Error
  16190. schema:
  16191. $ref: '#/definitions/app.Response'
  16192. security:
  16193. - ApiKeyAuth: []
  16194. summary: 查询敞口主力合约
  16195. tags:
  16196. - 企业风险管理(app)
  16197. /Ermcp/QueryExposureHedgePosition:
  16198. get:
  16199. parameters:
  16200. - description: 用户id
  16201. in: query
  16202. name: userid
  16203. required: true
  16204. type: integer
  16205. produces:
  16206. - application/json
  16207. responses:
  16208. "200":
  16209. description: OK
  16210. schema:
  16211. items:
  16212. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16213. type: array
  16214. "500":
  16215. description: Internal Server Error
  16216. schema:
  16217. $ref: '#/definitions/app.Response'
  16218. security:
  16219. - ApiKeyAuth: []
  16220. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16221. tags:
  16222. - 企业风险管理(app)
  16223. /Ermcp/QueryExposureHedgePositionDetail:
  16224. get:
  16225. parameters:
  16226. - description: 所属机构ID
  16227. in: query
  16228. name: userid
  16229. required: true
  16230. type: integer
  16231. - description: 商品id
  16232. in: query
  16233. name: goodsId
  16234. required: true
  16235. type: integer
  16236. produces:
  16237. - application/json
  16238. responses:
  16239. "200":
  16240. description: OK
  16241. schema:
  16242. items:
  16243. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16244. type: array
  16245. "500":
  16246. description: Internal Server Error
  16247. schema:
  16248. $ref: '#/definitions/app.Response'
  16249. security:
  16250. - ApiKeyAuth: []
  16251. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16252. tags:
  16253. - 企业风险管理(app)
  16254. /Ermcp/QueryExposureSpot:
  16255. get:
  16256. parameters:
  16257. - description: 所属机构ID
  16258. in: query
  16259. name: areaUserId
  16260. required: true
  16261. type: integer
  16262. produces:
  16263. - application/json
  16264. responses:
  16265. "200":
  16266. description: OK
  16267. schema:
  16268. items:
  16269. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  16270. type: array
  16271. "500":
  16272. description: Internal Server Error
  16273. schema:
  16274. $ref: '#/definitions/app.Response'
  16275. security:
  16276. - ApiKeyAuth: []
  16277. summary: 查询敞口现货头寸(敞口/现货头寸)
  16278. tags:
  16279. - 企业风险管理(app)
  16280. /Ermcp/QueryExposureSpotDetail:
  16281. get:
  16282. parameters:
  16283. - description: 所属机构ID
  16284. in: query
  16285. name: areaUserId
  16286. required: true
  16287. type: integer
  16288. - description: 现货品种ID
  16289. in: query
  16290. name: wrstandardId
  16291. required: true
  16292. type: integer
  16293. produces:
  16294. - application/json
  16295. responses:
  16296. "200":
  16297. description: OK
  16298. schema:
  16299. items:
  16300. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  16301. type: array
  16302. "500":
  16303. description: Internal Server Error
  16304. schema:
  16305. $ref: '#/definitions/app.Response'
  16306. security:
  16307. - ApiKeyAuth: []
  16308. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16309. tags:
  16310. - 企业风险管理(app)
  16311. /Ermcp/QueryFuturesCompany:
  16312. get:
  16313. produces:
  16314. - application/json
  16315. responses:
  16316. "200":
  16317. description: OK
  16318. schema:
  16319. items:
  16320. $ref: '#/definitions/models.ErmcpFuturesCompany'
  16321. type: array
  16322. "500":
  16323. description: Internal Server Error
  16324. schema:
  16325. $ref: '#/definitions/app.Response'
  16326. security:
  16327. - ApiKeyAuth: []
  16328. summary: 查询期货公司
  16329. tags:
  16330. - 企业风险管理(app)
  16331. /Ermcp/QueryGGConvertConfig:
  16332. get:
  16333. parameters:
  16334. - description: 品种id(不填则查所有)
  16335. in: query
  16336. name: goodsgroupid
  16337. type: integer
  16338. produces:
  16339. - application/json
  16340. responses:
  16341. "200":
  16342. description: OK
  16343. schema:
  16344. items:
  16345. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  16346. type: array
  16347. "500":
  16348. description: Internal Server Error
  16349. schema:
  16350. $ref: '#/definitions/app.Response'
  16351. security:
  16352. - ApiKeyAuth: []
  16353. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  16354. tags:
  16355. - 企业风险管理(app)
  16356. /Ermcp/QueryGoodsBrand:
  16357. get:
  16358. parameters:
  16359. - description: 用户ID
  16360. in: query
  16361. name: userid
  16362. required: true
  16363. type: integer
  16364. - description: 现货商品ID
  16365. in: query
  16366. name: wrstandardid
  16367. type: integer
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. items:
  16375. $ref: '#/definitions/models.ErmcpGoodsBrand'
  16376. type: array
  16377. "500":
  16378. description: Internal Server Error
  16379. schema:
  16380. $ref: '#/definitions/app.Response'
  16381. security:
  16382. - ApiKeyAuth: []
  16383. summary: 查询商品品牌
  16384. tags:
  16385. - 企业风险管理(app)
  16386. /Ermcp/QueryGoodsModel:
  16387. get:
  16388. parameters:
  16389. - description: 用户ID
  16390. in: query
  16391. name: userid
  16392. required: true
  16393. type: integer
  16394. produces:
  16395. - application/json
  16396. responses:
  16397. "200":
  16398. description: OK
  16399. schema:
  16400. items:
  16401. $ref: '#/definitions/models.ErmcpGoodsModel'
  16402. type: array
  16403. "500":
  16404. description: Internal Server Error
  16405. schema:
  16406. $ref: '#/definitions/app.Response'
  16407. security:
  16408. - ApiKeyAuth: []
  16409. summary: 查询商品型号
  16410. tags:
  16411. - 企业风险管理(app)
  16412. /Ermcp/QueryHisExposure:
  16413. get:
  16414. parameters:
  16415. - description: 用户id
  16416. in: query
  16417. name: userid
  16418. required: true
  16419. type: integer
  16420. - description: 每个品种记录数
  16421. in: query
  16422. name: lastNum
  16423. required: true
  16424. type: integer
  16425. produces:
  16426. - application/json
  16427. responses:
  16428. "200":
  16429. description: OK
  16430. schema:
  16431. items:
  16432. $ref: '#/definitions/ermcp.HisExposureRsp'
  16433. type: array
  16434. "500":
  16435. description: Internal Server Error
  16436. schema:
  16437. $ref: '#/definitions/app.Response'
  16438. security:
  16439. - ApiKeyAuth: []
  16440. summary: 查询历史敞口(菜单:敞口/历史敞口)
  16441. tags:
  16442. - 企业风险管理(app)
  16443. /Ermcp/QueryMiddleGoods:
  16444. get:
  16445. parameters:
  16446. - description: 所属机构ID
  16447. in: query
  16448. name: userid
  16449. required: true
  16450. type: integer
  16451. - description: 状态 0-停用 1-正常
  16452. in: query
  16453. name: status
  16454. required: true
  16455. type: integer
  16456. produces:
  16457. - application/json
  16458. responses:
  16459. "200":
  16460. description: OK
  16461. schema:
  16462. items:
  16463. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  16464. type: array
  16465. "500":
  16466. description: Internal Server Error
  16467. schema:
  16468. $ref: '#/definitions/app.Response'
  16469. security:
  16470. - ApiKeyAuth: []
  16471. summary: 查询套保品种(菜单:套保品种)
  16472. tags:
  16473. - 企业风险管理(app)
  16474. /Ermcp/QueryMiddleGoodsChangeLog:
  16475. get:
  16476. parameters:
  16477. - description: 所属机构ID
  16478. in: query
  16479. name: userid
  16480. required: true
  16481. type: integer
  16482. - description: 套保品种id
  16483. in: query
  16484. name: middlegoodsid
  16485. required: true
  16486. type: integer
  16487. produces:
  16488. - application/json
  16489. responses:
  16490. "200":
  16491. description: OK
  16492. schema:
  16493. items:
  16494. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  16495. type: array
  16496. "500":
  16497. description: Internal Server Error
  16498. schema:
  16499. $ref: '#/definitions/app.Response'
  16500. security:
  16501. - ApiKeyAuth: []
  16502. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  16503. tags:
  16504. - 企业风险管理(app)
  16505. /Ermcp/QueryMiddleGoodsDetail:
  16506. get:
  16507. parameters:
  16508. - description: 所属机构ID
  16509. in: query
  16510. name: userid
  16511. required: true
  16512. type: integer
  16513. - description: 套保品种id
  16514. in: query
  16515. name: middlegoodsid
  16516. type: integer
  16517. produces:
  16518. - application/json
  16519. responses:
  16520. "200":
  16521. description: OK
  16522. schema:
  16523. items:
  16524. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  16525. type: array
  16526. "500":
  16527. description: Internal Server Error
  16528. schema:
  16529. $ref: '#/definitions/app.Response'
  16530. security:
  16531. - ApiKeyAuth: []
  16532. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  16533. tags:
  16534. - 企业风险管理(app)
  16535. /Ermcp/QueryPendingAuditInfo:
  16536. get:
  16537. parameters:
  16538. - description: 用户ID
  16539. in: query
  16540. name: UserId
  16541. required: true
  16542. type: integer
  16543. produces:
  16544. - application/json
  16545. responses:
  16546. "200":
  16547. description: OK
  16548. schema:
  16549. items:
  16550. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  16551. type: array
  16552. "500":
  16553. description: Internal Server Error
  16554. schema:
  16555. $ref: '#/definitions/app.Response'
  16556. security:
  16557. - ApiKeyAuth: []
  16558. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  16559. tags:
  16560. - 企业风险管理(app)
  16561. /Ermcp/QueryRealtimeExposure:
  16562. get:
  16563. parameters:
  16564. - description: 所属机构ID
  16565. in: query
  16566. name: userid
  16567. required: true
  16568. type: integer
  16569. produces:
  16570. - application/json
  16571. responses:
  16572. "200":
  16573. description: OK
  16574. schema:
  16575. items:
  16576. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  16577. type: array
  16578. "500":
  16579. description: Internal Server Error
  16580. schema:
  16581. $ref: '#/definitions/app.Response'
  16582. security:
  16583. - ApiKeyAuth: []
  16584. summary: 查询实时敞口
  16585. tags:
  16586. - 企业风险管理(app)
  16587. /Ermcp/QueryRealtimeExposurePosition:
  16588. get:
  16589. parameters:
  16590. - description: 用户id
  16591. in: query
  16592. name: userid
  16593. required: true
  16594. type: integer
  16595. - description: 套保商品ID
  16596. in: query
  16597. name: middleGoodsId
  16598. required: true
  16599. type: integer
  16600. produces:
  16601. - application/json
  16602. responses:
  16603. "200":
  16604. description: OK
  16605. schema:
  16606. items:
  16607. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  16608. type: array
  16609. "500":
  16610. description: Internal Server Error
  16611. schema:
  16612. $ref: '#/definitions/app.Response'
  16613. security:
  16614. - ApiKeyAuth: []
  16615. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  16616. tags:
  16617. - 企业风险管理(app)
  16618. /Ermcp/QueryTradeConfigTMP:
  16619. get:
  16620. parameters:
  16621. - description: 所属机构id
  16622. in: query
  16623. name: areauserid
  16624. type: integer
  16625. produces:
  16626. - application/json
  16627. responses:
  16628. "200":
  16629. description: OK
  16630. schema:
  16631. items:
  16632. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  16633. type: array
  16634. "500":
  16635. description: Internal Server Error
  16636. schema:
  16637. $ref: '#/definitions/app.Response'
  16638. security:
  16639. - ApiKeyAuth: []
  16640. summary: 查询交易模板配置
  16641. tags:
  16642. - 企业风险管理(app)
  16643. /Ermcp/QueryUserInfo:
  16644. get:
  16645. parameters:
  16646. - description: 所属机构用户ID
  16647. in: query
  16648. name: MemberUserID
  16649. required: true
  16650. type: integer
  16651. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  16652. in: query
  16653. name: queryType
  16654. required: true
  16655. type: integer
  16656. produces:
  16657. - application/json
  16658. responses:
  16659. "200":
  16660. description: OK
  16661. schema:
  16662. items:
  16663. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  16664. type: array
  16665. "500":
  16666. description: Internal Server Error
  16667. schema:
  16668. $ref: '#/definitions/app.Response'
  16669. security:
  16670. - ApiKeyAuth: []
  16671. summary: 查询客户资料
  16672. tags:
  16673. - 企业风险管理(app)
  16674. /Ermcp/QueryWarehouseInfo:
  16675. get:
  16676. parameters:
  16677. - description: 用户ID
  16678. in: query
  16679. name: userid
  16680. required: true
  16681. type: integer
  16682. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  16683. in: query
  16684. name: status
  16685. type: string
  16686. produces:
  16687. - application/json
  16688. responses:
  16689. "200":
  16690. description: OK
  16691. schema:
  16692. items:
  16693. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  16694. type: array
  16695. "500":
  16696. description: Internal Server Error
  16697. schema:
  16698. $ref: '#/definitions/app.Response'
  16699. security:
  16700. - ApiKeyAuth: []
  16701. summary: 查询仓库信息
  16702. tags:
  16703. - 企业风险管理(app)
  16704. /Ermcp3/QryAreaExpourseContractDetail:
  16705. get:
  16706. parameters:
  16707. - description: 用户ID
  16708. in: query
  16709. name: userid
  16710. required: true
  16711. type: integer
  16712. - description: 套保商品id
  16713. in: query
  16714. name: middlegoodsid
  16715. required: true
  16716. type: integer
  16717. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16718. in: query
  16719. name: cycletype
  16720. required: true
  16721. type: integer
  16722. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16723. 全(0)【原值】
  16724. in: query
  16725. name: cycletime
  16726. required: true
  16727. type: string
  16728. produces:
  16729. - application/json
  16730. responses:
  16731. "200":
  16732. description: OK
  16733. schema:
  16734. items:
  16735. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  16736. type: array
  16737. "500":
  16738. description: Internal Server Error
  16739. schema:
  16740. $ref: '#/definitions/app.Response'
  16741. security:
  16742. - ApiKeyAuth: []
  16743. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  16744. tags:
  16745. - 企业风险管理v3(app)
  16746. /Ermcp3/QryAreaExpourseFutuDetail:
  16747. get:
  16748. parameters:
  16749. - description: 用户ID
  16750. in: query
  16751. name: userid
  16752. required: true
  16753. type: integer
  16754. - description: 套保商品id
  16755. in: query
  16756. name: middlegoodsid
  16757. required: true
  16758. type: integer
  16759. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16760. in: query
  16761. name: cycletype
  16762. required: true
  16763. type: integer
  16764. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16765. 全(0)【原值】
  16766. in: query
  16767. name: cycletime
  16768. required: true
  16769. type: string
  16770. produces:
  16771. - application/json
  16772. responses:
  16773. "200":
  16774. description: OK
  16775. schema:
  16776. items:
  16777. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  16778. type: array
  16779. "500":
  16780. description: Internal Server Error
  16781. schema:
  16782. $ref: '#/definitions/app.Response'
  16783. security:
  16784. - ApiKeyAuth: []
  16785. summary: 查询敞口期货明细(敞口报表/期货明细)
  16786. tags:
  16787. - 企业风险管理v3(app)
  16788. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  16789. get:
  16790. parameters:
  16791. - description: 用户ID
  16792. in: query
  16793. name: userid
  16794. required: true
  16795. type: integer
  16796. - description: 套保商品id
  16797. in: query
  16798. name: middlegoodsid
  16799. required: true
  16800. type: integer
  16801. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16802. in: query
  16803. name: cycletype
  16804. required: true
  16805. type: integer
  16806. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16807. 全(0)【原值】
  16808. in: query
  16809. name: cycletime
  16810. required: true
  16811. type: string
  16812. produces:
  16813. - application/json
  16814. responses:
  16815. "200":
  16816. description: OK
  16817. schema:
  16818. items:
  16819. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  16820. type: array
  16821. "500":
  16822. description: Internal Server Error
  16823. schema:
  16824. $ref: '#/definitions/app.Response'
  16825. security:
  16826. - ApiKeyAuth: []
  16827. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  16828. tags:
  16829. - 企业风险管理v3(app)
  16830. /Ermcp3/QryAreaExpourseParamChLogDetail:
  16831. get:
  16832. parameters:
  16833. - description: 用户ID
  16834. in: query
  16835. name: userid
  16836. required: true
  16837. type: integer
  16838. - description: 套保商品id
  16839. in: query
  16840. name: middlegoodsid
  16841. required: true
  16842. type: integer
  16843. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16844. in: query
  16845. name: cycletype
  16846. required: true
  16847. type: integer
  16848. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16849. 全(0)【原值】
  16850. in: query
  16851. name: cycletime
  16852. required: true
  16853. type: string
  16854. produces:
  16855. - application/json
  16856. responses:
  16857. "200":
  16858. description: OK
  16859. schema:
  16860. items:
  16861. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  16862. type: array
  16863. "500":
  16864. description: Internal Server Error
  16865. schema:
  16866. $ref: '#/definitions/app.Response'
  16867. security:
  16868. - ApiKeyAuth: []
  16869. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  16870. tags:
  16871. - 企业风险管理v3(app)
  16872. /Ermcp3/QryAreaExpourseReport:
  16873. get:
  16874. parameters:
  16875. - description: 用户ID
  16876. in: query
  16877. name: userid
  16878. required: true
  16879. type: integer
  16880. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  16881. in: query
  16882. name: querytype
  16883. required: true
  16884. type: integer
  16885. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16886. in: query
  16887. name: cycletype
  16888. required: true
  16889. type: integer
  16890. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16891. 全(0)【原值】
  16892. in: query
  16893. name: cycletime
  16894. required: true
  16895. type: string
  16896. produces:
  16897. - application/json
  16898. responses:
  16899. "200":
  16900. description: OK
  16901. schema:
  16902. items:
  16903. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  16904. type: array
  16905. "500":
  16906. description: Internal Server Error
  16907. schema:
  16908. $ref: '#/definitions/app.Response'
  16909. security:
  16910. - ApiKeyAuth: []
  16911. summary: 查询敞口报表
  16912. tags:
  16913. - 企业风险管理v3(app)
  16914. /Ermcp3/QryAreaSpotplReport:
  16915. get:
  16916. parameters:
  16917. - description: 用户ID
  16918. in: query
  16919. name: userid
  16920. required: true
  16921. type: integer
  16922. - description: 查询类型 1-报表 2-报表明细
  16923. in: query
  16924. name: querytype
  16925. required: true
  16926. type: integer
  16927. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16928. in: query
  16929. name: cycletype
  16930. required: true
  16931. type: integer
  16932. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16933. 全(0)【原值】
  16934. in: query
  16935. name: cycletime
  16936. required: true
  16937. type: string
  16938. - description: 现货品种id(明细必填)
  16939. in: query
  16940. name: deliverygoodsid
  16941. type: integer
  16942. - description: 币种id(明细必填)
  16943. in: query
  16944. name: currencyid
  16945. type: integer
  16946. produces:
  16947. - application/json
  16948. responses:
  16949. "200":
  16950. description: OK
  16951. schema:
  16952. items:
  16953. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  16954. type: array
  16955. "500":
  16956. description: Internal Server Error
  16957. schema:
  16958. $ref: '#/definitions/app.Response'
  16959. security:
  16960. - ApiKeyAuth: []
  16961. summary: 查询现货报表
  16962. tags:
  16963. - 企业风险管理v3(app)
  16964. /Ermcp3/QryAreaStockReport:
  16965. get:
  16966. parameters:
  16967. - description: 用户ID
  16968. in: query
  16969. name: userid
  16970. required: true
  16971. type: integer
  16972. - description: 查询类型 1-报表 2-报表明细
  16973. in: query
  16974. name: querytype
  16975. required: true
  16976. type: integer
  16977. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16978. in: query
  16979. name: cycletype
  16980. required: true
  16981. type: integer
  16982. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16983. 全(0)【原值】
  16984. in: query
  16985. name: cycletime
  16986. required: true
  16987. type: string
  16988. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  16989. in: query
  16990. name: sumfields
  16991. type: string
  16992. - description: 品种ID
  16993. in: query
  16994. name: deliverygoodsid
  16995. type: integer
  16996. - description: 品类ID
  16997. in: query
  16998. name: wrstandardid
  16999. type: integer
  17000. - description: 品牌ID
  17001. in: query
  17002. name: spotgoodsbrandid
  17003. type: integer
  17004. - description: 仓库ID
  17005. in: query
  17006. name: warehouseinfoid
  17007. type: integer
  17008. produces:
  17009. - application/json
  17010. responses:
  17011. "200":
  17012. description: OK
  17013. schema:
  17014. items:
  17015. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  17016. type: array
  17017. "500":
  17018. description: Internal Server Error
  17019. schema:
  17020. $ref: '#/definitions/app.Response'
  17021. security:
  17022. - ApiKeyAuth: []
  17023. summary: 查询库存报表
  17024. tags:
  17025. - 企业风险管理v3(app)
  17026. /Ermcp3/QryAreaSumPL:
  17027. get:
  17028. parameters:
  17029. - description: 用户ID
  17030. in: query
  17031. name: userid
  17032. required: true
  17033. type: integer
  17034. - description: 查询类型 1-报表 2-报表明细
  17035. in: query
  17036. name: querytype
  17037. required: true
  17038. type: integer
  17039. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17040. in: query
  17041. name: cycletype
  17042. required: true
  17043. type: integer
  17044. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17045. 全(0)【原值】
  17046. in: query
  17047. name: cycletime
  17048. required: true
  17049. type: string
  17050. - description: 币种id(明细必填)
  17051. in: query
  17052. name: currencyid
  17053. type: integer
  17054. produces:
  17055. - application/json
  17056. responses:
  17057. "200":
  17058. description: OK
  17059. schema:
  17060. items:
  17061. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17062. type: array
  17063. "500":
  17064. description: Internal Server Error
  17065. schema:
  17066. $ref: '#/definitions/app.Response'
  17067. security:
  17068. - ApiKeyAuth: []
  17069. summary: 查询汇总损益表
  17070. tags:
  17071. - 企业风险管理v3(app)
  17072. /Ermcp3/QryFinanceReport:
  17073. get:
  17074. parameters:
  17075. - description: 用户ID
  17076. in: query
  17077. name: userid
  17078. required: true
  17079. type: integer
  17080. - description: 查询类型 1-报表 2-报表明细
  17081. in: query
  17082. name: querytype
  17083. required: true
  17084. type: integer
  17085. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17086. in: query
  17087. name: cycletype
  17088. required: true
  17089. type: integer
  17090. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17091. 全(0)【原值】
  17092. in: query
  17093. name: cycletime
  17094. required: true
  17095. type: string
  17096. - description: 币种id(报表明细必填)
  17097. in: query
  17098. name: currencyid
  17099. type: integer
  17100. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17101. in: query
  17102. name: sumfields
  17103. type: string
  17104. produces:
  17105. - application/json
  17106. responses:
  17107. "200":
  17108. description: OK
  17109. schema:
  17110. items:
  17111. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17112. type: array
  17113. "500":
  17114. description: Internal Server Error
  17115. schema:
  17116. $ref: '#/definitions/app.Response'
  17117. security:
  17118. - ApiKeyAuth: []
  17119. summary: 查询财务报表
  17120. tags:
  17121. - 企业风险管理v3(app)
  17122. /Ermcp3/QryTaFutureDataReport:
  17123. get:
  17124. parameters:
  17125. - description: 用户ID
  17126. in: query
  17127. name: userid
  17128. required: true
  17129. type: integer
  17130. - description: 查询类型 1-报表 2-报表明细
  17131. in: query
  17132. name: querytype
  17133. required: true
  17134. type: integer
  17135. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17136. in: query
  17137. name: cycletype
  17138. required: true
  17139. type: integer
  17140. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17141. 全(0)【原值】
  17142. in: query
  17143. name: cycletime
  17144. required: true
  17145. type: string
  17146. - description: 币种id(查明细必填)
  17147. in: query
  17148. name: currencyid
  17149. type: integer
  17150. - description: 品种id(查明细必填)
  17151. in: query
  17152. name: goodsgroupid
  17153. type: integer
  17154. - description: 商品id(查明细必填)
  17155. in: query
  17156. name: goodsid
  17157. type: integer
  17158. - description: 买卖方向(查明细必填)
  17159. in: query
  17160. name: buyorsell
  17161. type: integer
  17162. produces:
  17163. - application/json
  17164. responses:
  17165. "200":
  17166. description: OK
  17167. schema:
  17168. items:
  17169. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17170. type: array
  17171. "500":
  17172. description: Internal Server Error
  17173. schema:
  17174. $ref: '#/definitions/app.Response'
  17175. security:
  17176. - ApiKeyAuth: []
  17177. summary: 查询期货报表
  17178. tags:
  17179. - 企业风险管理v3(app)
  17180. /Ermcp3/QueryAreaStock:
  17181. get:
  17182. parameters:
  17183. - description: 用户ID
  17184. in: query
  17185. name: userid
  17186. required: true
  17187. type: integer
  17188. produces:
  17189. - application/json
  17190. responses:
  17191. "200":
  17192. description: OK
  17193. schema:
  17194. items:
  17195. $ref: '#/definitions/models.Ermcp3AreaStock'
  17196. type: array
  17197. "500":
  17198. description: Internal Server Error
  17199. schema:
  17200. $ref: '#/definitions/app.Response'
  17201. security:
  17202. - ApiKeyAuth: []
  17203. summary: 查询机构库存(库存管理/当前库存)
  17204. tags:
  17205. - 企业风险管理v3(app)
  17206. /Ermcp3/QueryAreaStockApply:
  17207. get:
  17208. parameters:
  17209. - description: 用户ID
  17210. in: query
  17211. name: userid
  17212. required: true
  17213. type: integer
  17214. - description: 用户类型 2-机构 7-企业成员
  17215. in: query
  17216. name: usertype
  17217. type: integer
  17218. - description: 现货商品ID
  17219. in: query
  17220. name: deliverygoodsid
  17221. type: integer
  17222. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17223. in: query
  17224. name: inouttype
  17225. type: string
  17226. - description: 合同ID
  17227. in: query
  17228. name: spotcontractid
  17229. type: integer
  17230. - description: 品类ID
  17231. in: query
  17232. name: wrstandardid
  17233. type: integer
  17234. - description: 品牌ID
  17235. in: query
  17236. name: spotgoodsbrandid
  17237. type: integer
  17238. - description: 仓库ID
  17239. in: query
  17240. name: warehouseinfoid
  17241. type: integer
  17242. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17243. in: query
  17244. name: applystatus
  17245. type: string
  17246. produces:
  17247. - application/json
  17248. responses:
  17249. "200":
  17250. description: OK
  17251. schema:
  17252. items:
  17253. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  17254. type: array
  17255. "500":
  17256. description: Internal Server Error
  17257. schema:
  17258. $ref: '#/definitions/app.Response'
  17259. security:
  17260. - ApiKeyAuth: []
  17261. summary: 查询库存申请(出入库记录|库存审核)
  17262. tags:
  17263. - 企业风险管理v3(app)
  17264. /Ermcp3/QueryAreaStockApplySum:
  17265. get:
  17266. parameters:
  17267. - description: 合同ID
  17268. in: query
  17269. name: spotcontractid
  17270. type: integer
  17271. produces:
  17272. - application/json
  17273. responses:
  17274. "200":
  17275. description: OK
  17276. schema:
  17277. items:
  17278. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  17279. type: array
  17280. "500":
  17281. description: Internal Server Error
  17282. schema:
  17283. $ref: '#/definitions/app.Response'
  17284. security:
  17285. - ApiKeyAuth: []
  17286. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  17287. tags:
  17288. - 企业风险管理v3(app)
  17289. /Ermcp3/QueryDGFactoryItem:
  17290. get:
  17291. parameters:
  17292. - description: 用户id
  17293. in: query
  17294. name: userid
  17295. type: integer
  17296. - description: 用户类型 2-机构 7-企业成员
  17297. in: query
  17298. name: usertype
  17299. type: integer
  17300. - description: 选择项ID(SEQ_DGFACTORYITEM)
  17301. in: query
  17302. name: dgfactoryitemid
  17303. type: integer
  17304. - description: 现货品种ID
  17305. in: query
  17306. name: deliverygoodsid
  17307. type: integer
  17308. - description: 要素项类型
  17309. in: query
  17310. name: dgfactoryitemtypeid
  17311. type: integer
  17312. - description: 顺序
  17313. in: query
  17314. name: orderindex
  17315. type: integer
  17316. produces:
  17317. - application/json
  17318. responses:
  17319. "200":
  17320. description: OK
  17321. schema:
  17322. items:
  17323. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  17324. type: array
  17325. "500":
  17326. description: Internal Server Error
  17327. schema:
  17328. $ref: '#/definitions/app.Response'
  17329. security:
  17330. - ApiKeyAuth: []
  17331. summary: 查询品种要素定义项
  17332. tags:
  17333. - 企业风险管理v3(app)
  17334. /Ermcp3/QueryDeliveryGoods:
  17335. get:
  17336. parameters:
  17337. - description: 用户id
  17338. in: query
  17339. name: userid
  17340. required: true
  17341. type: integer
  17342. - description: 用户类型 2-机构 7-企业成员
  17343. in: query
  17344. name: usertype
  17345. type: integer
  17346. - description: 排除已配置的业务类型商品 1-套保 2-套利
  17347. in: query
  17348. name: excludecfg
  17349. type: integer
  17350. produces:
  17351. - application/json
  17352. responses:
  17353. "200":
  17354. description: OK
  17355. schema:
  17356. items:
  17357. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  17358. type: array
  17359. "500":
  17360. description: Internal Server Error
  17361. schema:
  17362. $ref: '#/definitions/app.Response'
  17363. security:
  17364. - ApiKeyAuth: []
  17365. summary: 查询现货商品
  17366. tags:
  17367. - 企业风险管理v3(app)
  17368. /Ermcp3/QueryDeliveryGoodsDetail:
  17369. get:
  17370. parameters:
  17371. - description: 用户id
  17372. in: query
  17373. name: userid
  17374. required: true
  17375. type: integer
  17376. - description: 用户类型 2-机构 7-企业成员
  17377. in: query
  17378. name: usertype
  17379. type: integer
  17380. - description: 现货商品id
  17381. in: query
  17382. name: deliverygoodsid
  17383. type: integer
  17384. produces:
  17385. - application/json
  17386. responses:
  17387. "200":
  17388. description: OK
  17389. schema:
  17390. items:
  17391. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  17392. type: array
  17393. "500":
  17394. description: Internal Server Error
  17395. schema:
  17396. $ref: '#/definitions/app.Response'
  17397. security:
  17398. - ApiKeyAuth: []
  17399. summary: 查询现货商品详情
  17400. tags:
  17401. - 企业风险管理v3(app)
  17402. /Ermcp3/QueryExposureDetail:
  17403. get:
  17404. parameters:
  17405. - description: 用户id
  17406. in: query
  17407. name: userid
  17408. required: true
  17409. type: integer
  17410. - description: 用户类型 2-机构 7-企业成员
  17411. in: query
  17412. name: usertype
  17413. type: integer
  17414. - description: 套保商品
  17415. in: query
  17416. name: middlegoodsid
  17417. required: true
  17418. type: integer
  17419. produces:
  17420. - application/json
  17421. responses:
  17422. "200":
  17423. description: OK
  17424. schema:
  17425. items:
  17426. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  17427. type: array
  17428. "500":
  17429. description: Internal Server Error
  17430. schema:
  17431. $ref: '#/definitions/app.Response'
  17432. security:
  17433. - ApiKeyAuth: []
  17434. summary: 查询敞口现货明细
  17435. tags:
  17436. - 企业风险管理v3(app)
  17437. /Ermcp3/QueryExposureSpot:
  17438. get:
  17439. parameters:
  17440. - description: 用户id
  17441. in: query
  17442. name: userid
  17443. required: true
  17444. type: integer
  17445. - description: 用户类型 2-机构 7-企业成员
  17446. in: query
  17447. name: usertype
  17448. type: integer
  17449. produces:
  17450. - application/json
  17451. responses:
  17452. "200":
  17453. description: OK
  17454. schema:
  17455. items:
  17456. $ref: '#/definitions/models.Ermcp3AreaSpot'
  17457. type: array
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. security:
  17463. - ApiKeyAuth: []
  17464. summary: 查询敞口现货头寸(敞口/现货头寸)
  17465. tags:
  17466. - 企业风险管理v3(app)
  17467. /Ermcp3/QueryExposureSpotDetail:
  17468. get:
  17469. parameters:
  17470. - description: 用户id
  17471. in: query
  17472. name: userid
  17473. required: true
  17474. type: integer
  17475. - description: 用户类型 2-机构 7-企业成员
  17476. in: query
  17477. name: usertype
  17478. type: integer
  17479. - description: 现货品种ID
  17480. in: query
  17481. name: deliverygoodsid
  17482. required: true
  17483. type: integer
  17484. produces:
  17485. - application/json
  17486. responses:
  17487. "200":
  17488. description: OK
  17489. schema:
  17490. items:
  17491. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  17492. type: array
  17493. "500":
  17494. description: Internal Server Error
  17495. schema:
  17496. $ref: '#/definitions/app.Response'
  17497. security:
  17498. - ApiKeyAuth: []
  17499. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17500. tags:
  17501. - 企业风险管理v3(app)
  17502. /Ermcp3/QueryGoodsGroup:
  17503. get:
  17504. parameters:
  17505. - description: 用户id
  17506. in: query
  17507. name: userid
  17508. required: true
  17509. type: integer
  17510. - description: 用户类型 2-机构 7-企业成员
  17511. in: query
  17512. name: usertype
  17513. type: integer
  17514. - description: 排除套保品中已关联的商品组 1-排除
  17515. in: query
  17516. name: excludecfg
  17517. type: integer
  17518. produces:
  17519. - application/json
  17520. responses:
  17521. "200":
  17522. description: OK
  17523. schema:
  17524. items:
  17525. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  17526. type: array
  17527. "500":
  17528. description: Internal Server Error
  17529. schema:
  17530. $ref: '#/definitions/app.Response'
  17531. security:
  17532. - ApiKeyAuth: []
  17533. summary: 查询期货商品组
  17534. tags:
  17535. - 企业风险管理v3(app)
  17536. /Ermcp3/QueryGoodsWrstandard:
  17537. get:
  17538. parameters:
  17539. - description: 用户id
  17540. in: query
  17541. name: userid
  17542. required: true
  17543. type: integer
  17544. - description: 用户类型 2-机构 7-企业成员
  17545. in: query
  17546. name: usertype
  17547. type: integer
  17548. - description: 现货商品id
  17549. in: query
  17550. name: deliverygoodsid
  17551. type: integer
  17552. produces:
  17553. - application/json
  17554. responses:
  17555. "200":
  17556. description: OK
  17557. schema:
  17558. items:
  17559. $ref: '#/definitions/models.Ermcp3Wrstandard'
  17560. type: array
  17561. "500":
  17562. description: Internal Server Error
  17563. schema:
  17564. $ref: '#/definitions/app.Response'
  17565. security:
  17566. - ApiKeyAuth: []
  17567. summary: 查询商品品类
  17568. tags:
  17569. - 企业风险管理v3(app)
  17570. /Ermcp3/QueryGoodsbrand:
  17571. get:
  17572. parameters:
  17573. - description: 用户id
  17574. in: query
  17575. name: userid
  17576. required: true
  17577. type: integer
  17578. - description: 用户类型 2-机构 7-企业成员
  17579. in: query
  17580. name: usertype
  17581. type: integer
  17582. produces:
  17583. - application/json
  17584. responses:
  17585. "200":
  17586. description: OK
  17587. schema:
  17588. items:
  17589. $ref: '#/definitions/models.Ermcp3Brand'
  17590. type: array
  17591. "500":
  17592. description: Internal Server Error
  17593. schema:
  17594. $ref: '#/definitions/app.Response'
  17595. security:
  17596. - ApiKeyAuth: []
  17597. summary: 查询商品品牌
  17598. tags:
  17599. - 企业风险管理v3(app)
  17600. /Ermcp3/QueryHedgePlan:
  17601. get:
  17602. parameters:
  17603. - description: 用户ID
  17604. in: query
  17605. name: userid
  17606. required: true
  17607. type: integer
  17608. - description: 用户类型 2-机构 7-企业成员
  17609. in: query
  17610. name: usertype
  17611. type: integer
  17612. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  17613. in: query
  17614. name: hedgeplanstatus
  17615. required: true
  17616. type: string
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. items:
  17624. $ref: '#/definitions/models.Ermcp3HedgePlan'
  17625. type: array
  17626. "500":
  17627. description: Internal Server Error
  17628. schema:
  17629. $ref: '#/definitions/app.Response'
  17630. security:
  17631. - ApiKeyAuth: []
  17632. summary: 查询套保计划
  17633. tags:
  17634. - 企业风险管理v3(app)
  17635. /Ermcp3/QueryMiddleGoodsDetail:
  17636. get:
  17637. parameters:
  17638. - description: 用户id
  17639. in: query
  17640. name: userid
  17641. required: true
  17642. type: integer
  17643. - description: 用户类型 2-机构 7-企业成员
  17644. in: query
  17645. name: usertype
  17646. type: integer
  17647. - description: 套保品种id
  17648. in: query
  17649. name: middlegoodsid
  17650. type: integer
  17651. produces:
  17652. - application/json
  17653. responses:
  17654. "200":
  17655. description: OK
  17656. schema:
  17657. items:
  17658. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  17659. type: array
  17660. "500":
  17661. description: Internal Server Error
  17662. schema:
  17663. $ref: '#/definitions/app.Response'
  17664. security:
  17665. - ApiKeyAuth: []
  17666. summary: 查询套保品种详情(套保品种/商品详情)
  17667. tags:
  17668. - 企业风险管理v3(app)
  17669. /Ermcp3/QueryRootUserAccount:
  17670. get:
  17671. parameters:
  17672. - description: 用户ID
  17673. in: query
  17674. name: userid
  17675. required: true
  17676. type: integer
  17677. produces:
  17678. - application/json
  17679. responses:
  17680. "200":
  17681. description: OK
  17682. schema:
  17683. items:
  17684. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  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/QuerySpotContract:
  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: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  17708. in: query
  17709. name: querytype
  17710. required: true
  17711. type: integer
  17712. - description: 合同ID(SpotContractId)
  17713. in: query
  17714. name: contractid
  17715. type: string
  17716. produces:
  17717. - application/json
  17718. responses:
  17719. "200":
  17720. description: OK
  17721. schema:
  17722. items:
  17723. $ref: '#/definitions/models.Ermcp3Contract'
  17724. type: array
  17725. "500":
  17726. description: Internal Server Error
  17727. schema:
  17728. $ref: '#/definitions/app.Response'
  17729. security:
  17730. - ApiKeyAuth: []
  17731. summary: 查询现货合同
  17732. tags:
  17733. - 企业风险管理v3(app)
  17734. /Ermcp3/QuerySpotContractBS:
  17735. get:
  17736. parameters:
  17737. - description: 用户id
  17738. in: query
  17739. name: userid
  17740. required: true
  17741. type: integer
  17742. - description: 用户类型 2-机构 7-企业成员
  17743. in: query
  17744. name: usertype
  17745. type: integer
  17746. - description: 合同类型 1-采购, -1-销售
  17747. in: query
  17748. name: contracttype
  17749. required: true
  17750. type: integer
  17751. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  17752. in: query
  17753. name: querytype
  17754. required: true
  17755. type: integer
  17756. - description: 合同ID(SpotContractId)
  17757. in: query
  17758. name: contractid
  17759. type: string
  17760. produces:
  17761. - application/json
  17762. responses:
  17763. "200":
  17764. description: OK
  17765. schema:
  17766. items:
  17767. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  17768. type: array
  17769. "500":
  17770. description: Internal Server Error
  17771. schema:
  17772. $ref: '#/definitions/app.Response'
  17773. security:
  17774. - ApiKeyAuth: []
  17775. summary: 查询合同(采购/销售)
  17776. tags:
  17777. - 企业风险管理v3(app)
  17778. /Ermcp3/QuerySpotGoodsPrice:
  17779. get:
  17780. parameters:
  17781. - description: 用户ID
  17782. in: query
  17783. name: userid
  17784. required: true
  17785. type: integer
  17786. produces:
  17787. - application/json
  17788. responses:
  17789. "200":
  17790. description: OK
  17791. schema:
  17792. items:
  17793. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  17794. type: array
  17795. "500":
  17796. description: Internal Server Error
  17797. schema:
  17798. $ref: '#/definitions/app.Response'
  17799. security:
  17800. - ApiKeyAuth: []
  17801. summary: 查询现货市价(现货市价)
  17802. tags:
  17803. - 企业风险管理v3(app)
  17804. /Ermcp3/QuerySpotGoodsPriceLog:
  17805. get:
  17806. parameters:
  17807. - description: 用户ID
  17808. in: query
  17809. name: userid
  17810. required: true
  17811. type: integer
  17812. - description: 现货商品ID
  17813. in: query
  17814. name: deliverygoodsid
  17815. required: true
  17816. type: integer
  17817. - description: 品牌ID
  17818. in: query
  17819. name: brandid
  17820. type: integer
  17821. - description: 品类ID
  17822. in: query
  17823. name: wrstandardid
  17824. type: integer
  17825. produces:
  17826. - application/json
  17827. responses:
  17828. "200":
  17829. description: OK
  17830. schema:
  17831. items:
  17832. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  17833. type: array
  17834. "500":
  17835. description: Internal Server Error
  17836. schema:
  17837. $ref: '#/definitions/app.Response'
  17838. security:
  17839. - ApiKeyAuth: []
  17840. summary: 查询现货市价详情(现货市价/详情)
  17841. tags:
  17842. - 企业风险管理v3(app)
  17843. /Erms2/QueryArbitrageStrategy:
  17844. get:
  17845. parameters:
  17846. - description: 账户ID
  17847. in: query
  17848. name: userid
  17849. required: true
  17850. type: integer
  17851. - description: 商品组ID(品种ID)
  17852. in: query
  17853. name: goodsgroupid
  17854. type: string
  17855. produces:
  17856. - application/json
  17857. responses:
  17858. "200":
  17859. description: OK
  17860. schema:
  17861. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  17862. "500":
  17863. description: Internal Server Error
  17864. schema:
  17865. $ref: '#/definitions/app.Response'
  17866. security:
  17867. - ApiKeyAuth: []
  17868. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  17869. tags:
  17870. - 风险管理
  17871. /Erms2/QueryInnerTradeDetail:
  17872. get:
  17873. parameters:
  17874. - description: 资金账户
  17875. in: query
  17876. name: accountid
  17877. required: true
  17878. type: integer
  17879. produces:
  17880. - application/json
  17881. responses:
  17882. "200":
  17883. description: OK
  17884. schema:
  17885. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  17886. "500":
  17887. description: Internal Server Error
  17888. schema:
  17889. $ref: '#/definitions/app.Response'
  17890. security:
  17891. - ApiKeyAuth: []
  17892. summary: 查询内部成交单信息
  17893. tags:
  17894. - 风险管理
  17895. /Erms2/QuerySpotContract:
  17896. get:
  17897. parameters:
  17898. - description: 策略申请ID
  17899. in: query
  17900. name: asapplyid
  17901. required: true
  17902. type: integer
  17903. - description: 现货合同ID
  17904. in: query
  17905. name: spotcontractid
  17906. type: integer
  17907. produces:
  17908. - application/json
  17909. responses:
  17910. "200":
  17911. description: OK
  17912. schema:
  17913. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  17914. "500":
  17915. description: Internal Server Error
  17916. schema:
  17917. $ref: '#/definitions/app.Response'
  17918. security:
  17919. - ApiKeyAuth: []
  17920. summary: 查询现货合同表信息(指定策略ID、未结束的)
  17921. tags:
  17922. - 风险管理
  17923. /Erms3/AddErms2ASApply:
  17924. post:
  17925. parameters:
  17926. - description: 申请参数
  17927. in: body
  17928. name: jsonBody
  17929. required: true
  17930. schema:
  17931. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  17932. produces:
  17933. - application/json
  17934. responses:
  17935. "200":
  17936. description: OK
  17937. schema:
  17938. $ref: '#/definitions/app.Response'
  17939. "500":
  17940. description: Internal Server Error
  17941. schema:
  17942. $ref: '#/definitions/app.Response'
  17943. security:
  17944. - ApiKeyAuth: []
  17945. summary: 新增期现套利业务申请
  17946. tags:
  17947. - 风险管理v3
  17948. /Erms3/AddErms2SpotTradeApply:
  17949. post:
  17950. parameters:
  17951. - description: 申请参数
  17952. in: body
  17953. name: jsonBody
  17954. required: true
  17955. schema:
  17956. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  17957. produces:
  17958. - application/json
  17959. responses:
  17960. "200":
  17961. description: OK
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. "500":
  17965. description: Internal Server Error
  17966. schema:
  17967. $ref: '#/definitions/app.Response'
  17968. security:
  17969. - ApiKeyAuth: []
  17970. summary: 新增现货贸易业务申请
  17971. tags:
  17972. - 风险管理v3
  17973. /Erms3/AddSpotContractApply:
  17974. post:
  17975. parameters:
  17976. - description: 申请参数
  17977. in: body
  17978. name: jsonBody
  17979. required: true
  17980. schema:
  17981. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  17982. produces:
  17983. - application/json
  17984. responses:
  17985. "200":
  17986. description: OK
  17987. schema:
  17988. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  17989. "500":
  17990. description: Internal Server Error
  17991. schema:
  17992. $ref: '#/definitions/app.Response'
  17993. security:
  17994. - ApiKeyAuth: []
  17995. summary: 新增现货合同申请
  17996. tags:
  17997. - 风险管理v3
  17998. /Erms3/AddUserInfoApply:
  17999. post:
  18000. parameters:
  18001. - description: 用户信息
  18002. in: body
  18003. name: jsonBody
  18004. required: true
  18005. schema:
  18006. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18007. produces:
  18008. - application/json
  18009. responses:
  18010. "200":
  18011. description: OK
  18012. schema:
  18013. $ref: '#/definitions/app.Response'
  18014. "500":
  18015. description: Internal Server Error
  18016. schema:
  18017. $ref: '#/definitions/app.Response'
  18018. security:
  18019. - ApiKeyAuth: []
  18020. summary: 新增客户申请
  18021. tags:
  18022. - 风险管理v3
  18023. /Erms3/DeleteUserInfoApply:
  18024. get:
  18025. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18026. parameters:
  18027. - description: 用户ID
  18028. in: query
  18029. name: userID
  18030. required: true
  18031. type: integer
  18032. produces:
  18033. - application/json
  18034. responses:
  18035. "200":
  18036. description: OK
  18037. schema:
  18038. $ref: '#/definitions/app.Response'
  18039. "500":
  18040. description: Internal Server Error
  18041. schema:
  18042. $ref: '#/definitions/app.Response'
  18043. security:
  18044. - ApiKeyAuth: []
  18045. summary: 删除客户申请
  18046. tags:
  18047. - 风险管理v3
  18048. /Erms3/ModifyUserInfoApply:
  18049. post:
  18050. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18051. int, "userstate": 2 }'
  18052. parameters:
  18053. - description: 用户信息
  18054. in: body
  18055. name: jsonBody
  18056. required: true
  18057. schema:
  18058. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18059. produces:
  18060. - application/json
  18061. responses:
  18062. "200":
  18063. description: OK
  18064. schema:
  18065. $ref: '#/definitions/app.Response'
  18066. "500":
  18067. description: Internal Server Error
  18068. schema:
  18069. $ref: '#/definitions/app.Response'
  18070. security:
  18071. - ApiKeyAuth: []
  18072. summary: 修改客户申请
  18073. tags:
  18074. - 风险管理v3
  18075. /Erms3/QueryBusinessInfo:
  18076. get:
  18077. parameters:
  18078. - description: 资金账号ID列表,用逗号分隔
  18079. in: query
  18080. name: accountids
  18081. required: true
  18082. type: string
  18083. - description: 状态,0为未结束 1为已结束
  18084. in: query
  18085. name: status
  18086. required: true
  18087. type: integer
  18088. produces:
  18089. - application/json
  18090. responses:
  18091. "200":
  18092. description: OK
  18093. schema:
  18094. items:
  18095. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18096. type: array
  18097. "500":
  18098. description: Internal Server Error
  18099. schema:
  18100. $ref: '#/definitions/app.Response'
  18101. security:
  18102. - ApiKeyAuth: []
  18103. summary: 查询业务表单数据
  18104. tags:
  18105. - 风险管理v3
  18106. /Erms3/QueryPendingAuditContract:
  18107. get:
  18108. parameters:
  18109. - description: 资金账号ID列表,逗号隔开
  18110. in: query
  18111. name: accountids
  18112. required: true
  18113. type: string
  18114. - description: 合同类型 1-采购 -1-销售
  18115. in: query
  18116. name: contracttype
  18117. required: true
  18118. type: integer
  18119. - description: 合同模式 1-普通 2-回购
  18120. in: query
  18121. name: contractmode
  18122. required: true
  18123. type: integer
  18124. produces:
  18125. - application/json
  18126. responses:
  18127. "200":
  18128. description: OK
  18129. schema:
  18130. items:
  18131. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18132. type: array
  18133. "500":
  18134. description: Internal Server Error
  18135. schema:
  18136. $ref: '#/definitions/app.Response'
  18137. security:
  18138. - ApiKeyAuth: []
  18139. summary: 查询待审核合同
  18140. tags:
  18141. - 风险管理v3
  18142. /Erms3/QueryPendingBusiness:
  18143. get:
  18144. parameters:
  18145. - description: 资金账号ID列表,逗号隔开
  18146. in: query
  18147. name: accountids
  18148. required: true
  18149. type: string
  18150. produces:
  18151. - application/json
  18152. responses:
  18153. "200":
  18154. description: OK
  18155. schema:
  18156. items:
  18157. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18158. type: array
  18159. "500":
  18160. description: Internal Server Error
  18161. schema:
  18162. $ref: '#/definitions/app.Response'
  18163. security:
  18164. - ApiKeyAuth: []
  18165. summary: 查询待审核基差贸易业务
  18166. tags:
  18167. - 风险管理v3
  18168. /Erms3/QuerySpotContractAppleForm:
  18169. get:
  18170. parameters:
  18171. - description: 登录账号
  18172. in: query
  18173. name: loginID
  18174. required: true
  18175. type: integer
  18176. produces:
  18177. - application/json
  18178. responses:
  18179. "200":
  18180. description: OK
  18181. schema:
  18182. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18183. "500":
  18184. description: Internal Server Error
  18185. schema:
  18186. $ref: '#/definitions/app.Response'
  18187. security:
  18188. - ApiKeyAuth: []
  18189. summary: 查询合同申请表单数据
  18190. tags:
  18191. - 风险管理v3
  18192. /Erms3/QuerySpotContractDetail:
  18193. get:
  18194. parameters:
  18195. - description: 资金账号ID列表,用逗号分隔
  18196. in: query
  18197. name: accountids
  18198. required: true
  18199. type: string
  18200. - description: 合同类型,1为采购合同 -1为销售合同
  18201. in: query
  18202. name: contracttype
  18203. required: true
  18204. type: integer
  18205. - description: 合同模式,1为普通合同 2为回购销售合同
  18206. in: query
  18207. name: contractmode
  18208. required: true
  18209. type: integer
  18210. - description: 状态,0为履约中 1为已完成
  18211. in: query
  18212. name: status
  18213. required: true
  18214. type: integer
  18215. produces:
  18216. - application/json
  18217. responses:
  18218. "200":
  18219. description: OK
  18220. schema:
  18221. items:
  18222. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18223. type: array
  18224. "500":
  18225. description: Internal Server Error
  18226. schema:
  18227. $ref: '#/definitions/app.Response'
  18228. security:
  18229. - ApiKeyAuth: []
  18230. summary: 查询合同详细信息
  18231. tags:
  18232. - 风险管理v3
  18233. /Erms3/QueryUserInfoApplies:
  18234. get:
  18235. parameters:
  18236. - description: 页码
  18237. in: query
  18238. name: page
  18239. type: integer
  18240. - description: 每页条数
  18241. in: query
  18242. name: pagesize
  18243. type: integer
  18244. - description: 客户名称,支持模糊查询
  18245. in: query
  18246. name: userName
  18247. type: string
  18248. produces:
  18249. - application/json
  18250. responses:
  18251. "200":
  18252. description: OK
  18253. schema:
  18254. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  18255. "500":
  18256. description: Internal Server Error
  18257. schema:
  18258. $ref: '#/definitions/app.Response'
  18259. security:
  18260. - ApiKeyAuth: []
  18261. summary: 客户申请信息查询
  18262. tags:
  18263. - 风险管理v3
  18264. /Erms3/QueryUserInfos:
  18265. get:
  18266. parameters:
  18267. - description: 页码
  18268. in: query
  18269. name: page
  18270. type: integer
  18271. - description: 每页条数
  18272. in: query
  18273. name: pagesize
  18274. type: integer
  18275. - description: 客户名称,支持模糊查询
  18276. in: query
  18277. name: userName
  18278. type: string
  18279. produces:
  18280. - application/json
  18281. responses:
  18282. "200":
  18283. description: OK
  18284. schema:
  18285. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  18286. "500":
  18287. description: Internal Server Error
  18288. schema:
  18289. $ref: '#/definitions/app.Response'
  18290. security:
  18291. - ApiKeyAuth: []
  18292. summary: 客户信息查询
  18293. tags:
  18294. - 风险管理v3
  18295. /HSBY/GetHsbyMyCount:
  18296. get:
  18297. description: 说明: 不包括已完成的数量。
  18298. parameters:
  18299. - description: 资金账户列表,格式:1,2,3
  18300. in: query
  18301. name: accountIDs
  18302. required: true
  18303. type: string
  18304. produces:
  18305. - application/json
  18306. responses:
  18307. "200":
  18308. description: OK
  18309. schema:
  18310. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  18311. "500":
  18312. description: Internal Server Error
  18313. schema:
  18314. $ref: '#/definitions/app.Response'
  18315. security:
  18316. - ApiKeyAuth: []
  18317. summary: 获取我的订单与包裹数量
  18318. tags:
  18319. - 定制【海商报业】
  18320. /HSBY/QueryClientFixedADConfigs:
  18321. get:
  18322. produces:
  18323. - application/json
  18324. responses:
  18325. "200":
  18326. description: OK
  18327. schema:
  18328. $ref: '#/definitions/models.Clientfixedadconfig'
  18329. "500":
  18330. description: Internal Server Error
  18331. schema:
  18332. $ref: '#/definitions/app.Response'
  18333. security:
  18334. - ApiKeyAuth: []
  18335. summary: 获取终端固定广告配置
  18336. tags:
  18337. - 定制【海商报业】
  18338. /HSBY/QueryHsbyBuyMyTradeDetail:
  18339. get:
  18340. parameters:
  18341. - description: 页码
  18342. in: query
  18343. name: page
  18344. type: integer
  18345. - description: 每页条数
  18346. in: query
  18347. name: pagesize
  18348. type: integer
  18349. - description: 资金账户列表,格式:1,2,3
  18350. in: query
  18351. name: accountIDs
  18352. required: true
  18353. type: string
  18354. produces:
  18355. - application/json
  18356. responses:
  18357. "200":
  18358. description: OK
  18359. schema:
  18360. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  18361. "500":
  18362. description: Internal Server Error
  18363. schema:
  18364. $ref: '#/definitions/app.Response'
  18365. security:
  18366. - ApiKeyAuth: []
  18367. summary: 查询"我的订单 - 已完成"单据信息
  18368. tags:
  18369. - 定制【海商报业】
  18370. /HSBY/QueryHsbyGoodsOrderDetails:
  18371. get:
  18372. description: 说明:查询结果已按委托价格和委托时间排序
  18373. parameters:
  18374. - description: 商品ID
  18375. in: query
  18376. name: goodsID
  18377. required: true
  18378. type: integer
  18379. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  18380. in: query
  18381. name: accountIDs
  18382. type: string
  18383. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  18384. in: query
  18385. name: buyOrSell
  18386. type: integer
  18387. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  18388. in: query
  18389. name: price
  18390. type: number
  18391. - description: 档位,不传则默认为3档
  18392. in: query
  18393. name: speed
  18394. type: integer
  18395. produces:
  18396. - application/json
  18397. responses:
  18398. "200":
  18399. description: OK
  18400. schema:
  18401. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  18402. "500":
  18403. description: Internal Server Error
  18404. schema:
  18405. $ref: '#/definitions/app.Response'
  18406. security:
  18407. - ApiKeyAuth: []
  18408. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  18409. tags:
  18410. - 定制【海商报业】
  18411. /HSBY/QueryHsbyListingGoodsDetail:
  18412. get:
  18413. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  18414. parameters:
  18415. - description: 商品ID
  18416. in: query
  18417. name: goodsID
  18418. required: true
  18419. type: integer
  18420. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  18421. in: query
  18422. name: accountID
  18423. type: integer
  18424. produces:
  18425. - application/json
  18426. responses:
  18427. "200":
  18428. description: OK
  18429. schema:
  18430. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  18431. "500":
  18432. description: Internal Server Error
  18433. schema:
  18434. $ref: '#/definitions/app.Response'
  18435. security:
  18436. - ApiKeyAuth: []
  18437. summary: 查询二级市场(挂牌点选)商品信息详情
  18438. tags:
  18439. - 定制【海商报业】
  18440. /HSBY/QueryHsbyMarketGoodsDetail:
  18441. get:
  18442. parameters:
  18443. - description: 委托单号
  18444. in: query
  18445. name: orderID
  18446. required: true
  18447. type: integer
  18448. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  18449. in: query
  18450. name: accountID
  18451. type: integer
  18452. produces:
  18453. - application/json
  18454. responses:
  18455. "200":
  18456. description: OK
  18457. schema:
  18458. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18459. "500":
  18460. description: Internal Server Error
  18461. schema:
  18462. $ref: '#/definitions/app.Response'
  18463. security:
  18464. - ApiKeyAuth: []
  18465. summary: 查询三级市场(商城)商品信息详情
  18466. tags:
  18467. - 定制【海商报业】
  18468. /HSBY/QueryHsbyMarketGoodses:
  18469. get:
  18470. parameters:
  18471. - description: 页码
  18472. in: query
  18473. name: page
  18474. type: integer
  18475. - description: 每页条数
  18476. in: query
  18477. name: pagesize
  18478. type: integer
  18479. - description: 市场ID列表,格式:1,2,3
  18480. in: query
  18481. name: marketIDs
  18482. required: true
  18483. type: string
  18484. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  18485. in: query
  18486. name: accountID
  18487. required: true
  18488. type: integer
  18489. - description: 类别ID
  18490. in: query
  18491. name: categoryID
  18492. type: integer
  18493. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18494. in: query
  18495. name: goodsIDs
  18496. type: string
  18497. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  18498. in: query
  18499. name: couponTypeID
  18500. type: integer
  18501. produces:
  18502. - application/json
  18503. responses:
  18504. "200":
  18505. description: OK
  18506. schema:
  18507. $ref: '#/definitions/models.HsbyMarketGoods'
  18508. "500":
  18509. description: Internal Server Error
  18510. schema:
  18511. $ref: '#/definitions/app.Response'
  18512. security:
  18513. - ApiKeyAuth: []
  18514. summary: 查询特卖商品列表(三级商城)
  18515. tags:
  18516. - 定制【海商报业】
  18517. /HSBY/QueryHsbyMarkets:
  18518. get:
  18519. produces:
  18520. - application/json
  18521. responses:
  18522. "200":
  18523. description: OK
  18524. schema:
  18525. $ref: '#/definitions/models.HsbyMarketInfo'
  18526. "500":
  18527. description: Internal Server Error
  18528. schema:
  18529. $ref: '#/definitions/app.Response'
  18530. security:
  18531. - ApiKeyAuth: []
  18532. summary: 查询海商报业相关市场信息
  18533. tags:
  18534. - 定制【海商报业】
  18535. /HSBY/QueryHsbyMyBuyOrderDetails:
  18536. get:
  18537. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  18538. parameters:
  18539. - description: 资金账户列表,格式:1,2,3
  18540. in: query
  18541. name: accountIDs
  18542. required: true
  18543. type: string
  18544. produces:
  18545. - application/json
  18546. responses:
  18547. "200":
  18548. description: OK
  18549. schema:
  18550. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  18551. "500":
  18552. description: Internal Server Error
  18553. schema:
  18554. $ref: '#/definitions/app.Response'
  18555. security:
  18556. - ApiKeyAuth: []
  18557. summary: 查询“我的订单”信息
  18558. tags:
  18559. - 定制【海商报业】
  18560. /HSBY/QueryHsbyMyGoods:
  18561. get:
  18562. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  18563. parameters:
  18564. - description: 资金账户列表,格式:1,2,3
  18565. in: query
  18566. name: accountIDs
  18567. required: true
  18568. type: string
  18569. produces:
  18570. - application/json
  18571. responses:
  18572. "200":
  18573. description: OK
  18574. schema:
  18575. $ref: '#/definitions/models.HsbyMyGoods'
  18576. "500":
  18577. description: Internal Server Error
  18578. schema:
  18579. $ref: '#/definitions/app.Response'
  18580. security:
  18581. - ApiKeyAuth: []
  18582. summary: 查询“我的商品”信息
  18583. tags:
  18584. - 定制【海商报业】
  18585. /HSBY/QueryHsbyMyPackages:
  18586. get:
  18587. parameters:
  18588. - description: 资金账户列表,格式:1,2,3
  18589. in: query
  18590. name: accountIDs
  18591. required: true
  18592. type: string
  18593. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18594. in: query
  18595. name: takeOrderStatus
  18596. type: integer
  18597. produces:
  18598. - application/json
  18599. responses:
  18600. "200":
  18601. description: OK
  18602. schema:
  18603. $ref: '#/definitions/models.HsbyMyPackage'
  18604. "500":
  18605. description: Internal Server Error
  18606. schema:
  18607. $ref: '#/definitions/app.Response'
  18608. security:
  18609. - ApiKeyAuth: []
  18610. summary: 查询我的包裹信息
  18611. tags:
  18612. - 定制【海商报业】
  18613. /HSBY/QueryHsbyPreGoodsDetail:
  18614. get:
  18615. parameters:
  18616. - description: 商品ID
  18617. in: query
  18618. name: goodsID
  18619. required: true
  18620. type: integer
  18621. - description: 资金账户,主要用于获取预售商品购买上限
  18622. in: query
  18623. name: accountID
  18624. type: integer
  18625. produces:
  18626. - application/json
  18627. responses:
  18628. "200":
  18629. description: OK
  18630. schema:
  18631. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  18632. "500":
  18633. description: Internal Server Error
  18634. schema:
  18635. $ref: '#/definitions/app.Response'
  18636. security:
  18637. - ApiKeyAuth: []
  18638. summary: 查询一级市场(预售)商品信息详情
  18639. tags:
  18640. - 定制【海商报业】
  18641. /HSBY/QueryHsbyPreGoodses:
  18642. get:
  18643. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  18644. parameters:
  18645. - description: 页码
  18646. in: query
  18647. name: page
  18648. type: integer
  18649. - description: 每页条数
  18650. in: query
  18651. name: pagesize
  18652. type: integer
  18653. - description: 市场ID列表,格式:1,2,3
  18654. in: query
  18655. name: marketIDs
  18656. required: true
  18657. type: string
  18658. - description: 目的地(省)ID
  18659. in: query
  18660. name: descProvinceID
  18661. type: integer
  18662. - description: 目的地(市)ID
  18663. in: query
  18664. name: descCityID
  18665. type: integer
  18666. produces:
  18667. - application/json
  18668. responses:
  18669. "200":
  18670. description: OK
  18671. schema:
  18672. $ref: '#/definitions/models.HsbyPreGoods'
  18673. "500":
  18674. description: Internal Server Error
  18675. schema:
  18676. $ref: '#/definitions/app.Response'
  18677. security:
  18678. - ApiKeyAuth: []
  18679. summary: 查询新品上市商品列表(一级市场预售)
  18680. tags:
  18681. - 定制【海商报业】
  18682. /HSBY/QueryHsbySellMyDetails:
  18683. get:
  18684. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  18685. parameters:
  18686. - description: 页码
  18687. in: query
  18688. name: page
  18689. type: integer
  18690. - description: 每页条数
  18691. in: query
  18692. name: pagesize
  18693. type: integer
  18694. - description: 资金账户列表,格式:1,2,3
  18695. in: query
  18696. name: accountIDs
  18697. required: true
  18698. type: string
  18699. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  18700. in: query
  18701. name: orderType
  18702. type: integer
  18703. produces:
  18704. - application/json
  18705. responses:
  18706. "200":
  18707. description: OK
  18708. schema:
  18709. $ref: '#/definitions/models.HsbySellMyDetail'
  18710. "500":
  18711. description: Internal Server Error
  18712. schema:
  18713. $ref: '#/definitions/app.Response'
  18714. security:
  18715. - ApiKeyAuth: []
  18716. summary: 查询"我的闲置"单据信息
  18717. tags:
  18718. - 定制【海商报业】
  18719. /HSBY/QueryHsbyTopGoodses:
  18720. get:
  18721. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  18722. parameters:
  18723. - description: 页码
  18724. in: query
  18725. name: page
  18726. type: integer
  18727. - description: 每页条数
  18728. in: query
  18729. name: pagesize
  18730. type: integer
  18731. - description: 市场ID列表,格式:1,2,3
  18732. in: query
  18733. name: marketIDs
  18734. required: true
  18735. type: string
  18736. - description: 目的地(省)ID
  18737. in: query
  18738. name: descProvinceID
  18739. type: integer
  18740. - description: 目的地(市)ID
  18741. in: query
  18742. name: descCityID
  18743. type: integer
  18744. produces:
  18745. - application/json
  18746. responses:
  18747. "200":
  18748. description: OK
  18749. schema:
  18750. $ref: '#/definitions/models.HsbyTopGoods'
  18751. "500":
  18752. description: Internal Server Error
  18753. schema:
  18754. $ref: '#/definitions/app.Response'
  18755. security:
  18756. - ApiKeyAuth: []
  18757. summary: 查询热卖商品列表(二级市场挂牌点选)
  18758. tags:
  18759. - 定制【海商报业】
  18760. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  18761. get:
  18762. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  18763. parameters:
  18764. - description: 商品ID
  18765. in: query
  18766. name: goodsID
  18767. required: true
  18768. type: integer
  18769. produces:
  18770. - application/json
  18771. responses:
  18772. "200":
  18773. description: OK
  18774. schema:
  18775. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18776. "500":
  18777. description: Internal Server Error
  18778. schema:
  18779. $ref: '#/definitions/app.Response'
  18780. security:
  18781. - ApiKeyAuth: []
  18782. summary: 查询游客三级市场(商城)商品信息详情
  18783. tags:
  18784. - 定制【海商报业】
  18785. /HSBY/QueryHsbyVisitorMarketGoodses:
  18786. get:
  18787. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  18788. parameters:
  18789. - description: 页码
  18790. in: query
  18791. name: page
  18792. type: integer
  18793. - description: 每页条数
  18794. in: query
  18795. name: pagesize
  18796. type: integer
  18797. - description: 市场ID列表,格式:1,2,3
  18798. in: query
  18799. name: marketIDs
  18800. required: true
  18801. type: string
  18802. - description: 类别ID
  18803. in: query
  18804. name: categoryID
  18805. type: integer
  18806. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18807. in: query
  18808. name: goodsIDs
  18809. type: string
  18810. produces:
  18811. - application/json
  18812. responses:
  18813. "200":
  18814. description: OK
  18815. schema:
  18816. $ref: '#/definitions/models.HsbyMarketGoods'
  18817. "500":
  18818. description: Internal Server Error
  18819. schema:
  18820. $ref: '#/definitions/app.Response'
  18821. security:
  18822. - ApiKeyAuth: []
  18823. summary: 查询游客特卖商品列表(三级商城)
  18824. tags:
  18825. - 定制【海商报业】
  18826. /HSBY/QueryMyCollectionOrders:
  18827. get:
  18828. parameters:
  18829. - description: 页码
  18830. in: query
  18831. name: page
  18832. type: integer
  18833. - description: 每页条数
  18834. in: query
  18835. name: pagesize
  18836. type: integer
  18837. - description: 资金账户,格式:1,2,3
  18838. in: query
  18839. name: accountIDs
  18840. required: true
  18841. type: string
  18842. produces:
  18843. - application/json
  18844. responses:
  18845. "200":
  18846. description: OK
  18847. schema:
  18848. $ref: '#/definitions/models.HsbySellCollectionOrder'
  18849. "500":
  18850. description: Internal Server Error
  18851. schema:
  18852. $ref: '#/definitions/app.Response'
  18853. security:
  18854. - ApiKeyAuth: []
  18855. summary: 我的闲置中收款信息查询
  18856. tags:
  18857. - 定制【海商报业】
  18858. /HSBY/QueryMyCouponHolds:
  18859. get:
  18860. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  18861. parameters:
  18862. - description: 资金账户列表,格式:1,2,3
  18863. in: query
  18864. name: accountIDs
  18865. required: true
  18866. type: string
  18867. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  18868. in: query
  18869. name: holdStatus
  18870. type: string
  18871. produces:
  18872. - application/json
  18873. responses:
  18874. "200":
  18875. description: OK
  18876. schema:
  18877. $ref: '#/definitions/models.MyCouponHold'
  18878. "500":
  18879. description: Internal Server Error
  18880. schema:
  18881. $ref: '#/definitions/app.Response'
  18882. security:
  18883. - ApiKeyAuth: []
  18884. summary: 我的优惠卷持仓查询
  18885. tags:
  18886. - 定制【海商报业】
  18887. /HSBY/QueryMyCoupons:
  18888. get:
  18889. parameters:
  18890. - description: 资金账户列表,格式:1,2,3
  18891. in: query
  18892. name: accountIDs
  18893. required: true
  18894. type: string
  18895. - description: 商品ID, 一般与sellUserID配套传入
  18896. in: query
  18897. name: goodsID
  18898. type: integer
  18899. - description: 卖方UserID
  18900. in: query
  18901. name: sellUserID
  18902. type: integer
  18903. produces:
  18904. - application/json
  18905. responses:
  18906. "200":
  18907. description: OK
  18908. schema:
  18909. $ref: '#/definitions/models.MyCoupon'
  18910. "500":
  18911. description: Internal Server Error
  18912. schema:
  18913. $ref: '#/definitions/app.Response'
  18914. security:
  18915. - ApiKeyAuth: []
  18916. summary: 我的优惠卷查询
  18917. tags:
  18918. - 定制【海商报业】
  18919. /HSBY/QueryMyPayOrders:
  18920. get:
  18921. parameters:
  18922. - description: 页码
  18923. in: query
  18924. name: page
  18925. type: integer
  18926. - description: 每页条数
  18927. in: query
  18928. name: pagesize
  18929. type: integer
  18930. - description: 资金账户列表,格式:1,2,3
  18931. in: query
  18932. name: accountIDs
  18933. required: true
  18934. type: string
  18935. - description: 买方委托单号
  18936. in: query
  18937. name: buyOrderID
  18938. type: integer
  18939. - description: 卖方委托单号
  18940. in: query
  18941. name: sellOrderID
  18942. type: integer
  18943. produces:
  18944. - application/json
  18945. responses:
  18946. "200":
  18947. description: OK
  18948. schema:
  18949. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  18950. "500":
  18951. description: Internal Server Error
  18952. schema:
  18953. $ref: '#/definitions/app.Response'
  18954. security:
  18955. - ApiKeyAuth: []
  18956. summary: 获取我的订单中待付款信息
  18957. tags:
  18958. - 定制【海商报业】
  18959. /HSBY/QueryMyUsedCoupon:
  18960. get:
  18961. parameters:
  18962. - description: 资金账户列表,格式:1,2,3
  18963. in: query
  18964. name: accountIDs
  18965. required: true
  18966. type: string
  18967. produces:
  18968. - application/json
  18969. responses:
  18970. "200":
  18971. description: OK
  18972. schema:
  18973. $ref: '#/definitions/models.MyUsedCoupon'
  18974. "500":
  18975. description: Internal Server Error
  18976. schema:
  18977. $ref: '#/definitions/app.Response'
  18978. security:
  18979. - ApiKeyAuth: []
  18980. summary: 已使用优惠卷查询
  18981. tags:
  18982. - 定制【海商报业】
  18983. /HSBY/QueryProvincesAndCities:
  18984. get:
  18985. description: 查询结果只包括二级市场商品已关连的省市信息。
  18986. parameters:
  18987. - description: 省ID
  18988. in: query
  18989. name: provinceID
  18990. type: integer
  18991. produces:
  18992. - application/json
  18993. responses:
  18994. "200":
  18995. description: OK
  18996. schema:
  18997. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  18998. "500":
  18999. description: Internal Server Error
  19000. schema:
  19001. $ref: '#/definitions/app.Response'
  19002. security:
  19003. - ApiKeyAuth: []
  19004. summary: 查询省市信息(不包括区)
  19005. tags:
  19006. - 定制【海商报业】
  19007. /HSBY/SetHsbyMyPackagesStatus:
  19008. post:
  19009. parameters:
  19010. - description: 提货单号
  19011. in: query
  19012. name: takeOrderID
  19013. required: true
  19014. type: string
  19015. - description: 资金账号
  19016. in: query
  19017. name: accountID
  19018. required: true
  19019. type: integer
  19020. produces:
  19021. - application/json
  19022. responses:
  19023. "200":
  19024. description: OK
  19025. schema:
  19026. $ref: '#/definitions/app.Response'
  19027. "500":
  19028. description: Internal Server Error
  19029. schema:
  19030. $ref: '#/definitions/app.Response'
  19031. security:
  19032. - ApiKeyAuth: []
  19033. summary: 设置我的包裹已收货状态
  19034. tags:
  19035. - 定制【海商报业】
  19036. /Market/QueryGoodsesByLoginID:
  19037. get:
  19038. parameters:
  19039. - description: 登录账号
  19040. in: query
  19041. name: loginID
  19042. required: true
  19043. type: integer
  19044. - description: 市场ID列表,格式:1,2,3
  19045. in: query
  19046. name: marketIDs
  19047. type: string
  19048. produces:
  19049. - application/json
  19050. responses:
  19051. "200":
  19052. description: OK
  19053. schema:
  19054. $ref: '#/definitions/models.Goods'
  19055. "500":
  19056. description: Internal Server Error
  19057. schema:
  19058. $ref: '#/definitions/app.Response'
  19059. security:
  19060. - ApiKeyAuth: []
  19061. summary: 获取登录账号有权限的商品信息
  19062. tags:
  19063. - 通用市场
  19064. /Market/QueryMarketRun:
  19065. get:
  19066. parameters:
  19067. - description: 市场ID,不传返回所有
  19068. in: query
  19069. name: marketID
  19070. type: integer
  19071. produces:
  19072. - application/json
  19073. responses:
  19074. "200":
  19075. description: OK
  19076. schema:
  19077. $ref: '#/definitions/models.Marketrun'
  19078. "500":
  19079. description: Internal Server Error
  19080. schema:
  19081. $ref: '#/definitions/app.Response'
  19082. security:
  19083. - ApiKeyAuth: []
  19084. summary: 查询市场运行信息
  19085. tags:
  19086. - 通用市场
  19087. /Market/QueryMarketsByLoginID:
  19088. get:
  19089. parameters:
  19090. - description: 登录账号
  19091. in: query
  19092. name: loginID
  19093. required: true
  19094. type: integer
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. $ref: '#/definitions/models.Market'
  19102. "500":
  19103. description: Internal Server Error
  19104. schema:
  19105. $ref: '#/definitions/app.Response'
  19106. security:
  19107. - ApiKeyAuth: []
  19108. summary: 获取登录账号有权限的市场信息
  19109. tags:
  19110. - 通用市场
  19111. /Order/QueryHisTradeDetail:
  19112. get:
  19113. parameters:
  19114. - description: 资金账户 - 格式:1,2,3
  19115. in: query
  19116. name: accountID
  19117. required: true
  19118. type: string
  19119. - description: 成交单号
  19120. in: query
  19121. name: tradeID
  19122. type: integer
  19123. - description: 委托单号
  19124. in: query
  19125. name: orderID
  19126. type: integer
  19127. - description: 商品ID
  19128. in: query
  19129. name: goodsID
  19130. type: integer
  19131. - description: 交易模式 - 格式:1,2,3
  19132. in: query
  19133. name: tradeMode
  19134. type: string
  19135. - description: 委托单据类型
  19136. in: query
  19137. name: buildType
  19138. type: integer
  19139. - description: 成交类别 - 格式:1,2,3
  19140. in: query
  19141. name: tradeType
  19142. type: string
  19143. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19144. in: query
  19145. name: startDate
  19146. type: string
  19147. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19148. in: query
  19149. name: endDate
  19150. type: string
  19151. produces:
  19152. - application/json
  19153. responses:
  19154. "200":
  19155. description: OK
  19156. schema:
  19157. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19158. "500":
  19159. description: Internal Server Error
  19160. schema:
  19161. $ref: '#/definitions/app.Response'
  19162. security:
  19163. - ApiKeyAuth: []
  19164. summary: 历史成交单查询(合约市场)
  19165. tags:
  19166. - 通用单据
  19167. /Order/QueryHisTradeOrderDetail:
  19168. get:
  19169. parameters:
  19170. - description: 资金账户 - 格式:1,2,3
  19171. in: query
  19172. name: accountID
  19173. required: true
  19174. type: string
  19175. - description: 交易模式 - 格式:1,2,3
  19176. in: query
  19177. name: tradeMode
  19178. type: string
  19179. - description: 委托状态 - 格式:1,2,3
  19180. in: query
  19181. name: orderStatus
  19182. type: string
  19183. - description: 委托单号
  19184. in: query
  19185. name: orderID
  19186. type: integer
  19187. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19188. in: query
  19189. name: startDate
  19190. type: string
  19191. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19192. in: query
  19193. name: endDate
  19194. type: string
  19195. produces:
  19196. - application/json
  19197. responses:
  19198. "200":
  19199. description: OK
  19200. schema:
  19201. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19202. "500":
  19203. description: Internal Server Error
  19204. schema:
  19205. $ref: '#/definitions/app.Response'
  19206. security:
  19207. - ApiKeyAuth: []
  19208. summary: 历史委托单查询请求(合约市场)
  19209. tags:
  19210. - 通用单据
  19211. /Order/QueryTradeDetail:
  19212. get:
  19213. parameters:
  19214. - description: 资金账户 - 格式:1,2,3
  19215. in: query
  19216. name: accountID
  19217. required: true
  19218. type: string
  19219. - description: 成交单号
  19220. in: query
  19221. name: tradeID
  19222. type: integer
  19223. - description: 委托单号
  19224. in: query
  19225. name: orderID
  19226. type: integer
  19227. - description: 交易模式 - 格式:1,2,3
  19228. in: query
  19229. name: tradeMode
  19230. type: string
  19231. - description: 委托单据类型
  19232. in: query
  19233. name: buildType
  19234. type: integer
  19235. - description: 成交类别 - 格式:1,2,3
  19236. in: query
  19237. name: tradeType
  19238. type: string
  19239. - description: 商品ID
  19240. in: query
  19241. name: goodsID
  19242. type: integer
  19243. produces:
  19244. - application/json
  19245. responses:
  19246. "200":
  19247. description: OK
  19248. schema:
  19249. $ref: '#/definitions/order.QueryTradeDetailRsp'
  19250. "500":
  19251. description: Internal Server Error
  19252. schema:
  19253. $ref: '#/definitions/app.Response'
  19254. security:
  19255. - ApiKeyAuth: []
  19256. summary: 成交单查询(合约市场)
  19257. tags:
  19258. - 通用单据
  19259. /Order/QueryTradeOrderDetail:
  19260. get:
  19261. parameters:
  19262. - description: 资金账户 - 格式:1,2,3
  19263. in: query
  19264. name: accountID
  19265. required: true
  19266. type: string
  19267. - description: 交易模式 - 格式:1,2,3
  19268. in: query
  19269. name: tradeMode
  19270. type: string
  19271. - description: 委托状态 - 格式:1,2,3
  19272. in: query
  19273. name: orderStatus
  19274. type: string
  19275. - description: 委托单号
  19276. in: query
  19277. name: orderID
  19278. type: integer
  19279. produces:
  19280. - application/json
  19281. responses:
  19282. "200":
  19283. description: OK
  19284. schema:
  19285. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  19286. "500":
  19287. description: Internal Server Error
  19288. schema:
  19289. $ref: '#/definitions/app.Response'
  19290. security:
  19291. - ApiKeyAuth: []
  19292. summary: 委托单查询请求(合约市场)
  19293. tags:
  19294. - 通用单据
  19295. /Order/QueryTradePosition:
  19296. get:
  19297. parameters:
  19298. - description: 资金账户 - 格式:1,2,3
  19299. in: query
  19300. name: accountID
  19301. required: true
  19302. type: string
  19303. - description: 交易模式 - 格式:1,2,3
  19304. in: query
  19305. name: tradeMode
  19306. type: string
  19307. produces:
  19308. - application/json
  19309. responses:
  19310. "200":
  19311. description: OK
  19312. schema:
  19313. $ref: '#/definitions/order.QueryTradePositionRsp'
  19314. "500":
  19315. description: Internal Server Error
  19316. schema:
  19317. $ref: '#/definitions/app.Response'
  19318. security:
  19319. - ApiKeyAuth: []
  19320. summary: 持仓汇总查询(合约市场)
  19321. tags:
  19322. - 通用单据
  19323. /Qhj/QueryAccountInOutApply:
  19324. get:
  19325. parameters:
  19326. - description: 用户ID
  19327. in: query
  19328. name: userid
  19329. required: true
  19330. type: integer
  19331. - description: 申请起始日期(格式yyyymmdd)
  19332. in: query
  19333. name: begindate
  19334. type: string
  19335. - description: 申请截止日期(格式yyyymmdd)
  19336. in: query
  19337. name: enddate
  19338. type: string
  19339. - description: 模糊搜索名称
  19340. in: query
  19341. name: likename
  19342. type: string
  19343. produces:
  19344. - application/json
  19345. responses:
  19346. "200":
  19347. description: OK
  19348. schema:
  19349. items:
  19350. $ref: '#/definitions/models.QhjAccountOutInApply'
  19351. type: array
  19352. "500":
  19353. description: Internal Server Error
  19354. schema:
  19355. $ref: '#/definitions/app.Response'
  19356. security:
  19357. - ApiKeyAuth: []
  19358. summary: 查询充值提现
  19359. tags:
  19360. - 大连千海金
  19361. /Qhj/QueryAreaFinanceConfig:
  19362. get:
  19363. parameters:
  19364. - description: 机构用户ID 其他做市关系,都设置为 1
  19365. in: query
  19366. name: userid
  19367. type: integer
  19368. produces:
  19369. - application/json
  19370. responses:
  19371. "200":
  19372. description: OK
  19373. schema:
  19374. items:
  19375. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  19376. type: array
  19377. "500":
  19378. description: Internal Server Error
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. security:
  19382. - ApiKeyAuth: []
  19383. summary: 查询企业配置表
  19384. tags:
  19385. - 大连千海金
  19386. /Qhj/QueryBankAccountSign:
  19387. get:
  19388. parameters:
  19389. - description: 用户ID
  19390. in: query
  19391. name: userid
  19392. required: true
  19393. type: integer
  19394. produces:
  19395. - application/json
  19396. responses:
  19397. "200":
  19398. description: OK
  19399. schema:
  19400. items:
  19401. $ref: '#/definitions/models.QhjBankAccountSign'
  19402. type: array
  19403. "500":
  19404. description: Internal Server Error
  19405. schema:
  19406. $ref: '#/definitions/app.Response'
  19407. security:
  19408. - ApiKeyAuth: []
  19409. summary: 查询签约银行信息(提现账户管理)
  19410. tags:
  19411. - 大连千海金
  19412. /Qhj/QueryBankInfo:
  19413. get:
  19414. produces:
  19415. - application/json
  19416. responses:
  19417. "200":
  19418. description: OK
  19419. schema:
  19420. items:
  19421. $ref: '#/definitions/models.QhjBankInfo'
  19422. type: array
  19423. "500":
  19424. description: Internal Server Error
  19425. schema:
  19426. $ref: '#/definitions/app.Response'
  19427. security:
  19428. - ApiKeyAuth: []
  19429. summary: 查询开户行
  19430. tags:
  19431. - 大连千海金
  19432. /Qhj/QueryContract:
  19433. get:
  19434. parameters:
  19435. - description: 用户ID
  19436. in: query
  19437. name: userid
  19438. type: integer
  19439. - description: scf合同id
  19440. in: query
  19441. name: scfcontractid
  19442. type: integer
  19443. produces:
  19444. - application/json
  19445. responses:
  19446. "200":
  19447. description: OK
  19448. schema:
  19449. items:
  19450. $ref: '#/definitions/models.QhjContract'
  19451. type: array
  19452. "500":
  19453. description: Internal Server Error
  19454. schema:
  19455. $ref: '#/definitions/app.Response'
  19456. security:
  19457. - ApiKeyAuth: []
  19458. summary: 查询融资明细(合同)
  19459. tags:
  19460. - 大连千海金
  19461. /Qhj/QueryContractLog:
  19462. get:
  19463. parameters:
  19464. - description: scf合同id
  19465. in: query
  19466. name: scfcontractid
  19467. required: true
  19468. type: integer
  19469. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  19470. in: query
  19471. name: amounttype
  19472. type: string
  19473. produces:
  19474. - application/json
  19475. responses:
  19476. "200":
  19477. description: OK
  19478. schema:
  19479. items:
  19480. $ref: '#/definitions/models.QhjContractLog'
  19481. type: array
  19482. "500":
  19483. description: Internal Server Error
  19484. schema:
  19485. $ref: '#/definitions/app.Response'
  19486. security:
  19487. - ApiKeyAuth: []
  19488. summary: 查询融资明细流水(融资明细详情页中的流水)
  19489. tags:
  19490. - 大连千海金
  19491. /Qhj/QueryCusBankSignBank:
  19492. get:
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. items:
  19500. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  19501. type: array
  19502. "500":
  19503. description: Internal Server Error
  19504. schema:
  19505. $ref: '#/definitions/app.Response'
  19506. security:
  19507. - ApiKeyAuth: []
  19508. summary: 查询托管银行
  19509. tags:
  19510. - 大连千海金
  19511. /Qhj/QueryCustomerInfo:
  19512. get:
  19513. parameters:
  19514. - description: 用户ID
  19515. in: query
  19516. name: userid
  19517. required: true
  19518. type: integer
  19519. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  19520. in: query
  19521. name: querytype
  19522. required: true
  19523. type: integer
  19524. - description: 客户类型 1-个人 2-企业
  19525. in: query
  19526. name: userinfotype
  19527. type: integer
  19528. - description: 客户名称(模糊匹配)
  19529. in: query
  19530. name: customername
  19531. type: string
  19532. - description: 昵称(模糊匹配)
  19533. in: query
  19534. name: nickname
  19535. type: string
  19536. - description: 是否包含子级 1-包含
  19537. in: query
  19538. name: includesub
  19539. type: integer
  19540. produces:
  19541. - application/json
  19542. responses:
  19543. "200":
  19544. description: OK
  19545. schema:
  19546. items:
  19547. $ref: '#/definitions/models.QhjCustomer'
  19548. type: array
  19549. "500":
  19550. description: Internal Server Error
  19551. schema:
  19552. $ref: '#/definitions/app.Response'
  19553. security:
  19554. - ApiKeyAuth: []
  19555. summary: 查询客户资料
  19556. tags:
  19557. - 大连千海金
  19558. /Qhj/QueryGoodsEx:
  19559. get:
  19560. parameters:
  19561. - description: 商品id
  19562. in: query
  19563. name: goodsid
  19564. type: integer
  19565. produces:
  19566. - application/json
  19567. responses:
  19568. "200":
  19569. description: OK
  19570. schema:
  19571. items:
  19572. $ref: '#/definitions/models.Qhjgoodsex'
  19573. type: array
  19574. "500":
  19575. description: Internal Server Error
  19576. schema:
  19577. $ref: '#/definitions/app.Response'
  19578. security:
  19579. - ApiKeyAuth: []
  19580. summary: 交易商品扩展表
  19581. tags:
  19582. - 大连千海金
  19583. /Qhj/QueryMyTeam:
  19584. get:
  19585. parameters:
  19586. - description: 用户ID
  19587. in: query
  19588. name: userid
  19589. required: true
  19590. type: integer
  19591. produces:
  19592. - application/json
  19593. responses:
  19594. "200":
  19595. description: OK
  19596. schema:
  19597. items:
  19598. $ref: '#/definitions/models.QhjMyTeam'
  19599. type: array
  19600. "500":
  19601. description: Internal Server Error
  19602. schema:
  19603. $ref: '#/definitions/app.Response'
  19604. security:
  19605. - ApiKeyAuth: []
  19606. summary: 查询我的团队
  19607. tags:
  19608. - 大连千海金
  19609. /Qhj/QueryMyTeamOrder:
  19610. get:
  19611. parameters:
  19612. - description: 页码
  19613. in: query
  19614. name: page
  19615. type: integer
  19616. - description: 每页条数
  19617. in: query
  19618. name: pagesize
  19619. type: integer
  19620. - description: 用户ID
  19621. in: query
  19622. name: userid
  19623. required: true
  19624. type: integer
  19625. produces:
  19626. - application/json
  19627. responses:
  19628. "200":
  19629. description: OK
  19630. schema:
  19631. items:
  19632. $ref: '#/definitions/models.QhjTeamOrder'
  19633. type: array
  19634. "500":
  19635. description: Internal Server Error
  19636. schema:
  19637. $ref: '#/definitions/app.Response'
  19638. security:
  19639. - ApiKeyAuth: []
  19640. summary: 查询团队订单(我的团队/团队订单)
  19641. tags:
  19642. - 大连千海金
  19643. /Qhj/QueryParentAreaList:
  19644. get:
  19645. parameters:
  19646. - description: 用户ID
  19647. in: query
  19648. name: userid
  19649. required: true
  19650. type: integer
  19651. produces:
  19652. - application/json
  19653. responses:
  19654. "200":
  19655. description: OK
  19656. schema:
  19657. items:
  19658. $ref: '#/definitions/models.QhjParentAreaList'
  19659. type: array
  19660. "500":
  19661. description: Internal Server Error
  19662. schema:
  19663. $ref: '#/definitions/app.Response'
  19664. security:
  19665. - ApiKeyAuth: []
  19666. summary: 查询所属机构列表
  19667. tags:
  19668. - 大连千海金
  19669. /Qhj/QueryPayOrder:
  19670. get:
  19671. parameters:
  19672. - description: 资金账号id
  19673. in: query
  19674. name: accountid
  19675. required: true
  19676. type: integer
  19677. - description: 成交单号
  19678. in: query
  19679. name: tradeid
  19680. type: integer
  19681. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  19682. in: query
  19683. name: payflag
  19684. type: string
  19685. produces:
  19686. - application/json
  19687. responses:
  19688. "200":
  19689. description: OK
  19690. schema:
  19691. items:
  19692. $ref: '#/definitions/models.QhjPayOrder'
  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/QueryPickArea:
  19704. get:
  19705. parameters:
  19706. - description: 用户ID
  19707. in: query
  19708. name: userid
  19709. type: integer
  19710. produces:
  19711. - application/json
  19712. responses:
  19713. "200":
  19714. description: OK
  19715. schema:
  19716. items:
  19717. $ref: '#/definitions/models.QhjPickArea'
  19718. type: array
  19719. "500":
  19720. description: Internal Server Error
  19721. schema:
  19722. $ref: '#/definitions/app.Response'
  19723. security:
  19724. - ApiKeyAuth: []
  19725. summary: 查询提货门店
  19726. tags:
  19727. - 大连千海金
  19728. /Qhj/QueryPickGoods:
  19729. get:
  19730. parameters:
  19731. - description: 交易商品id
  19732. in: query
  19733. name: goodsid
  19734. required: true
  19735. type: integer
  19736. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  19737. in: query
  19738. name: status
  19739. type: string
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. items:
  19747. $ref: '#/definitions/models.QhjPickGoods'
  19748. type: array
  19749. "500":
  19750. description: Internal Server Error
  19751. schema:
  19752. $ref: '#/definitions/app.Response'
  19753. security:
  19754. - ApiKeyAuth: []
  19755. summary: 查询提货商品
  19756. tags:
  19757. - 大连千海金
  19758. /Qhj/QueryRSTriggerLog:
  19759. get:
  19760. parameters:
  19761. - description: 用户ID
  19762. in: query
  19763. name: userid
  19764. type: integer
  19765. - description: 定投策略id
  19766. in: query
  19767. name: regularlystrategyid
  19768. type: integer
  19769. - description: 商品id
  19770. in: query
  19771. name: goodsid
  19772. type: integer
  19773. - description: 开始交易日(yyyymmdd)
  19774. in: query
  19775. name: begindate
  19776. type: string
  19777. - description: 结束交易日(yyyymmdd)
  19778. in: query
  19779. name: enddate
  19780. type: string
  19781. - description: 名称(模糊搜索账户)
  19782. in: query
  19783. name: filtername
  19784. type: string
  19785. produces:
  19786. - application/json
  19787. responses:
  19788. "200":
  19789. description: OK
  19790. schema:
  19791. items:
  19792. $ref: '#/definitions/models.QhjRSTriggerLog'
  19793. type: array
  19794. "500":
  19795. description: Internal Server Error
  19796. schema:
  19797. $ref: '#/definitions/app.Response'
  19798. security:
  19799. - ApiKeyAuth: []
  19800. summary: 查询定投记录(定投管理/详情/定投记录)
  19801. tags:
  19802. - 大连千海金
  19803. /Qhj/QueryRStrategy:
  19804. get:
  19805. parameters:
  19806. - description: 用户ID
  19807. in: query
  19808. name: userid
  19809. type: integer
  19810. - description: 商品id
  19811. in: query
  19812. name: goodsid
  19813. type: integer
  19814. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  19815. in: query
  19816. name: status
  19817. type: string
  19818. - description: 名称(模糊搜索账户)
  19819. in: query
  19820. name: filtername
  19821. type: string
  19822. produces:
  19823. - application/json
  19824. responses:
  19825. "200":
  19826. description: OK
  19827. schema:
  19828. items:
  19829. $ref: '#/definitions/models.QhjRStrategy'
  19830. type: array
  19831. "500":
  19832. description: Internal Server Error
  19833. schema:
  19834. $ref: '#/definitions/app.Response'
  19835. security:
  19836. - ApiKeyAuth: []
  19837. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  19838. tags:
  19839. - 大连千海金
  19840. /Qhj/QueryReckonPriceLog:
  19841. get:
  19842. parameters:
  19843. - description: 商品ID
  19844. in: query
  19845. name: goodsid
  19846. type: integer
  19847. - description: 交易日 格式(yyyymmdd)
  19848. in: query
  19849. name: tradedate
  19850. type: string
  19851. produces:
  19852. - application/json
  19853. responses:
  19854. "200":
  19855. description: OK
  19856. schema:
  19857. items:
  19858. $ref: '#/definitions/models.QhjReckonPriceLog'
  19859. type: array
  19860. "500":
  19861. description: Internal Server Error
  19862. schema:
  19863. $ref: '#/definitions/app.Response'
  19864. security:
  19865. - ApiKeyAuth: []
  19866. summary: 查询定投价(结算价)
  19867. tags:
  19868. - 大连千海金
  19869. /Qhj/QuerySiteColumnDetail:
  19870. get:
  19871. parameters:
  19872. - description: 用户ID
  19873. in: query
  19874. name: userid
  19875. required: true
  19876. type: integer
  19877. produces:
  19878. - application/json
  19879. responses:
  19880. "200":
  19881. description: OK
  19882. schema:
  19883. items:
  19884. $ref: '#/definitions/models.QhjSiteColumnDetail'
  19885. type: array
  19886. "500":
  19887. description: Internal Server Error
  19888. schema:
  19889. $ref: '#/definitions/app.Response'
  19890. security:
  19891. - ApiKeyAuth: []
  19892. summary: 查询资讯
  19893. tags:
  19894. - 大连千海金
  19895. /Qhj/QueryTradeGoodsPickup:
  19896. get:
  19897. parameters:
  19898. - description: 用户ID
  19899. in: query
  19900. name: userid
  19901. required: true
  19902. type: integer
  19903. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  19904. 7:已拒绝 8:已撤销
  19905. in: query
  19906. name: takeorderstatus
  19907. type: integer
  19908. produces:
  19909. - application/json
  19910. responses:
  19911. "200":
  19912. description: OK
  19913. schema:
  19914. items:
  19915. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  19916. type: array
  19917. "500":
  19918. description: Internal Server Error
  19919. schema:
  19920. $ref: '#/definitions/app.Response'
  19921. security:
  19922. - ApiKeyAuth: []
  19923. summary: 查询提货
  19924. tags:
  19925. - 大连千海金
  19926. /Qhj/QueryUserCollectConfig:
  19927. get:
  19928. parameters:
  19929. - description: 用户ID
  19930. in: query
  19931. name: userid
  19932. required: true
  19933. type: integer
  19934. produces:
  19935. - application/json
  19936. responses:
  19937. "200":
  19938. description: OK
  19939. schema:
  19940. items:
  19941. $ref: '#/definitions/models.UserCollectConfig'
  19942. type: array
  19943. "500":
  19944. description: Internal Server Error
  19945. schema:
  19946. $ref: '#/definitions/app.Response'
  19947. security:
  19948. - ApiKeyAuth: []
  19949. summary: 查询提现账户设置
  19950. tags:
  19951. - 大连千海金
  19952. /Qhj/QueryUserReceiveInfo:
  19953. get:
  19954. parameters:
  19955. - description: 用户ID
  19956. in: query
  19957. name: userid
  19958. required: true
  19959. type: integer
  19960. produces:
  19961. - application/json
  19962. responses:
  19963. "200":
  19964. description: OK
  19965. schema:
  19966. items:
  19967. $ref: '#/definitions/models.UserReceiveInfo'
  19968. type: array
  19969. "500":
  19970. description: Internal Server Error
  19971. schema:
  19972. $ref: '#/definitions/app.Response'
  19973. security:
  19974. - ApiKeyAuth: []
  19975. summary: 查询收货地址信息
  19976. tags:
  19977. - 大连千海金
  19978. /QhjMgr/QueryAccountInOutApply:
  19979. get:
  19980. parameters:
  19981. - description: 查询类型 1-提现(出金) 2-充值(出金)
  19982. in: query
  19983. name: querytype
  19984. required: true
  19985. type: integer
  19986. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  19987. in: query
  19988. name: applystatus
  19989. type: integer
  19990. - description: 申请起始日期(格式yyyymmdd)
  19991. in: query
  19992. name: begindate
  19993. type: string
  19994. - description: 申请截止日期(格式yyyymmdd)
  19995. in: query
  19996. name: enddate
  19997. type: string
  19998. - description: 模糊搜索名称
  19999. in: query
  20000. name: likename
  20001. type: string
  20002. produces:
  20003. - application/json
  20004. responses:
  20005. "200":
  20006. description: OK
  20007. schema:
  20008. items:
  20009. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  20010. type: array
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 查询充值提现
  20018. tags:
  20019. - 大连千海金(PCWeb)
  20020. /QhjMgr/QueryBrokerApply:
  20021. get:
  20022. parameters:
  20023. - description: 所属机构ID
  20024. in: query
  20025. name: userid
  20026. type: integer
  20027. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20028. in: query
  20029. name: filterstatus
  20030. type: string
  20031. - description: 名称(模糊匹配)
  20032. in: query
  20033. name: filtername
  20034. type: string
  20035. - description: 是否包含子级 1-包含
  20036. in: query
  20037. name: includesub
  20038. type: integer
  20039. produces:
  20040. - application/json
  20041. responses:
  20042. "200":
  20043. description: OK
  20044. schema:
  20045. items:
  20046. $ref: '#/definitions/models.QhjMgrBrokerApply'
  20047. type: array
  20048. "500":
  20049. description: Internal Server Error
  20050. schema:
  20051. $ref: '#/definitions/app.Response'
  20052. security:
  20053. - ApiKeyAuth: []
  20054. summary: 查询经纪人申请
  20055. tags:
  20056. - 大连千海金(PCWeb)
  20057. /QhjMgr/QueryBrokerRewardReport:
  20058. get:
  20059. parameters:
  20060. - description: 所属机构ID
  20061. in: query
  20062. name: userid
  20063. required: true
  20064. type: integer
  20065. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20066. in: query
  20067. name: cycletype
  20068. required: true
  20069. type: integer
  20070. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  20071. in: query
  20072. name: cycletime
  20073. required: true
  20074. type: string
  20075. - description: 名称(模糊匹配)
  20076. in: query
  20077. name: filtername
  20078. type: string
  20079. - description: 是否包含子级 1-包含
  20080. in: query
  20081. name: includesub
  20082. type: integer
  20083. produces:
  20084. - application/json
  20085. responses:
  20086. "200":
  20087. description: OK
  20088. schema:
  20089. items:
  20090. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  20091. type: array
  20092. "500":
  20093. description: Internal Server Error
  20094. schema:
  20095. $ref: '#/definitions/app.Response'
  20096. security:
  20097. - ApiKeyAuth: []
  20098. summary: 查询经纪人奖励报表(废弃)
  20099. tags:
  20100. - 大连千海金(PCWeb)
  20101. /QhjMgr/QueryContract:
  20102. get:
  20103. parameters:
  20104. - description: 用户ID
  20105. in: query
  20106. name: userid
  20107. type: integer
  20108. - description: 商品id
  20109. in: query
  20110. name: goodsid
  20111. type: integer
  20112. - description: 名称(模糊搜索账户)
  20113. in: query
  20114. name: filtername
  20115. type: string
  20116. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  20117. in: query
  20118. name: risklevel
  20119. type: string
  20120. - description: 开始交易日(yyyymmdd)
  20121. in: query
  20122. name: begindate
  20123. type: string
  20124. - description: 结束交易日(yyyymmdd)
  20125. in: query
  20126. name: enddate
  20127. type: string
  20128. produces:
  20129. - application/json
  20130. responses:
  20131. "200":
  20132. description: OK
  20133. schema:
  20134. items:
  20135. $ref: '#/definitions/models.QhjMgrContract'
  20136. type: array
  20137. "500":
  20138. description: Internal Server Error
  20139. schema:
  20140. $ref: '#/definitions/app.Response'
  20141. security:
  20142. - ApiKeyAuth: []
  20143. summary: 查询融资信息(合同)
  20144. tags:
  20145. - 大连千海金(PCWeb)
  20146. /QhjMgr/QueryCustomerInfo:
  20147. get:
  20148. parameters:
  20149. - description: 用户ID
  20150. in: query
  20151. name: userid
  20152. required: true
  20153. type: integer
  20154. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20155. in: query
  20156. name: querytype
  20157. required: true
  20158. type: integer
  20159. - description: 客户类型 1-个人 2-企业
  20160. in: query
  20161. name: userinfotype
  20162. type: integer
  20163. - description: 客户名称(模糊匹配)
  20164. in: query
  20165. name: customername
  20166. type: string
  20167. - description: 昵称(模糊匹配)
  20168. in: query
  20169. name: nickname
  20170. type: string
  20171. - description: 是否包含子级 1-包含
  20172. in: query
  20173. name: includesub
  20174. type: integer
  20175. produces:
  20176. - application/json
  20177. responses:
  20178. "200":
  20179. description: OK
  20180. schema:
  20181. items:
  20182. $ref: '#/definitions/models.QhjMgrCustomer'
  20183. type: array
  20184. "500":
  20185. description: Internal Server Error
  20186. schema:
  20187. $ref: '#/definitions/app.Response'
  20188. security:
  20189. - ApiKeyAuth: []
  20190. summary: 查询客户资料
  20191. tags:
  20192. - 大连千海金(PCWeb)
  20193. /QhjMgr/QueryPickGoods:
  20194. get:
  20195. parameters:
  20196. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20197. in: query
  20198. name: status
  20199. type: string
  20200. produces:
  20201. - application/json
  20202. responses:
  20203. "200":
  20204. description: OK
  20205. schema:
  20206. items:
  20207. $ref: '#/definitions/models.QhjPickGoods'
  20208. type: array
  20209. "500":
  20210. description: Internal Server Error
  20211. schema:
  20212. $ref: '#/definitions/app.Response'
  20213. security:
  20214. - ApiKeyAuth: []
  20215. summary: 查询提货商品
  20216. tags:
  20217. - 大连千海金(PCWeb)
  20218. /QhjMgr/QuerySubArea:
  20219. get:
  20220. parameters:
  20221. - description: 用户ID
  20222. in: query
  20223. name: userid
  20224. required: true
  20225. type: integer
  20226. produces:
  20227. - application/json
  20228. responses:
  20229. "200":
  20230. description: OK
  20231. schema:
  20232. items:
  20233. $ref: '#/definitions/models.QhjMgrSubArea'
  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/QueryTradeDetail:
  20245. get:
  20246. parameters:
  20247. - description: 用户ID
  20248. in: query
  20249. name: userid
  20250. required: true
  20251. type: integer
  20252. - description: 用户类型 1-个人 2-企业
  20253. in: query
  20254. name: userinfotype
  20255. type: integer
  20256. - description: 交易模式
  20257. in: query
  20258. name: trademode
  20259. type: integer
  20260. - description: 商品id
  20261. in: query
  20262. name: goodsid
  20263. type: integer
  20264. - description: 名称(模糊搜索账户)
  20265. in: query
  20266. name: filtername
  20267. type: string
  20268. - description: 开始交易日(yyyymmdd)
  20269. in: query
  20270. name: begindate
  20271. type: string
  20272. - description: 结束交易日(yyyymmdd)
  20273. in: query
  20274. name: enddate
  20275. type: string
  20276. - description: 是否包含子级 1-包含
  20277. in: query
  20278. name: includesub
  20279. type: integer
  20280. produces:
  20281. - application/json
  20282. responses:
  20283. "200":
  20284. description: OK
  20285. schema:
  20286. items:
  20287. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  20288. type: array
  20289. "500":
  20290. description: Internal Server Error
  20291. schema:
  20292. $ref: '#/definitions/app.Response'
  20293. security:
  20294. - ApiKeyAuth: []
  20295. summary: 查询成交明细
  20296. tags:
  20297. - 大连千海金(PCWeb)
  20298. /QhjMgr/QueryTradeOrderDetail:
  20299. get:
  20300. parameters:
  20301. - description: 用户ID
  20302. in: query
  20303. name: userid
  20304. required: true
  20305. type: integer
  20306. - description: 用户类型 1-个人 2-企业
  20307. in: query
  20308. name: userinfotype
  20309. type: integer
  20310. - description: 交易模式
  20311. in: query
  20312. name: trademode
  20313. type: integer
  20314. - description: 商品id
  20315. in: query
  20316. name: goodsid
  20317. type: integer
  20318. - description: 名称(模糊搜索账户)
  20319. in: query
  20320. name: filtername
  20321. type: string
  20322. - description: 开始交易日(yyyymmdd)
  20323. in: query
  20324. name: begindate
  20325. type: string
  20326. - description: 结束交易日(yyyymmdd)
  20327. in: query
  20328. name: enddate
  20329. type: string
  20330. - description: 是否包含子级 1-包含
  20331. in: query
  20332. name: includesub
  20333. type: integer
  20334. produces:
  20335. - application/json
  20336. responses:
  20337. "200":
  20338. description: OK
  20339. schema:
  20340. items:
  20341. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  20342. type: array
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. security:
  20348. - ApiKeyAuth: []
  20349. summary: 查询委托明细
  20350. tags:
  20351. - 大连千海金(PCWeb)
  20352. /QhjMgr/QueryTradePayOrder:
  20353. get:
  20354. parameters:
  20355. - description: 用户ID
  20356. in: query
  20357. name: userid
  20358. required: true
  20359. type: integer
  20360. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20361. in: query
  20362. name: payflag
  20363. type: string
  20364. - description: 用户类型 1-个人 2-企业
  20365. in: query
  20366. name: userinfotype
  20367. type: integer
  20368. - description: 交易模式
  20369. in: query
  20370. name: trademode
  20371. type: integer
  20372. - description: 商品id
  20373. in: query
  20374. name: goodsid
  20375. type: integer
  20376. - description: 名称(模糊搜索账户)
  20377. in: query
  20378. name: filtername
  20379. type: string
  20380. - description: 开始交易日(yyyymmdd)
  20381. in: query
  20382. name: begindate
  20383. type: string
  20384. - description: 结束交易日(yyyymmdd)
  20385. in: query
  20386. name: enddate
  20387. type: string
  20388. - description: 是否包含子级 1-包含
  20389. in: query
  20390. name: includesub
  20391. type: integer
  20392. produces:
  20393. - application/json
  20394. responses:
  20395. "200":
  20396. description: OK
  20397. schema:
  20398. items:
  20399. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  20400. type: array
  20401. "500":
  20402. description: Internal Server Error
  20403. schema:
  20404. $ref: '#/definitions/app.Response'
  20405. security:
  20406. - ApiKeyAuth: []
  20407. summary: 查询待付款单
  20408. tags:
  20409. - 大连千海金(PCWeb)
  20410. /QhjMgr/QueryTradePosition:
  20411. get:
  20412. parameters:
  20413. - description: 用户ID
  20414. in: query
  20415. name: userid
  20416. required: true
  20417. type: integer
  20418. - description: 用户类型 1-个人 2-企业
  20419. in: query
  20420. name: userinfotype
  20421. type: integer
  20422. - description: 交易模式
  20423. in: query
  20424. name: trademode
  20425. type: integer
  20426. - description: 商品id
  20427. in: query
  20428. name: goodsid
  20429. type: integer
  20430. - description: 名称(模糊搜索账户)
  20431. in: query
  20432. name: filtername
  20433. type: string
  20434. - description: 是否包含子级 1-包含
  20435. in: query
  20436. name: includesub
  20437. type: integer
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. items:
  20445. $ref: '#/definitions/models.QhjMgrPositionRsp'
  20446. type: array
  20447. "500":
  20448. description: Internal Server Error
  20449. schema:
  20450. $ref: '#/definitions/app.Response'
  20451. security:
  20452. - ApiKeyAuth: []
  20453. summary: 查询持仓汇总
  20454. tags:
  20455. - 大连千海金(PCWeb)
  20456. /QhjSys/QueryAgreementChangeLog:
  20457. get:
  20458. parameters:
  20459. - description: 协议ID
  20460. in: query
  20461. name: agreementid
  20462. type: integer
  20463. - description: 协议版本号
  20464. in: query
  20465. name: agreementversion
  20466. type: integer
  20467. - description: 协议类型 - 1:注册 2:登录 3:交易
  20468. in: query
  20469. name: agreementtype
  20470. type: integer
  20471. - description: 协议编号(模糊匹配)
  20472. in: query
  20473. name: agreementno
  20474. type: string
  20475. - description: 协议名称(模糊匹配)
  20476. in: query
  20477. name: agreementname
  20478. type: string
  20479. produces:
  20480. - application/json
  20481. responses:
  20482. "200":
  20483. description: OK
  20484. schema:
  20485. items:
  20486. $ref: '#/definitions/models.QhjAgreementChangeLog'
  20487. type: array
  20488. "500":
  20489. description: Internal Server Error
  20490. schema:
  20491. $ref: '#/definitions/app.Response'
  20492. security:
  20493. - ApiKeyAuth: []
  20494. summary: 查询协议配置变更流水
  20495. tags:
  20496. - 大连千海金(协议和签约信息)
  20497. /QhjSys/QueryAgreementConfig:
  20498. get:
  20499. parameters:
  20500. - description: 协议ID
  20501. in: query
  20502. name: agreementid
  20503. type: integer
  20504. - description: 协议版本号
  20505. in: query
  20506. name: agreementversion
  20507. type: integer
  20508. - description: 协议类型 - 1:注册 2:登录 3:交易
  20509. in: query
  20510. name: agreementtype
  20511. type: integer
  20512. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  20513. in: query
  20514. name: isvalid
  20515. type: integer
  20516. - description: 协议编号(模糊匹配)
  20517. in: query
  20518. name: agreementno
  20519. type: string
  20520. - description: 协议名称(模糊匹配)
  20521. in: query
  20522. name: agreementname
  20523. type: string
  20524. produces:
  20525. - application/json
  20526. responses:
  20527. "200":
  20528. description: OK
  20529. schema:
  20530. items:
  20531. $ref: '#/definitions/models.QhjAgreementConfig'
  20532. type: array
  20533. "500":
  20534. description: Internal Server Error
  20535. schema:
  20536. $ref: '#/definitions/app.Response'
  20537. security:
  20538. - ApiKeyAuth: []
  20539. summary: 查询协议配置
  20540. tags:
  20541. - 大连千海金(协议和签约信息)
  20542. /QhjSys/QueryCustomerSignStatus:
  20543. get:
  20544. parameters:
  20545. - description: 客户ID
  20546. in: query
  20547. name: userid
  20548. type: integer
  20549. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  20550. in: query
  20551. name: nodetype
  20552. type: integer
  20553. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20554. in: query
  20555. name: goodsid
  20556. type: integer
  20557. - description: 创建交易日(yyyyMMdd)
  20558. in: query
  20559. name: tradedate
  20560. type: string
  20561. - description: 用户名称(模糊匹配)
  20562. in: query
  20563. name: username
  20564. type: string
  20565. produces:
  20566. - application/json
  20567. responses:
  20568. "200":
  20569. description: OK
  20570. schema:
  20571. items:
  20572. $ref: '#/definitions/models.QhjCustomerSignStatus'
  20573. type: array
  20574. "500":
  20575. description: Internal Server Error
  20576. schema:
  20577. $ref: '#/definitions/app.Response'
  20578. security:
  20579. - ApiKeyAuth: []
  20580. summary: 查询客户协议签约状态
  20581. tags:
  20582. - 大连千海金(协议和签约信息)
  20583. /QhjSys/QueryNodeAgreementConfig:
  20584. get:
  20585. parameters:
  20586. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20587. in: query
  20588. name: configid
  20589. type: integer
  20590. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20591. in: query
  20592. name: nodetype
  20593. type: integer
  20594. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20595. in: query
  20596. name: goodsid
  20597. type: integer
  20598. - description: 协议ID
  20599. in: query
  20600. name: agreementid
  20601. type: integer
  20602. - description: 协议类型 - 1:注册 2:登录 3:交易
  20603. in: query
  20604. name: agreementtype
  20605. type: integer
  20606. - description: 协议版本号
  20607. in: query
  20608. name: agreementversion
  20609. type: integer
  20610. - description: 协议编号(模糊匹配)
  20611. in: query
  20612. name: agreementno
  20613. type: string
  20614. - description: 协议名称(模糊匹配)
  20615. in: query
  20616. name: agreementname
  20617. type: string
  20618. produces:
  20619. - application/json
  20620. responses:
  20621. "200":
  20622. description: OK
  20623. schema:
  20624. items:
  20625. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  20626. type: array
  20627. "500":
  20628. description: Internal Server Error
  20629. schema:
  20630. $ref: '#/definitions/app.Response'
  20631. security:
  20632. - ApiKeyAuth: []
  20633. summary: 查询协议节点配置
  20634. tags:
  20635. - 大连千海金(协议和签约信息)
  20636. /QhjSys/QueryQhjCustomerSignLog:
  20637. get:
  20638. parameters:
  20639. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  20640. in: query
  20641. name: logid
  20642. type: integer
  20643. - description: 客户ID
  20644. in: query
  20645. name: userid
  20646. type: integer
  20647. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  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: 协议ID
  20656. in: query
  20657. name: agreementid
  20658. type: integer
  20659. - description: 用户名称(模糊匹配)
  20660. in: query
  20661. name: username
  20662. type: string
  20663. - description: 协议编号(模糊匹配)
  20664. in: query
  20665. name: agreementno
  20666. type: string
  20667. - description: 协议名称(模糊匹配)
  20668. in: query
  20669. name: agreementname
  20670. type: string
  20671. produces:
  20672. - application/json
  20673. responses:
  20674. "200":
  20675. description: OK
  20676. schema:
  20677. items:
  20678. $ref: '#/definitions/models.QhjCustomerSignLog'
  20679. type: array
  20680. "500":
  20681. description: Internal Server Error
  20682. schema:
  20683. $ref: '#/definitions/app.Response'
  20684. security:
  20685. - ApiKeyAuth: []
  20686. summary: 查询客户协议签约流水
  20687. tags:
  20688. - 大连千海金(协议和签约信息)
  20689. /QhjSys/QueryUserNodeCfgAndStatus:
  20690. get:
  20691. parameters:
  20692. - description: 客户ID
  20693. in: query
  20694. name: userid
  20695. type: integer
  20696. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20697. in: query
  20698. name: configid
  20699. type: integer
  20700. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20701. in: query
  20702. name: nodetype
  20703. type: string
  20704. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20705. in: query
  20706. name: goodsid
  20707. type: integer
  20708. - description: 协议ID
  20709. in: query
  20710. name: agreementid
  20711. type: integer
  20712. - description: 协议类型 - 1:注册 2:登录 3:交易
  20713. in: query
  20714. name: agreementtype
  20715. type: integer
  20716. - description: 协议版本号
  20717. in: query
  20718. name: agreementversion
  20719. type: integer
  20720. - description: 协议编号(模糊匹配)
  20721. in: query
  20722. name: agreementno
  20723. type: string
  20724. - description: 协议名称(模糊匹配)
  20725. in: query
  20726. name: agreementname
  20727. type: string
  20728. produces:
  20729. - application/json
  20730. responses:
  20731. "200":
  20732. description: OK
  20733. schema:
  20734. items:
  20735. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  20736. type: array
  20737. "500":
  20738. description: Internal Server Error
  20739. schema:
  20740. $ref: '#/definitions/app.Response'
  20741. security:
  20742. - ApiKeyAuth: []
  20743. summary: 查询用户协议节点配置和状态
  20744. tags:
  20745. - 大连千海金(协议和签约信息)
  20746. /Quote/QueryHistoryDatas:
  20747. get:
  20748. parameters:
  20749. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  20750. 日线'
  20751. in: query
  20752. name: cycleType
  20753. required: true
  20754. type: integer
  20755. - description: 商品代码
  20756. in: query
  20757. name: goodsCode
  20758. required: true
  20759. type: string
  20760. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20761. in: query
  20762. name: startTime
  20763. type: string
  20764. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20765. in: query
  20766. name: endTime
  20767. type: string
  20768. - description: 条数
  20769. in: query
  20770. name: count
  20771. type: integer
  20772. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20773. in: query
  20774. name: isAsc
  20775. type: boolean
  20776. produces:
  20777. - application/json
  20778. responses:
  20779. "200":
  20780. description: OK
  20781. schema:
  20782. $ref: '#/definitions/quote.HistoryData'
  20783. "500":
  20784. description: Internal Server Error
  20785. schema:
  20786. $ref: '#/definitions/app.Response'
  20787. security:
  20788. - ApiKeyAuth: []
  20789. summary: 查询行情历史数据
  20790. tags:
  20791. - 行情服务
  20792. /Quote/QueryHistoryTikDatas:
  20793. get:
  20794. parameters:
  20795. - description: 商品代码
  20796. in: query
  20797. name: goodsCode
  20798. required: true
  20799. type: string
  20800. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  20801. in: query
  20802. name: startTime
  20803. type: string
  20804. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  20805. in: query
  20806. name: endTime
  20807. type: string
  20808. - description: 条数
  20809. in: query
  20810. name: count
  20811. type: integer
  20812. - description: 是否按时间顺序排序(默认为时间倒序排序)
  20813. in: query
  20814. name: isAsc
  20815. type: boolean
  20816. produces:
  20817. - application/json
  20818. responses:
  20819. "200":
  20820. description: OK
  20821. schema:
  20822. $ref: '#/definitions/quote.HistoryTikData'
  20823. "500":
  20824. description: Internal Server Error
  20825. schema:
  20826. $ref: '#/definitions/app.Response'
  20827. security:
  20828. - ApiKeyAuth: []
  20829. summary: 查询行情Tik数据
  20830. tags:
  20831. - 行情服务
  20832. /Quote/QueryQuoteDay:
  20833. get:
  20834. parameters:
  20835. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  20836. in: query
  20837. name: goodsCodes
  20838. required: true
  20839. type: string
  20840. produces:
  20841. - application/json
  20842. responses:
  20843. "200":
  20844. description: OK
  20845. schema:
  20846. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  20847. "500":
  20848. description: Internal Server Error
  20849. schema:
  20850. $ref: '#/definitions/app.Response'
  20851. security:
  20852. - ApiKeyAuth: []
  20853. summary: 获取商品盘面信息
  20854. tags:
  20855. - 行情服务
  20856. /Quote/QueryTSData:
  20857. get:
  20858. parameters:
  20859. - description: 商品代码
  20860. in: query
  20861. name: goodsCode
  20862. required: true
  20863. type: string
  20864. produces:
  20865. - application/json
  20866. responses:
  20867. "200":
  20868. description: OK
  20869. schema:
  20870. $ref: '#/definitions/quote.QueryTSDataRsp'
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 分时图数据查询
  20878. tags:
  20879. - 行情服务
  20880. /SZDZ/QueryConvertConfig:
  20881. get:
  20882. parameters:
  20883. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  20884. 6:交易转花生米(不设置)
  20885. in: query
  20886. name: convertType
  20887. type: integer
  20888. - description: 外部商品代码[JD\PD]
  20889. in: query
  20890. name: outerGoodsCode
  20891. type: string
  20892. - description: 内部商品ID列表[交易],格式:1,2,3
  20893. in: query
  20894. name: innerGoodsIDs
  20895. type: string
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. $ref: '#/definitions/models.Szdz3convertconfig'
  20903. "500":
  20904. description: Internal Server Error
  20905. schema:
  20906. $ref: '#/definitions/app.Response'
  20907. security:
  20908. - ApiKeyAuth: []
  20909. summary: 查询交易系统转换设置
  20910. tags:
  20911. - 定制【尚志大宗】
  20912. /SZDZ/QueryConvertLog:
  20913. get:
  20914. parameters:
  20915. - description: 资金账户 - 格式:1,2,3
  20916. in: query
  20917. name: accountID
  20918. required: true
  20919. type: string
  20920. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20921. in: query
  20922. name: startDate
  20923. type: string
  20924. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20925. in: query
  20926. name: endDate
  20927. type: string
  20928. produces:
  20929. - application/json
  20930. responses:
  20931. "200":
  20932. description: OK
  20933. schema:
  20934. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  20935. "500":
  20936. description: Internal Server Error
  20937. schema:
  20938. $ref: '#/definitions/app.Response'
  20939. security:
  20940. - ApiKeyAuth: []
  20941. summary: 交易系统转换流水查询
  20942. tags:
  20943. - 定制【尚志大宗】
  20944. /SZDZ/QueryGoodsPickup:
  20945. get:
  20946. parameters:
  20947. - description: 资金账户 - 格式:1,2,3
  20948. in: query
  20949. name: accountID
  20950. required: true
  20951. type: string
  20952. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20953. in: query
  20954. name: takeOrderStatus
  20955. type: integer
  20956. produces:
  20957. - application/json
  20958. responses:
  20959. "200":
  20960. description: OK
  20961. schema:
  20962. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  20963. "500":
  20964. description: Internal Server Error
  20965. schema:
  20966. $ref: '#/definitions/app.Response'
  20967. security:
  20968. - ApiKeyAuth: []
  20969. summary: 商品提货单查询
  20970. tags:
  20971. - 定制【尚志大宗】
  20972. /SZDZ/QueryRecieptOrder:
  20973. get:
  20974. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  20975. parameters:
  20976. - description: 页码
  20977. in: query
  20978. name: page
  20979. type: integer
  20980. - description: 每页条数
  20981. in: query
  20982. name: pagesize
  20983. type: integer
  20984. - description: 商品ID
  20985. in: query
  20986. name: goodsID
  20987. required: true
  20988. type: integer
  20989. - description: 所属账户名称
  20990. in: query
  20991. name: accountName
  20992. type: string
  20993. - description: 市场ID
  20994. in: query
  20995. name: marketID
  20996. type: integer
  20997. - description: 方向 - 0:买 1:卖
  20998. in: query
  20999. name: buyorsell
  21000. required: true
  21001. type: integer
  21002. produces:
  21003. - application/json
  21004. responses:
  21005. "200":
  21006. description: OK
  21007. schema:
  21008. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  21009. "500":
  21010. description: Internal Server Error
  21011. schema:
  21012. $ref: '#/definitions/app.Response'
  21013. security:
  21014. - ApiKeyAuth: []
  21015. summary: 点选挂牌委托单据查询(摘牌大厅)
  21016. tags:
  21017. - 定制【尚志大宗】
  21018. /SZDZ/QuerySZDZTradePosition:
  21019. get:
  21020. parameters:
  21021. - description: 资金账户
  21022. in: query
  21023. name: accountID
  21024. required: true
  21025. type: integer
  21026. produces:
  21027. - application/json
  21028. responses:
  21029. "200":
  21030. description: OK
  21031. schema:
  21032. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  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/SearchWhite:
  21043. get:
  21044. parameters:
  21045. - description: 用户ID
  21046. in: query
  21047. name: userID
  21048. required: true
  21049. type: integer
  21050. produces:
  21051. - application/json
  21052. responses:
  21053. "200":
  21054. description: OK
  21055. schema:
  21056. $ref: '#/definitions/models.Szdz3searchwhitelist'
  21057. "500":
  21058. description: Internal Server Error
  21059. schema:
  21060. $ref: '#/definitions/app.Response'
  21061. security:
  21062. - ApiKeyAuth: []
  21063. summary: 搜索白名单
  21064. tags:
  21065. - 定制【尚志大宗】
  21066. /Search/SearchGoodses:
  21067. get:
  21068. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  21069. parameters:
  21070. - description: 检索内容
  21071. in: query
  21072. name: content
  21073. required: true
  21074. type: string
  21075. - description: 交易模式,格式:1,2,3
  21076. in: query
  21077. name: tradeModes
  21078. type: string
  21079. produces:
  21080. - application/json
  21081. responses:
  21082. "200":
  21083. description: OK
  21084. schema:
  21085. $ref: '#/definitions/models.SearchGoods'
  21086. "500":
  21087. description: Internal Server Error
  21088. schema:
  21089. $ref: '#/definitions/app.Response'
  21090. summary: 检索商品信息
  21091. tags:
  21092. - 检索服务
  21093. /TaAccount/GetTaAccounts:
  21094. get:
  21095. parameters:
  21096. - description: 登录账户
  21097. in: query
  21098. name: loginID
  21099. required: true
  21100. type: integer
  21101. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21102. in: query
  21103. name: taAccountType
  21104. type: integer
  21105. produces:
  21106. - application/json
  21107. responses:
  21108. "200":
  21109. description: OK
  21110. schema:
  21111. $ref: '#/definitions/models.Taaccount'
  21112. "500":
  21113. description: Internal Server Error
  21114. schema:
  21115. $ref: '#/definitions/app.Response'
  21116. security:
  21117. - ApiKeyAuth: []
  21118. summary: 获取资金账户信息
  21119. tags:
  21120. - 资金账户
  21121. /TaAccount/QueryAmountLog:
  21122. get:
  21123. parameters:
  21124. - description: 页码
  21125. in: query
  21126. name: page
  21127. type: integer
  21128. - description: 每页条数
  21129. in: query
  21130. name: pagesize
  21131. type: integer
  21132. - description: 资金账户 - 格式:1,2,3
  21133. in: query
  21134. name: accountID
  21135. required: true
  21136. type: string
  21137. - description: 资金操作类型 - 格式:1,2,3
  21138. in: query
  21139. name: OperateType
  21140. type: string
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  21148. "500":
  21149. description: Internal Server Error
  21150. schema:
  21151. $ref: '#/definitions/app.Response'
  21152. security:
  21153. - ApiKeyAuth: []
  21154. summary: 资金流水查询(当前)
  21155. tags:
  21156. - 资金账户
  21157. /TaAccount/QueryHisAmountLog:
  21158. get:
  21159. parameters:
  21160. - description: 页码
  21161. in: query
  21162. name: page
  21163. type: integer
  21164. - description: 每页条数
  21165. in: query
  21166. name: pagesize
  21167. type: integer
  21168. - description: 资金账户 - 格式:1,2,3
  21169. in: query
  21170. name: accountID
  21171. required: true
  21172. type: string
  21173. - description: 资金操作类型 - 格式:1,2,3
  21174. in: query
  21175. name: OperateType
  21176. type: string
  21177. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21178. in: query
  21179. name: startDate
  21180. type: string
  21181. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21182. in: query
  21183. name: endDate
  21184. type: string
  21185. produces:
  21186. - application/json
  21187. responses:
  21188. "200":
  21189. description: OK
  21190. schema:
  21191. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  21192. "500":
  21193. description: Internal Server Error
  21194. schema:
  21195. $ref: '#/definitions/app.Response'
  21196. security:
  21197. - ApiKeyAuth: []
  21198. summary: 资金流水查询(历史)
  21199. tags:
  21200. - 资金账户
  21201. /Trade/QueryRecieptOrder:
  21202. get:
  21203. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21204. parameters:
  21205. - description: 页码
  21206. in: query
  21207. name: page
  21208. type: integer
  21209. - description: 每页条数
  21210. in: query
  21211. name: pagesize
  21212. type: integer
  21213. - description: 商品ID
  21214. in: query
  21215. name: goodsID
  21216. required: true
  21217. type: integer
  21218. - description: 所属账户名称
  21219. in: query
  21220. name: accountName
  21221. type: string
  21222. - description: 市场ID
  21223. in: query
  21224. name: marketID
  21225. type: integer
  21226. - description: 方向 - 0:买 1:卖
  21227. in: query
  21228. name: buyorsell
  21229. required: true
  21230. type: integer
  21231. produces:
  21232. - application/json
  21233. responses:
  21234. "200":
  21235. description: OK
  21236. schema:
  21237. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  21238. "500":
  21239. description: Internal Server Error
  21240. schema:
  21241. $ref: '#/definitions/app.Response'
  21242. security:
  21243. - ApiKeyAuth: []
  21244. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  21245. tags:
  21246. - 通用交易
  21247. /User/AddMessageBoard:
  21248. post:
  21249. parameters:
  21250. - description: 用户ID
  21251. in: query
  21252. name: userID
  21253. required: true
  21254. type: integer
  21255. - description: 留言信息
  21256. in: query
  21257. name: message
  21258. required: true
  21259. type: string
  21260. - description: 联系电话
  21261. in: query
  21262. name: contactNum
  21263. required: true
  21264. type: string
  21265. produces:
  21266. - application/json
  21267. responses:
  21268. "200":
  21269. description: OK
  21270. schema:
  21271. $ref: '#/definitions/app.Response'
  21272. "500":
  21273. description: Internal Server Error
  21274. schema:
  21275. $ref: '#/definitions/app.Response'
  21276. security:
  21277. - ApiKeyAuth: []
  21278. summary: 添加用户留言板信息
  21279. tags:
  21280. - 用户信息
  21281. /User/AddUserFavoriteGoods:
  21282. post:
  21283. parameters:
  21284. - description: 用户ID
  21285. in: query
  21286. name: userID
  21287. required: true
  21288. type: integer
  21289. - description: 商品ID
  21290. in: query
  21291. name: goodsID
  21292. required: true
  21293. type: integer
  21294. produces:
  21295. - application/json
  21296. responses:
  21297. "200":
  21298. description: OK
  21299. schema:
  21300. $ref: '#/definitions/app.Response'
  21301. "500":
  21302. description: Internal Server Error
  21303. schema:
  21304. $ref: '#/definitions/app.Response'
  21305. security:
  21306. - ApiKeyAuth: []
  21307. summary: 添加用户商品收藏信息
  21308. tags:
  21309. - 用户信息
  21310. /User/GetLoginID:
  21311. get:
  21312. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  21313. parameters:
  21314. - description: 登录代码
  21315. in: query
  21316. name: username
  21317. required: true
  21318. type: string
  21319. produces:
  21320. - application/json
  21321. responses:
  21322. "200":
  21323. description: OK
  21324. schema:
  21325. $ref: '#/definitions/app.Response'
  21326. "500":
  21327. description: Internal Server Error
  21328. schema:
  21329. $ref: '#/definitions/app.Response'
  21330. summary: 获取登录ID
  21331. tags:
  21332. - 用户信息
  21333. /User/GetUserAccount:
  21334. get:
  21335. parameters:
  21336. - description: 用户ID
  21337. in: query
  21338. name: userID
  21339. required: true
  21340. type: integer
  21341. produces:
  21342. - application/json
  21343. responses:
  21344. "200":
  21345. description: OK
  21346. schema:
  21347. $ref: '#/definitions/models.Useraccount'
  21348. "500":
  21349. description: Internal Server Error
  21350. schema:
  21351. $ref: '#/definitions/app.Response'
  21352. security:
  21353. - ApiKeyAuth: []
  21354. summary: 获取用户账号信息
  21355. tags:
  21356. - 用户信息
  21357. /User/GetUserAuthStatus:
  21358. get:
  21359. parameters:
  21360. - description: 用户ID
  21361. in: query
  21362. name: userID
  21363. required: true
  21364. type: integer
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. $ref: '#/definitions/app.Response'
  21372. "500":
  21373. description: Internal Server Error
  21374. schema:
  21375. $ref: '#/definitions/app.Response'
  21376. security:
  21377. - ApiKeyAuth: []
  21378. summary: 获取用户实名认证状态
  21379. tags:
  21380. - 用户信息
  21381. /User/LoginQuery:
  21382. get:
  21383. parameters:
  21384. - description: 登录账号
  21385. in: query
  21386. name: loginID
  21387. required: true
  21388. type: integer
  21389. produces:
  21390. - application/json
  21391. responses:
  21392. "200":
  21393. description: OK
  21394. schema:
  21395. $ref: '#/definitions/user.LoginQueryRsp'
  21396. "500":
  21397. description: Internal Server Error
  21398. schema:
  21399. $ref: '#/definitions/app.Response'
  21400. security:
  21401. - ApiKeyAuth: []
  21402. summary: 账户登录后信息查询
  21403. tags:
  21404. - 用户信息
  21405. /User/QueryMessageBoard:
  21406. get:
  21407. parameters:
  21408. - description: 用户ID
  21409. in: query
  21410. name: userID
  21411. required: true
  21412. type: integer
  21413. produces:
  21414. - application/json
  21415. responses:
  21416. "200":
  21417. description: OK
  21418. schema:
  21419. $ref: '#/definitions/models.Messageboard'
  21420. "500":
  21421. description: Internal Server Error
  21422. schema:
  21423. $ref: '#/definitions/app.Response'
  21424. security:
  21425. - ApiKeyAuth: []
  21426. summary: 获取用户留言板信息
  21427. tags:
  21428. - 用户信息
  21429. /User/QueryUserFavoriteGoodses:
  21430. get:
  21431. parameters:
  21432. - description: 用户ID
  21433. in: query
  21434. name: userID
  21435. required: true
  21436. type: integer
  21437. produces:
  21438. - application/json
  21439. responses:
  21440. "200":
  21441. description: OK
  21442. schema:
  21443. $ref: '#/definitions/models.Userfavoritegoods'
  21444. "500":
  21445. description: Internal Server Error
  21446. schema:
  21447. $ref: '#/definitions/app.Response'
  21448. security:
  21449. - ApiKeyAuth: []
  21450. summary: 获取用户商品收藏信息
  21451. tags:
  21452. - 用户信息
  21453. /User/QueryUserInfo:
  21454. get:
  21455. parameters:
  21456. - description: 用户ID
  21457. in: query
  21458. name: userID
  21459. required: true
  21460. type: integer
  21461. - description: 是否解密
  21462. in: query
  21463. name: isDecrypt
  21464. type: boolean
  21465. produces:
  21466. - application/json
  21467. responses:
  21468. "200":
  21469. description: OK
  21470. schema:
  21471. $ref: '#/definitions/models.Userinfo'
  21472. "500":
  21473. description: Internal Server Error
  21474. schema:
  21475. $ref: '#/definitions/app.Response'
  21476. security:
  21477. - ApiKeyAuth: []
  21478. summary: 获取用户信息
  21479. tags:
  21480. - 用户信息
  21481. /User/QueryUserReferNum:
  21482. get:
  21483. parameters:
  21484. - description: 用户ID
  21485. in: query
  21486. name: userID
  21487. required: true
  21488. type: integer
  21489. produces:
  21490. - application/json
  21491. responses:
  21492. "200":
  21493. description: OK
  21494. schema:
  21495. $ref: '#/definitions/app.Response'
  21496. "500":
  21497. description: Internal Server Error
  21498. schema:
  21499. $ref: '#/definitions/app.Response'
  21500. summary: 获取用户邀请码
  21501. tags:
  21502. - 用户信息
  21503. /User/RemoveUserFavoriteGoods:
  21504. post:
  21505. parameters:
  21506. - description: 用户ID
  21507. in: query
  21508. name: userID
  21509. required: true
  21510. type: integer
  21511. - description: 商品ID
  21512. in: query
  21513. name: goodsID
  21514. required: true
  21515. type: integer
  21516. produces:
  21517. - application/json
  21518. responses:
  21519. "200":
  21520. description: OK
  21521. schema:
  21522. $ref: '#/definitions/app.Response'
  21523. "500":
  21524. description: Internal Server Error
  21525. schema:
  21526. $ref: '#/definitions/app.Response'
  21527. security:
  21528. - ApiKeyAuth: []
  21529. summary: 移除用户商品收藏信息
  21530. tags:
  21531. - 用户信息
  21532. /User/UpdateUserAccountStatus:
  21533. post:
  21534. parameters:
  21535. - description: 用户ID
  21536. in: query
  21537. name: userID
  21538. required: true
  21539. type: integer
  21540. - description: 账户状态 - 4:正常 6:注销(停用)
  21541. in: query
  21542. name: accountStatus
  21543. required: true
  21544. type: integer
  21545. produces:
  21546. - application/json
  21547. responses:
  21548. "200":
  21549. description: OK
  21550. schema:
  21551. $ref: '#/definitions/app.Response'
  21552. "500":
  21553. description: Internal Server Error
  21554. schema:
  21555. $ref: '#/definitions/app.Response'
  21556. security:
  21557. - ApiKeyAuth: []
  21558. summary: 更新用户状态
  21559. tags:
  21560. - 用户信息
  21561. /WRTrade/GetAllDeliveryGoods:
  21562. get:
  21563. produces:
  21564. - application/json
  21565. - application/json
  21566. responses:
  21567. "200":
  21568. description: OK
  21569. schema:
  21570. $ref: '#/definitions/app.Response'
  21571. "500":
  21572. description: Internal Server Error
  21573. schema:
  21574. $ref: '#/definitions/app.Response'
  21575. security:
  21576. - ApiKeyAuth: []
  21577. - ApiKeyAuth: []
  21578. summary: 获取带仓单分类的种类信息
  21579. tags:
  21580. - 仓单贸易
  21581. - 仓单贸易
  21582. securityDefinitions:
  21583. ApiKeyAuth:
  21584. in: header
  21585. name: Authorization
  21586. type: apiKey
  21587. swagger: "2.0"