swagger.yaml 604 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959
  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. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. price:
  3859. description: 价格\暂定价 [1:一口价、3:暂定价]
  3860. type: number
  3861. pricemove:
  3862. description: 升贴水 [2:点价 3:暂定价]
  3863. type: number
  3864. pricetype:
  3865. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3866. type: integer
  3867. producttype:
  3868. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3869. type: integer
  3870. qty:
  3871. description: 数量
  3872. type: number
  3873. remark:
  3874. description: 备注
  3875. type: string
  3876. saleuserid:
  3877. description: 业务员id
  3878. type: integer
  3879. saleuserlogincode:
  3880. description: 业务员登录代码
  3881. type: string
  3882. sellnickname:
  3883. description: 采购方昵称
  3884. type: string
  3885. selluserid:
  3886. description: 销售方ID
  3887. type: integer
  3888. sellusername:
  3889. description: 销售方名称
  3890. type: string
  3891. spotcontractid:
  3892. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3893. type: string
  3894. spotgoodsbrandid:
  3895. description: 现货品牌ID(DGFactoryItem表的ID)
  3896. type: integer
  3897. spotgoodsdesc:
  3898. description: 商品型号
  3899. type: string
  3900. startdate:
  3901. description: 点价开始日期 [2:点价 3:暂定价]
  3902. type: string
  3903. tradeuserid:
  3904. description: 交易员id
  3905. type: integer
  3906. tradeuserlogincode:
  3907. description: 交易员登录代码
  3908. type: string
  3909. tradeusername:
  3910. description: 交易员名称
  3911. type: string
  3912. unitid:
  3913. description: 单位id(取品类上的单位id)
  3914. type: integer
  3915. updatetime:
  3916. description: 更新时间
  3917. type: string
  3918. userid:
  3919. description: 所属机构ID
  3920. type: integer
  3921. wrstandardcode:
  3922. description: 品类代码
  3923. type: string
  3924. wrstandardid:
  3925. description: 品类ID
  3926. type: integer
  3927. wrstandardname:
  3928. description: 品类名称
  3929. type: string
  3930. type: object
  3931. models.Ermcp3ExposureContractDetail:
  3932. properties:
  3933. biztype:
  3934. description: 业务类型 1-套保 2-套利
  3935. type: integer
  3936. brandname:
  3937. description: 品牌名称
  3938. type: string
  3939. buyuserid:
  3940. description: 采购方id
  3941. type: integer
  3942. buyusername:
  3943. description: 采购方名称
  3944. type: string
  3945. contractno:
  3946. description: 合同编号
  3947. type: string
  3948. contracttype:
  3949. description: 现货合同类型 - 1:采购 -1:销售
  3950. type: integer
  3951. convertfactor:
  3952. description: 标仓系数
  3953. type: number
  3954. convertratio:
  3955. description: 折算系数(套保品种)
  3956. type: number
  3957. curqty:
  3958. description: 今定价量
  3959. type: number
  3960. deliverygoodscode:
  3961. description: 现货商品代码
  3962. type: string
  3963. deliverygoodsid:
  3964. description: 现货商品id
  3965. type: integer
  3966. deliverygoodsname:
  3967. description: 现货商品名称
  3968. type: string
  3969. diffhedgeqty:
  3970. description: 套保变动量
  3971. type: number
  3972. diffneedhedgeqty:
  3973. description: 应套保变动量
  3974. type: number
  3975. diffqty:
  3976. description: 套保品种今变动量
  3977. type: number
  3978. enumdicname:
  3979. description: 单位名称
  3980. type: string
  3981. middlegoodscode:
  3982. description: 套保品种代码
  3983. type: string
  3984. middlegoodsid:
  3985. description: 套保品种id
  3986. type: integer
  3987. middlegoodsname:
  3988. description: 套保品种名称
  3989. type: string
  3990. needarbitrageratio:
  3991. description: 应套利比例
  3992. type: number
  3993. needhedgeratio:
  3994. description: 应套保比例
  3995. type: number
  3996. pricedqty:
  3997. description: 已定价量
  3998. type: number
  3999. qty:
  4000. description: 合同量
  4001. type: number
  4002. selluserid:
  4003. description: 销售方id
  4004. type: integer
  4005. sellusername:
  4006. description: 销售方名称
  4007. type: string
  4008. spotcontractid:
  4009. description: 合同id
  4010. type: string
  4011. todaypricedqty:
  4012. description: 今定价量
  4013. type: number
  4014. tradedate:
  4015. description: 交易日
  4016. type: string
  4017. unitid:
  4018. description: 品类单位id
  4019. type: integer
  4020. userid:
  4021. description: 机构id
  4022. type: integer
  4023. wrstandardcode:
  4024. description: 品类代码
  4025. type: string
  4026. wrstandardid:
  4027. description: 品类id
  4028. type: integer
  4029. wrstandardname:
  4030. description: 品类名称
  4031. type: string
  4032. type: object
  4033. models.Ermcp3ExposureDetail:
  4034. properties:
  4035. areauserid:
  4036. description: 机构ID
  4037. type: integer
  4038. changeQty:
  4039. description: 套保变动量
  4040. type: number
  4041. contracttype:
  4042. description: 现货合同类型 - 1:采购 -1:销售
  4043. type: integer
  4044. convertfactor:
  4045. description: 标仓系数
  4046. type: number
  4047. convertratio:
  4048. description: 套保系数
  4049. type: number
  4050. createtime:
  4051. description: 时间
  4052. type: string
  4053. deliverygoodscode:
  4054. description: 现货品种代码
  4055. type: string
  4056. deliverygoodsid:
  4057. description: 现货品种id
  4058. type: integer
  4059. deliverygoodsname:
  4060. description: 现货品种名称
  4061. type: string
  4062. enumdicname:
  4063. description: 现货商品单位名称
  4064. type: string
  4065. logtype:
  4066. description: 类型 - 1:套保计划 2:现货合同
  4067. type: integer
  4068. mgunitid:
  4069. description: 套保品种单位id
  4070. type: integer
  4071. mgunitidname:
  4072. description: 套保品种单位名称
  4073. type: string
  4074. middlegoodsId:
  4075. description: 套保商品id
  4076. type: integer
  4077. middlegoodscode:
  4078. description: 套保商品代码
  4079. type: string
  4080. middlegoodsname:
  4081. description: 套保商品名称
  4082. type: string
  4083. qty:
  4084. description: 数量
  4085. type: number
  4086. relateNo:
  4087. description: 现货合同/套保计划编号
  4088. type: string
  4089. type: object
  4090. models.Ermcp3ExposureFutuDetail:
  4091. properties:
  4092. accountid:
  4093. description: 交易账户id
  4094. type: integer
  4095. accountname:
  4096. description: 交易账户
  4097. type: string
  4098. begindate:
  4099. description: 开始交易日
  4100. type: string
  4101. buyorsell:
  4102. description: 方向 0-买 1-卖
  4103. type: integer
  4104. diffmgqty:
  4105. description: 套保品种今变化量
  4106. type: number
  4107. diffneedqty:
  4108. description: 应套保总量变化量
  4109. type: number
  4110. difftradeqty:
  4111. description: 交易品种今变化量
  4112. type: number
  4113. enddate:
  4114. description: 结束交易日
  4115. type: string
  4116. enumdicname:
  4117. description: 单位名称
  4118. type: string
  4119. goodscode:
  4120. description: 商品代码
  4121. type: string
  4122. goodsid:
  4123. description: 商品id
  4124. type: integer
  4125. goodsname:
  4126. description: 商品名称
  4127. type: string
  4128. holdqty:
  4129. description: 期末持仓量
  4130. type: number
  4131. middlegoodscode:
  4132. description: 套保商品代码
  4133. type: string
  4134. middlegoodsid:
  4135. description: 套保商品id
  4136. type: integer
  4137. middlegoodsname:
  4138. description: 套保商品名称
  4139. type: string
  4140. oriholdqty:
  4141. description: 期初持仓量
  4142. type: number
  4143. todaycloseqty:
  4144. description: 今平仓量
  4145. type: number
  4146. todayopenqty:
  4147. description: 今开仓量
  4148. type: number
  4149. tradedate:
  4150. description: 交易日
  4151. type: string
  4152. type: object
  4153. models.Ermcp3ExposureHedgeplanDetail:
  4154. properties:
  4155. biztype:
  4156. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4157. type: integer
  4158. changqty:
  4159. description: 应套保总量变化量
  4160. type: number
  4161. contracttype:
  4162. description: 计划类型 - 1:采购 -1:销售
  4163. type: integer
  4164. convertratio:
  4165. description: 折算系数(套保品种)
  4166. type: number
  4167. deliverygoodscode:
  4168. description: 现货商品代码
  4169. type: string
  4170. deliverygoodsid:
  4171. description: 现货商品id
  4172. type: integer
  4173. deliverygoodsname:
  4174. description: 现货商吕名称
  4175. type: string
  4176. dgunitid:
  4177. description: 现货商品单位id
  4178. type: integer
  4179. dgunitidname:
  4180. description: 单位名称(现货商品)
  4181. type: string
  4182. diffqty:
  4183. description: 套保品种今变动量
  4184. type: number
  4185. enumdicname:
  4186. description: 单位名称(品类)
  4187. type: string
  4188. hedgeplanid:
  4189. description: 套保计划id
  4190. type: string
  4191. hedgeplanno:
  4192. description: 套保计划名称
  4193. type: string
  4194. hedgeplanstatus:
  4195. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4196. type: integer
  4197. mgunitidname:
  4198. description: 单位名称(套保商品)
  4199. type: string
  4200. middlegoodscode:
  4201. description: 套保品种代码
  4202. type: string
  4203. middlegoodsid:
  4204. description: 套保品种id
  4205. type: integer
  4206. middlegoodsname:
  4207. description: 套保品种名称
  4208. type: string
  4209. needarbitrageratio:
  4210. description: 应套利比例
  4211. type: number
  4212. needhedgeratio:
  4213. description: 应套保比例
  4214. type: number
  4215. pricedqty:
  4216. description: 已定价量
  4217. type: number
  4218. qty:
  4219. description: 合同量
  4220. type: number
  4221. tradedate:
  4222. description: 交易日(登记日)
  4223. type: string
  4224. unitid:
  4225. description: 品类单位id
  4226. type: integer
  4227. userid:
  4228. description: 机构id
  4229. type: integer
  4230. wrstandardcode:
  4231. description: 品类代码
  4232. type: string
  4233. wrstandardid:
  4234. description: 品类id
  4235. type: integer
  4236. wrstandardname:
  4237. description: 品类名称
  4238. type: string
  4239. type: object
  4240. models.Ermcp3ExposureParamChLog:
  4241. properties:
  4242. accountid:
  4243. description: 期货账户ID (作废, 默认为0)
  4244. type: integer
  4245. aftervalue:
  4246. description: 应套保\套利量变更后(调整后应套保总量)
  4247. type: number
  4248. areauserid:
  4249. description: 所属机构\交易用户ID
  4250. type: integer
  4251. beforevalue:
  4252. description: 应套保\套利量变更前(调整前应套保总量)
  4253. type: number
  4254. begindate:
  4255. description: 开始交易日
  4256. type: string
  4257. changelogtype:
  4258. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4259. type: integer
  4260. curvalue:
  4261. description: 当前套保\套利量(套保总量|套利总量)
  4262. type: number
  4263. diffvalue:
  4264. description: 应套保总量变化量
  4265. type: number
  4266. enddate:
  4267. description: 结束交易日
  4268. type: string
  4269. logdatetime:
  4270. description: 流水日期
  4271. type: string
  4272. logid:
  4273. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4274. type: string
  4275. middlegoodscode:
  4276. description: 套保品种代码
  4277. type: string
  4278. middlegoodsid:
  4279. description: 套保品种
  4280. type: integer
  4281. middlegoodsname:
  4282. description: 套保品种名称
  4283. type: string
  4284. paramaftervalue:
  4285. description: 参数变更后(调整后参数值)
  4286. type: number
  4287. parambeforevalue:
  4288. description: 参数变更前(调整前参数值)
  4289. type: number
  4290. tradedate:
  4291. description: 交易日(yyyyMMdd)
  4292. type: string
  4293. type: object
  4294. models.Ermcp3ExpourseReport:
  4295. properties:
  4296. accountid:
  4297. description: 期货账户ID (作废, 默认为0)
  4298. type: integer
  4299. accountname:
  4300. description: 机构名称
  4301. type: string
  4302. arbitrageqty:
  4303. description: 套利量
  4304. type: number
  4305. areauserid:
  4306. description: 所属机构\交易用户ID
  4307. type: integer
  4308. begindate:
  4309. description: 开始交易日
  4310. type: string
  4311. buyfutureqty:
  4312. description: 买入期货数量
  4313. type: number
  4314. buyplanqty:
  4315. description: 采购计划数量
  4316. type: number
  4317. buypricedqty:
  4318. description: 采购合同已定价数量
  4319. type: number
  4320. cycletime:
  4321. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4322. type: string
  4323. cycletype:
  4324. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4325. type: integer
  4326. diffexposure:
  4327. description: 变动量(套保敞口)
  4328. type: number
  4329. difffutuqty:
  4330. description: 变动量(期货)
  4331. type: number
  4332. diffhedgeqty:
  4333. description: 变动量(现货应套保总量)
  4334. type: number
  4335. diffmgqtya:
  4336. description: 套保变动量
  4337. type: number
  4338. diffmgqtyb:
  4339. description: 套利变动量
  4340. type: number
  4341. diffqty:
  4342. description: 变动量(总敞口)
  4343. type: number
  4344. diffspotqty:
  4345. description: 变动量(现货)
  4346. type: number
  4347. enddate:
  4348. description: 结束交易日
  4349. type: string
  4350. enumdicname:
  4351. description: 单位名称
  4352. type: string
  4353. hedgeqty:
  4354. description: 套保量
  4355. type: number
  4356. mgneedhedgeratio:
  4357. description: 套保比例(套保品的)
  4358. type: number
  4359. middlegoodsid:
  4360. description: 套保品种ID
  4361. type: integer
  4362. middlegoodsname:
  4363. description: 套保商品名称
  4364. type: string
  4365. middlgoodscode:
  4366. description: 套保商品代码
  4367. type: string
  4368. needarbitrageqty:
  4369. description: 应套利量
  4370. type: number
  4371. needarbitrageratio:
  4372. description: 套利比例(套保品的)
  4373. type: number
  4374. needhedgeexposoure:
  4375. description: 应套保敞口(套保敞口)
  4376. type: number
  4377. needhedgeqty:
  4378. description: 应套保量
  4379. type: number
  4380. needhedgeratio:
  4381. description: 应套保敞口比例
  4382. type: number
  4383. oriarbitrageqty:
  4384. description: 期初套利量
  4385. type: number
  4386. oribuyfutureqty:
  4387. description: 期初买入期货数量
  4388. type: number
  4389. oribuyplanqty:
  4390. description: 期初采购计划数量
  4391. type: number
  4392. oribuypricedqty:
  4393. description: 期初采购合同已定价数量
  4394. type: number
  4395. orihedgeqty:
  4396. description: 期初套保量
  4397. type: number
  4398. orineedarbitrageqty:
  4399. description: 期初应套利量
  4400. type: number
  4401. orineedhedgeexposoure:
  4402. description: 期初应套保敞口
  4403. type: number
  4404. orineedhedgeqty:
  4405. description: 期初应套保量
  4406. type: number
  4407. orisellfutureqty:
  4408. description: 期初卖出期货数量
  4409. type: number
  4410. orisellplanqty:
  4411. description: 期初销售计划数量
  4412. type: number
  4413. orisellpricedqty:
  4414. description: 期初销售合同已定价数量
  4415. type: number
  4416. oritotalexposure:
  4417. description: 期初实时总敞口
  4418. type: number
  4419. oritotalfutureqty:
  4420. description: 期初期货头寸总量
  4421. type: number
  4422. oritotalneedhedgeqty:
  4423. description: 期初应套保总量
  4424. type: number
  4425. oritotalspotqty:
  4426. description: 期初现货头寸总量
  4427. type: number
  4428. reckondate:
  4429. description: 日照时期(yyyyMMdd)
  4430. type: string
  4431. sellfutureqty:
  4432. description: 卖出期货数量
  4433. type: number
  4434. sellplanqty:
  4435. description: 销售计划数量
  4436. type: number
  4437. sellpricedqty:
  4438. description: 销售合同已定价数量
  4439. type: number
  4440. totalexposure:
  4441. description: 实时总敞口(总敞口)
  4442. type: number
  4443. totalfutureqty:
  4444. description: 期货头寸总量(期货总量)
  4445. type: number
  4446. totalhedgeratio:
  4447. description: 敞口比例
  4448. type: number
  4449. totalneedhedgeqty:
  4450. description: 应套保总量(现货应套保总量)
  4451. type: number
  4452. totalspotqty:
  4453. description: 现货头寸总量
  4454. type: number
  4455. unitid:
  4456. description: 单位id
  4457. type: integer
  4458. updatetime:
  4459. description: 更新时间
  4460. type: string
  4461. type: object
  4462. models.Ermcp3FinanceReport:
  4463. properties:
  4464. accountname:
  4465. description: 机构名称
  4466. type: string
  4467. areauserid:
  4468. description: 所属机构\交易用户ID
  4469. type: integer
  4470. begindate:
  4471. description: 开始交易日
  4472. type: string
  4473. biztype:
  4474. description: 业务类型 - 1:套保 2:套利
  4475. type: integer
  4476. brandname:
  4477. description: 品牌名称
  4478. type: string
  4479. buypreinvoicedamount:
  4480. description: 采购预收票额(预收票额)
  4481. type: number
  4482. buyprepaidamount:
  4483. description: 采购预付款额(预付货款额)
  4484. type: number
  4485. buytodayinvoiceamount:
  4486. description: 采购今收票额(今收票额)
  4487. type: number
  4488. buytodayrefundamount:
  4489. description: 采购今收退款额(今收退款额)
  4490. type: number
  4491. buytodaysettleamount:
  4492. description: 采购今付款额(今付货款额)
  4493. type: number
  4494. buyuninvoicedamount:
  4495. description: 采购应收票额(应收票额)
  4496. type: number
  4497. buyunpaidamount:
  4498. description: 采购应付款额(应付货款额)
  4499. type: number
  4500. currencyid:
  4501. description: 结算币种ID
  4502. type: integer
  4503. currencyname:
  4504. description: 币种名称
  4505. type: string
  4506. cycletime:
  4507. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4508. type: string
  4509. cycletype:
  4510. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4511. type: integer
  4512. deliverygoodscode:
  4513. description: 现货品种代码
  4514. type: string
  4515. deliverygoodsid:
  4516. description: 现货品种ID
  4517. type: integer
  4518. deliverygoodsname:
  4519. description: 现货品种名称
  4520. type: string
  4521. enddate:
  4522. description: 结束交易日
  4523. type: string
  4524. reckondate:
  4525. description: 日照时期(yyyyMMdd)
  4526. type: string
  4527. sellpreinvoicedamount:
  4528. description: 销售预开票额(预开票额)
  4529. type: number
  4530. sellprepaidamount:
  4531. description: 销售预收款额(预收货款额)
  4532. type: number
  4533. selltodayinvoiceamount:
  4534. description: 销售今开票额(今开票额)
  4535. type: number
  4536. selltodayrefundamount:
  4537. description: 销售今付退款额(今付退款额)
  4538. type: number
  4539. selltodaysettleamount:
  4540. description: 销售今收款额(今收货款额)
  4541. type: number
  4542. selluninvoicedamount:
  4543. description: 销售应开票额(应开票额)
  4544. type: number
  4545. sellunpaidamount:
  4546. description: 销售应收款额(应收货款额)
  4547. type: number
  4548. spotgoodsbrandid:
  4549. description: 现货品牌ID
  4550. type: integer
  4551. todaypaysum:
  4552. description: 今付款合计
  4553. type: number
  4554. todayreceivesum:
  4555. description: 今收款合计
  4556. type: number
  4557. updatetime:
  4558. description: 更新时间
  4559. type: string
  4560. wrfactortypeid:
  4561. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4562. type: integer
  4563. wrstandardcode:
  4564. description: 品类代码
  4565. type: string
  4566. wrstandardid:
  4567. description: 现货商品ID
  4568. type: integer
  4569. wrstandardname:
  4570. description: 品类名称
  4571. type: string
  4572. type: object
  4573. models.Ermcp3Goods:
  4574. properties:
  4575. agreeunit:
  4576. description: 合约单位(合约乘数)
  4577. type: number
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. exexchangecode:
  4582. description: 交易所代码
  4583. type: string
  4584. goodscode:
  4585. description: 期货商品代码
  4586. type: string
  4587. goodsid:
  4588. description: 期货商品id
  4589. type: integer
  4590. goodsname:
  4591. description: 期货商品名称
  4592. type: string
  4593. type: object
  4594. models.Ermcp3GoodsGroup:
  4595. properties:
  4596. agreeunit:
  4597. description: 合约单位
  4598. type: number
  4599. areauserid:
  4600. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4601. type: integer
  4602. canshort:
  4603. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4604. type: integer
  4605. closepricemode:
  4606. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4607. type: integer
  4608. createtime:
  4609. description: 创建时间
  4610. type: string
  4611. creatorid:
  4612. description: 创建人
  4613. type: integer
  4614. currencyid:
  4615. description: 报价货币ID
  4616. type: integer
  4617. decimalplace:
  4618. description: 报价小数位
  4619. type: integer
  4620. enumdicname:
  4621. description: 单位名称
  4622. type: string
  4623. exchangefullname:
  4624. description: 交易所全称
  4625. type: string
  4626. excludecfg:
  4627. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4628. type: integer
  4629. exexchangecode:
  4630. description: 交易所代码
  4631. type: string
  4632. exexchangeid:
  4633. description: 外部交易所ID[通道交易]
  4634. type: integer
  4635. exexchangename:
  4636. description: 交易所名称
  4637. type: string
  4638. goodsgroupid:
  4639. description: 商品组ID(自增ID)
  4640. type: integer
  4641. goodsgroupname:
  4642. description: 商品组名称
  4643. type: string
  4644. goodsgroupstatus:
  4645. description: 商品组状态 - 1:正常 2:注销
  4646. type: integer
  4647. goodunitid:
  4648. description: 报价单位ID
  4649. type: integer
  4650. groupcategroyid:
  4651. description: 品种分类ID
  4652. type: integer
  4653. innerdealmode:
  4654. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4655. type: integer
  4656. marketid:
  4657. description: 所属市场ID
  4658. type: integer
  4659. modifierid:
  4660. description: 修改人
  4661. type: integer
  4662. modifytime:
  4663. description: 修改时间
  4664. type: string
  4665. outerdealmode:
  4666. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4667. type: integer
  4668. outergroupcode:
  4669. description: 外部商品组代码[通道交易]
  4670. type: string
  4671. quoteminunit:
  4672. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4673. type: integer
  4674. quotesourcegroupid:
  4675. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4676. type: integer
  4677. syncgoodsqty:
  4678. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4679. type: integer
  4680. required:
  4681. - areauserid
  4682. type: object
  4683. models.Ermcp3GoodsGroupEx:
  4684. properties:
  4685. convertratio:
  4686. description: 折算系数(品种系数)
  4687. type: number
  4688. enumdicname:
  4689. description: 单位名称
  4690. type: string
  4691. exexchangecode:
  4692. description: 交易所代码
  4693. type: string
  4694. glist:
  4695. description: 合约列表
  4696. items:
  4697. $ref: '#/definitions/models.Ermcp3Goods'
  4698. type: array
  4699. goodsgroupid:
  4700. description: 商品组id
  4701. type: integer
  4702. goodsgroupname:
  4703. description: 商品组名称
  4704. type: string
  4705. goodsunitid:
  4706. description: 单位id
  4707. type: integer
  4708. middlegoodsid:
  4709. description: 套保商品id
  4710. type: integer
  4711. type: object
  4712. models.Ermcp3HedgePlan:
  4713. properties:
  4714. accountid:
  4715. description: 资金账号
  4716. type: integer
  4717. areauserid:
  4718. description: 用户ID
  4719. type: integer
  4720. audittime:
  4721. description: 审核时间
  4722. type: string
  4723. contracttype:
  4724. description: 计划类型 - 1:采购 -1:销售
  4725. type: integer
  4726. convertfactor:
  4727. description: 标仓系数
  4728. type: number
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. currencyid:
  4733. description: 币种id
  4734. type: integer
  4735. currencyname:
  4736. description: 币种名称
  4737. type: string
  4738. deliverygoodscode:
  4739. description: 现货品种代码
  4740. type: string
  4741. deliverygoodsid:
  4742. description: 现货品种ID
  4743. type: integer
  4744. deliverygoodsname:
  4745. description: 现货品种名称
  4746. type: string
  4747. enumdicname:
  4748. description: 单位名称(现货商品)
  4749. type: string
  4750. hedgeplanid:
  4751. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4752. type: string
  4753. hedgeplanno:
  4754. description: 套保计划编号(名称)
  4755. type: string
  4756. hedgeplanstatus:
  4757. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4758. type: integer
  4759. planqty:
  4760. description: 计划数量
  4761. type: number
  4762. plantime:
  4763. description: 计划时间
  4764. type: string
  4765. producttype:
  4766. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4767. type: integer
  4768. remark:
  4769. description: 备注
  4770. type: string
  4771. spotgoodsdesc:
  4772. description: 商品型号
  4773. type: string
  4774. taaccountname:
  4775. description: 资金账号名称
  4776. type: string
  4777. tradeuserid:
  4778. description: 交易用户id
  4779. type: integer
  4780. tradeusername:
  4781. description: 交易用户名称
  4782. type: string
  4783. unitid:
  4784. description: 单位id(现货商品)
  4785. type: integer
  4786. updatetime:
  4787. description: 更新时间
  4788. type: string
  4789. wrstandardcode:
  4790. description: 品类代码
  4791. type: string
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. wrunitid:
  4799. description: 品类单位id
  4800. type: integer
  4801. wrunitidame:
  4802. description: 品类单位名称
  4803. type: string
  4804. type: object
  4805. models.Ermcp3MiddleGoodsDetail2:
  4806. properties:
  4807. convertratio:
  4808. description: 套保系数(折算系数)
  4809. type: number
  4810. gplist:
  4811. description: 关联商品组列表
  4812. items:
  4813. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4814. type: array
  4815. mg:
  4816. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4817. description: 套保商品信息
  4818. type: object
  4819. type: object
  4820. models.Ermcp3MiddleGoodsDetailEx:
  4821. properties:
  4822. dglist:
  4823. description: 关联的现货品种列表
  4824. items:
  4825. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4826. type: array
  4827. gplist:
  4828. description: 关联商品组列表
  4829. items:
  4830. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4831. type: array
  4832. mg:
  4833. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4834. description: 套保商品信息
  4835. type: object
  4836. type: object
  4837. models.Ermcp3RootUserAccount:
  4838. properties:
  4839. accountname:
  4840. description: 账户名称(机构名称)
  4841. type: string
  4842. accountstatus:
  4843. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4844. type: integer
  4845. applysrc:
  4846. description: 申请来源 - 1:管理端 2:终端
  4847. type: integer
  4848. auditremark:
  4849. description: 审核备注
  4850. type: string
  4851. auditsrc:
  4852. description: 审核来源 - 1:管理端 2:终端
  4853. type: integer
  4854. audittime:
  4855. description: 审核时间
  4856. type: string
  4857. audituserid:
  4858. description: 审核人
  4859. type: integer
  4860. broker:
  4861. description: 所属经纪人ID
  4862. type: integer
  4863. canceltime:
  4864. description: 销户时间
  4865. type: string
  4866. canceluserid:
  4867. description: 销户人
  4868. type: integer
  4869. canrecommend:
  4870. description: 是否可推荐 - 0:不可 1;可
  4871. type: integer
  4872. createtime:
  4873. description: 创建时间
  4874. type: string
  4875. creatorid:
  4876. description: 创建人
  4877. type: integer
  4878. hasauth:
  4879. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4880. type: integer
  4881. isanonymous:
  4882. description: 是否匿名下单 - 0:否 1:是
  4883. type: integer
  4884. maxinvestornum:
  4885. description: 最大用户数(经纪会员下投资者个数)
  4886. type: integer
  4887. memberuserid:
  4888. description: 所属会员ID
  4889. type: integer
  4890. modifierid:
  4891. description: 修改人
  4892. type: integer
  4893. modifyremark:
  4894. description: 变更备注
  4895. type: string
  4896. modifystatus:
  4897. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4898. type: integer
  4899. modifytime:
  4900. description: 修改时间
  4901. type: string
  4902. parenttopuser:
  4903. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4904. type: string
  4905. parentuserid:
  4906. description: 所属机构ID
  4907. type: integer
  4908. reckonaccountid:
  4909. description: 默认结算资金账号ID(机构分润使用) 作废
  4910. type: integer
  4911. refercount:
  4912. description: 推荐总人数
  4913. type: integer
  4914. refereeuserid:
  4915. description: 推荐人ID
  4916. type: integer
  4917. refernum:
  4918. description: 推荐码
  4919. type: string
  4920. rootuserid:
  4921. description: 根用户ID
  4922. type: integer
  4923. subaccountlevel:
  4924. description: 子账户层数
  4925. type: integer
  4926. subarealevelpath:
  4927. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4928. type: string
  4929. userid:
  4930. description: 用户ID
  4931. type: integer
  4932. usertype:
  4933. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4934. type: integer
  4935. type: object
  4936. models.Ermcp3SellBuyContract:
  4937. properties:
  4938. accountid:
  4939. description: 期货账户id
  4940. type: string
  4941. accountname:
  4942. description: 账户名称
  4943. type: string
  4944. attachment:
  4945. description: 附件
  4946. type: string
  4947. audittime:
  4948. description: 审核时间
  4949. type: string
  4950. biztype:
  4951. description: 业务类型 1-套保 2-套利
  4952. type: integer
  4953. brandname:
  4954. description: 品牌名称
  4955. type: string
  4956. contracctstatus:
  4957. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4958. type: integer
  4959. contractmargin:
  4960. description: 合同保证金
  4961. type: number
  4962. contractno:
  4963. description: 合同编号
  4964. type: string
  4965. contracttype:
  4966. description: 合同类型 1-采购, -1-销售
  4967. type: integer
  4968. convertfactor:
  4969. description: 标仓系数(品类)
  4970. type: number
  4971. createtime:
  4972. description: 创建时间
  4973. type: string
  4974. currencyid:
  4975. description: 币种id
  4976. type: integer
  4977. currencyname:
  4978. description: 币种名称
  4979. type: string
  4980. daikaiamount:
  4981. description: 应收(开)票额
  4982. type: number
  4983. deliveryenddate:
  4984. description: 交割结束日
  4985. type: string
  4986. deliverygoodscode:
  4987. description: 现货品种代码
  4988. type: string
  4989. deliverygoodsid:
  4990. description: 现货商品ID
  4991. type: integer
  4992. deliverygoodsname:
  4993. description: 现货品种名称
  4994. type: string
  4995. deliverystartdate:
  4996. description: 交割开始日
  4997. type: string
  4998. enddate:
  4999. description: 点价结束日
  5000. type: string
  5001. enumdicname:
  5002. description: 单位名称
  5003. type: string
  5004. goodscode:
  5005. description: 点价商品代码
  5006. type: string
  5007. goodsid:
  5008. description: 点价商品ID
  5009. type: integer
  5010. goodsname:
  5011. description: 点价商品名称
  5012. type: string
  5013. invoiceamount:
  5014. description: 已开票额
  5015. type: number
  5016. loanamount:
  5017. description: 贷款总额=已定价额+调整金额
  5018. type: number
  5019. margin:
  5020. description: 保证金
  5021. type: number
  5022. meruserid:
  5023. description: 跟单员id
  5024. type: integer
  5025. meruserlogincode:
  5026. description: 跟单员登录代码
  5027. type: string
  5028. nickname:
  5029. description: 账户昵称
  5030. type: string
  5031. payamount:
  5032. description: 已收付额(收款或付款)
  5033. type: number
  5034. preinvoiceamount:
  5035. description: 预收(开)票额
  5036. type: number
  5037. prepayamount:
  5038. description: 预收付额
  5039. type: number
  5040. price:
  5041. description: 价格
  5042. type: number
  5043. pricedamount:
  5044. description: 已定价额
  5045. type: number
  5046. pricedavg:
  5047. description: 已点均价
  5048. type: number
  5049. pricedqty:
  5050. description: 已定价量
  5051. type: number
  5052. pricemove:
  5053. description: 升贴水
  5054. type: number
  5055. pricetype:
  5056. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5057. type: integer
  5058. producttype:
  5059. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5060. type: integer
  5061. qty:
  5062. description: 合同量
  5063. type: number
  5064. reckonadjustamount:
  5065. description: 调整金额
  5066. type: number
  5067. reckonedamount:
  5068. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5069. type: number
  5070. reckonotheramount:
  5071. description: 其它费用
  5072. type: number
  5073. reckonrealqty:
  5074. description: 已确定量
  5075. type: number
  5076. remark:
  5077. description: 备注
  5078. type: string
  5079. saleuserid:
  5080. description: 业务员id
  5081. type: integer
  5082. saleuserlogincode:
  5083. description: 业务员登录代码
  5084. type: string
  5085. spotcontractid:
  5086. description: 合同ID
  5087. type: string
  5088. spotgoodsbrandid:
  5089. description: 现货品牌ID(DGFactoryItem表的ID)
  5090. type: integer
  5091. spotgoodsdesc:
  5092. description: 商品型号(商品规格)
  5093. type: string
  5094. startdate:
  5095. description: 点价开始日
  5096. type: string
  5097. totalamount:
  5098. description: 合计总额
  5099. type: number
  5100. tradeuserid:
  5101. description: 交易员id
  5102. type: integer
  5103. tradeuserlogincode:
  5104. description: 交易员登录代码
  5105. type: string
  5106. tradeusername:
  5107. description: 交易员名称
  5108. type: string
  5109. unpayamount:
  5110. description: 应收付款额(应支付或应收款)
  5111. type: number
  5112. unpricedqty:
  5113. description: 未定价量
  5114. type: number
  5115. unsureqty:
  5116. description: 未确定量
  5117. type: number
  5118. userid:
  5119. description: 机构ID
  5120. type: integer
  5121. wrstandardcode:
  5122. description: 品类代码
  5123. type: string
  5124. wrstandardid:
  5125. description: 品类ID
  5126. type: integer
  5127. wrstandardname:
  5128. description: 品类名称
  5129. type: string
  5130. type: object
  5131. models.Ermcp3SpotGoodsPrice:
  5132. properties:
  5133. areauserid:
  5134. description: 所属机构id
  5135. type: integer
  5136. brandname:
  5137. description: 品牌名称
  5138. type: string
  5139. currencyid:
  5140. description: 报价货币ID
  5141. type: integer
  5142. currencyname:
  5143. description: 币种名称
  5144. type: string
  5145. deliverygoodscode:
  5146. description: 现货商品代码
  5147. type: string
  5148. deliverygoodsid:
  5149. description: 现货商品id
  5150. type: integer
  5151. deliverygoodsname:
  5152. description: 现货商品名称
  5153. type: string
  5154. enumdicname:
  5155. description: 现货商品单位名称
  5156. type: string
  5157. gbenumdicname:
  5158. description: 品类单位名称
  5159. type: string
  5160. gmunitid:
  5161. description: 品类单位id
  5162. type: integer
  5163. isvalid:
  5164. description: 是否有效 - 0:无效 1:有效
  5165. type: integer
  5166. operateid:
  5167. description: 最后操作人
  5168. type: integer
  5169. operatesrc:
  5170. description: 最后操作来源 - 1:管理端 2:终端
  5171. type: integer
  5172. operatetime:
  5173. description: 最后操作时间
  5174. type: string
  5175. operatorname:
  5176. description: 操作人名称
  5177. type: string
  5178. spotgoodsbrandid:
  5179. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5180. type: integer
  5181. spotgoodsprice:
  5182. description: 现货价格
  5183. type: number
  5184. tradedate:
  5185. description: 交易日(yyyyMMdd)
  5186. type: string
  5187. unitid:
  5188. description: 现货商品单位id
  5189. type: integer
  5190. wrstandardcode:
  5191. description: 品类代码
  5192. type: string
  5193. wrstandardid:
  5194. description: 现货品类ID(通用则为0)
  5195. type: integer
  5196. wrstandardname:
  5197. description: 品类名称
  5198. type: string
  5199. type: object
  5200. models.Ermcp3SpotGoodsPriceLog:
  5201. properties:
  5202. areauserid:
  5203. description: 所属机构id
  5204. type: integer
  5205. brandname:
  5206. description: 品牌名称
  5207. type: string
  5208. currencyid:
  5209. description: 报价货币ID
  5210. type: integer
  5211. deliverygoodscode:
  5212. description: 现货商品代码
  5213. type: string
  5214. deliverygoodsid:
  5215. description: 现货商品id
  5216. type: integer
  5217. deliverygoodsname:
  5218. description: 现货商品名称
  5219. type: string
  5220. enumdicname:
  5221. description: 现货商品单位名称
  5222. type: string
  5223. gbenumdicname:
  5224. description: 品类单位名称
  5225. type: string
  5226. gmunitid:
  5227. description: 品类单位id
  5228. type: integer
  5229. logid:
  5230. description: 日志id
  5231. type: integer
  5232. operateid:
  5233. description: 最后操作人
  5234. type: integer
  5235. operatesrc:
  5236. description: 最后操作来源 - 1:管理端 2:终端
  5237. type: integer
  5238. operatetime:
  5239. description: 最后操作时间
  5240. type: string
  5241. operatorname:
  5242. description: 操作人名称
  5243. type: string
  5244. spotgoodsbrandid:
  5245. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5246. type: integer
  5247. spotgoodsprice:
  5248. description: 现货价格
  5249. type: number
  5250. tradedate:
  5251. description: 交易日(yyyyMMdd)
  5252. type: string
  5253. unitid:
  5254. description: 现货商品单位id
  5255. type: integer
  5256. wrstandardcode:
  5257. description: 品类代码
  5258. type: string
  5259. wrstandardid:
  5260. description: 现货品类ID(通用则为0)
  5261. type: integer
  5262. wrstandardname:
  5263. description: 品类名称
  5264. type: string
  5265. type: object
  5266. models.Ermcp3TaFutuReDataReport:
  5267. properties:
  5268. accountid:
  5269. description: 交易账户
  5270. type: integer
  5271. accountname:
  5272. description: 交易账号名称
  5273. type: string
  5274. begindate:
  5275. description: 开始交易日
  5276. type: string
  5277. buyorsell:
  5278. description: 持仓方向
  5279. type: integer
  5280. charge:
  5281. description: 手续费
  5282. type: number
  5283. closeavgprice:
  5284. description: 平仓均价
  5285. type: number
  5286. closepl:
  5287. description: 平仓损益
  5288. type: number
  5289. currencyid:
  5290. description: 结算币种ID
  5291. type: integer
  5292. cycletime:
  5293. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5294. type: string
  5295. cycletype:
  5296. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5297. type: integer
  5298. enddate:
  5299. description: 结束交易日
  5300. type: string
  5301. enumdicname:
  5302. description: 单位名称(现货商品)
  5303. type: string
  5304. floatpl:
  5305. description: 浮动损益
  5306. type: number
  5307. goodscode:
  5308. description: 交易合约代码
  5309. type: string
  5310. goodsgroupid:
  5311. description: 交易品种
  5312. type: integer
  5313. goodsgroupname:
  5314. description: 交易品种名称
  5315. type: string
  5316. goodsgroupspotqty:
  5317. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5318. type: number
  5319. goodsid:
  5320. description: 交易合约
  5321. type: integer
  5322. goodsname:
  5323. description: 交易合约名称
  5324. type: string
  5325. goodunitid:
  5326. description: 交易合约单位id
  5327. type: integer
  5328. holdamount:
  5329. description: 期末持仓额
  5330. type: number
  5331. holdqty:
  5332. description: 期末持仓量
  5333. type: number
  5334. lastholdamount:
  5335. description: 当前持仓额
  5336. type: number
  5337. lastprice:
  5338. description: 最新价
  5339. type: number
  5340. middlegoodsqty:
  5341. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5342. type: number
  5343. openamount:
  5344. description: 期末开仓额
  5345. type: number
  5346. openavgprice:
  5347. description: 开仓均价
  5348. type: number
  5349. oriholdamount:
  5350. description: 期初持仓额
  5351. type: number
  5352. oriholdqty:
  5353. description: 期初持仓量
  5354. type: number
  5355. oriopenamount:
  5356. description: 期初开仓额
  5357. type: number
  5358. outergroupcode:
  5359. description: 交易品种代码
  5360. type: string
  5361. reckondate:
  5362. description: 日照时期(yyyyMMdd)
  5363. type: string
  5364. reckonholdamount:
  5365. description: 结算持仓额
  5366. type: number
  5367. reckonpl:
  5368. description: 结算损益
  5369. type: number
  5370. reckonpl2:
  5371. description: 结算逐笔盈亏
  5372. type: number
  5373. reckonprice:
  5374. description: 结算价
  5375. type: number
  5376. relateduserid:
  5377. description: 账户关联用户ID
  5378. type: integer
  5379. todaycloseamount:
  5380. description: 今平仓额
  5381. type: number
  5382. todaycloseqty:
  5383. description: 今平仓量
  5384. type: number
  5385. todaygoodsgroupspotqty:
  5386. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5387. type: number
  5388. todaymiddlegoodsqty:
  5389. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5390. type: number
  5391. todayopenamount:
  5392. description: 今开仓额
  5393. type: number
  5394. todayopenqty:
  5395. description: 今开仓量
  5396. type: number
  5397. userid:
  5398. description: 账户所属用户ID
  5399. type: integer
  5400. type: object
  5401. models.Ermcp3Wrstandard:
  5402. properties:
  5403. areauserid:
  5404. description: 所属机构
  5405. type: integer
  5406. convertfactor:
  5407. description: 标仓系数
  5408. type: number
  5409. createtime:
  5410. description: 创建时间
  5411. type: string
  5412. creatorid:
  5413. description: 创建人
  5414. type: integer
  5415. deliverygoodsid:
  5416. description: 现货品种ID
  5417. type: integer
  5418. enumdicname:
  5419. description: 品类单位名称
  5420. type: string
  5421. isvalid:
  5422. description: 是否有效 0-无效(停用) 1-有效(正常)
  5423. type: integer
  5424. minivalue:
  5425. description: 最小变动值
  5426. type: integer
  5427. minivaluedp:
  5428. description: 最小变动值小数位
  5429. type: integer
  5430. realminivalue:
  5431. description: 实际最小变动值
  5432. type: integer
  5433. realminivaluedp:
  5434. description: 实际最小变动值小数位
  5435. type: integer
  5436. remark:
  5437. description: 备注
  5438. type: string
  5439. unitid:
  5440. description: 品类单位ID
  5441. type: integer
  5442. updatetime:
  5443. description: 更新时间
  5444. type: string
  5445. wrstandardcode:
  5446. description: 品类代码
  5447. type: string
  5448. wrstandardid:
  5449. description: 品类ID(SEQ_WRSTANDARD)
  5450. type: integer
  5451. wrstandardname:
  5452. description: 品类名称
  5453. type: string
  5454. type: object
  5455. models.ErmcpAreaSpotDetailModel:
  5456. properties:
  5457. contracttype:
  5458. description: 合同类型 1-采购 -1-销售
  5459. type: integer
  5460. createtime:
  5461. description: 创建时间
  5462. type: string
  5463. enumdicname:
  5464. description: 现货商品单位名称
  5465. type: string
  5466. logtype:
  5467. description: 记录类型 1-套保 2-现货合同
  5468. type: integer
  5469. qty:
  5470. description: 数量
  5471. type: number
  5472. recordname:
  5473. description: 类型名称
  5474. type: string
  5475. relatedid:
  5476. description: 套保计划ID/现货合同ID
  5477. type: string
  5478. relatedno:
  5479. description: 编号
  5480. type: string
  5481. strtime:
  5482. description: 时间
  5483. type: string
  5484. wrstandardcode:
  5485. description: 现货商品代码
  5486. type: string
  5487. wrstandardname:
  5488. description: 现货商品名称
  5489. type: string
  5490. type: object
  5491. models.ErmcpAvalidGoodsGroupModel:
  5492. properties:
  5493. goodsgroupid:
  5494. description: 期货品种id
  5495. type: integer
  5496. goodsgroupname:
  5497. description: 期货品种名称
  5498. type: string
  5499. goodunitid:
  5500. description: 品种单位id
  5501. type: integer
  5502. goodunitname:
  5503. description: 品种单位名称
  5504. type: string
  5505. outergroupcode:
  5506. description: 期货品种代码
  5507. type: string
  5508. type: object
  5509. models.ErmcpBizGroupEx:
  5510. properties:
  5511. acclist:
  5512. description: 账号列表
  5513. items:
  5514. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5515. type: array
  5516. bizgroupid:
  5517. description: 业务分组id
  5518. type: integer
  5519. biztype:
  5520. description: 业务类型 1-套保 2-套利
  5521. type: integer
  5522. wrlist:
  5523. description: 现货商品表
  5524. items:
  5525. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5526. type: array
  5527. type: object
  5528. models.ErmcpBizGroupSpotGoods:
  5529. properties:
  5530. areauserid:
  5531. description: 所属机构id
  5532. type: integer
  5533. bizgroupid:
  5534. description: 分组id
  5535. type: integer
  5536. biztype:
  5537. description: 业务类型 1-套保 2-套利
  5538. type: integer
  5539. deliverygoodscode:
  5540. description: 现货商品代码
  5541. type: string
  5542. deliverygoodsid:
  5543. description: 现货商品id
  5544. type: integer
  5545. deliverygoodsname:
  5546. description: 现货商品名称
  5547. type: string
  5548. unitid:
  5549. description: 现货商品单位id
  5550. type: integer
  5551. type: object
  5552. models.ErmcpBizGroupTaAccount:
  5553. properties:
  5554. accountid:
  5555. description: 账号id
  5556. type: integer
  5557. accountname:
  5558. description: 账号名称
  5559. type: string
  5560. areauserid:
  5561. description: 所属机构id
  5562. type: integer
  5563. bizgroupid:
  5564. description: 业务分组id
  5565. type: integer
  5566. ismain:
  5567. description: 是否主账号 1-是 0-否
  5568. type: integer
  5569. type: object
  5570. models.ErmcpDGFactoryItem:
  5571. properties:
  5572. areauserid:
  5573. description: 用户id
  5574. type: integer
  5575. deliverygoodsid:
  5576. description: 现货品种ID
  5577. type: integer
  5578. dgfactoryitemid:
  5579. description: 选择项ID(SEQ_DGFACTORYITEM)
  5580. type: integer
  5581. dgfactoryitemtypeid:
  5582. description: 要素项类型
  5583. type: integer
  5584. dgfactoryitemvalue:
  5585. description: 要素项值(类型为仓库时填写仓库名称)
  5586. type: string
  5587. isvalid:
  5588. description: 是否有效 - 0:无效 1:有效
  5589. type: integer
  5590. orderindex:
  5591. description: 顺序
  5592. type: integer
  5593. warehouseid:
  5594. description: 仓库ID(类型为仓库时填写)
  5595. type: integer
  5596. type: object
  5597. models.ErmcpDeliveryGoods:
  5598. properties:
  5599. agreeunit:
  5600. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5601. type: integer
  5602. areauserid:
  5603. description: 所属机构
  5604. type: integer
  5605. auditflag:
  5606. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5607. type: integer
  5608. categoryid:
  5609. description: 类别ID(SEQ_WRCATEGORY)
  5610. type: integer
  5611. deliverygoodscode:
  5612. description: 现货品种代码
  5613. type: string
  5614. deliverygoodsid:
  5615. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5616. type: integer
  5617. deliverygoodsname:
  5618. description: 现货品种名称
  5619. type: string
  5620. deliverygoodstype:
  5621. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5622. type: integer
  5623. dgstatus:
  5624. description: 品种状态 - 作废 - 0:未激活 1:正常
  5625. type: integer
  5626. enumdicname:
  5627. description: 现货品种单位名称
  5628. type: string
  5629. goodsunitid:
  5630. description: 现货品种单位ID
  5631. type: integer
  5632. isvalid:
  5633. description: 是否有效 - 0:无效 1:有效
  5634. type: integer
  5635. qtydecimalplace:
  5636. description: 成交量小数位
  5637. type: integer
  5638. remark:
  5639. description: 备注
  5640. type: string
  5641. standardqty:
  5642. description: 标准数量(库位数量) [标准品特有]
  5643. type: integer
  5644. standardqtyrange:
  5645. description: 标准数量偏差范围 [标准品特有]
  5646. type: integer
  5647. type: object
  5648. models.ErmcpDeliveryGoodsDetail2:
  5649. properties:
  5650. convertratio:
  5651. description: 套保系数(折算系数)
  5652. type: number
  5653. data:
  5654. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5655. description: 现货商品基本信息(交割品种)
  5656. type: object
  5657. gblist:
  5658. description: 品牌列表
  5659. items:
  5660. $ref: '#/definitions/models.Ermcp3Brand'
  5661. type: array
  5662. gmlist:
  5663. description: 品类列表(仓单标准)
  5664. items:
  5665. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5666. type: array
  5667. type: object
  5668. models.ErmcpDeliveryGoodsDetailEx:
  5669. properties:
  5670. data:
  5671. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5672. description: 现货商品基本信息(交割品种)
  5673. type: object
  5674. gblist:
  5675. description: 品牌列表
  5676. items:
  5677. $ref: '#/definitions/models.Ermcp3Brand'
  5678. type: array
  5679. gmlist:
  5680. description: 品类列表(仓单标准)
  5681. items:
  5682. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5683. type: array
  5684. mgList:
  5685. description: 套保列表
  5686. items:
  5687. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5688. type: array
  5689. type: object
  5690. models.ErmcpExposureDetailModel:
  5691. properties:
  5692. areauserid:
  5693. description: 机构ID
  5694. type: integer
  5695. changeQty:
  5696. description: 套保变动量
  5697. type: number
  5698. contracttype:
  5699. description: 现货合同类型 - 1:采购 -1:销售
  5700. type: integer
  5701. convertfactor:
  5702. description: 标仓系数
  5703. type: number
  5704. convertratio:
  5705. description: 套保系数
  5706. type: number
  5707. createtime:
  5708. description: 时间
  5709. type: string
  5710. enumdicname:
  5711. description: 现货商品单位名称
  5712. type: string
  5713. logtype:
  5714. description: 类型 - 1:套保计划 2:现货合同
  5715. type: integer
  5716. middlegoodsId:
  5717. description: 套保商品id
  5718. type: integer
  5719. middlegoodscode:
  5720. description: 套保商品代码
  5721. type: string
  5722. middlegoodsname:
  5723. description: 套保商品名称
  5724. type: string
  5725. qty:
  5726. description: 数量
  5727. type: number
  5728. relateNo:
  5729. description: 现货合同/套保计划编号
  5730. type: string
  5731. wrstandardcode:
  5732. description: 现货商品代码
  5733. type: string
  5734. wrstandardid:
  5735. description: 现货商品ID
  5736. type: integer
  5737. wrstandardname:
  5738. description: 现货商品名称
  5739. type: string
  5740. type: object
  5741. models.ErmcpExposurePostion:
  5742. properties:
  5743. agreeunit:
  5744. description: 合约单位
  5745. type: string
  5746. areauserid:
  5747. description: 所属机构id
  5748. type: integer
  5749. convertratio:
  5750. description: 期货品种系数(折算系数)
  5751. type: number
  5752. curqty:
  5753. description: 当前持仓
  5754. type: integer
  5755. diffhedgeqty:
  5756. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5757. type: number
  5758. diffqty:
  5759. description: 持仓变动量=当前持仓-昨日持仓
  5760. type: integer
  5761. goodscode:
  5762. description: 商品代码
  5763. type: string
  5764. goodsid:
  5765. description: 商品id
  5766. type: integer
  5767. goodsname:
  5768. description: 商品名称
  5769. type: string
  5770. middlegoodsid:
  5771. description: 套保商品id
  5772. type: integer
  5773. ydqty:
  5774. description: 昨日持仓
  5775. type: integer
  5776. type: object
  5777. models.ErmcpFuturesCompany:
  5778. properties:
  5779. brokerid:
  5780. description: 经纪公司代码
  5781. type: string
  5782. channeladdress:
  5783. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5784. type: string
  5785. channelid:
  5786. description: 对冲渠道ID
  5787. type: string
  5788. createtime:
  5789. description: 创建时间
  5790. type: string
  5791. creatorid:
  5792. description: 创建人
  5793. type: string
  5794. fcid:
  5795. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5796. type: integer
  5797. fcname:
  5798. description: 期货公司名称
  5799. type: string
  5800. isvalid:
  5801. description: 是否有效 - 0:无效 1:有效
  5802. type: integer
  5803. mhpaddress:
  5804. description: MHP服务地址(IP:Port)
  5805. type: string
  5806. riskrulegroupid:
  5807. description: 风控规则组ID
  5808. type: string
  5809. tradefeetmpid:
  5810. description: 手续费模板ID[TradeConfigTmpType为2]
  5811. type: string
  5812. trademargintmpid:
  5813. description: 保证金模板ID [TradeConfigTmpType为1]
  5814. type: string
  5815. traderatetmpid:
  5816. description: 汇率模板ID[TradeConfigTmpType为3]
  5817. type: string
  5818. updatetime:
  5819. description: 更新时间
  5820. type: string
  5821. updatorid:
  5822. description: 更新人
  5823. type: string
  5824. type: object
  5825. models.ErmcpGGConvertCfg:
  5826. properties:
  5827. convertratio:
  5828. description: 折算系数
  5829. type: number
  5830. destgoodsgroupid:
  5831. description: 目标品种ID
  5832. type: integer
  5833. dstcode:
  5834. description: 目录品种代码
  5835. type: string
  5836. dstexchangecode:
  5837. description: 目标期货交易所
  5838. type: string
  5839. dstname:
  5840. description: 目标品种名称
  5841. type: string
  5842. dstunitid:
  5843. description: 目标品种单位ID
  5844. type: integer
  5845. dstunitidname:
  5846. description: 目标品种单位名称
  5847. type: string
  5848. modifytime:
  5849. description: 修改时间
  5850. type: string
  5851. srccode:
  5852. description: 源品种代码
  5853. type: string
  5854. srcexchangecode:
  5855. description: 源期货交易所
  5856. type: string
  5857. srcgoodsgroupid:
  5858. description: 源品种ID
  5859. type: integer
  5860. srcname:
  5861. description: 源品种名称
  5862. type: string
  5863. srcunitid:
  5864. description: 源品种单位ID
  5865. type: integer
  5866. srcunitidname:
  5867. description: 源品种单位名称
  5868. type: string
  5869. type: object
  5870. models.ErmcpGoods:
  5871. properties:
  5872. agreeunit:
  5873. description: 合约单位
  5874. type: number
  5875. areauserid:
  5876. description: 所属机构
  5877. type: integer
  5878. auditaccountid:
  5879. description: 审核操作员账号
  5880. type: integer
  5881. audittime:
  5882. description: 审核时间
  5883. type: string
  5884. cancelaccountid:
  5885. description: 注销操作员账号
  5886. type: integer
  5887. canceltime:
  5888. description: 注销时间
  5889. type: string
  5890. closepricemode:
  5891. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5892. type: integer
  5893. closepriceparam:
  5894. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5895. type: number
  5896. createtime:
  5897. description: 创建时间
  5898. type: string
  5899. creatorid:
  5900. description: 创建人
  5901. type: integer
  5902. currencyid:
  5903. description: 报价货币ID
  5904. type: integer
  5905. cutmode:
  5906. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. delistingdate:
  5912. description: 商品退市时间(状态:退市) -- 已作废
  5913. type: string
  5914. delistingmode:
  5915. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5916. type: integer
  5917. deliveryflag:
  5918. description: 交割标志 - 0:不可交割 1:可交割
  5919. type: integer
  5920. enumdicname:
  5921. description: 单位名称
  5922. type: string
  5923. forceclosemode:
  5924. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5925. type: integer
  5926. forceclosevalue:
  5927. description: 定期强平参数 [收益权]
  5928. type: integer
  5929. goodscode:
  5930. description: 商品代码(内部)
  5931. type: string
  5932. goodscurrencyid:
  5933. description: 合约货币ID
  5934. type: integer
  5935. goodsgroupid:
  5936. description: 所属商品组ID
  5937. type: integer
  5938. goodsid:
  5939. description: 商品ID(自增ID SEQ_GOODS)
  5940. type: integer
  5941. goodsname:
  5942. description: 商品名称
  5943. type: string
  5944. goodsquotetype:
  5945. description: '合约报价类型: 1-直接报价 2-间接报价'
  5946. type: integer
  5947. goodsstatus:
  5948. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5949. type: integer
  5950. goodstradetype:
  5951. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5952. type: integer
  5953. goodunitid:
  5954. description: 报价单位ID
  5955. type: integer
  5956. hasquoter:
  5957. description: 是否有报价商 - 0:无报价商 1:有报价商
  5958. type: integer
  5959. hqprotecttime:
  5960. description: 行情保护时间(秒)
  5961. type: integer
  5962. innerdealmode:
  5963. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5964. type: integer
  5965. isbuylimited:
  5966. description: 是否限制建仓量 - 0:不限制 1:限制
  5967. type: integer
  5968. isvisible:
  5969. description: 游客是否可见 - 0:不可见 1:可见
  5970. type: integer
  5971. lasttradedate:
  5972. description: 最后交易日期(状态:待退市)
  5973. type: string
  5974. listingdate:
  5975. description: 交易开始日期
  5976. type: string
  5977. marketid:
  5978. description: 所属市场ID
  5979. type: integer
  5980. modifierid:
  5981. description: 修改人
  5982. type: integer
  5983. modifystatus:
  5984. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5985. type: integer
  5986. modifytime:
  5987. description: 修改时间
  5988. type: string
  5989. outerdealmode:
  5990. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5991. type: integer
  5992. outgoodscode:
  5993. description: 商品代码(外部)
  5994. type: string
  5995. pictureurl:
  5996. description: 商品图片
  5997. type: string
  5998. qtydecimalplace:
  5999. description: 成交量小数位
  6000. type: integer
  6001. quotegear:
  6002. description: 行情档位(1-10)
  6003. type: integer
  6004. quoteminunit:
  6005. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6006. type: integer
  6007. quoteshowtype:
  6008. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6009. type: integer
  6010. quoteshowtypeinterval:
  6011. description: 行情报价间隔时间(秒)(成交价时为0)
  6012. type: integer
  6013. relatedgoodsid:
  6014. description: 关联参考商品ID
  6015. type: integer
  6016. remark:
  6017. description: 备注
  6018. type: string
  6019. trademode:
  6020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6021. 21:竞拍-大宗式 22:受托竞价
  6022. type: integer
  6023. required:
  6024. - goodscode
  6025. - goodsid
  6026. - goodsname
  6027. - marketid
  6028. type: object
  6029. models.ErmcpGoodsBrand:
  6030. properties:
  6031. areauserid:
  6032. description: 所属机构
  6033. type: integer
  6034. brandid:
  6035. description: BrandID(SEQ_SPOTGOODSBRAND)
  6036. type: integer
  6037. brandname:
  6038. description: 品牌名称
  6039. type: string
  6040. createtime:
  6041. description: 创建时间
  6042. type: string
  6043. creatorid:
  6044. description: 创建人
  6045. type: integer
  6046. creatorsrc:
  6047. description: 创建人来源 - 1:管理端 2:终端
  6048. type: integer
  6049. deliverygoodsid:
  6050. description: 现货品种ID
  6051. type: integer
  6052. isvalid:
  6053. description: 是否有效 - 0:无效 1:有效
  6054. type: integer
  6055. updatetime:
  6056. description: 更新时间
  6057. type: string
  6058. updatorid:
  6059. description: 更新人
  6060. type: integer
  6061. updatorsrc:
  6062. description: 更新人来源 - 1:管理端 2:终端
  6063. type: integer
  6064. wrstandardid:
  6065. description: 现货商品ID
  6066. type: integer
  6067. type: object
  6068. models.ErmcpGoodsModel:
  6069. properties:
  6070. areauserid:
  6071. description: 所属机构
  6072. type: integer
  6073. convertfactor:
  6074. description: 标仓系数
  6075. type: number
  6076. createtime:
  6077. description: 创建时间
  6078. type: string
  6079. creatorid:
  6080. description: 创建人
  6081. type: integer
  6082. creatorsrc:
  6083. description: 创建人来源 - 1:管理端 2:终端
  6084. type: integer
  6085. deliverygoodsid:
  6086. description: 现货品种ID
  6087. type: integer
  6088. isvalid:
  6089. description: 是否有效 - 0:无效 1:有效
  6090. type: integer
  6091. modelid:
  6092. description: ModelID(SEQ_SPOTGOODSMODEL)
  6093. type: integer
  6094. modelname:
  6095. description: 型号名称
  6096. type: string
  6097. updatetime:
  6098. description: 更新时间
  6099. type: string
  6100. updatorid:
  6101. description: 更新人
  6102. type: integer
  6103. updatorsrc:
  6104. description: 更新人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. wrstandardid:
  6107. description: 现货商品ID
  6108. type: integer
  6109. type: object
  6110. models.ErmcpHedgePosition:
  6111. properties:
  6112. accountid:
  6113. description: 资金账号[外部母账户]
  6114. type: integer
  6115. curbuyposition:
  6116. description: 期末买头寸
  6117. type: integer
  6118. cursellposition:
  6119. description: 期末卖头寸
  6120. type: integer
  6121. curtdbuyposition:
  6122. description: 期末今日买头寸
  6123. type: integer
  6124. curtdsellposition:
  6125. description: 期末今日卖头寸
  6126. type: integer
  6127. curydbuyposition:
  6128. description: 期末上日买头寸
  6129. type: integer
  6130. curydsellposition:
  6131. description: 期末上日卖头寸
  6132. type: integer
  6133. decreaseqty:
  6134. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6135. type: integer
  6136. fretdbuyposition:
  6137. description: 冻结今日买头寸
  6138. type: integer
  6139. fretdsellposition:
  6140. description: 冻结今日卖头寸
  6141. type: integer
  6142. freydbuyposition:
  6143. description: 冻结上日买头寸
  6144. type: integer
  6145. freydsellposition:
  6146. description: 冻结上日卖头寸
  6147. type: integer
  6148. goodscode:
  6149. description: 商品代码
  6150. type: string
  6151. goodsid:
  6152. description: 商品id
  6153. type: integer
  6154. goodsname:
  6155. description: 商品名称
  6156. type: string
  6157. hedgeaccountcode:
  6158. description: 对冲账号
  6159. type: string
  6160. hedgegoodsid:
  6161. description: 对冲合约ID
  6162. type: integer
  6163. increaseqty:
  6164. description: 增加数量 = 期末买头寸 - 期初买头寸
  6165. type: integer
  6166. marketid:
  6167. description: 市场ID
  6168. type: integer
  6169. relateduserid:
  6170. description: 关联用户id
  6171. type: integer
  6172. totalcurqty:
  6173. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6174. type: integer
  6175. totalydqty:
  6176. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6177. type: integer
  6178. tradedate:
  6179. description: 交易日(yyyyMMdd)
  6180. type: string
  6181. ydbuyposition:
  6182. description: 期初买头寸
  6183. type: integer
  6184. ydsellposition:
  6185. description: 期初卖头寸
  6186. type: integer
  6187. type: object
  6188. models.ErmcpHedgePositionDetail:
  6189. properties:
  6190. buyorsell:
  6191. description: 买卖方向 0-买 1-卖
  6192. type: integer
  6193. channelbuildtype:
  6194. description: 开平方向 1-建仓 2-平仓
  6195. type: integer
  6196. goodscode:
  6197. description: 商品代码
  6198. type: string
  6199. goodsname:
  6200. description: 商品名称
  6201. type: string
  6202. hedgegoodsid:
  6203. description: 商品id
  6204. type: integer
  6205. tradeqty:
  6206. description: 数量(成交数量)
  6207. type: integer
  6208. tradetime:
  6209. description: 时间(成交时间)
  6210. type: string
  6211. type: object
  6212. models.ErmcpHisExposure:
  6213. properties:
  6214. needhedgeexposoure:
  6215. description: 应套保敞口
  6216. type: number
  6217. reckondate:
  6218. description: 日照时期(yyyyMMdd)
  6219. type: string
  6220. totalexposure:
  6221. description: 总敞口
  6222. type: number
  6223. type: object
  6224. models.ErmcpHisExposureS:
  6225. properties:
  6226. data:
  6227. description: 历史敞口
  6228. items:
  6229. $ref: '#/definitions/models.ErmcpHisExposure'
  6230. type: array
  6231. enumdicname:
  6232. description: 单位名称
  6233. type: string
  6234. middlegoodscode:
  6235. description: 套保品种代码
  6236. type: string
  6237. middlegoodsid:
  6238. description: 套保品种ID
  6239. type: integer
  6240. middlegoodsname:
  6241. description: 套保品种名称
  6242. type: string
  6243. type: object
  6244. models.ErmcpLoginTaAccount:
  6245. properties:
  6246. accountid:
  6247. description: 账号id
  6248. type: integer
  6249. accountname:
  6250. description: 账号名称
  6251. type: string
  6252. type: object
  6253. models.ErmcpLoginUser:
  6254. properties:
  6255. acclist:
  6256. description: 关联资金账号
  6257. items:
  6258. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6259. type: array
  6260. accountname:
  6261. description: 用户名称
  6262. type: string
  6263. clientroleid:
  6264. description: 角色id(usertype=2)
  6265. type: integer
  6266. createtime:
  6267. description: 创建时间
  6268. type: string
  6269. logincode:
  6270. description: 登录代码
  6271. type: string
  6272. loginid:
  6273. description: 登录id(LOGINID)
  6274. type: integer
  6275. loginname:
  6276. description: 登录名称(loginaccount表中的accountname字段)
  6277. type: string
  6278. loginstatus:
  6279. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6280. type: integer
  6281. memberuserid:
  6282. description: 所属会员id
  6283. type: integer
  6284. mobile:
  6285. description: 手机号
  6286. type: string
  6287. modifytime:
  6288. description: 修改时间
  6289. type: string
  6290. password:
  6291. description: 密码(不可解密)
  6292. type: string
  6293. rolename:
  6294. description: 角色名称
  6295. type: string
  6296. rolestatus:
  6297. description: 角色状态 1-启用 2-停用
  6298. type: integer
  6299. roletype:
  6300. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6301. type: string
  6302. userid:
  6303. description: 用户id
  6304. type: integer
  6305. usertype:
  6306. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6307. type: integer
  6308. type: object
  6309. models.ErmcpLoginUserEx:
  6310. properties:
  6311. accountstatus:
  6312. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6313. type: integer
  6314. mobile:
  6315. description: 手机号
  6316. type: string
  6317. querytype:
  6318. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6319. type: integer
  6320. roleid:
  6321. description: 角色id(交易账户->用户id)
  6322. type: integer
  6323. rolename:
  6324. description: 角色名称(交易账户->用户名称)
  6325. type: string
  6326. userlist:
  6327. description: 用户列表
  6328. items:
  6329. $ref: '#/definitions/models.ErmcpLoginUser'
  6330. type: array
  6331. usertype:
  6332. description: 用户类型 2-机构 7-企业成员(云平台)
  6333. type: integer
  6334. type: object
  6335. models.ErmcpMiddleGoodsChangeLog:
  6336. properties:
  6337. aftervalue:
  6338. description: 变更后
  6339. type: number
  6340. applyid:
  6341. description: 操作人
  6342. type: integer
  6343. applyname:
  6344. description: 操作人名称
  6345. type: string
  6346. applysrc:
  6347. description: 操作来源 - 1:管理端 2:终端
  6348. type: integer
  6349. beforevalue:
  6350. description: 变更前
  6351. type: number
  6352. changelogtype:
  6353. description: 变更流水类型 - 1:套保比率变更
  6354. type: integer
  6355. handlestatus:
  6356. description: 处理状态
  6357. type: integer
  6358. logdatetime:
  6359. description: 流水日期
  6360. type: string
  6361. logid:
  6362. description: 流水ID
  6363. type: integer
  6364. logremark:
  6365. description: 流水备注
  6366. type: string
  6367. middlegoodsid:
  6368. description: 套保品种ID
  6369. type: integer
  6370. tradedate:
  6371. description: 交易日(yyyyMMdd)
  6372. type: string
  6373. updatetime:
  6374. description: 更新时间
  6375. type: string
  6376. type: object
  6377. models.ErmcpMiddleGoodsDetail:
  6378. properties:
  6379. cvList:
  6380. description: 期货品种折算列表
  6381. items:
  6382. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6383. type: array
  6384. mg:
  6385. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6386. description: 套保品种基本信息
  6387. type: object
  6388. wrcList:
  6389. description: 现货品种列表(现货商品折算配置)
  6390. items:
  6391. $ref: '#/definitions/models.WRSConverTDetail'
  6392. type: array
  6393. type: object
  6394. models.ErmcpMiddleGoodsModel:
  6395. properties:
  6396. areauserid:
  6397. description: 机构用户ID
  6398. type: integer
  6399. createtime:
  6400. description: 修改时间
  6401. type: string
  6402. enumdicname:
  6403. description: 单位名称
  6404. type: string
  6405. evaluateratio:
  6406. description: 估价系数
  6407. type: number
  6408. goodsgroupid:
  6409. description: 关联期货品种ID
  6410. type: integer
  6411. goodsunitid:
  6412. description: 单位ID
  6413. type: integer
  6414. isvalid:
  6415. description: 状态 0-无效(停用) 1-有效(正常)
  6416. type: integer
  6417. middlegoodscode:
  6418. description: 套保品种代码
  6419. type: string
  6420. middlegoodsid:
  6421. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6422. type: integer
  6423. middlegoodsname:
  6424. description: 套保品种名称
  6425. type: string
  6426. modifytime:
  6427. description: 修改时间
  6428. type: string
  6429. needarbitrageratio:
  6430. description: 套利比例
  6431. type: number
  6432. needhedgeratio:
  6433. description: 套保比率
  6434. type: number
  6435. qtydecimalplace:
  6436. description: 数量小数位
  6437. type: integer
  6438. relatedgoodsid:
  6439. description: 关联交易商品ID
  6440. type: integer
  6441. relatedgoodstype:
  6442. description: 关联商品类型 - 1:期货合约 2:现货品种
  6443. type: integer
  6444. remark:
  6445. description: 备注
  6446. type: string
  6447. type: object
  6448. models.ErmcpMiddlegoodsRelateGoods:
  6449. properties:
  6450. agreeunit:
  6451. description: 合约乘数
  6452. type: number
  6453. convertratio:
  6454. description: 折算系数
  6455. type: number
  6456. enumdicname:
  6457. description: 单位名称(交易商品)
  6458. type: string
  6459. goodscode:
  6460. description: 交易商品代码
  6461. type: string
  6462. goodsgroupid:
  6463. description: 交易品种id
  6464. type: integer
  6465. goodsid:
  6466. description: 商品Id
  6467. type: integer
  6468. goodsname:
  6469. description: 交易商品名称
  6470. type: string
  6471. goodunitid:
  6472. description: 交易商品单位id
  6473. type: integer
  6474. middlegoodsid:
  6475. description: 套保商品id
  6476. type: integer
  6477. middlegoodsname:
  6478. description: 套保商品名称
  6479. type: string
  6480. middlegoodsswcode:
  6481. description: 套保商品代码
  6482. type: string
  6483. needarbitrageratio:
  6484. description: 应套利比例
  6485. type: number
  6486. needhedgeratio:
  6487. description: 应套保比例
  6488. type: number
  6489. type: object
  6490. models.ErmcpOPLogModel:
  6491. properties:
  6492. aftervalue:
  6493. description: 变更后
  6494. type: number
  6495. applyid:
  6496. description: 操作人ID
  6497. type: string
  6498. applyname:
  6499. description: 操作人名称
  6500. type: string
  6501. beforevalue:
  6502. description: 变更前
  6503. type: number
  6504. biztype:
  6505. description: 业务类型 - 1:套保计划 2:现货合同
  6506. type: integer
  6507. contracttype:
  6508. description: 现货合同类型 - 1:采购 -1:销售
  6509. type: integer
  6510. logvalue:
  6511. description: 数值
  6512. type: number
  6513. operatelogtype:
  6514. description: 操作流水类型
  6515. type: integer
  6516. operatelogtypedesc:
  6517. description: 操作流水类型名称
  6518. type: string
  6519. relatedid:
  6520. description: 现货合同ID\套保计划
  6521. type: string
  6522. updatetime:
  6523. description: 更新时间
  6524. type: string
  6525. type: object
  6526. models.ErmcpPendingAudit:
  6527. properties:
  6528. areastockqty:
  6529. description: '待审核数量: 库存申请'
  6530. type: integer
  6531. businessdjqty:
  6532. description: '待审核数量: 点价'
  6533. type: integer
  6534. businessfpqty:
  6535. description: '待审核数量: 发票'
  6536. type: integer
  6537. businessjsqty:
  6538. description: '待审核数量: 结算'
  6539. type: integer
  6540. businesskxqty:
  6541. description: '待审核数量: 款项'
  6542. type: integer
  6543. hedgeplanqty:
  6544. description: '待审核数量: 套保计划'
  6545. type: integer
  6546. spotcontractqty:
  6547. description: '待审核数量: 现货合同'
  6548. type: integer
  6549. userqty:
  6550. description: '待审核数量: 用户'
  6551. type: integer
  6552. type: object
  6553. models.ErmcpRealExposureModel:
  6554. properties:
  6555. AreaUserID:
  6556. description: 所属机构
  6557. type: integer
  6558. BuyFutureQty:
  6559. description: 买入期货数量
  6560. type: number
  6561. BuyPlanQty:
  6562. description: 采购计划数量
  6563. type: number
  6564. BuyPricedQty:
  6565. description: 采购合同已定价数量
  6566. type: number
  6567. MiddleGoodsCode:
  6568. description: 套保品种代码
  6569. type: string
  6570. MiddleGoodsHedgeRatio:
  6571. description: 套保比例
  6572. type: number
  6573. MiddleGoodsID:
  6574. description: 套保品种
  6575. type: integer
  6576. MiddleGoodsName:
  6577. description: 套保品种名称
  6578. type: string
  6579. NeedHedgeExposoure:
  6580. description: 应套保敞口(套保敞口)
  6581. type: number
  6582. NeedHedgeRatio:
  6583. description: 应套保敞口比例
  6584. type: number
  6585. OriBuyFutureQty:
  6586. description: 期初买入期货数量
  6587. type: number
  6588. OriBuyPlanQty:
  6589. description: 期初采购计划数量
  6590. type: number
  6591. OriBuyPricedQty:
  6592. description: 期初采购合同已定价数量
  6593. type: number
  6594. OriSellFutureQty:
  6595. description: 期初卖出期货数量
  6596. type: number
  6597. OriSellPlanQty:
  6598. description: 期初销售计划数量
  6599. type: number
  6600. OriSellPricedQty:
  6601. description: 期初销售合同已定价数量
  6602. type: number
  6603. SellFutureQty:
  6604. description: 卖出期货数量
  6605. type: number
  6606. SellPlanQty:
  6607. description: 销售计划数量
  6608. type: number
  6609. SellPricedQty:
  6610. description: 销售合同已定价数量
  6611. type: number
  6612. TotalExposure:
  6613. description: 总敞口
  6614. type: number
  6615. TotalFutureQty:
  6616. description: 期货总量
  6617. type: number
  6618. TotalHedgeRatio:
  6619. description: 敞口比例
  6620. type: number
  6621. TotalNeedHedgeQty:
  6622. description: 应套保总量(现货应套保总量)
  6623. type: number
  6624. TotalSpotQty:
  6625. description: 现货总量
  6626. type: number
  6627. arbitrageqty:
  6628. description: 套利量
  6629. type: number
  6630. diffArbitrageQty:
  6631. description: 套利变动量
  6632. type: number
  6633. diffExposoureQty:
  6634. description: 变动量(套保敞口)
  6635. type: number
  6636. diffFutuQty:
  6637. description: 变动量(期货总量)
  6638. type: number
  6639. diffHedgeQty:
  6640. description: 套保变动量
  6641. type: number
  6642. diffQty:
  6643. description: 变动量(总敞口)
  6644. type: number
  6645. diffSpotHedgeQty:
  6646. description: 变动量(现货应套保总量)
  6647. type: number
  6648. diffSpotQty:
  6649. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6650. type: number
  6651. enumdicname:
  6652. description: 单位名称
  6653. type: string
  6654. hedgeqty:
  6655. description: 套保量
  6656. type: number
  6657. needarbitrageqty:
  6658. description: 应套利量
  6659. type: number
  6660. needarbitrageratio:
  6661. description: 套利比例
  6662. type: number
  6663. needhedgeqty:
  6664. description: 应套保量
  6665. type: number
  6666. oriTotalFutuQty:
  6667. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6668. type: number
  6669. oriTotalSpotQty:
  6670. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6671. type: number
  6672. oriarbitrageqty:
  6673. description: 期初套利量
  6674. type: number
  6675. orihedgeqty:
  6676. description: 期初套保量
  6677. type: number
  6678. orineedhedgeexposoure:
  6679. description: 期初套保敞口
  6680. type: number
  6681. oritotalexposure:
  6682. description: 期初总敞口
  6683. type: number
  6684. oritotalfutureqty:
  6685. description: 期初期货总量
  6686. type: number
  6687. oritotalneedhedgeqty:
  6688. description: 期初现货应套保量
  6689. type: number
  6690. type: object
  6691. models.ErmcpRole:
  6692. properties:
  6693. areauserid:
  6694. description: 所属机构
  6695. type: integer
  6696. autoid:
  6697. description: 角色ID(自增ID)
  6698. type: integer
  6699. modifierid:
  6700. description: 修改人(创建人)
  6701. type: integer
  6702. modifiername:
  6703. description: 修改人名称
  6704. type: string
  6705. modifytime:
  6706. description: 修改时间(创建时间)
  6707. type: string
  6708. rolename:
  6709. description: 角色名称
  6710. type: string
  6711. rolestatus:
  6712. description: 角色状态 - 1:启用 2:停用
  6713. type: integer
  6714. roletype:
  6715. description: 角色类型 - 1- 管理端 2- 交易端
  6716. type: integer
  6717. type: object
  6718. models.ErmcpRoleMenu:
  6719. properties:
  6720. iconame:
  6721. description: 菜单图标
  6722. type: string
  6723. ishadrole:
  6724. description: 是否有权限
  6725. type: boolean
  6726. menutype:
  6727. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6728. type: integer
  6729. parentcode:
  6730. description: 上级资源代码
  6731. type: string
  6732. remark:
  6733. description: 菜单备注
  6734. type: string
  6735. resourcecode:
  6736. description: 菜单代码
  6737. type: string
  6738. resourcelevel:
  6739. description: 级别
  6740. type: integer
  6741. resourcename:
  6742. description: 菜单名称
  6743. type: string
  6744. roleid:
  6745. description: 角色id
  6746. type: integer
  6747. sort:
  6748. description: 排序
  6749. type: integer
  6750. url:
  6751. description: URL
  6752. type: string
  6753. userid:
  6754. description: 用户id
  6755. type: integer
  6756. type: object
  6757. models.ErmcpRoleMenuEx:
  6758. properties:
  6759. menu:
  6760. $ref: '#/definitions/models.ErmcpRoleMenu'
  6761. description: 父级菜单
  6762. type: object
  6763. subMenu:
  6764. description: 子级菜单
  6765. items:
  6766. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6767. type: array
  6768. type: object
  6769. models.ErmcpTaAccount:
  6770. properties:
  6771. accountid:
  6772. description: 账户id
  6773. type: integer
  6774. accountname:
  6775. description: 账户名称
  6776. type: string
  6777. currencyid:
  6778. description: 币种id
  6779. type: integer
  6780. hedgeaccountcode:
  6781. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6782. type: string
  6783. ismain:
  6784. description: 是否主账户 0-否 1-是
  6785. type: integer
  6786. parentaccountid:
  6787. description: 父账户id
  6788. type: integer
  6789. relateduserid:
  6790. description: 关联userid
  6791. type: integer
  6792. tradefeetmpid:
  6793. description: 手续费模板id
  6794. type: integer
  6795. tradefeetmpname:
  6796. description: 手续费模板名称
  6797. type: string
  6798. trademargintmpid:
  6799. description: 保证金模板id
  6800. type: integer
  6801. trademargintmpname:
  6802. description: 保证金模板名称
  6803. type: string
  6804. traderatetmpid:
  6805. description: 汇率模板id
  6806. type: integer
  6807. traderatetmpname:
  6808. description: 汇率模板名称
  6809. type: string
  6810. tradestatus:
  6811. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6812. type: integer
  6813. userid:
  6814. description: 用户id
  6815. type: integer
  6816. type: object
  6817. models.ErmcpTaAccountEx:
  6818. properties:
  6819. mainAcc:
  6820. $ref: '#/definitions/models.ErmcpTaAccountM'
  6821. description: 主账号
  6822. type: object
  6823. subacclist:
  6824. description: 子账号列表
  6825. items:
  6826. $ref: '#/definitions/models.ErmcpTaAccount'
  6827. type: array
  6828. type: object
  6829. models.ErmcpTaAccountInfo:
  6830. properties:
  6831. accountid:
  6832. description: 资金账户ID
  6833. type: integer
  6834. accountname:
  6835. description: 账户名称
  6836. type: string
  6837. balance:
  6838. description: 期初余额
  6839. type: number
  6840. capitalbalance:
  6841. description: 本金余额[外部子账户实际出入金余额]
  6842. type: number
  6843. closepl:
  6844. description: 今日平仓盈亏
  6845. type: number
  6846. creditdecrease:
  6847. description: 今日授信减少
  6848. type: number
  6849. creditincrease:
  6850. description: 今日授信增加
  6851. type: number
  6852. curdebt:
  6853. description: 期末欠款
  6854. type: number
  6855. currencyid:
  6856. description: 货币ID
  6857. type: integer
  6858. currentbalance:
  6859. description: 期末余额
  6860. type: number
  6861. freezecharge:
  6862. description: 手续费冻结
  6863. type: number
  6864. freezemargin:
  6865. description: 冻结保证金
  6866. type: number
  6867. fromaccountid:
  6868. description: 所属上级账户
  6869. type: integer
  6870. inamount:
  6871. description: 今日入金金额(包括三方入金)
  6872. type: number
  6873. ismain:
  6874. description: 是否母账号 0:不是母账户 1:是母账户
  6875. type: integer
  6876. mortgagecredit:
  6877. description: 授信金额
  6878. type: number
  6879. oridebt:
  6880. description: 期初欠款
  6881. type: number
  6882. orifreezecharge:
  6883. description: 期初手续费冻结
  6884. type: number
  6885. orifreezemargin:
  6886. description: 期初冻结保证金
  6887. type: number
  6888. orimortgagecredit:
  6889. description: 期初授信金额
  6890. type: number
  6891. oriothercredit:
  6892. description: 期初其它授信金额
  6893. type: number
  6894. oriotherfreezemargin:
  6895. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6896. type: number
  6897. orioutamountfreeze:
  6898. description: 期初出金冻结
  6899. type: number
  6900. oriusedmargin:
  6901. description: 期初占用保证金
  6902. type: number
  6903. othercredit:
  6904. description: 其它授信金额
  6905. type: number
  6906. othercreditdecrease:
  6907. description: 今日其它授信减少
  6908. type: number
  6909. othercreditincrease:
  6910. description: 今日其它授信增加
  6911. type: number
  6912. otherfreezemargin:
  6913. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6914. type: number
  6915. outamount:
  6916. description: 今日出金金额(包括三方出金)
  6917. type: number
  6918. outamountfreeze:
  6919. description: 出金冻结
  6920. type: number
  6921. outthreshold:
  6922. description: 出金阈值
  6923. type: number
  6924. parentaccountid:
  6925. description: 所属根账号
  6926. type: integer
  6927. paycharge:
  6928. description: 今日手续费支出
  6929. type: number
  6930. relateduserid:
  6931. description: 关联用户
  6932. type: integer
  6933. signstatus:
  6934. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6935. type: integer
  6936. sublevelpath:
  6937. description: 账号层级路径(逗号分隔,首尾加逗号)
  6938. type: string
  6939. taaccounttype:
  6940. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6941. type: integer
  6942. thirdinamount:
  6943. description: 今日三方入金
  6944. type: number
  6945. thirdoutamount:
  6946. description: 今日三方出金
  6947. type: number
  6948. tradestatus:
  6949. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6950. type: integer
  6951. transferamount:
  6952. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6953. type: number
  6954. usedmargin:
  6955. description: 占用保证金
  6956. type: number
  6957. userid:
  6958. description: 用户ID
  6959. type: integer
  6960. type: object
  6961. models.ErmcpTaAccountM:
  6962. properties:
  6963. accountid:
  6964. description: 账户id
  6965. type: integer
  6966. accountname:
  6967. description: 账户名称
  6968. type: string
  6969. currencyid:
  6970. description: 币种id
  6971. type: integer
  6972. fcid:
  6973. description: 期货公司id
  6974. type: integer
  6975. fcname:
  6976. description: 期货公司代码
  6977. type: string
  6978. hedgeaccountcode:
  6979. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6980. type: string
  6981. ismain:
  6982. description: 是否主账户 0-否 1-是
  6983. type: integer
  6984. parentaccountid:
  6985. description: 父账户id
  6986. type: integer
  6987. relateduserid:
  6988. description: 关联userid
  6989. type: integer
  6990. tradefeetmpid:
  6991. description: 手续费模板id
  6992. type: integer
  6993. tradefeetmpname:
  6994. description: 手续费模板名称
  6995. type: string
  6996. trademargintmpid:
  6997. description: 保证金模板id
  6998. type: integer
  6999. trademargintmpname:
  7000. description: 保证金模板名称
  7001. type: string
  7002. traderatetmpid:
  7003. description: 汇率模板id
  7004. type: integer
  7005. traderatetmpname:
  7006. description: 汇率模板名称
  7007. type: string
  7008. tradestatus:
  7009. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7010. type: integer
  7011. userid:
  7012. description: 用户id
  7013. type: integer
  7014. type: object
  7015. models.ErmcpTradeConfigTMP:
  7016. properties:
  7017. areauserid:
  7018. description: 所属机构
  7019. type: integer
  7020. basiccurrencyid:
  7021. description: 基本币种ID[汇率] - 目标币种
  7022. type: integer
  7023. mainaccountid:
  7024. description: 主账户ID
  7025. type: integer
  7026. modifierid:
  7027. description: 修改人
  7028. type: integer
  7029. remark:
  7030. description: 备注
  7031. type: string
  7032. tradeconfigtmpid:
  7033. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7034. type: integer
  7035. tradeconfigtmpname:
  7036. description: 交易配置模板名称
  7037. type: string
  7038. tradeconfigtmptype:
  7039. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7040. type: integer
  7041. updatetime:
  7042. description: 更新时间
  7043. type: string
  7044. type: object
  7045. models.ErmcpUserModel:
  7046. properties:
  7047. address:
  7048. description: 通讯地址
  7049. type: string
  7050. attachment1:
  7051. description: 附件1
  7052. type: string
  7053. audittime:
  7054. description: 审核时间
  7055. type: string
  7056. cardbackphotourl:
  7057. description: 证件反面图片地址
  7058. type: string
  7059. cardfrontphotourl:
  7060. description: 证件正面图片地址
  7061. type: string
  7062. cardnum:
  7063. description: 证件号码
  7064. type: string
  7065. cardtype:
  7066. description: 证件类型
  7067. type: integer
  7068. cardtypename:
  7069. description: 证件类型名称
  7070. type: string
  7071. cityid:
  7072. description: 市
  7073. type: integer
  7074. contactname:
  7075. description: 联系人
  7076. type: string
  7077. countryid:
  7078. description: 国家
  7079. type: integer
  7080. createtime:
  7081. description: 创建时间
  7082. type: string
  7083. customername:
  7084. description: 企业名称
  7085. type: string
  7086. districtid:
  7087. description: 区域
  7088. type: integer
  7089. email:
  7090. description: 邮件
  7091. type: string
  7092. legalpersonname:
  7093. description: 法人姓名(企业)
  7094. type: string
  7095. memberuserid:
  7096. description: 所属机构ID
  7097. type: integer
  7098. mobile:
  7099. description: 手机号码
  7100. type: string
  7101. modifytime:
  7102. description: 修改时间
  7103. type: string
  7104. nickname:
  7105. description: 昵称
  7106. type: string
  7107. provinceid:
  7108. description: 省
  7109. type: integer
  7110. remark:
  7111. description: 备注
  7112. type: string
  7113. status:
  7114. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7115. type: integer
  7116. statusdesc:
  7117. description: 账户状态中文描述
  7118. type: string
  7119. taxpayernum:
  7120. description: 纳税人识别号
  7121. type: string
  7122. telphone:
  7123. description: 联系电话
  7124. type: string
  7125. userid:
  7126. description: 用户ID
  7127. type: integer
  7128. userinfotype:
  7129. description: 客户类型
  7130. type: string
  7131. type: object
  7132. models.ErmcpWareHouseInfo:
  7133. properties:
  7134. address:
  7135. description: 详细地址
  7136. type: string
  7137. areauserid:
  7138. description: 所属机构
  7139. type: integer
  7140. autoid:
  7141. description: 自增ID(仓库ID)
  7142. type: integer
  7143. cityid:
  7144. description: 市
  7145. type: integer
  7146. contactname:
  7147. description: 联系人
  7148. type: string
  7149. contactnum:
  7150. description: 联系电话
  7151. type: string
  7152. countryid:
  7153. description: 国家
  7154. type: integer
  7155. createtime:
  7156. description: 创建时间
  7157. type: string
  7158. districtid:
  7159. description: 区
  7160. type: integer
  7161. hasvideo:
  7162. description: 是否有视频 - 0:无 1:有
  7163. type: integer
  7164. provinceid:
  7165. description: 省
  7166. type: integer
  7167. remark:
  7168. description: 审核备注
  7169. type: string
  7170. videourl:
  7171. description: 视频地址
  7172. type: string
  7173. warehousecode:
  7174. description: 仓库代码
  7175. type: string
  7176. warehousename:
  7177. description: 仓库名称
  7178. type: string
  7179. warehousestatus:
  7180. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7181. type: integer
  7182. warehousetype:
  7183. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7184. type: integer
  7185. type: object
  7186. models.Externalexchange:
  7187. properties:
  7188. autoid:
  7189. description: AutoID - SEQ_EXTERNALEXCHANGE
  7190. type: integer
  7191. exchangefullname:
  7192. description: 外部交易所全称
  7193. type: string
  7194. exexchangecode:
  7195. description: 外部交易所代码
  7196. type: string
  7197. exexchangename:
  7198. description: 外部交易所名称(简称)
  7199. type: string
  7200. ismarketprice:
  7201. description: 是否支持市价 - 0:不支持 1:支持
  7202. type: integer
  7203. quotegear:
  7204. description: 行情档位(1-10)
  7205. type: integer
  7206. showbrokerflag:
  7207. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7208. type: integer
  7209. updatetime:
  7210. description: 更新时间
  7211. type: string
  7212. required:
  7213. - autoid
  7214. type: object
  7215. models.Funcmenulist:
  7216. properties:
  7217. iconame:
  7218. description: 菜单图标
  7219. type: string
  7220. menutype:
  7221. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7222. type: integer
  7223. parentcode:
  7224. description: 上级资源代码
  7225. type: string
  7226. remark:
  7227. description: 备注
  7228. type: string
  7229. resourcecode:
  7230. description: 资源代码
  7231. type: string
  7232. resourcelevel:
  7233. description: 级别 1-一级 2-二级 3-三级 4-四级
  7234. type: integer
  7235. resourcename:
  7236. description: 资源名
  7237. type: string
  7238. sort:
  7239. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7240. type: integer
  7241. url:
  7242. description: URL
  7243. type: string
  7244. required:
  7245. - resourcecode
  7246. type: object
  7247. models.Goods:
  7248. properties:
  7249. agreeunit:
  7250. description: 合约单位
  7251. type: number
  7252. areauserid:
  7253. description: 所属机构
  7254. type: integer
  7255. auditaccountid:
  7256. description: 审核操作员账号
  7257. type: integer
  7258. audittime:
  7259. description: 审核时间
  7260. type: string
  7261. cancelaccountid:
  7262. description: 注销操作员账号
  7263. type: integer
  7264. canceltime:
  7265. description: 注销时间
  7266. type: string
  7267. closepricemode:
  7268. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7269. type: integer
  7270. closepriceparam:
  7271. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7272. type: number
  7273. createtime:
  7274. description: 创建时间
  7275. type: string
  7276. creatorid:
  7277. description: 创建人
  7278. type: integer
  7279. currencyid:
  7280. description: 报价货币ID
  7281. type: integer
  7282. cutmode:
  7283. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7284. type: integer
  7285. decimalplace:
  7286. description: 报价小数位
  7287. type: integer
  7288. delistingdate:
  7289. description: 商品退市时间(状态:退市) -- 已作废
  7290. type: string
  7291. delistingmode:
  7292. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7293. type: integer
  7294. deliveryflag:
  7295. description: 交割标志 - 0:不可交割 1:可交割
  7296. type: integer
  7297. forceclosemode:
  7298. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7299. type: integer
  7300. forceclosevalue:
  7301. description: 定期强平参数 [收益权]
  7302. type: integer
  7303. goodscode:
  7304. description: 商品代码(内部)
  7305. type: string
  7306. goodscurrencyid:
  7307. description: 合约货币ID
  7308. type: integer
  7309. goodsgroupid:
  7310. description: 所属商品组ID
  7311. type: integer
  7312. goodsid:
  7313. description: 商品ID(自增ID SEQ_GOODS)
  7314. type: integer
  7315. goodsname:
  7316. description: 商品名称
  7317. type: string
  7318. goodsquotetype:
  7319. description: '合约报价类型: 1-直接报价 2-间接报价'
  7320. type: integer
  7321. goodsstatus:
  7322. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7323. type: integer
  7324. goodstradetype:
  7325. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7326. type: integer
  7327. goodunitid:
  7328. description: 报价单位ID
  7329. type: integer
  7330. hasquoter:
  7331. description: 是否有报价商 - 0:无报价商 1:有报价商
  7332. type: integer
  7333. hqprotecttime:
  7334. description: 行情保护时间(秒)
  7335. type: integer
  7336. innerdealmode:
  7337. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7338. type: integer
  7339. isbuylimited:
  7340. description: 是否限制建仓量 - 0:不限制 1:限制
  7341. type: integer
  7342. isvisible:
  7343. description: 游客是否可见 - 0:不可见 1:可见
  7344. type: integer
  7345. lasttradedate:
  7346. description: 最后交易日期(状态:待退市)
  7347. type: string
  7348. listingdate:
  7349. description: 交易开始日期
  7350. type: string
  7351. marketid:
  7352. description: 所属市场ID
  7353. type: integer
  7354. modifierid:
  7355. description: 修改人
  7356. type: integer
  7357. modifystatus:
  7358. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7359. type: integer
  7360. modifytime:
  7361. description: 修改时间
  7362. type: string
  7363. outerdealmode:
  7364. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. outgoodscode:
  7367. description: 商品代码(外部)
  7368. type: string
  7369. pictureurl:
  7370. description: 商品图片
  7371. type: string
  7372. qtydecimalplace:
  7373. description: 成交量小数位
  7374. type: integer
  7375. quotegear:
  7376. description: 行情档位(1-10)
  7377. type: integer
  7378. quoteminunit:
  7379. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7380. type: integer
  7381. quoteshowtype:
  7382. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7383. type: integer
  7384. quoteshowtypeinterval:
  7385. description: 行情报价间隔时间(秒)(成交价时为0)
  7386. type: integer
  7387. remark:
  7388. description: 备注
  7389. type: string
  7390. required:
  7391. - goodscode
  7392. - goodsid
  7393. - goodsname
  7394. - marketid
  7395. type: object
  7396. models.GoodsIDAndName:
  7397. properties:
  7398. goodscode:
  7399. description: 商品代码(内部)
  7400. type: string
  7401. goodsid:
  7402. description: 商品ID(自增ID SEQ_GOODS)
  7403. type: integer
  7404. goodsname:
  7405. description: 商品名称
  7406. type: string
  7407. marketid:
  7408. description: 所属市场ID
  7409. type: integer
  7410. required:
  7411. - goodscode
  7412. - goodsid
  7413. - goodsname
  7414. - marketid
  7415. type: object
  7416. models.Goodsgroup:
  7417. properties:
  7418. agreeunit:
  7419. description: 合约单位
  7420. type: number
  7421. canshort:
  7422. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7423. type: integer
  7424. closepricemode:
  7425. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7426. type: integer
  7427. closepriceparam:
  7428. description: 强平最新价浮动比例 - 方式为2时使用
  7429. type: number
  7430. createtime:
  7431. description: 创建时间
  7432. type: string
  7433. creatorid:
  7434. description: 创建人
  7435. type: integer
  7436. currencyid:
  7437. description: 报价货币ID
  7438. type: integer
  7439. decimalplace:
  7440. description: 报价小数位
  7441. type: integer
  7442. exercisetype:
  7443. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7444. type: integer
  7445. exexchangeid:
  7446. description: 外部交易所ID[通道交易]
  7447. type: integer
  7448. goodsgroupid:
  7449. description: 商品组ID(自增ID)
  7450. type: integer
  7451. goodsgroupname:
  7452. description: 商品组名称
  7453. type: string
  7454. goodsgroupstatus:
  7455. description: 商品组状态 - 1:正常 2:注销
  7456. type: integer
  7457. goodunitid:
  7458. description: 报价单位ID
  7459. type: integer
  7460. innerdealmode:
  7461. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7462. type: integer
  7463. isbuylimited:
  7464. description: 是否限制建仓量 - 0:不限制 1:限制
  7465. type: integer
  7466. marketid:
  7467. description: 所属市场ID
  7468. type: integer
  7469. modifierid:
  7470. description: 修改人
  7471. type: integer
  7472. modifytime:
  7473. description: 修改时间
  7474. type: string
  7475. outerdealmode:
  7476. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7477. type: integer
  7478. outergroupcode:
  7479. description: 外部商品组代码[通道交易]
  7480. type: string
  7481. premiumdecimalplace:
  7482. description: 权利金小数位[场外期权]
  7483. type: integer
  7484. premiumspreadalgorithm:
  7485. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7486. type: integer
  7487. premiumspreadvalue:
  7488. description: 权利金点差值[场外期权]
  7489. type: number
  7490. qtydecimalplace:
  7491. description: 成交量小数位
  7492. type: integer
  7493. quotegear:
  7494. description: 行情档位(1-10)
  7495. type: integer
  7496. quoteminunit:
  7497. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7498. type: integer
  7499. quoterid:
  7500. description: 报价商ID[场外期权]
  7501. type: integer
  7502. quotesourcegroupid:
  7503. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7504. type: integer
  7505. syncgoodsqty:
  7506. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7507. type: integer
  7508. required:
  7509. - goodsgroupid
  7510. - goodsgroupname
  7511. - goodsgroupstatus
  7512. - marketid
  7513. type: object
  7514. models.Goodssortbypreposition:
  7515. properties:
  7516. goodscode:
  7517. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7518. type: string
  7519. goodsgroupcode:
  7520. description: 品种代码
  7521. type: string
  7522. prepositionqty:
  7523. description: 昨持仓量
  7524. type: integer
  7525. sortindex:
  7526. description: 排序
  7527. type: integer
  7528. tradedate:
  7529. description: 交易日
  7530. type: string
  7531. updatetime:
  7532. description: 更新时间
  7533. type: string
  7534. required:
  7535. - goodscode
  7536. - tradedate
  7537. type: object
  7538. models.Hedgeinnerholderdetail:
  7539. properties:
  7540. accountid:
  7541. description: 账号ID
  7542. type: integer
  7543. buyorsell:
  7544. description: 方向 - 0:买 1:卖
  7545. type: integer
  7546. freezeqty:
  7547. description: 冻结数量 - 按单平使用
  7548. type: integer
  7549. goodsid:
  7550. description: 商品ID
  7551. type: integer
  7552. holderamount:
  7553. description: 持仓金额 [商品币种]
  7554. type: number
  7555. holderdays:
  7556. description: 剩余冻结天数
  7557. type: integer
  7558. holderprice:
  7559. description: 持仓价格
  7560. type: number
  7561. holderqty:
  7562. description: 持仓数量
  7563. type: integer
  7564. marketid:
  7565. description: 市场ID
  7566. type: integer
  7567. openprice:
  7568. description: 建仓价格
  7569. type: number
  7570. openqty:
  7571. description: 建仓数量
  7572. type: integer
  7573. parentaccountid:
  7574. description: 所属母账户
  7575. type: integer
  7576. releaseamount:
  7577. description: 释放持仓金额[商品币种]
  7578. type: number
  7579. tradeamount:
  7580. description: 成交金额[账户]
  7581. type: number
  7582. tradedate:
  7583. description: 交易日(yyyyMMdd)
  7584. type: string
  7585. tradeid:
  7586. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7587. type: string
  7588. tradetime:
  7589. description: 交易时间
  7590. type: string
  7591. required:
  7592. - buyorsell
  7593. - tradeid
  7594. type: object
  7595. models.Hedgemarketopenlog:
  7596. properties:
  7597. accountid:
  7598. description: 资金账号[外部母账户]
  7599. type: integer
  7600. fcname:
  7601. description: 期货公司名称
  7602. type: string
  7603. handlestatus:
  7604. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7605. type: integer
  7606. marketid:
  7607. description: 市场ID
  7608. type: integer
  7609. status:
  7610. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7611. type: integer
  7612. tradedate:
  7613. description: 交易日(yyyyMMdd)
  7614. type: string
  7615. updatetime:
  7616. description: 更新时间
  7617. type: string
  7618. required:
  7619. - accountid
  7620. type: object
  7621. models.HsbyBuyMyPayOrder:
  7622. properties:
  7623. agreeunit:
  7624. description: 合约单位
  7625. type: number
  7626. buyaccountid:
  7627. description: 买方账号ID[报价币种]
  7628. type: integer
  7629. buyorderid:
  7630. description: 买方委托单号
  7631. type: string
  7632. createtime:
  7633. description: 创建时间
  7634. type: string
  7635. currencysign:
  7636. description: 货币符号
  7637. type: string
  7638. decimalplace:
  7639. description: 报价小数位
  7640. type: integer
  7641. goodscode:
  7642. description: 商品代码(内部)
  7643. type: string
  7644. goodsid:
  7645. description: 商品ID
  7646. type: integer
  7647. goodsname:
  7648. description: 商品名称
  7649. type: string
  7650. marketid:
  7651. description: 市场ID
  7652. type: integer
  7653. offamount:
  7654. description: 优惠金额
  7655. type: number
  7656. originalamount:
  7657. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7658. type: number
  7659. payamount:
  7660. description: 支付金额 = TradeAmount + TradeCharge
  7661. type: number
  7662. payflag:
  7663. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7664. type: integer
  7665. paylimitedtime:
  7666. description: 支付期限
  7667. type: string
  7668. paytime:
  7669. description: 付款时间
  7670. type: string
  7671. picurls1:
  7672. description: 预售商品介绍图片[多张用逗号分隔]
  7673. type: string
  7674. picurls2:
  7675. description: 挂牌商品介绍图片[多张用逗号分隔]
  7676. type: string
  7677. sellaccountid:
  7678. description: 卖方账号ID[报价币种]
  7679. type: integer
  7680. sellorderid:
  7681. description: 卖方委托单号
  7682. type: string
  7683. tradeamount:
  7684. description: 成交金额
  7685. type: number
  7686. tradecharge:
  7687. description: 成交手续费(买方)
  7688. type: number
  7689. tradedate:
  7690. description: 交易日(yyyyMMdd)
  7691. type: string
  7692. tradeid:
  7693. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7694. type: string
  7695. trademode:
  7696. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7697. 21:竞拍-大宗式 22:受托竞价
  7698. type: integer
  7699. tradeprice:
  7700. description: 成交价格
  7701. type: number
  7702. tradeqty:
  7703. description: 成交数量
  7704. type: integer
  7705. vendorname1:
  7706. description: 预售商品供应商名称
  7707. type: string
  7708. vendorname2:
  7709. description: 挂牌商品供应商名称
  7710. type: string
  7711. required:
  7712. - goodscode
  7713. - goodsname
  7714. - tradeid
  7715. - trademode
  7716. type: object
  7717. models.HsbyBuyMyTradeDetail:
  7718. properties:
  7719. accountid:
  7720. description: 账户ID[报价币种]
  7721. type: integer
  7722. agreeunit:
  7723. description: 合约单位
  7724. type: number
  7725. amount:
  7726. description: 金额 = 价格 * 数量 * 合约单位
  7727. type: number
  7728. buyorsell:
  7729. description: 买卖 - 0:买 1:卖
  7730. type: integer
  7731. currencysign:
  7732. description: 货币符号
  7733. type: string
  7734. decimalplace:
  7735. description: 报价小数位
  7736. type: integer
  7737. goodscode:
  7738. description: 商品代码(内部)
  7739. type: string
  7740. goodsid:
  7741. description: 商品ID
  7742. type: integer
  7743. goodsname:
  7744. description: 商品名称
  7745. type: string
  7746. marketid:
  7747. description: 市场ID
  7748. type: integer
  7749. orderamount:
  7750. description: 委托金额
  7751. type: number
  7752. orderid:
  7753. description: 单号(成交单号)
  7754. type: string
  7755. picurls1:
  7756. description: 预售商品介绍图片[多张用逗号分隔]
  7757. type: string
  7758. picurls2:
  7759. description: 挂牌商品介绍图片[多张用逗号分隔]
  7760. type: string
  7761. price:
  7762. description: 价格
  7763. type: number
  7764. qty:
  7765. description: 数量
  7766. type: integer
  7767. time:
  7768. description: 时间
  7769. type: string
  7770. trademode:
  7771. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7772. 21:竞拍-大宗式 22:受托竞价
  7773. type: integer
  7774. vendorname1:
  7775. description: 预售商品供应商名称
  7776. type: string
  7777. vendorname2:
  7778. description: 挂牌商品供应商名称
  7779. type: string
  7780. required:
  7781. - accountid
  7782. - buyorsell
  7783. - goodscode
  7784. - goodsid
  7785. - goodsname
  7786. - marketid
  7787. - orderid
  7788. - qty
  7789. - time
  7790. - trademode
  7791. type: object
  7792. models.HsbyGoodsOrderDetail:
  7793. properties:
  7794. buyorsell:
  7795. description: 买卖 - 0:买 1:卖
  7796. type: integer
  7797. currencysign:
  7798. description: 货币符号
  7799. type: string
  7800. customername:
  7801. description: 客户名称(企业名称),已脱敏
  7802. type: string
  7803. enableqty:
  7804. description: 可用数量
  7805. type: integer
  7806. goodunit:
  7807. description: 报价单位
  7808. type: string
  7809. orderid:
  7810. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7811. type: string
  7812. orderprice:
  7813. description: 委托价格
  7814. type: number
  7815. ordertime:
  7816. description: 委托时间
  7817. type: string
  7818. required:
  7819. - buyorsell
  7820. - orderid
  7821. - ordertime
  7822. type: object
  7823. models.HsbyListingGoodsDetail:
  7824. properties:
  7825. agreeunit:
  7826. description: 合约单位
  7827. type: number
  7828. buymaxqty:
  7829. description: 购买上限 [71] - 0为不限
  7830. type: integer
  7831. currency:
  7832. description: 货币
  7833. type: string
  7834. currencysign:
  7835. description: 货币符号
  7836. type: string
  7837. decimalplace:
  7838. description: 报价小数位
  7839. type: integer
  7840. desccityid:
  7841. description: 目的地(市)ID
  7842. type: integer
  7843. descprovinceid:
  7844. description: 目的地(省)ID
  7845. type: integer
  7846. goodscode:
  7847. description: 商品代码(内部)
  7848. type: string
  7849. goodsdesc:
  7850. description: 商品详情
  7851. type: string
  7852. goodsid:
  7853. description: 商品ID(自增ID SEQ_GOODS)
  7854. type: integer
  7855. goodsname:
  7856. description: 商品名称
  7857. type: string
  7858. goodsprice:
  7859. description: 商品价格
  7860. type: number
  7861. hotindex:
  7862. description: 景点热度
  7863. type: integer
  7864. last:
  7865. description: 现价
  7866. type: number
  7867. limitdown:
  7868. description: 跌停价
  7869. type: number
  7870. limitup:
  7871. description: 涨停价
  7872. type: number
  7873. lotsize:
  7874. description: 手数最小变动单位
  7875. type: integer
  7876. marketid:
  7877. description: 所属市场ID
  7878. type: integer
  7879. picurls:
  7880. description: 介绍图片[多张用逗号分隔]
  7881. type: string
  7882. quoteminunit:
  7883. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7884. type: integer
  7885. stepvalue:
  7886. description: 价格最小变动单位
  7887. type: number
  7888. trademode:
  7889. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7890. 21:竞拍-大宗式 22:受托竞价
  7891. type: integer
  7892. vendorattr:
  7893. description: 供应商附件(多张,逗号分隔)
  7894. type: string
  7895. vendorname:
  7896. description: 供应商名称
  7897. type: string
  7898. vendorphone:
  7899. description: 供应商客服电话
  7900. type: string
  7901. videourls:
  7902. description: 介绍视频[多张用逗号分隔]
  7903. type: string
  7904. required:
  7905. - goodscode
  7906. - goodsid
  7907. - goodsname
  7908. - marketid
  7909. - trademode
  7910. type: object
  7911. models.HsbyMarketGoods:
  7912. properties:
  7913. accountid:
  7914. description: 账户ID[报价币种]
  7915. type: integer
  7916. agreeunit:
  7917. description: 合约单位
  7918. type: number
  7919. buyorsell:
  7920. description: 买卖 - 0:买 1:卖
  7921. type: integer
  7922. categoryid:
  7923. description: 类别ID(WRCATEGORY)
  7924. type: integer
  7925. currency:
  7926. description: 货币
  7927. type: string
  7928. currencysign:
  7929. description: 货币符号
  7930. type: string
  7931. customername:
  7932. description: 卖家名称
  7933. type: string
  7934. decimalplace:
  7935. description: 报价小数位
  7936. type: integer
  7937. goodscode:
  7938. description: 商品代码(内部)
  7939. type: string
  7940. goodsid:
  7941. description: 商品ID
  7942. type: integer
  7943. goodsname:
  7944. description: 商品名称
  7945. type: string
  7946. goodsprice:
  7947. description: 商品价格
  7948. type: number
  7949. hascoupon:
  7950. description: 是否可用优惠卷
  7951. type: boolean
  7952. hotindex:
  7953. description: 景点热度
  7954. type: integer
  7955. marketid:
  7956. description: 市场ID
  7957. type: integer
  7958. orderid:
  7959. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7960. type: string
  7961. orderprice:
  7962. description: 委托价格
  7963. type: number
  7964. orderstatus:
  7965. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7966. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7967. 16:成交失败违约(荷兰式竞拍专用)
  7968. type: integer
  7969. picurls:
  7970. description: 介绍图片[多张用逗号分隔]
  7971. type: string
  7972. quoteminunit:
  7973. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7974. type: integer
  7975. sellUserID:
  7976. description: 卖方UserID
  7977. type: integer
  7978. trademode:
  7979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7980. 21:竞拍-大宗式 22:受托竞价
  7981. type: integer
  7982. videourls:
  7983. description: 介绍视频[多张用逗号分隔]
  7984. type: string
  7985. required:
  7986. - accountid
  7987. - buyorsell
  7988. - goodscode
  7989. - goodsid
  7990. - goodsname
  7991. - marketid
  7992. - orderid
  7993. - trademode
  7994. type: object
  7995. models.HsbyMarketGoodsDetail:
  7996. properties:
  7997. accountid:
  7998. description: 账户ID[报价币种]
  7999. type: integer
  8000. agreeunit:
  8001. description: 合约单位
  8002. type: number
  8003. buymaxqty:
  8004. description: 购买上限 [71] - 0为不限
  8005. type: integer
  8006. buyorsell:
  8007. description: 买卖 - 0:买 1:卖
  8008. type: integer
  8009. cancelqty:
  8010. description: 撤单数量
  8011. type: integer
  8012. categoryid:
  8013. description: 类别ID(WRCATEGORY)
  8014. type: integer
  8015. currency:
  8016. description: 货币
  8017. type: string
  8018. currencysign:
  8019. description: 货币符号
  8020. type: string
  8021. customername:
  8022. description: 卖家名称
  8023. type: string
  8024. decimalplace:
  8025. description: 报价小数位
  8026. type: integer
  8027. goodscode:
  8028. description: 商品代码(内部)
  8029. type: string
  8030. goodsdesc:
  8031. description: 商品详情
  8032. type: string
  8033. goodsid:
  8034. description: 商品ID
  8035. type: integer
  8036. goodsname:
  8037. description: 商品名称
  8038. type: string
  8039. goodsprice:
  8040. description: 商品价格
  8041. type: number
  8042. hotindex:
  8043. description: 景点热度
  8044. type: integer
  8045. lotsize:
  8046. description: 手数最小变动单位
  8047. type: integer
  8048. marketid:
  8049. description: 市场ID
  8050. type: integer
  8051. orderid:
  8052. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8053. type: string
  8054. orderprice:
  8055. description: 委托价格
  8056. type: number
  8057. orderqty:
  8058. description: 委托数量
  8059. type: integer
  8060. orderstatus:
  8061. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8062. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8063. 16:成交失败违约(荷兰式竞拍专用)
  8064. type: integer
  8065. picurls:
  8066. description: 介绍图片[多张用逗号分隔]
  8067. type: string
  8068. quoteminunit:
  8069. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8070. type: integer
  8071. sellUserID:
  8072. description: 卖方UserID
  8073. type: integer
  8074. trademode:
  8075. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8076. 21:竞拍-大宗式 22:受托竞价
  8077. type: integer
  8078. tradeqty:
  8079. description: 成交数量
  8080. type: integer
  8081. vendorattr:
  8082. description: 供应商附件(多张,逗号分隔)
  8083. type: string
  8084. vendorname:
  8085. description: 供应商名称
  8086. type: string
  8087. vendorphone:
  8088. description: 供应商客服电话
  8089. type: string
  8090. videourls:
  8091. description: 介绍视频[多张用逗号分隔]
  8092. type: string
  8093. required:
  8094. - accountid
  8095. - buyorsell
  8096. - goodscode
  8097. - goodsid
  8098. - goodsname
  8099. - marketid
  8100. - orderid
  8101. - orderqty
  8102. - trademode
  8103. type: object
  8104. models.HsbyMarketInfo:
  8105. properties:
  8106. marketid:
  8107. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8108. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8109. type: integer
  8110. marketname:
  8111. description: 市场名称
  8112. type: string
  8113. marketstatus:
  8114. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8115. type: integer
  8116. trademode:
  8117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8118. 21:竞拍-大宗式 22:受托竞价
  8119. type: integer
  8120. required:
  8121. - marketid
  8122. - marketstatus
  8123. - trademode
  8124. type: object
  8125. models.HsbyMyGoods:
  8126. properties:
  8127. accountid:
  8128. description: 账号Id
  8129. type: integer
  8130. agreeunit:
  8131. description: 合约单位
  8132. type: number
  8133. buyaverageprice:
  8134. description: 持仓均价
  8135. type: number
  8136. buycurholderamount:
  8137. description: 买当前持仓总金额[商品币种]
  8138. type: number
  8139. buycurpositionqty:
  8140. description: 买当前持仓总数量
  8141. type: integer
  8142. buymaxqty:
  8143. description: 购买上限 [71] - 0为不限
  8144. type: integer
  8145. currencysign:
  8146. description: 货币符号
  8147. type: string
  8148. decimalplace:
  8149. description: 报价小数位
  8150. type: integer
  8151. enableqty:
  8152. description: 可用数量
  8153. type: integer
  8154. goodscode:
  8155. description: 商品代码(内部)
  8156. type: string
  8157. goodsid:
  8158. description: 商品Id
  8159. type: integer
  8160. goodsname:
  8161. description: 商品名称
  8162. type: string
  8163. goodsprice:
  8164. description: 商品价格
  8165. type: number
  8166. goodsstatus:
  8167. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8168. type: integer
  8169. last:
  8170. description: 现价(仅使用于挂牌点选)
  8171. type: number
  8172. limitdown:
  8173. description: 跌停价(仅使用于挂牌点选)
  8174. type: number
  8175. limitup:
  8176. description: 涨停价(仅使用于挂牌点选)
  8177. type: number
  8178. lotsize:
  8179. description: 手数最小变动单位
  8180. type: integer
  8181. marketid:
  8182. description: 所属市场ID
  8183. type: integer
  8184. picurls:
  8185. description: 介绍图片[多张用逗号分隔]
  8186. type: string
  8187. quoteminunit:
  8188. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8189. type: integer
  8190. stepvalue:
  8191. description: 价格最小变动单位
  8192. type: number
  8193. trademode:
  8194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8195. 21:竞拍-大宗式 22:受托竞价
  8196. type: integer
  8197. required:
  8198. - accountid
  8199. - goodscode
  8200. - goodsid
  8201. - goodsname
  8202. - marketid
  8203. - trademode
  8204. type: object
  8205. models.HsbyMyPackage:
  8206. properties:
  8207. accountid:
  8208. description: 账户ID
  8209. type: integer
  8210. address:
  8211. description: 提货人详细地址
  8212. type: string
  8213. agreeunit:
  8214. description: 合约单位
  8215. type: number
  8216. amount:
  8217. description: 提货金额
  8218. type: number
  8219. auditer:
  8220. description: 审核人
  8221. type: integer
  8222. audittime:
  8223. description: 审核时间
  8224. type: string
  8225. averageprice:
  8226. description: 均价
  8227. type: number
  8228. cardnum:
  8229. description: 提货人证件号码
  8230. type: string
  8231. cardtypeid:
  8232. description: 提货人证件类型
  8233. type: integer
  8234. checkremark:
  8235. description: 审核备注
  8236. type: string
  8237. currencysign:
  8238. description: 货币符号
  8239. type: string
  8240. decimalplace:
  8241. description: 报价小数位
  8242. type: integer
  8243. goodscode:
  8244. description: 商品代码(内部)
  8245. type: string
  8246. goodsid:
  8247. description: 商品ID
  8248. type: integer
  8249. goodsname:
  8250. description: 商品名称
  8251. type: string
  8252. handlestatus:
  8253. description: 处理状态
  8254. type: integer
  8255. marketid:
  8256. description: 市场ID
  8257. type: integer
  8258. phonenum:
  8259. description: 提货人联系方式
  8260. type: string
  8261. picurls:
  8262. description: 介绍图片[多张用逗号分隔]
  8263. type: string
  8264. qty:
  8265. description: 提货数量
  8266. type: number
  8267. recivername:
  8268. description: 提货人姓名
  8269. type: string
  8270. reqtime:
  8271. description: 更新时间
  8272. type: string
  8273. takemode:
  8274. description: 提货方式 - 2:自提 3:配送
  8275. type: integer
  8276. takeorderid:
  8277. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8278. type: string
  8279. takeorderstatus:
  8280. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8281. type: integer
  8282. takeremark:
  8283. description: 提货备注
  8284. type: string
  8285. tradedate:
  8286. description: 交易日(yyyyMMdd)
  8287. type: string
  8288. trademode:
  8289. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8290. 21:竞拍-大宗式 22:受托竞价
  8291. type: integer
  8292. userid:
  8293. description: 用户ID
  8294. type: integer
  8295. vendorname:
  8296. description: 供应商名称
  8297. type: string
  8298. required:
  8299. - goodscode
  8300. - goodsname
  8301. - takeorderid
  8302. - trademode
  8303. type: object
  8304. models.HsbyPreGoods:
  8305. properties:
  8306. agreeunit:
  8307. description: 合约单位
  8308. type: number
  8309. currency:
  8310. description: 货币
  8311. type: string
  8312. currencysign:
  8313. description: 货币符号
  8314. type: string
  8315. decimalplace:
  8316. description: 报价小数位
  8317. type: integer
  8318. desccityid:
  8319. description: 目的地(市)
  8320. type: integer
  8321. descprovinceid:
  8322. description: 目的地(省)
  8323. type: integer
  8324. enableqty:
  8325. description: 剩余数量
  8326. type: integer
  8327. goodscode:
  8328. description: 商品代码(内部)
  8329. type: string
  8330. goodsid:
  8331. description: 商品ID(自增ID SEQ_GOODS)
  8332. type: integer
  8333. goodsname:
  8334. description: 商品名称
  8335. type: string
  8336. goodsstatus:
  8337. description: 商品状态- 2:未上市 3:上市
  8338. type: integer
  8339. lasttradedate:
  8340. description: 最后交易日期(状态:待退市)
  8341. type: string
  8342. listingdate:
  8343. description: 交易开始日期
  8344. type: string
  8345. marketid:
  8346. description: 所属市场ID
  8347. type: integer
  8348. picurls:
  8349. description: 介绍图片[多张用逗号分隔]
  8350. type: string
  8351. presaledqty:
  8352. description: 已预售量(预售结束时更新)
  8353. type: integer
  8354. presaleqty:
  8355. description: 预售数量
  8356. type: integer
  8357. quoteminunit:
  8358. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8359. type: integer
  8360. refprice:
  8361. description: 参考价格[一口价]
  8362. type: number
  8363. relatedgoodsid:
  8364. description: 关联交易合约ID
  8365. type: integer
  8366. trademode:
  8367. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8368. 21:竞拍-大宗式 22:受托竞价
  8369. type: integer
  8370. videourls:
  8371. description: 介绍视频[多张用逗号分隔]
  8372. type: string
  8373. required:
  8374. - goodscode
  8375. - goodsid
  8376. - goodsname
  8377. - marketid
  8378. - trademode
  8379. type: object
  8380. models.HsbyPreGoodsDetail:
  8381. properties:
  8382. agreeunit:
  8383. description: 合约单位
  8384. type: number
  8385. buymaxqty:
  8386. description: 购买上限 [71] - 0为不限
  8387. type: integer
  8388. currency:
  8389. description: 货币
  8390. type: string
  8391. currencysign:
  8392. description: 货币符号
  8393. type: string
  8394. customername:
  8395. description: 发行单位
  8396. type: string
  8397. decimalplace:
  8398. description: 报价小数位
  8399. type: integer
  8400. desccityid:
  8401. description: 目的地(市)ID
  8402. type: integer
  8403. descprovinceid:
  8404. description: 目的地(省)ID
  8405. type: integer
  8406. enableqty:
  8407. description: 剩余数量
  8408. type: integer
  8409. goodscode:
  8410. description: 商品代码(内部)
  8411. type: string
  8412. goodsdesc:
  8413. description: 商品详情
  8414. type: string
  8415. goodsid:
  8416. description: 商品ID(自增ID SEQ_GOODS)
  8417. type: integer
  8418. goodsname:
  8419. description: 商品名称
  8420. type: string
  8421. goodsstatus:
  8422. description: 商品状态- 2:未上市 3:上市
  8423. type: integer
  8424. goodunit:
  8425. description: 报价单位
  8426. type: string
  8427. lasttradedate:
  8428. description: 最后交易日期(状态:待退市)
  8429. type: string
  8430. listingdate:
  8431. description: 交易开始日期
  8432. type: string
  8433. lotsize:
  8434. description: 手数最小变动单位
  8435. type: integer
  8436. marketid:
  8437. description: 所属市场ID
  8438. type: integer
  8439. picurls:
  8440. description: 介绍图片[多张用逗号分隔]
  8441. type: string
  8442. presaledqty:
  8443. description: 已预售量(预售结束时更新)
  8444. type: integer
  8445. presaleqty:
  8446. description: 预售数量
  8447. type: integer
  8448. quoteminunit:
  8449. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8450. type: integer
  8451. refprice:
  8452. description: 参考价格[一口价]
  8453. type: number
  8454. relatedgoodsid:
  8455. description: 关联交易合约ID
  8456. type: integer
  8457. stepvalue:
  8458. description: 价格最小变动单位
  8459. type: number
  8460. trademode:
  8461. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8462. 21:竞拍-大宗式 22:受托竞价
  8463. type: integer
  8464. vendorattr:
  8465. description: 供应商附件(多张,逗号分隔)
  8466. type: string
  8467. vendorname:
  8468. description: 供应商名称
  8469. type: string
  8470. vendorphone:
  8471. description: 供应商客服电话
  8472. type: string
  8473. videourls:
  8474. description: 介绍视频[多张用逗号分隔]
  8475. type: string
  8476. required:
  8477. - goodscode
  8478. - goodsid
  8479. - goodsname
  8480. - marketid
  8481. - trademode
  8482. type: object
  8483. models.HsbySellCollectionOrder:
  8484. properties:
  8485. agreeunit:
  8486. description: 合约单位
  8487. type: number
  8488. buyaccountid:
  8489. description: 买方账号ID[报价币种]
  8490. type: integer
  8491. buyorderid:
  8492. description: 买方委托单号
  8493. type: string
  8494. createtime:
  8495. description: 创建时间
  8496. type: string
  8497. currencysign:
  8498. description: 货币符号
  8499. type: string
  8500. decimalplace:
  8501. description: 报价小数位
  8502. type: integer
  8503. goodscode:
  8504. description: 商品代码(内部)
  8505. type: string
  8506. goodsid:
  8507. description: 商品ID
  8508. type: integer
  8509. goodsname:
  8510. description: 商品名称
  8511. type: string
  8512. marketid:
  8513. description: 市场ID
  8514. type: integer
  8515. offamount:
  8516. description: 优惠金额
  8517. type: number
  8518. payamount:
  8519. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8520. type: number
  8521. payflag:
  8522. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8523. type: integer
  8524. paylimitedtime:
  8525. description: 支付期限
  8526. type: string
  8527. paytime:
  8528. description: 付款时间
  8529. type: string
  8530. picurls:
  8531. description: 商品介绍图片[多张用逗号分隔]
  8532. type: string
  8533. sellaccountid:
  8534. description: 卖方账号ID[报价币种]
  8535. type: integer
  8536. sellorderid:
  8537. description: 卖方委托单号
  8538. type: string
  8539. tradeamount:
  8540. description: 成交金额
  8541. type: number
  8542. tradecharge:
  8543. description: 成交手续费(买方)
  8544. type: number
  8545. tradedate:
  8546. description: 交易日(yyyyMMdd)
  8547. type: string
  8548. tradeid:
  8549. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8550. type: string
  8551. trademode:
  8552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8553. 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. tradeprice:
  8556. description: 成交价格
  8557. type: number
  8558. tradeqty:
  8559. description: 成交数量
  8560. type: integer
  8561. required:
  8562. - goodscode
  8563. - goodsname
  8564. - tradeid
  8565. - trademode
  8566. type: object
  8567. models.HsbySellMyDetail:
  8568. properties:
  8569. accountid:
  8570. description: 账户ID[报价币种]
  8571. type: integer
  8572. agreeunit:
  8573. description: 合约单位
  8574. type: number
  8575. buyorsell:
  8576. description: 买卖 - 0:买 1:卖
  8577. type: integer
  8578. currencysign:
  8579. description: 货币符号
  8580. type: string
  8581. decimalplace:
  8582. description: 报价小数位
  8583. type: integer
  8584. goodscode:
  8585. description: 商品代码(内部)
  8586. type: string
  8587. goodsid:
  8588. description: 商品ID
  8589. type: integer
  8590. goodsname:
  8591. description: 商品名称
  8592. type: string
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. orderid:
  8597. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8598. type: string
  8599. ordertype:
  8600. description: 单据类型:0 - 发布中, 1 - 已完成
  8601. type: integer
  8602. picurls:
  8603. description: 介绍图片[多张用逗号分隔]
  8604. type: string
  8605. price:
  8606. description: 价格
  8607. type: number
  8608. qty:
  8609. description: 数量
  8610. type: integer
  8611. time:
  8612. description: 时间
  8613. type: string
  8614. trademode:
  8615. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8616. 21:竞拍-大宗式 22:受托竞价
  8617. type: integer
  8618. vendorname:
  8619. description: 供应商名称
  8620. type: string
  8621. required:
  8622. - accountid
  8623. - buyorsell
  8624. - goodscode
  8625. - goodsid
  8626. - goodsname
  8627. - marketid
  8628. - orderid
  8629. - time
  8630. - trademode
  8631. type: object
  8632. models.HsbyTopGoods:
  8633. properties:
  8634. agreeunit:
  8635. description: 合约单位
  8636. type: number
  8637. currency:
  8638. description: 货币
  8639. type: string
  8640. currencysign:
  8641. description: 货币符号
  8642. type: string
  8643. decimalplace:
  8644. description: 报价小数位
  8645. type: integer
  8646. desccityid:
  8647. description: 目的地(市)
  8648. type: integer
  8649. descprovinceid:
  8650. description: 目的地(省)
  8651. type: integer
  8652. goodscode:
  8653. description: 商品代码(内部)
  8654. type: string
  8655. goodsid:
  8656. description: 商品ID(自增ID SEQ_GOODS)
  8657. type: integer
  8658. goodsname:
  8659. description: 商品名称
  8660. type: string
  8661. hotindex:
  8662. description: 景点热度
  8663. type: integer
  8664. last:
  8665. description: 现价
  8666. type: number
  8667. marketid:
  8668. description: 所属市场ID
  8669. type: integer
  8670. picurls:
  8671. description: 介绍图片[多张用逗号分隔]
  8672. type: string
  8673. quoteminunit:
  8674. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8675. type: integer
  8676. trademode:
  8677. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8678. 21:竞拍-大宗式 22:受托竞价
  8679. type: integer
  8680. videourls:
  8681. description: 介绍视频[多张用逗号分隔]
  8682. type: string
  8683. required:
  8684. - goodscode
  8685. - goodsid
  8686. - goodsname
  8687. - marketid
  8688. - trademode
  8689. type: object
  8690. models.HybsMyBuyOrderDetail:
  8691. properties:
  8692. accountid:
  8693. description: 账户ID[报价币种]
  8694. type: integer
  8695. agreeunit:
  8696. description: 合约单位
  8697. type: number
  8698. buyorsell:
  8699. description: 买卖 - 0:买 1:卖
  8700. type: integer
  8701. cancelqty:
  8702. description: 撤单数量
  8703. type: integer
  8704. currencysign:
  8705. description: 货币符号
  8706. type: string
  8707. decimalplace:
  8708. description: 报价小数位
  8709. type: integer
  8710. goodscode:
  8711. description: 商品代码(内部)
  8712. type: string
  8713. goodsid:
  8714. description: 商品ID
  8715. type: integer
  8716. goodsname:
  8717. description: 商品名称
  8718. type: string
  8719. listingselecttype:
  8720. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8721. type: integer
  8722. marketid:
  8723. description: 市场ID
  8724. type: integer
  8725. mybuystatus:
  8726. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8727. type: integer
  8728. orderamount:
  8729. description: 委托金额
  8730. type: number
  8731. orderid:
  8732. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8733. type: string
  8734. orderprice:
  8735. description: 委托价格
  8736. type: number
  8737. orderqty:
  8738. description: 委托数量
  8739. type: integer
  8740. orderstatus:
  8741. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8742. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8743. 16:成交失败违约(荷兰式竞拍专用)
  8744. type: integer
  8745. ordertime:
  8746. description: 委托时间
  8747. type: string
  8748. picurls1:
  8749. description: 预售商品介绍图片[多张用逗号分隔]
  8750. type: string
  8751. picurls2:
  8752. description: 挂牌商品介绍图片[多张用逗号分隔]
  8753. type: string
  8754. trademode:
  8755. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8756. 21:竞拍-大宗式 22:受托竞价
  8757. type: integer
  8758. tradeqty:
  8759. description: 成交数量
  8760. type: integer
  8761. vendorname1:
  8762. description: 预售商品供应商名称
  8763. type: string
  8764. vendorname2:
  8765. description: 挂牌商品供应商名称
  8766. type: string
  8767. required:
  8768. - accountid
  8769. - buyorsell
  8770. - goodscode
  8771. - goodsid
  8772. - goodsname
  8773. - marketid
  8774. - orderid
  8775. - orderqty
  8776. - ordertime
  8777. - trademode
  8778. type: object
  8779. models.Loginaccount:
  8780. properties:
  8781. canoutin:
  8782. description: 是否可出入金 - 0:不可 1:可
  8783. type: integer
  8784. clientroleid:
  8785. description: 终端角色ID
  8786. type: integer
  8787. haslogined:
  8788. description: 是否已登录 - 0:未登录 1:已登录
  8789. type: integer
  8790. hasupdatedpwd:
  8791. description: 是否已更改密码 - 0:未修改 1:已修改
  8792. type: integer
  8793. lastloginip:
  8794. description: 最新登录地址
  8795. type: string
  8796. lastloginmode:
  8797. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8798. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8799. type: integer
  8800. lastloginremark:
  8801. description: 最新登录描述
  8802. type: string
  8803. lastlogintime:
  8804. description: 最新登录时间
  8805. type: string
  8806. logincode:
  8807. description: 登录代码
  8808. type: string
  8809. loginfailnum:
  8810. description: 连续登录失败次数(登录成功时清零)
  8811. type: integer
  8812. loginid:
  8813. description: 登陆账号
  8814. type: integer
  8815. loginport:
  8816. description: 最新登录端口
  8817. type: integer
  8818. loginstatus:
  8819. description: 登录账号状态 1:正常 2:冻结 3:无效
  8820. type: integer
  8821. loginusertype:
  8822. description: 登录账号类型 - 1:投资者 2:机构交易员
  8823. type: integer
  8824. modifierid:
  8825. description: 修改人
  8826. type: integer
  8827. modifytime:
  8828. description: 修改时间
  8829. type: string
  8830. pwdwrongcount:
  8831. description: 密码错误次数
  8832. type: integer
  8833. taaccountrighttype:
  8834. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8835. type: integer
  8836. unfreezetime:
  8837. description: 账户解冻时间
  8838. type: string
  8839. userid:
  8840. description: 用户ID
  8841. type: integer
  8842. required:
  8843. - loginid
  8844. type: object
  8845. models.MainAccountInfo:
  8846. properties:
  8847. accountid:
  8848. description: 账号id
  8849. type: integer
  8850. accountname:
  8851. description: 账号名称(taaccount表中的名称)
  8852. type: string
  8853. appid:
  8854. description: AppID
  8855. type: string
  8856. authcode:
  8857. description: 授权码
  8858. type: string
  8859. brokerid:
  8860. description: 经纪商id
  8861. type: string
  8862. fcid:
  8863. description: 期货公司id
  8864. type: integer
  8865. fcname:
  8866. description: 期货公司代码
  8867. type: string
  8868. hedgeaccountcode:
  8869. description: 外部账号代码(主账号登录代码)
  8870. type: string
  8871. hedgeaccountpwd:
  8872. description: 密码
  8873. type: string
  8874. ismain:
  8875. description: 是否主账号
  8876. type: integer
  8877. relateduserid:
  8878. description: 关联用户id
  8879. type: integer
  8880. userid:
  8881. description: 关联用户id
  8882. type: integer
  8883. type: object
  8884. models.Market:
  8885. properties:
  8886. auctionwrtype:
  8887. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8888. type: integer
  8889. canacceptquote:
  8890. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8891. type: integer
  8892. cangoodsexercise:
  8893. description: '[期权]是否可现货行权- 0:否 1:是'
  8894. type: integer
  8895. cangoodsexercisetype:
  8896. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8897. type: integer
  8898. canmanualquotestrike:
  8899. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8900. type: integer
  8901. canmutistage:
  8902. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8903. type: integer
  8904. canpreexercise:
  8905. description: '[期权]是否可预申报- 0:否 1:是'
  8906. type: integer
  8907. clearinterval:
  8908. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8909. type: integer
  8910. contracttmp:
  8911. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8912. type: string
  8913. exchareaid:
  8914. description: 所属交易所,可以没有
  8915. type: integer
  8916. goodstype:
  8917. description: 商品类型 - 1:交易商品 2:仓单商品
  8918. type: integer
  8919. hasrebate:
  8920. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8921. type: integer
  8922. hastradecredit:
  8923. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8924. type: integer
  8925. haswr:
  8926. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8927. type: integer
  8928. isdeductmargin:
  8929. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8930. type: integer
  8931. isrecordsource:
  8932. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8933. type: integer
  8934. isreleasemargin:
  8935. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8936. type: integer
  8937. marginformula:
  8938. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8939. type: integer
  8940. marginformula2:
  8941. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8942. type: integer
  8943. marketid:
  8944. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8945. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8946. type: integer
  8947. marketname:
  8948. description: 市场名称
  8949. type: string
  8950. marketserviceid:
  8951. description: 市场服务ID
  8952. type: integer
  8953. marketstatus:
  8954. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8955. type: integer
  8956. markettype:
  8957. description: 市场类型- 1:非交易服务 2:交易服务
  8958. type: integer
  8959. matchermode:
  8960. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8961. type: integer
  8962. openmethod:
  8963. description: 开盘模式 - 0 自动 1手动
  8964. type: integer
  8965. otcuserid:
  8966. description: 场外期权做市商[场外期权]
  8967. type: integer
  8968. outersynctime:
  8969. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8970. type: string
  8971. pendingflag:
  8972. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8973. type: integer
  8974. pendingtime:
  8975. description: 待开市时间[通道交易-对冲](HH:mm)
  8976. type: string
  8977. performancetempid:
  8978. description: 履约计划模板ID - 作废
  8979. type: integer
  8980. premiumquotemode:
  8981. description: 权利金报价方式 - 1:自动 2:手动
  8982. type: integer
  8983. rebateratio:
  8984. description: 返利比率[竞价式]
  8985. type: number
  8986. reckonorder:
  8987. description: 结算顺序
  8988. type: integer
  8989. reckonpricealgorithm:
  8990. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8991. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8992. type: integer
  8993. reckonpriceparam:
  8994. description: 结算价参数
  8995. type: integer
  8996. reckontime:
  8997. description: 结算时间[通道交易-对冲](HH:mm)
  8998. type: string
  8999. roleprioritytype:
  9000. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9001. type: integer
  9002. selllistingauditflag:
  9003. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9004. type: integer
  9005. trademarkettype:
  9006. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9007. type: integer
  9008. trademode:
  9009. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9010. 21:竞拍-大宗式 22:受托竞价
  9011. type: integer
  9012. tradeproperty:
  9013. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9014. 8:场外期权
  9015. type: integer
  9016. tradetype:
  9017. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9018. type: integer
  9019. required:
  9020. - marketid
  9021. - marketstatus
  9022. - openmethod
  9023. - reckonpricealgorithm
  9024. - trademode
  9025. - tradeproperty
  9026. type: object
  9027. models.Marketrun:
  9028. properties:
  9029. afternexttradedate:
  9030. description: 下下交易日
  9031. type: string
  9032. clearquoteflag:
  9033. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9034. type: integer
  9035. lastreckondate:
  9036. description: 最新交易日(结算成功)
  9037. type: string
  9038. machinedate:
  9039. description: 机器时间
  9040. type: string
  9041. manualflag:
  9042. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9043. type: integer
  9044. marketid:
  9045. description: 市场ID
  9046. type: integer
  9047. nexttradedate:
  9048. description: 下一交易日
  9049. type: string
  9050. pretradedate:
  9051. description: 上一交易日
  9052. type: string
  9053. reckonflag:
  9054. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9055. type: integer
  9056. runstatus:
  9057. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9058. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9059. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9060. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9061. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9062. 62.今日免清算
  9063. type: integer
  9064. sectionid:
  9065. description: 时间段号[多时段时用]
  9066. type: integer
  9067. tradedate:
  9068. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9069. type: string
  9070. tradedate2:
  9071. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9072. type: string
  9073. updatetime:
  9074. description: 更新时间
  9075. type: string
  9076. required:
  9077. - marketid
  9078. - nexttradedate
  9079. - reckonflag
  9080. - runstatus
  9081. - tradedate
  9082. - tradedate2
  9083. type: object
  9084. models.Messageboard:
  9085. properties:
  9086. contactnum:
  9087. description: 联系电话
  9088. type: string
  9089. createtime:
  9090. description: 创建时间
  9091. type: string
  9092. message:
  9093. description: 留言信息
  9094. type: string
  9095. messageboardid:
  9096. description: 留言簿ID(SEQ_MessageBoard)
  9097. type: integer
  9098. userid:
  9099. description: 用户ID
  9100. type: integer
  9101. required:
  9102. - messageboardid
  9103. type: object
  9104. models.MyCoupon:
  9105. properties:
  9106. accountid:
  9107. description: 资金账户ID
  9108. type: integer
  9109. areauserid:
  9110. description: 所属机构
  9111. type: integer
  9112. conditionvalue:
  9113. description: 条件阈值(可为0)
  9114. type: number
  9115. couponcategroy:
  9116. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9117. type: integer
  9118. couponname:
  9119. description: 优惠券名称
  9120. type: string
  9121. coupontypeid:
  9122. description: 优惠券类型ID
  9123. type: string
  9124. couponvalue:
  9125. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9126. type: number
  9127. curfreezeqty:
  9128. description: 期末冻结数量
  9129. type: integer
  9130. curqty:
  9131. description: 期末数量
  9132. type: integer
  9133. isgeneral:
  9134. description: 是否通用券 - 0:否 1:是
  9135. type: integer
  9136. isunusable:
  9137. description: 是否不可用
  9138. type: boolean
  9139. limitedflag:
  9140. description: 是否指定商品 - 0:不限 1:限制
  9141. type: integer
  9142. limitedgoodsids:
  9143. description: 指定商品IDs[逗号分隔,前后加逗号]
  9144. type: string
  9145. orifreezeqty:
  9146. description: 期初冻结数量
  9147. type: integer
  9148. oriqty:
  9149. description: 期初数量
  9150. type: integer
  9151. reasontype:
  9152. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9153. type: integer
  9154. todaydecrease:
  9155. description: 今日减少
  9156. type: integer
  9157. todayincrease:
  9158. description: 今日增加
  9159. type: integer
  9160. userid:
  9161. description: 用户ID
  9162. type: integer
  9163. userscope:
  9164. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9165. type: string
  9166. required:
  9167. - accountid
  9168. - coupontypeid
  9169. type: object
  9170. models.MyCouponHold:
  9171. properties:
  9172. accountid:
  9173. description: 资金账户ID
  9174. type: integer
  9175. conditionvalue:
  9176. description: 条件阈值(可为0)
  9177. type: number
  9178. couponcategroy:
  9179. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9180. type: integer
  9181. couponholdid:
  9182. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9183. type: string
  9184. couponname:
  9185. description: 优惠券名称
  9186. type: string
  9187. coupontypeid:
  9188. description: 优惠券类型ID - SEQ_COUPONTYPE
  9189. type: string
  9190. couponvalue:
  9191. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9192. type: number
  9193. createtime:
  9194. description: 创建时间
  9195. type: string
  9196. enddate:
  9197. description: 结束日期
  9198. type: string
  9199. giveapplyid:
  9200. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9201. type: integer
  9202. holdstatus:
  9203. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9204. type: integer
  9205. isgeneral:
  9206. description: 是否通用券 - 0:否 1:是
  9207. type: integer
  9208. limitedflag:
  9209. description: 是否指定商品 - 0:不限 1:限制
  9210. type: integer
  9211. limitedgoodsids:
  9212. description: 指定商品IDs[逗号分隔]
  9213. type: string
  9214. qty:
  9215. description: 数量(按1平铺)
  9216. type: integer
  9217. startdate:
  9218. description: 开始日期
  9219. type: string
  9220. userid:
  9221. description: 用户ID
  9222. type: integer
  9223. userscope:
  9224. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9225. type: string
  9226. required:
  9227. - couponholdid
  9228. type: object
  9229. models.MyUsedCoupon:
  9230. properties:
  9231. accountid:
  9232. description: 资金账户ID(买方)
  9233. type: integer
  9234. conditionvalue:
  9235. description: 条件阈值(可为0)
  9236. type: number
  9237. couponcategroy:
  9238. description: 种类 - 1:现金券 2:折扣券
  9239. type: integer
  9240. couponname:
  9241. description: 优惠券名称
  9242. type: string
  9243. coupontypeid:
  9244. description: 优惠券类型ID(买方)
  9245. type: string
  9246. couponvalue:
  9247. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9248. type: number
  9249. createtime:
  9250. description: 创建时间
  9251. type: string
  9252. goodsid:
  9253. description: 商品ID
  9254. type: integer
  9255. handlestatus:
  9256. description: 处理状态
  9257. type: integer
  9258. marketid:
  9259. description: 市场ID
  9260. type: integer
  9261. offamount:
  9262. description: 优惠金额
  9263. type: number
  9264. orderid:
  9265. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9266. type: string
  9267. sellaccountid:
  9268. description: 资金账户ID(卖方)
  9269. type: integer
  9270. tradeamount:
  9271. description: 成交金额
  9272. type: number
  9273. tradeid:
  9274. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9275. type: string
  9276. usedqty:
  9277. description: 使用数量
  9278. type: integer
  9279. required:
  9280. - coupontypeid
  9281. - orderid
  9282. type: object
  9283. models.OperationPrimaryMenu:
  9284. properties:
  9285. Children:
  9286. description: 二级功能菜单
  9287. items:
  9288. $ref: '#/definitions/models.OperationSecondaryMenu'
  9289. type: array
  9290. Key:
  9291. description: 菜单KEY
  9292. type: string
  9293. Label:
  9294. description: 菜单标题
  9295. type: string
  9296. type: object
  9297. models.OperationSecondaryMenu:
  9298. properties:
  9299. Key:
  9300. description: 菜单KEY
  9301. type: string
  9302. Label:
  9303. description: 菜单标题
  9304. type: string
  9305. TabList:
  9306. description: 三级功能菜单
  9307. items:
  9308. $ref: '#/definitions/models.OperationTabMenu'
  9309. type: array
  9310. type: object
  9311. models.OperationTabMenu:
  9312. properties:
  9313. Key:
  9314. description: 菜单KEY
  9315. type: string
  9316. Label:
  9317. description: 菜单标题
  9318. type: string
  9319. type: object
  9320. models.PendingAuditBizModel:
  9321. properties:
  9322. accountid:
  9323. description: 现货账户
  9324. type: string
  9325. areaname:
  9326. description: 所属部门
  9327. type: string
  9328. bizid:
  9329. description: 业务ID
  9330. type: string
  9331. bizname:
  9332. description: 业务名称
  9333. type: string
  9334. status:
  9335. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9336. type: integer
  9337. type:
  9338. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9339. type: integer
  9340. type: object
  9341. models.QhjAccountOutInApply:
  9342. properties:
  9343. accountcode:
  9344. description: 资金账号
  9345. type: string
  9346. accountname:
  9347. description: 用户名称(名称)
  9348. type: string
  9349. accountpwd:
  9350. description: 资金密码
  9351. type: string
  9352. accountticket:
  9353. description: 最新账户服务流水号
  9354. type: string
  9355. amount:
  9356. description: 金额
  9357. type: number
  9358. applyremark:
  9359. description: 申请备注
  9360. type: string
  9361. applystatus:
  9362. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9363. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9364. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9365. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9366. type: integer
  9367. auditid:
  9368. description: 审核人
  9369. type: integer
  9370. audittime:
  9371. description: 审核时间
  9372. type: string
  9373. bank_apply_ticket:
  9374. description: 银行申请流水
  9375. type: string
  9376. bankaccountname:
  9377. description: 银行账户名
  9378. type: string
  9379. bankaccountno:
  9380. description: 银行卡号
  9381. type: string
  9382. bankid:
  9383. description: 银行编号
  9384. type: string
  9385. bankticket:
  9386. description: 银行流水
  9387. type: string
  9388. branchbankid:
  9389. description: 银行支行号
  9390. type: string
  9391. branchbankname:
  9392. description: 银行支行名称
  9393. type: string
  9394. capamountout:
  9395. description: 出金(劣后本金) - 外部子账户
  9396. type: number
  9397. certificatephotourl:
  9398. description: 凭证地址
  9399. type: string
  9400. charge:
  9401. description: 手续费
  9402. type: number
  9403. checkerrorflag:
  9404. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9405. type: integer
  9406. currency:
  9407. description: 币种
  9408. type: string
  9409. cusbankid:
  9410. description: 托管银行编号
  9411. type: string
  9412. exchticket:
  9413. description: 银行服务流水号
  9414. type: string
  9415. executetype:
  9416. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9417. 7:外部子账户:入金 8:外部子账户:出金'
  9418. type: integer
  9419. extendinfo:
  9420. description: 扩展信息
  9421. type: string
  9422. extoperateid:
  9423. description: 交易服务流水号
  9424. type: integer
  9425. infamount:
  9426. description: 劣后金额(自有)
  9427. type: number
  9428. logincode:
  9429. description: 登录账号(账号)
  9430. type: string
  9431. netaddr:
  9432. description: 调转网址
  9433. type: string
  9434. priamount:
  9435. description: 优先金额(授信)
  9436. type: number
  9437. reauditid:
  9438. description: 复审人
  9439. type: integer
  9440. reauditremark:
  9441. description: 复审备注
  9442. type: string
  9443. reaudittime:
  9444. description: 复审时间
  9445. type: string
  9446. relatedorderid:
  9447. description: 三方关联ID
  9448. type: string
  9449. remark:
  9450. description: 备注
  9451. type: string
  9452. remark2:
  9453. description: 备注(失败原因)
  9454. type: string
  9455. soucreamount:
  9456. description: 原始出入金金额
  9457. type: number
  9458. soucrecurrencyid:
  9459. description: 原始出入金币种
  9460. type: integer
  9461. tradedate:
  9462. description: 交易日(yyyyMMdd)
  9463. type: string
  9464. updatetime:
  9465. description: 更新时间(申请时间)
  9466. type: string
  9467. userid:
  9468. description: 用户id
  9469. type: integer
  9470. userinfotype:
  9471. description: 账户类型 1-个人 2-企业
  9472. type: integer
  9473. type: object
  9474. models.QhjAgreementChangeLog:
  9475. properties:
  9476. agreementcontent:
  9477. description: 协议内容
  9478. type: string
  9479. agreementfrequency:
  9480. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9481. type: integer
  9482. agreementid:
  9483. description: 协议ID
  9484. type: integer
  9485. agreementname:
  9486. description: 协议名称
  9487. type: string
  9488. agreementno:
  9489. description: 协议编号
  9490. type: string
  9491. agreementtype:
  9492. description: 协议类型 - 1:注册 2:登录 3:交易
  9493. type: integer
  9494. agreementversion:
  9495. description: 协议版本号
  9496. type: integer
  9497. logid:
  9498. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9499. type: integer
  9500. reviserid:
  9501. description: 修改人
  9502. type: integer
  9503. revisersrc:
  9504. description: 修改来源 - 1:管理端 2:终端
  9505. type: integer
  9506. updatetime:
  9507. description: 更新时间
  9508. type: string
  9509. type: object
  9510. models.QhjAgreementConfig:
  9511. properties:
  9512. agreementcontent:
  9513. description: 协议内容
  9514. type: string
  9515. agreementfrequency:
  9516. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9517. type: integer
  9518. agreementid:
  9519. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9520. type: integer
  9521. agreementname:
  9522. description: 协议名称
  9523. type: string
  9524. agreementno:
  9525. description: 协议编号
  9526. type: string
  9527. agreementtype:
  9528. description: 协议类型 - 1:注册 2:登录 3:交易
  9529. type: integer
  9530. agreementversion:
  9531. description: 协议版本号(从1开始每次修改加1)
  9532. type: integer
  9533. createtime:
  9534. description: 创建时间
  9535. type: string
  9536. creatorid:
  9537. description: 创建人
  9538. type: integer
  9539. creatorsrc:
  9540. description: 创建来源 - 1:管理端 2:终端
  9541. type: integer
  9542. isvalid:
  9543. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9544. type: integer
  9545. reviserid:
  9546. description: 修改人
  9547. type: integer
  9548. revisersrc:
  9549. description: 修改来源 - 1:管理端 2:终端
  9550. type: integer
  9551. updatetime:
  9552. description: 更新时间
  9553. type: string
  9554. type: object
  9555. models.QhjAreaFinanceConfig:
  9556. properties:
  9557. additionalratio:
  9558. description: 追加款比例
  9559. type: number
  9560. advanceratio:
  9561. description: 预付款比例
  9562. type: number
  9563. alarmratio:
  9564. description: 告警比例
  9565. type: number
  9566. consumptiondirectreward:
  9567. description: 消费直推奖励值
  9568. type: number
  9569. consumptionenabled:
  9570. description: 是否启用消费奖励 - 0:不启用 1:启用
  9571. type: integer
  9572. consumptionindirectreward:
  9573. description: 消费间推奖励值
  9574. type: number
  9575. consumptionmodel:
  9576. description: 消费奖励方式 - 1:比率 2:固定
  9577. type: integer
  9578. customerservicenum:
  9579. description: 客服电话
  9580. type: string
  9581. dayinterestrate:
  9582. description: 日利率
  9583. type: number
  9584. disableconsumptiontips:
  9585. description: 关闭消费奖励提示
  9586. type: string
  9587. modifierid:
  9588. description: 修改人ID
  9589. type: integer
  9590. modifysrc:
  9591. description: 审核来源 - 1:管理端 2:终端
  9592. type: integer
  9593. modifytime:
  9594. description: 修改时间
  9595. type: string
  9596. promotionvalue:
  9597. description: 推广奖励值(固定)
  9598. type: number
  9599. scoreconfigvalue1:
  9600. description: 提货积分配置1
  9601. type: integer
  9602. scoreconfigvalue2:
  9603. description: 提货积分配置2
  9604. type: integer
  9605. userid:
  9606. description: 机构用户ID其他做市关系,都设置为 1
  9607. type: integer
  9608. username:
  9609. description: 用户名称
  9610. type: string
  9611. type: object
  9612. models.QhjBankAccountSign:
  9613. properties:
  9614. accountcode:
  9615. description: 资金账号
  9616. type: string
  9617. accountname:
  9618. description: 资金账号对应的账号名(UserName)
  9619. type: string
  9620. accountname2:
  9621. description: 资金账号对应的账号名(UserName) - 密文
  9622. type: string
  9623. accounttype:
  9624. description: 账户类型(UserType)
  9625. type: integer
  9626. applicationtime:
  9627. description: 最后一次更新的时间
  9628. type: string
  9629. applyexchticket:
  9630. description: 申请流水
  9631. type: string
  9632. auditid:
  9633. description: 审核人
  9634. type: integer
  9635. audittime:
  9636. description: 审核时间
  9637. type: string
  9638. bankaccountname:
  9639. description: 签约银行卡账号名
  9640. type: string
  9641. bankaccountname2:
  9642. description: 签约银行卡账号名 - 密文
  9643. type: string
  9644. bankaccountno:
  9645. description: 银行卡号
  9646. type: string
  9647. bankaccountno2:
  9648. description: 银行卡号 - 密文
  9649. type: string
  9650. bankaccounttype:
  9651. description: 银行账户类型 - 1-对私; 2-对公
  9652. type: integer
  9653. bankcardtype:
  9654. description: 银行卡类型
  9655. type: integer
  9656. bankchildaccount:
  9657. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9658. type: string
  9659. bankcity:
  9660. description: 开户行城市
  9661. type: string
  9662. bankid:
  9663. description: 签约银行ID
  9664. type: string
  9665. bankname:
  9666. description: 签约银行名称
  9667. type: string
  9668. bankprovince:
  9669. description: 开户行省份
  9670. type: string
  9671. branchbankid:
  9672. description: 签约银行支行号
  9673. type: string
  9674. branchbankname:
  9675. description: 签约银行支行名称
  9676. type: string
  9677. cardno:
  9678. description: 证件号码
  9679. type: string
  9680. cardno2:
  9681. description: 证件号码 - 密文
  9682. type: string
  9683. cardtype:
  9684. description: 证件类型
  9685. type: string
  9686. currency:
  9687. description: 币种
  9688. type: string
  9689. cusbankid:
  9690. description: 托管银行编号
  9691. type: string
  9692. direct:
  9693. description: 方向(可以判断那方先发起的签约)
  9694. type: integer
  9695. exchticket:
  9696. description: 最后一次签约成功的流水号
  9697. type: string
  9698. extendinfo:
  9699. description: 扩展信息(JSON字符串)
  9700. type: string
  9701. mobilephone:
  9702. description: 手机号
  9703. type: string
  9704. mobilephone2:
  9705. description: 手机号 - 密文
  9706. type: string
  9707. netaddr:
  9708. description: 调转网址
  9709. type: string
  9710. relateduserid:
  9711. description: 关联使用者userid
  9712. type: integer
  9713. signstatus:
  9714. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9715. 10:审核拒绝 11:换签待审核
  9716. type: integer
  9717. updatetime:
  9718. description: 更新时间(签解约更新时间)
  9719. type: string
  9720. type: object
  9721. models.QhjBankInfo:
  9722. properties:
  9723. bankid:
  9724. description: 银行ID
  9725. type: string
  9726. bankname:
  9727. description: 银行名称
  9728. type: string
  9729. clearbankno:
  9730. description: 清算系统银行编号
  9731. type: string
  9732. orderindex:
  9733. description: 排序顺序
  9734. type: integer
  9735. status:
  9736. description: 状态 - 0:正常 1:注销
  9737. type: integer
  9738. type: object
  9739. models.QhjBrokerApply:
  9740. properties:
  9741. applicantid:
  9742. description: 申请人
  9743. type: integer
  9744. applysrc:
  9745. description: 申请来源 - 1:管理端 2:终端
  9746. type: integer
  9747. applystatus:
  9748. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9749. type: integer
  9750. applytime:
  9751. description: 申请时间
  9752. type: string
  9753. auditorid:
  9754. description: 审核人
  9755. type: integer
  9756. auditremark:
  9757. description: 审核备注
  9758. type: string
  9759. auditsrc:
  9760. description: 审核来源 - 1:管理端 2:终端
  9761. type: integer
  9762. audittime:
  9763. description: 审核时间
  9764. type: string
  9765. audittradedate:
  9766. description: 审核交易日(yyyyMMdd)
  9767. type: string
  9768. brokerapplyid:
  9769. description: 申请ID(SEQ_BROKERAPPLY)
  9770. type: integer
  9771. cardbackphotourl:
  9772. description: 证件背面图片地址
  9773. type: string
  9774. cardfrontphotourl:
  9775. description: 证件正面图片地址
  9776. type: string
  9777. cardnum:
  9778. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9779. type: string
  9780. customername:
  9781. description: 姓名
  9782. type: string
  9783. logincode:
  9784. description: 登录代码
  9785. type: string
  9786. mobile:
  9787. description: 手机号码
  9788. type: string
  9789. parentuserid:
  9790. description: 所属机构id
  9791. type: integer
  9792. parentusername:
  9793. description: 所属机构名称
  9794. type: string
  9795. refereeuserid:
  9796. description: 推荐人id(经纪人)
  9797. type: integer
  9798. refernum:
  9799. description: 推荐码
  9800. type: string
  9801. remark:
  9802. description: 备注
  9803. type: string
  9804. subarealevelpath:
  9805. description: 层级路径
  9806. type: string
  9807. tradedate:
  9808. description: 交易日(yyyyMMdd)
  9809. type: string
  9810. userid:
  9811. description: 申请人用户ID
  9812. type: integer
  9813. userinfotype:
  9814. description: 用户类型 1-个人 2-企业
  9815. type: integer
  9816. username:
  9817. description: 用户名称
  9818. type: string
  9819. type: object
  9820. models.QhjBrokerApplyEx:
  9821. properties:
  9822. applylist:
  9823. description: 经纪人申请记录(只返回最新一条)
  9824. items:
  9825. $ref: '#/definitions/models.QhjBrokerApply'
  9826. type: array
  9827. canrecommend:
  9828. description: 是否经纪人 0-不是 1-是
  9829. type: integer
  9830. refernum:
  9831. description: 推荐码
  9832. type: string
  9833. userid:
  9834. description: 用户id
  9835. type: integer
  9836. userinfotype:
  9837. description: 用户类型 1-个人 2-企业
  9838. type: integer
  9839. type: object
  9840. models.QhjBrokerRewardLog:
  9841. properties:
  9842. accountid:
  9843. description: 资金账号ID
  9844. type: integer
  9845. createtime:
  9846. description: 创建时间(时间)
  9847. type: string
  9848. handlestatus:
  9849. description: 处理状态
  9850. type: integer
  9851. logid:
  9852. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9853. type: string
  9854. marketid:
  9855. description: 市场ID
  9856. type: integer
  9857. mmaccountid:
  9858. description: 做市商资金账号ID
  9859. type: string
  9860. mmuserid:
  9861. description: 做市商用户ID
  9862. type: string
  9863. rewardamount:
  9864. description: 奖励金额
  9865. type: number
  9866. rewardmodel:
  9867. description: 消费奖励方式 - 1:比率 2:固定
  9868. type: integer
  9869. rewardtype:
  9870. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9871. type: integer
  9872. rewardvalue:
  9873. description: 配置奖励值
  9874. type: number
  9875. srcamount:
  9876. description: 成交金额 [消费奖励] (金额)
  9877. type: number
  9878. srcgoodsid:
  9879. description: 来源商品ID [消费奖励]
  9880. type: string
  9881. srctime:
  9882. description: 来源时间 (成交时间) [消费奖励]
  9883. type: string
  9884. srctradeid:
  9885. description: 来源成交单ID [消费奖励] - 排除提货成交
  9886. type: string
  9887. srcuserid:
  9888. description: 来源用户ID(推广账户)
  9889. type: string
  9890. srcusername:
  9891. description: 推广账户名称
  9892. type: string
  9893. tradedate:
  9894. description: 交易日(yyyyMMdd)
  9895. type: string
  9896. userid:
  9897. description: 经纪人用户ID
  9898. type: integer
  9899. type: object
  9900. models.QhjContract:
  9901. properties:
  9902. contractconfirmtime:
  9903. description: 合同确认时间(时间)
  9904. type: string
  9905. currisklevel:
  9906. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9907. type: integer
  9908. decimalplace:
  9909. description: 商品报价小数位
  9910. type: integer
  9911. enumdicname:
  9912. description: 单位名称
  9913. type: string
  9914. goodscode:
  9915. description: 商品代码
  9916. type: string
  9917. goodsid:
  9918. description: 商品ID [5:融资单]
  9919. type: integer
  9920. goodsname:
  9921. description: 商品名称
  9922. type: string
  9923. goodunitid:
  9924. description: 商品单位id
  9925. type: integer
  9926. initmargin:
  9927. description: 初始保证金(首付款)
  9928. type: number
  9929. lenderamount:
  9930. description: 贷款金额(总额|订单总额)
  9931. type: number
  9932. marginratio:
  9933. description: 保证金比率(首付比例)
  9934. type: number
  9935. payamount:
  9936. description: 已付(已付货款)
  9937. type: number
  9938. reckonrecovermargin:
  9939. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9940. type: number
  9941. recoveredmargin:
  9942. description: 已追缴保证金
  9943. type: number
  9944. remainamount:
  9945. description: 合同剩余金额(融资额)
  9946. type: number
  9947. scfcontractid:
  9948. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9949. type: string
  9950. scfcontractstatus:
  9951. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9952. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9953. type: integer
  9954. scfcontracttype:
  9955. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9956. type: integer
  9957. totalinterest:
  9958. description: 已计总利息(利息)
  9959. type: number
  9960. tradeprice:
  9961. description: 成交价格(成本价格)
  9962. type: number
  9963. userid:
  9964. description: 用户ID
  9965. type: integer
  9966. username:
  9967. description: 用户名称
  9968. type: string
  9969. wrqty:
  9970. description: 仓单数量(数量)
  9971. type: number
  9972. type: object
  9973. models.QhjContractLog:
  9974. properties:
  9975. amount:
  9976. description: 支付金额
  9977. type: number
  9978. amounttype:
  9979. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9980. type: integer
  9981. logid:
  9982. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9983. type: string
  9984. remainamount:
  9985. description: 剩余货款
  9986. type: number
  9987. scfcontractid:
  9988. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9989. type: integer
  9990. updatetime:
  9991. description: 更新时间
  9992. type: string
  9993. type: object
  9994. models.QhjCusBankSignBankEx:
  9995. properties:
  9996. banklst:
  9997. description: 银行列表
  9998. items:
  9999. $ref: '#/definitions/models.QhjBankInfo'
  10000. type: array
  10001. canallot:
  10002. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10003. type: integer
  10004. canallotquery:
  10005. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10006. type: integer
  10007. canbindcard:
  10008. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10009. type: integer
  10010. caninamount:
  10011. description: 是否可入金 - 0:不可 1:可以
  10012. type: integer
  10013. caninamount2:
  10014. description: 是否可入金(网银端) - 0:不可 1:可以
  10015. type: integer
  10016. canmodifybankcard:
  10017. description: 是否可修改银行卡号 - 0:不可 1:可以
  10018. type: integer
  10019. canmodifyphone:
  10020. description: 是否可修改手机号 - 0:不可 1:可以
  10021. type: integer
  10022. canmodifysigninfo:
  10023. description: 是否可修改签约信息 - 0:不可 1:可以
  10024. type: integer
  10025. canoutamount:
  10026. description: 是否可出金 - 0:不可 1:可以
  10027. type: integer
  10028. canoutamount2:
  10029. description: 是否可出金(网银端) - 0:不可 1:可以
  10030. type: integer
  10031. canrelease:
  10032. description: 是否可解约 - 0:不可 1:可以
  10033. type: integer
  10034. canrelease2:
  10035. description: 是否可解约(网银端) - 0:不可 1:可以
  10036. type: integer
  10037. cansign:
  10038. description: 是否可签约 - 0:不可 1:可以
  10039. type: integer
  10040. cansign2:
  10041. description: 是否可签约(网银端) - 0:不可 1:可以
  10042. type: integer
  10043. currency:
  10044. description: 币种
  10045. type: string
  10046. cusbankid:
  10047. description: 托管银行编号(对应清算中心TRAN_NO)
  10048. type: string
  10049. cusbankname:
  10050. description: 银行业务名称
  10051. type: string
  10052. cusbankshortname:
  10053. description: 银行业务简称
  10054. type: string
  10055. exchbankid:
  10056. description: 交易所开户银行ID
  10057. type: string
  10058. exchpaybankaccname:
  10059. description: 交易所支出结算账户户名
  10060. type: string
  10061. exchpaybankaccno:
  10062. description: 交易所支出结算账户
  10063. type: string
  10064. isneedcheck:
  10065. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10066. type: integer
  10067. isneedclear:
  10068. description: 是否需要清算 - 0:不需要 1:需要
  10069. type: integer
  10070. lastcheckstatus:
  10071. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10072. type: integer
  10073. lastchecktime:
  10074. description: 最后对账时间
  10075. type: string
  10076. lastclearstatus:
  10077. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10078. type: integer
  10079. lastcleartime:
  10080. description: 最后清算时间
  10081. type: string
  10082. lastsignintime:
  10083. description: 最后签到时间
  10084. type: string
  10085. lastsignouttime:
  10086. description: 最后签退时间
  10087. type: string
  10088. riskinfo:
  10089. description: 签约风险提示书
  10090. type: string
  10091. signstatus:
  10092. description: 当前签到/签退状态 - 1:签到 2:签退
  10093. type: integer
  10094. tradedate:
  10095. description: 交易日(yyyyMMdd)
  10096. type: string
  10097. updatetime:
  10098. description: 当前签到/签退更新时间
  10099. type: string
  10100. type: object
  10101. models.QhjCustomer:
  10102. properties:
  10103. address:
  10104. description: 通讯地址
  10105. type: string
  10106. attachment1:
  10107. description: 附件1
  10108. type: string
  10109. audittime:
  10110. description: 审核时间
  10111. type: string
  10112. cardbackphotourl:
  10113. description: 证件反面图片地址
  10114. type: string
  10115. cardfrontphotourl:
  10116. description: 证件正面图片地址
  10117. type: string
  10118. cardnum:
  10119. description: 证件号码
  10120. type: string
  10121. cardtype:
  10122. description: 证件类型
  10123. type: integer
  10124. cardtypename:
  10125. description: 证件类型名称
  10126. type: string
  10127. cityid:
  10128. description: 市
  10129. type: integer
  10130. cityname:
  10131. description: 城市名称
  10132. type: string
  10133. contactname:
  10134. description: 联系人
  10135. type: string
  10136. countryid:
  10137. description: 国家
  10138. type: integer
  10139. countryname:
  10140. description: 国家名称
  10141. type: string
  10142. createtime:
  10143. description: 创建时间
  10144. type: string
  10145. customername:
  10146. description: 客户名称
  10147. type: string
  10148. districtid:
  10149. description: 区域
  10150. type: integer
  10151. districtname:
  10152. description: 地区名称
  10153. type: string
  10154. email:
  10155. description: 邮件
  10156. type: string
  10157. legalpersonname:
  10158. description: 法人姓名(企业)
  10159. type: string
  10160. logincode:
  10161. description: 登录账号(代码)
  10162. type: string
  10163. memberuserid:
  10164. description: 所属机构ID(所属会员)
  10165. type: integer
  10166. memberusername:
  10167. description: 所属会员名称
  10168. type: string
  10169. mobile:
  10170. description: 手机号码
  10171. type: string
  10172. modifytime:
  10173. description: 修改时间
  10174. type: string
  10175. nickname:
  10176. description: 昵称
  10177. type: string
  10178. parentuserid:
  10179. description: 上级机构(所属机构)
  10180. type: integer
  10181. parentusername:
  10182. description: 所属机构名称
  10183. type: string
  10184. provinceid:
  10185. description: 省
  10186. type: integer
  10187. provincename:
  10188. description: 省名称
  10189. type: string
  10190. proxystatementurl:
  10191. description: 授权委托书
  10192. type: string
  10193. remark:
  10194. description: 备注
  10195. type: string
  10196. status:
  10197. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10198. type: integer
  10199. statusdesc:
  10200. description: 账户状态中文描述
  10201. type: string
  10202. taxpayernum:
  10203. description: 纳税人识别号
  10204. type: string
  10205. telphone:
  10206. description: 联系电话
  10207. type: string
  10208. userid:
  10209. description: 用户ID
  10210. type: integer
  10211. userinfotype:
  10212. description: 客户类型 1-个人 2-企业
  10213. type: integer
  10214. username:
  10215. description: 用户名称
  10216. type: string
  10217. type: object
  10218. models.QhjCustomerSignLog:
  10219. properties:
  10220. agreementcontent:
  10221. description: 协议内容
  10222. type: string
  10223. agreementid:
  10224. description: 协议ID
  10225. type: integer
  10226. agreementname:
  10227. description: 协议名称
  10228. type: string
  10229. agreementno:
  10230. description: 协议编号
  10231. type: string
  10232. agreementtype:
  10233. description: 协议类型 - 1:注册 2:登录 3:交易
  10234. type: integer
  10235. agreementversion:
  10236. description: 协议版本号
  10237. type: integer
  10238. createtime:
  10239. description: 创建时间
  10240. type: string
  10241. goodscode:
  10242. description: 商品代码
  10243. type: string
  10244. goodsid:
  10245. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10246. type: integer
  10247. goodsname:
  10248. description: 商品名称
  10249. type: string
  10250. logid:
  10251. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10252. type: integer
  10253. nodetype:
  10254. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10255. type: integer
  10256. signadressurl:
  10257. description: 签约文件地址
  10258. type: string
  10259. signtimestamp:
  10260. description: 签约状态时间戳
  10261. type: string
  10262. userid:
  10263. description: 客户ID
  10264. type: integer
  10265. username:
  10266. description: 客户名称
  10267. type: string
  10268. type: object
  10269. models.QhjCustomerSignStatus:
  10270. properties:
  10271. createtime:
  10272. description: 创建时间
  10273. type: string
  10274. goodscode:
  10275. description: 商品代码
  10276. type: string
  10277. goodsid:
  10278. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10279. type: integer
  10280. goodsname:
  10281. description: 商品名称
  10282. type: string
  10283. nodetype:
  10284. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10285. type: integer
  10286. signtimestamp:
  10287. description: 签约状态时间戳
  10288. type: string
  10289. tradedate:
  10290. description: 创建交易日(yyyyMMdd)
  10291. type: string
  10292. updatetime:
  10293. description: 更新时间
  10294. type: string
  10295. userid:
  10296. description: 客户ID
  10297. type: integer
  10298. username:
  10299. description: 客户名称
  10300. type: string
  10301. type: object
  10302. models.QhjMgrAccountOutInApply:
  10303. properties:
  10304. accountcode:
  10305. description: 资金账号
  10306. type: string
  10307. accountname:
  10308. description: 用户名称(名称)
  10309. type: string
  10310. accountpwd:
  10311. description: 资金密码
  10312. type: string
  10313. accountticket:
  10314. description: 最新账户服务流水号
  10315. type: string
  10316. amount:
  10317. description: 金额
  10318. type: number
  10319. applyremark:
  10320. description: 申请备注
  10321. type: string
  10322. applystatus:
  10323. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10324. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10325. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10326. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10327. type: integer
  10328. auditid:
  10329. description: 审核人
  10330. type: integer
  10331. audittime:
  10332. description: 审核时间
  10333. type: string
  10334. bank_apply_ticket:
  10335. description: 银行申请流水
  10336. type: string
  10337. bankaccountname:
  10338. description: 银行账户名
  10339. type: string
  10340. bankaccountno:
  10341. description: 银行卡号
  10342. type: string
  10343. bankid:
  10344. description: 银行编号
  10345. type: string
  10346. bankname:
  10347. description: 银行名称
  10348. type: string
  10349. bankticket:
  10350. description: 银行流水
  10351. type: string
  10352. branchbankid:
  10353. description: 银行支行号
  10354. type: string
  10355. branchbankname:
  10356. description: 银行支行名称
  10357. type: string
  10358. capamountout:
  10359. description: 出金(劣后本金) - 外部子账户
  10360. type: number
  10361. certificatephotourl:
  10362. description: 凭证地址
  10363. type: string
  10364. charge:
  10365. description: 手续费
  10366. type: number
  10367. checkerrorflag:
  10368. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10369. type: integer
  10370. currency:
  10371. description: 币种
  10372. type: string
  10373. cusbankid:
  10374. description: 托管银行编号
  10375. type: string
  10376. exchticket:
  10377. description: 银行服务流水号
  10378. type: string
  10379. executetype:
  10380. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10381. 7:外部子账户:入金 8:外部子账户:出金'
  10382. type: integer
  10383. extendinfo:
  10384. description: 扩展信息
  10385. type: string
  10386. extoperateid:
  10387. description: 交易服务流水号
  10388. type: integer
  10389. infamount:
  10390. description: 劣后金额(自有)
  10391. type: number
  10392. logincode:
  10393. description: 登录账号(账号)
  10394. type: string
  10395. netaddr:
  10396. description: 调转网址
  10397. type: string
  10398. priamount:
  10399. description: 优先金额(授信)
  10400. type: number
  10401. reauditid:
  10402. description: 复审人
  10403. type: integer
  10404. reauditremark:
  10405. description: 复审备注
  10406. type: string
  10407. reaudittime:
  10408. description: 复审时间
  10409. type: string
  10410. relatedorderid:
  10411. description: 三方关联ID
  10412. type: string
  10413. remark:
  10414. description: 备注
  10415. type: string
  10416. remark2:
  10417. description: 备注(失败原因)
  10418. type: string
  10419. soucreamount:
  10420. description: 原始出入金金额
  10421. type: number
  10422. soucrecurrencyid:
  10423. description: 原始出入金币种
  10424. type: integer
  10425. tradedate:
  10426. description: 交易日(yyyyMMdd)
  10427. type: string
  10428. updatetime:
  10429. description: 更新时间(申请时间)
  10430. type: string
  10431. userid:
  10432. description: 用户id
  10433. type: integer
  10434. userinfotype:
  10435. description: 账户类型 1-个人 2-企业
  10436. type: integer
  10437. type: object
  10438. models.QhjMgrBrokerApply:
  10439. properties:
  10440. applicantid:
  10441. description: 申请人
  10442. type: integer
  10443. applysrc:
  10444. description: 申请来源 - 1:管理端 2:终端
  10445. type: integer
  10446. applystatus:
  10447. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10448. type: integer
  10449. applytime:
  10450. description: 申请时间
  10451. type: string
  10452. auditorid:
  10453. description: 审核人
  10454. type: integer
  10455. auditremark:
  10456. description: 审核备注
  10457. type: string
  10458. auditsrc:
  10459. description: 审核来源 - 1:管理端 2:终端
  10460. type: integer
  10461. audittime:
  10462. description: 审核时间
  10463. type: string
  10464. audittradedate:
  10465. description: 审核交易日(yyyyMMdd)
  10466. type: string
  10467. brokerapplyid:
  10468. description: 申请ID(SEQ_BROKERAPPLY)
  10469. type: integer
  10470. cardbackphotourl:
  10471. description: 证件背面图片地址
  10472. type: string
  10473. cardfrontphotourl:
  10474. description: 证件正面图片地址
  10475. type: string
  10476. cardnum:
  10477. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10478. type: string
  10479. customername:
  10480. description: 姓名
  10481. type: string
  10482. filterstatus:
  10483. description: 筛选条件
  10484. type: string
  10485. logincode:
  10486. description: 登录代码
  10487. type: string
  10488. mobile:
  10489. description: 手机号码
  10490. type: string
  10491. parentuserid:
  10492. description: 所属机构id
  10493. type: integer
  10494. parentusername:
  10495. description: 所属机构名称
  10496. type: string
  10497. refereeuserid:
  10498. description: 推荐人id(经纪人)
  10499. type: integer
  10500. refernum:
  10501. description: 推荐码
  10502. type: string
  10503. remark:
  10504. description: 备注
  10505. type: string
  10506. subarealevelpath:
  10507. description: 层级路径
  10508. type: string
  10509. tradedate:
  10510. description: 交易日(yyyyMMdd)
  10511. type: string
  10512. userid:
  10513. description: 申请人用户ID
  10514. type: integer
  10515. userinfotype:
  10516. description: 用户类型 1-个人 2-企业
  10517. type: integer
  10518. username:
  10519. description: 用户名称
  10520. type: string
  10521. type: object
  10522. models.QhjMgrBrokerRewardReport:
  10523. properties:
  10524. createtime:
  10525. description: 创建时间(注册时间)
  10526. type: string
  10527. cycletime:
  10528. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10529. type: string
  10530. cycletype:
  10531. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10532. type: integer
  10533. directtotalnum:
  10534. description: 直推总人数【期末】
  10535. type: integer
  10536. indirecttotalnum:
  10537. description: 间推总人数【期末】
  10538. type: integer
  10539. mobile:
  10540. description: 电话号码
  10541. type: string
  10542. refereeuserid:
  10543. description: 推荐人id(经纪人id)
  10544. type: integer
  10545. refereeusername:
  10546. description: 推荐人名称(经纪人) 上级经纪人名称
  10547. type: string
  10548. refernum:
  10549. description: 推荐码
  10550. type: string
  10551. subarealevelpath:
  10552. description: 用户层级路径
  10553. type: string
  10554. todayrewardamount:
  10555. description: 奖励总金额【汇总】
  10556. type: number
  10557. updatetime:
  10558. description: 更新时间
  10559. type: string
  10560. userid:
  10561. description: 经纪人用户ID
  10562. type: integer
  10563. userinfotype:
  10564. description: 用户类型 1-个人 2-企业
  10565. type: integer
  10566. username:
  10567. description: 用户名称
  10568. type: string
  10569. type: object
  10570. models.QhjMgrContract:
  10571. properties:
  10572. contractconfirmtime:
  10573. description: 合同确认时间(时间)
  10574. type: string
  10575. currisklevel:
  10576. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10577. type: integer
  10578. decimalplace:
  10579. description: 商品报价小数位
  10580. type: integer
  10581. enumdicname:
  10582. description: 单位名称
  10583. type: string
  10584. goodscode:
  10585. description: 商品代码
  10586. type: string
  10587. goodsid:
  10588. description: 商品ID [5:融资单]
  10589. type: integer
  10590. goodsname:
  10591. description: 商品名称
  10592. type: string
  10593. goodunitid:
  10594. description: 商品单位id
  10595. type: integer
  10596. initmargin:
  10597. description: 初始保证金(首付款)
  10598. type: number
  10599. lenderamount:
  10600. description: 贷款金额(总额|订单总额)
  10601. type: number
  10602. logincode:
  10603. description: 账号(登录代码)
  10604. type: string
  10605. marginratio:
  10606. description: 保证金比率(首付比例)
  10607. type: number
  10608. mobile:
  10609. description: 电话号码(用户资料里的电话)
  10610. type: string
  10611. payamount:
  10612. description: 已付(已付货款)
  10613. type: number
  10614. reckonrecovermargin:
  10615. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10616. type: number
  10617. recoveredmargin:
  10618. description: 已追缴保证金
  10619. type: number
  10620. remainamount:
  10621. description: 合同剩余金额(融资额)
  10622. type: number
  10623. scfcontractid:
  10624. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10625. type: string
  10626. scfcontractstatus:
  10627. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10628. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10629. type: integer
  10630. scfcontracttype:
  10631. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10632. type: integer
  10633. totalinterest:
  10634. description: 已计总利息(利息)
  10635. type: number
  10636. tradedate:
  10637. description: 交易日
  10638. type: string
  10639. tradeprice:
  10640. description: 成交价格(成本价格)
  10641. type: number
  10642. userid:
  10643. description: 用户ID
  10644. type: integer
  10645. userinfotype:
  10646. description: 用户类型 1-个人 2-企业
  10647. type: integer
  10648. username:
  10649. description: 用户名称
  10650. type: string
  10651. wrqty:
  10652. description: 仓单数量(数量)
  10653. type: number
  10654. type: object
  10655. models.QhjMgrCustomer:
  10656. properties:
  10657. address:
  10658. description: 通讯地址
  10659. type: string
  10660. attachment1:
  10661. description: 附件1
  10662. type: string
  10663. audittime:
  10664. description: 审核时间
  10665. type: string
  10666. cardbackphotourl:
  10667. description: 证件反面图片地址
  10668. type: string
  10669. cardfrontphotourl:
  10670. description: 证件正面图片地址
  10671. type: string
  10672. cardnum:
  10673. description: 证件号码
  10674. type: string
  10675. cardtype:
  10676. description: 证件类型
  10677. type: integer
  10678. cardtypename:
  10679. description: 证件类型名称
  10680. type: string
  10681. cityid:
  10682. description: 市
  10683. type: integer
  10684. cityname:
  10685. description: 城市名称
  10686. type: string
  10687. contactname:
  10688. description: 联系人
  10689. type: string
  10690. countryid:
  10691. description: 国家
  10692. type: integer
  10693. countryname:
  10694. description: 国家名称
  10695. type: string
  10696. createtime:
  10697. description: 创建时间
  10698. type: string
  10699. customername:
  10700. description: 客户名称
  10701. type: string
  10702. districtid:
  10703. description: 区域
  10704. type: integer
  10705. districtname:
  10706. description: 地区名称
  10707. type: string
  10708. email:
  10709. description: 邮件
  10710. type: string
  10711. legalpersonname:
  10712. description: 法人姓名(企业)
  10713. type: string
  10714. logincode:
  10715. description: 登录账号(代码)
  10716. type: string
  10717. memberuserid:
  10718. description: 所属机构ID(所属会员)
  10719. type: integer
  10720. memberusername:
  10721. description: 所属会员名称
  10722. type: string
  10723. mobile:
  10724. description: 手机号码
  10725. type: string
  10726. modifytime:
  10727. description: 修改时间
  10728. type: string
  10729. nickname:
  10730. description: 昵称
  10731. type: string
  10732. parentuserid:
  10733. description: 上级机构(所属机构)
  10734. type: integer
  10735. parentusername:
  10736. description: 所属机构名称
  10737. type: string
  10738. provinceid:
  10739. description: 省
  10740. type: integer
  10741. provincename:
  10742. description: 省名称
  10743. type: string
  10744. proxystatementurl:
  10745. description: 授权委托书
  10746. type: string
  10747. querytype:
  10748. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10749. type: integer
  10750. remark:
  10751. description: 备注
  10752. type: string
  10753. status:
  10754. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10755. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10756. type: integer
  10757. statusdesc:
  10758. description: 账户状态中文描述
  10759. type: string
  10760. taxpayernum:
  10761. description: 纳税人识别号
  10762. type: string
  10763. telphone:
  10764. description: 联系电话
  10765. type: string
  10766. userid:
  10767. description: 用户ID
  10768. type: integer
  10769. userinfotype:
  10770. description: 客户类型 1-个人 2-企业
  10771. type: integer
  10772. username:
  10773. description: 用户名称
  10774. type: string
  10775. type: object
  10776. models.QhjMgrPositionRsp:
  10777. properties:
  10778. accountid:
  10779. description: 账号Id
  10780. type: integer
  10781. accountname:
  10782. description: 用户名称
  10783. type: string
  10784. agreeunit:
  10785. description: 合约乘数
  10786. type: number
  10787. averageprice:
  10788. description: 均价
  10789. type: number
  10790. avialqty:
  10791. description: 可用数量
  10792. type: number
  10793. decimalplace:
  10794. description: 报价小数位
  10795. type: integer
  10796. enumdicname:
  10797. description: 单位名称(商品)
  10798. type: string
  10799. frozenqty:
  10800. description: 冻结数量
  10801. type: number
  10802. goodscode:
  10803. description: 商品代码(内部)
  10804. type: string
  10805. goodsid:
  10806. description: 商品Id
  10807. type: integer
  10808. goodsname:
  10809. description: 商品名称
  10810. type: string
  10811. goodunitid:
  10812. description: 报价单位ID
  10813. type: integer
  10814. holderamount:
  10815. description: 金额
  10816. type: number
  10817. holderqty:
  10818. description: 持有数量
  10819. type: number
  10820. holdertype:
  10821. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10822. type: integer
  10823. logincode:
  10824. description: 登录代码(账户)
  10825. type: string
  10826. marketid:
  10827. description: 市场id
  10828. type: integer
  10829. qtydecimalplace:
  10830. description: 成交量小数位
  10831. type: integer
  10832. trademode:
  10833. description: 交易模式
  10834. type: integer
  10835. userid:
  10836. description: 用户id
  10837. type: integer
  10838. userinfotype:
  10839. description: 账户类型 1-个人 2-企业
  10840. type: integer
  10841. type: object
  10842. models.QhjMgrSubArea:
  10843. properties:
  10844. accountname:
  10845. description: 账户名称(机构名称)
  10846. type: string
  10847. memberuserid:
  10848. description: 所属会员ID
  10849. type: integer
  10850. parenttopuser:
  10851. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10852. type: string
  10853. parentuserid:
  10854. description: 所属机构ID
  10855. type: integer
  10856. rootuserid:
  10857. description: 根用户ID
  10858. type: string
  10859. subaccountlevel:
  10860. description: 子账户层数
  10861. type: integer
  10862. subarealevelpath:
  10863. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10864. type: string
  10865. userid:
  10866. description: 用户ID
  10867. type: integer
  10868. usertype:
  10869. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10870. type: integer
  10871. type: object
  10872. models.QhjMgrTradeDetailRsp:
  10873. properties:
  10874. accountid:
  10875. description: 资金账号
  10876. type: integer
  10877. accountname:
  10878. description: 用户名称
  10879. type: string
  10880. agreeunit:
  10881. description: 合约乘数
  10882. type: number
  10883. buyorsell:
  10884. description: 成交类型(方向) 0:买 1:卖
  10885. type: integer
  10886. decimalplace:
  10887. description: 报价小数位
  10888. type: integer
  10889. enumdicname:
  10890. description: 单位名称(商品)
  10891. type: string
  10892. goodscode:
  10893. description: 商品代码(内部)
  10894. type: string
  10895. goodsid:
  10896. description: 商品id
  10897. type: integer
  10898. goodsname:
  10899. description: 商品名称
  10900. type: string
  10901. goodunitid:
  10902. description: 报价单位ID
  10903. type: integer
  10904. logincode:
  10905. description: 登录代码(账户)
  10906. type: string
  10907. marketid:
  10908. description: 市场id
  10909. type: integer
  10910. orderid:
  10911. description: 关联委托单号
  10912. type: string
  10913. qtydecimalplace:
  10914. description: 成交量小数位
  10915. type: integer
  10916. tradeamount:
  10917. description: 金额
  10918. type: number
  10919. tradedate:
  10920. description: 交易日
  10921. type: string
  10922. tradeid:
  10923. description: 成交单号
  10924. type: string
  10925. trademode:
  10926. description: 交易模式
  10927. type: integer
  10928. tradeprice:
  10929. description: 价格
  10930. type: number
  10931. tradeqty:
  10932. description: 数量
  10933. type: number
  10934. tradetime:
  10935. description: 成交时间
  10936. type: string
  10937. userid:
  10938. description: 用户id
  10939. type: integer
  10940. userinfotype:
  10941. description: 账户类型 1-个人 2-企业
  10942. type: integer
  10943. type: object
  10944. models.QhjMgrTradeOrderDetailRsp:
  10945. properties:
  10946. accountid:
  10947. description: 资金账号
  10948. type: integer
  10949. accountname:
  10950. description: 用户名称
  10951. type: string
  10952. agreeunit:
  10953. description: 合约乘数
  10954. type: number
  10955. amount:
  10956. description: 金额
  10957. type: number
  10958. decimalplace:
  10959. description: 报价小数位
  10960. type: integer
  10961. enumdicname:
  10962. description: 单位名称(商品)
  10963. type: string
  10964. goodscode:
  10965. description: 商品代码(内部)
  10966. type: string
  10967. goodsid:
  10968. description: 商品id
  10969. type: integer
  10970. goodsname:
  10971. description: 商品名称
  10972. type: string
  10973. goodunitid:
  10974. description: 报价单位ID
  10975. type: integer
  10976. logincode:
  10977. description: 登录代码(账户)
  10978. type: string
  10979. marketid:
  10980. description: 市场id
  10981. type: integer
  10982. orderid:
  10983. description: 关联委托单号
  10984. type: string
  10985. orderprice:
  10986. description: 价格
  10987. type: number
  10988. orderqty:
  10989. description: 数量
  10990. type: number
  10991. orderstatus:
  10992. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10993. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10994. 16:成交失败违约(荷兰式竞拍专用)
  10995. type: integer
  10996. ordertime:
  10997. description: 委托时间
  10998. type: string
  10999. qtydecimalplace:
  11000. description: 成交量小数位
  11001. type: integer
  11002. tradedate:
  11003. description: 交易日
  11004. type: string
  11005. trademode:
  11006. description: 交易模式
  11007. type: integer
  11008. userid:
  11009. description: 用户id
  11010. type: integer
  11011. userinfotype:
  11012. description: 账户类型 1-个人 2-企业
  11013. type: integer
  11014. type: object
  11015. models.QhjMgrTradePayOrder:
  11016. properties:
  11017. accountname:
  11018. description: 用户名称
  11019. type: string
  11020. advanceratio:
  11021. description: 首付比率
  11022. type: number
  11023. agreeunit:
  11024. description: 合约乘数
  11025. type: number
  11026. buyaccountid:
  11027. description: 买方账号ID[报价币种]
  11028. type: integer
  11029. buyorderid:
  11030. description: 买方委托单号(关联单号)
  11031. type: string
  11032. createtime:
  11033. description: 创建时间
  11034. type: string
  11035. decimalplace:
  11036. description: 报价小数位
  11037. type: integer
  11038. enumdicname:
  11039. description: 单位名称(商品)
  11040. type: string
  11041. goodscode:
  11042. description: 商品代码(内部)
  11043. type: string
  11044. goodsid:
  11045. description: 商品ID
  11046. type: integer
  11047. goodsname:
  11048. description: 商品名称
  11049. type: string
  11050. goodunitid:
  11051. description: 报价单位ID
  11052. type: integer
  11053. logincode:
  11054. description: 登录代码(账户)
  11055. type: string
  11056. marketid:
  11057. description: 市场id
  11058. type: integer
  11059. offamount:
  11060. description: 优惠金额
  11061. type: number
  11062. operatetype:
  11063. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11064. type: integer
  11065. payamount:
  11066. description: 支付金额(金额)
  11067. type: number
  11068. payflag:
  11069. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11070. type: integer
  11071. paylimitedtime:
  11072. description: 支付期限
  11073. type: string
  11074. paytime:
  11075. description: 付款时间
  11076. type: string
  11077. qtydecimalplace:
  11078. description: 成交量小数位
  11079. type: integer
  11080. sellaccountid:
  11081. description: 卖方账号ID[报价币种]
  11082. type: integer
  11083. sellorderid:
  11084. description: 卖方委托单号
  11085. type: string
  11086. tradeamount:
  11087. description: 成交金额(优惠后金额)
  11088. type: number
  11089. tradecharge:
  11090. description: 成交手续费(买方)
  11091. type: number
  11092. tradedate:
  11093. description: 交易日(yyyyMMdd)
  11094. type: string
  11095. tradeid:
  11096. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11097. type: string
  11098. trademode:
  11099. description: 交易模式
  11100. type: integer
  11101. tradeprice:
  11102. description: 成交价格(价格)
  11103. type: number
  11104. tradeqty:
  11105. description: 成交数量(数量)
  11106. type: number
  11107. tradetime:
  11108. description: 成交时间
  11109. type: string
  11110. userid:
  11111. description: 用户id
  11112. type: integer
  11113. userinfotype:
  11114. description: 账户类型 1-个人 2-企业
  11115. type: integer
  11116. type: object
  11117. models.QhjMyTeamEx:
  11118. properties:
  11119. accountname:
  11120. description: 用户名称
  11121. type: string
  11122. accountstatus:
  11123. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11124. type: integer
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. mobile:
  11129. description: 手机号码
  11130. type: string
  11131. refereeuserid:
  11132. description: 推荐人id
  11133. type: integer
  11134. refernum:
  11135. description: 推荐码
  11136. type: string
  11137. subList:
  11138. items:
  11139. $ref: '#/definitions/models.QhjMyTeamEx'
  11140. type: array
  11141. userid:
  11142. description: 用户id
  11143. type: integer
  11144. userinfotype:
  11145. description: 用户类型 1-个人 2-企业
  11146. type: integer
  11147. type: object
  11148. models.QhjNodeAgreementConfig:
  11149. properties:
  11150. agreementcontent:
  11151. description: 协议内容
  11152. type: string
  11153. agreementid:
  11154. description: 协议ID
  11155. type: integer
  11156. agreementname:
  11157. description: 协议名称
  11158. type: string
  11159. agreementno:
  11160. description: 协议编号
  11161. type: string
  11162. agreementtype:
  11163. description: 协议类型 - 1:注册 2:登录 3:交易
  11164. type: integer
  11165. agreementversion:
  11166. description: 协议版本号
  11167. type: integer
  11168. configid:
  11169. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11170. type: integer
  11171. createtime:
  11172. description: 创建时间
  11173. type: string
  11174. goodsid:
  11175. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11176. type: integer
  11177. nodetype:
  11178. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11179. type: integer
  11180. type: object
  11181. models.QhjParentAreaList:
  11182. properties:
  11183. accountname:
  11184. description: 账户名称(机构名称)
  11185. type: string
  11186. userid:
  11187. description: 用户ID
  11188. type: integer
  11189. usertype:
  11190. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11191. type: integer
  11192. type: object
  11193. models.QhjPayOrder:
  11194. properties:
  11195. advanceratio:
  11196. description: 首付比率
  11197. type: number
  11198. buyaccountid:
  11199. description: 买方账号ID[报价币种]
  11200. type: integer
  11201. buyorderid:
  11202. description: 买方委托单号
  11203. type: string
  11204. createtime:
  11205. description: 创建时间
  11206. type: string
  11207. decimalplace:
  11208. description: 商品报价小数位
  11209. type: integer
  11210. enumdicname:
  11211. description: 单位名称
  11212. type: string
  11213. goodscode:
  11214. description: 商品代码
  11215. type: string
  11216. goodsid:
  11217. description: 商品ID
  11218. type: integer
  11219. goodsname:
  11220. description: 商品名称
  11221. type: string
  11222. goodunitid:
  11223. description: 商品单位id
  11224. type: integer
  11225. marketid:
  11226. description: 市场ID
  11227. type: integer
  11228. offamount:
  11229. description: 优惠金额
  11230. type: number
  11231. operatetype:
  11232. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11233. type: integer
  11234. payamount:
  11235. description: 支付金额
  11236. type: number
  11237. payflag:
  11238. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11239. type: integer
  11240. paylimitedtime:
  11241. description: 支付期限
  11242. type: string
  11243. paytime:
  11244. description: 付款时间
  11245. type: string
  11246. qtydecimalplace:
  11247. description: 成交量小数位
  11248. type: integer
  11249. sellaccountid:
  11250. description: 卖方账号ID[报价币种]
  11251. type: integer
  11252. sellorderid:
  11253. description: 卖方委托单号
  11254. type: string
  11255. tradeamount:
  11256. description: 成交金额(优惠后金额)
  11257. type: number
  11258. tradecharge:
  11259. description: 成交手续费(买方)
  11260. type: number
  11261. tradedate:
  11262. description: 交易日(yyyyMMdd)
  11263. type: string
  11264. tradeid:
  11265. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11266. type: string
  11267. tradeprice:
  11268. description: 成交价格
  11269. type: number
  11270. tradeqty:
  11271. description: 成交数量
  11272. type: number
  11273. type: object
  11274. models.QhjPickArea:
  11275. properties:
  11276. address:
  11277. description: 详细地址
  11278. type: string
  11279. cityid:
  11280. description: 市
  11281. type: integer
  11282. cityname:
  11283. description: 城市名称
  11284. type: string
  11285. countryid:
  11286. description: 国家
  11287. type: integer
  11288. countryname:
  11289. description: 国家名称
  11290. type: string
  11291. districtid:
  11292. description: 地区
  11293. type: integer
  11294. districtname:
  11295. description: 地区名称
  11296. type: string
  11297. fromuserid:
  11298. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11299. type: integer
  11300. fromusername:
  11301. description: 所属机构名称
  11302. type: string
  11303. provinceid:
  11304. description: 省
  11305. type: integer
  11306. provincename:
  11307. description: 省名称
  11308. type: string
  11309. suborgtype:
  11310. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11311. type: integer
  11312. userid:
  11313. description: 机构用户ID 其他做市关系,都设置为 1
  11314. type: integer
  11315. username:
  11316. description: 机构用户名称(门店门称)
  11317. type: string
  11318. type: object
  11319. models.QhjPickGoods:
  11320. properties:
  11321. enumdicname:
  11322. description: 单位名称(提货商品)
  11323. type: string
  11324. goodsid:
  11325. description: 商品id
  11326. type: integer
  11327. imageaddress:
  11328. description: 图片
  11329. type: string
  11330. modifierid:
  11331. description: 修改人
  11332. type: integer
  11333. modifiername:
  11334. description: 修改人名称
  11335. type: string
  11336. modifysrc:
  11337. description: 修改来源 - 1:管理端 2:终端
  11338. type: integer
  11339. pickupgoodsagreeunit:
  11340. description: 合约乘数
  11341. type: number
  11342. pickupgoodsdesc:
  11343. description: 描述
  11344. type: string
  11345. pickupgoodsid:
  11346. description: 提货商品ID
  11347. type: string
  11348. pickupgoodsname:
  11349. description: 提货商品名称
  11350. type: string
  11351. pickupgoodsstatus:
  11352. description: 状态 - 1:正常 2:停用 3:注销
  11353. type: integer
  11354. pickupgoodsunitid:
  11355. description: 单位ID
  11356. type: integer
  11357. pickupratio:
  11358. description: 提货系数
  11359. type: number
  11360. preparedays:
  11361. description: 备货期(天)
  11362. type: integer
  11363. remark:
  11364. description: 备注
  11365. type: string
  11366. updatetime:
  11367. description: 更新时间
  11368. type: string
  11369. type: object
  11370. models.QhjRSTriggerLog:
  11371. properties:
  11372. accountid:
  11373. description: 用户资金账户
  11374. type: integer
  11375. accountname:
  11376. description: 账号名称(ACCOUNTID对应的名称)
  11377. type: string
  11378. currencyid:
  11379. description: 币种id
  11380. type: integer
  11381. currencyname:
  11382. description: 币种名称
  11383. type: string
  11384. decimalplace:
  11385. description: 商品报价小数位
  11386. type: integer
  11387. enumdicname:
  11388. description: 单位名称
  11389. type: string
  11390. goodscode:
  11391. description: 定投商品代码
  11392. type: string
  11393. goodsid:
  11394. description: 定投商品ID
  11395. type: integer
  11396. goodsname:
  11397. description: 定投商品名称
  11398. type: string
  11399. goodunitid:
  11400. description: 定投商品单位id
  11401. type: integer
  11402. logid:
  11403. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11404. type: string
  11405. logincode:
  11406. description: 账号(登录代码)
  11407. type: string
  11408. qtydecimalplace:
  11409. description: 成交量小数位
  11410. type: integer
  11411. regularlycycle:
  11412. description: 定投频率 - 1:每周 2:每月
  11413. type: integer
  11414. regularlycyclevalue:
  11415. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11416. type: string
  11417. regularlymode:
  11418. description: 定投方式 - 1:按数量 2:按金额
  11419. type: integer
  11420. regularlymodevalue:
  11421. description: 定投方式值 - 数量或金额
  11422. type: number
  11423. regularlystrategyid:
  11424. description: 定投策略ID
  11425. type: integer
  11426. retcode:
  11427. description: 错误码
  11428. type: string
  11429. tradeid:
  11430. description: 成交单ID
  11431. type: string
  11432. triggeramount:
  11433. description: 触发金额
  11434. type: number
  11435. triggerqty:
  11436. description: 触发数量
  11437. type: number
  11438. triggerstatus:
  11439. description: 触发状态 - 1:成功 2:失败
  11440. type: integer
  11441. triggertime:
  11442. description: 触发时间
  11443. type: string
  11444. triggertradedate:
  11445. description: 触发交易日
  11446. type: string
  11447. userid:
  11448. description: 所属用户ID
  11449. type: integer
  11450. userinfotype:
  11451. description: 用户类型 1-个人 2-企业
  11452. type: integer
  11453. username:
  11454. description: 用户名称(userid对应的名称)
  11455. type: string
  11456. type: object
  11457. models.QhjRStrategy:
  11458. properties:
  11459. accountid:
  11460. description: 用户资金账户
  11461. type: integer
  11462. accountname:
  11463. description: 账号名称(ACCOUNTID对应的名称)
  11464. type: string
  11465. currencyid:
  11466. description: 币种id
  11467. type: integer
  11468. currencyname:
  11469. description: 币种名称
  11470. type: string
  11471. decimalplace:
  11472. description: 商品报价小数位
  11473. type: integer
  11474. enumdicname:
  11475. description: 单位名称
  11476. type: string
  11477. goodscode:
  11478. description: 定投商品代码
  11479. type: string
  11480. goodsid:
  11481. description: 定投商品ID
  11482. type: integer
  11483. goodsname:
  11484. description: 定投商品名称
  11485. type: string
  11486. goodunitid:
  11487. description: 定投商品单位id
  11488. type: integer
  11489. lasteffecttradedate:
  11490. description: 最新生效交易日
  11491. type: string
  11492. laststoptradedate:
  11493. description: 最新暂停交易日
  11494. type: string
  11495. lasttriggertradedate:
  11496. description: 最新触发交易日
  11497. type: string
  11498. logincode:
  11499. description: 账号(登录代码)
  11500. type: string
  11501. nexttriggeramount:
  11502. description: 下次触发金额
  11503. type: number
  11504. nexttriggerdate:
  11505. description: 下次触发日期
  11506. type: string
  11507. nexttriggerqty:
  11508. description: 下次触发数量 [按小数位放大值]
  11509. type: number
  11510. qtydecimalplace:
  11511. description: 成交量小数位
  11512. type: integer
  11513. regularlycycle:
  11514. description: 定投频率 - 1:每周 2:每月
  11515. type: integer
  11516. regularlycyclevalue:
  11517. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11518. type: string
  11519. regularlymode:
  11520. description: 定投方式 - 1:按数量 2:按金额
  11521. type: integer
  11522. regularlymodevalue:
  11523. description: 定投方式值 - 数量或金额
  11524. type: number
  11525. regularlystrategyid:
  11526. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11527. type: integer
  11528. regularlystrategystatus:
  11529. description: 策略状态 - 1:正常 2:暂停 3:终止
  11530. type: integer
  11531. remark:
  11532. description: 备注
  11533. type: string
  11534. triggersuccesstimes:
  11535. description: 累计定投成功次数
  11536. type: string
  11537. triggertotalamount:
  11538. description: 累计定投金额(成功)
  11539. type: number
  11540. triggertotalqty:
  11541. description: 累计定投数量(成功) [按小数位放大值]
  11542. type: number
  11543. triggertotaltimes:
  11544. description: 累计定投总次数
  11545. type: string
  11546. updatesrc:
  11547. description: 更新来源 - 1:管理端 2:终端
  11548. type: integer
  11549. updatetime:
  11550. description: 更新时间
  11551. type: string
  11552. updatorid:
  11553. description: 更新人
  11554. type: string
  11555. userid:
  11556. description: 所属用户ID
  11557. type: integer
  11558. userinfotype:
  11559. description: 用户类型 1-个人 2-企业
  11560. type: integer
  11561. username:
  11562. description: 用户名称(userid对应的名称)
  11563. type: string
  11564. type: object
  11565. models.QhjReckonPriceLog:
  11566. properties:
  11567. decimalplace:
  11568. description: 商品报价小数位
  11569. type: integer
  11570. goodscode:
  11571. description: 商品代码
  11572. type: string
  11573. goodsid:
  11574. description: 商品ID
  11575. type: integer
  11576. goodsname:
  11577. description: 商品名称
  11578. type: string
  11579. lastreckonprice:
  11580. description: 上日结算价
  11581. type: number
  11582. nextdnlimitprice:
  11583. description: 下个交易日跌停价
  11584. type: number
  11585. nexttrade:
  11586. description: 下个交易日
  11587. type: string
  11588. nextuplimitprice:
  11589. description: 下个交易日涨停价
  11590. type: number
  11591. reckonprice:
  11592. description: 今日结算价(定投价)
  11593. type: number
  11594. reckontime:
  11595. description: 结算时间
  11596. type: string
  11597. totalholderqty:
  11598. description: 总持仓数
  11599. type: integer
  11600. totalstock:
  11601. description: 总库存
  11602. type: integer
  11603. tradedate:
  11604. description: 交易日
  11605. type: string
  11606. updowncount:
  11607. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11608. type: integer
  11609. updownflag:
  11610. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11611. type: integer
  11612. updownrate:
  11613. description: 今日涨跌幅
  11614. type: number
  11615. updownrate_2d:
  11616. description: 连续两日涨跌幅
  11617. type: number
  11618. updownrate_3d:
  11619. description: 连续三日涨跌幅
  11620. type: number
  11621. type: object
  11622. models.QhjScoreLog:
  11623. properties:
  11624. accountid:
  11625. description: 账户ID
  11626. type: integer
  11627. createtime:
  11628. description: 创建时间(时间)
  11629. type: string
  11630. goodsid:
  11631. description: 商品ID
  11632. type: integer
  11633. hasuploaded:
  11634. description: 是否已同步(千海金) 0:未同步 1;已同步
  11635. type: integer
  11636. logid:
  11637. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11638. type: string
  11639. marketid:
  11640. description: 市场ID
  11641. type: integer
  11642. relatedamount:
  11643. description: 关联金额
  11644. type: number
  11645. relatedorderid:
  11646. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11647. type: string
  11648. scoreconfigvalue1:
  11649. description: 积分配置1
  11650. type: integer
  11651. scoreconfigvalue2:
  11652. description: 积分配置1
  11653. type: integer
  11654. scoretype:
  11655. description: 积分类型 - 1:提货积分
  11656. type: integer
  11657. scorevalue:
  11658. description: 积分
  11659. type: number
  11660. tradedate:
  11661. description: 交易日(yyyyMMdd)
  11662. type: string
  11663. uploadedtime:
  11664. description: 同步时间
  11665. type: string
  11666. userid:
  11667. description: 用户ID
  11668. type: integer
  11669. type: object
  11670. models.QhjSiteColumnDetail:
  11671. properties:
  11672. author:
  11673. description: 作者
  11674. type: string
  11675. brief:
  11676. description: 简介
  11677. type: string
  11678. columnid:
  11679. description: 所属栏目
  11680. type: integer
  11681. context:
  11682. description: 内容
  11683. type: string
  11684. coverimage:
  11685. description: 封面图片
  11686. type: string
  11687. creaedate:
  11688. description: 创建时间
  11689. type: string
  11690. creatorid:
  11691. description: 创建人
  11692. type: integer
  11693. hits:
  11694. description: 点击数
  11695. type: integer
  11696. id:
  11697. description: ID(SEQ_SITE_COLUMNDETAIL)
  11698. type: integer
  11699. isshow:
  11700. description: 是否展示 - 0:不展示 1:展示
  11701. type: integer
  11702. istop:
  11703. description: 是否置顶 - 0:不置 1:置顶
  11704. type: integer
  11705. modifierid:
  11706. description: 操作人
  11707. type: integer
  11708. publishdate:
  11709. description: 发布日期
  11710. type: string
  11711. status:
  11712. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11713. type: integer
  11714. title:
  11715. description: 标题
  11716. type: string
  11717. updatedate:
  11718. description: 修改时间
  11719. type: string
  11720. userid:
  11721. description: 用户ID(默认为0, 核心为为机构用户ID)
  11722. type: integer
  11723. username:
  11724. description: 用户名称
  11725. type: string
  11726. type: object
  11727. models.QhjTeamOrder:
  11728. properties:
  11729. accountid:
  11730. description: 账户ID[报价币种]
  11731. type: integer
  11732. accountname:
  11733. description: 账户名称
  11734. type: string
  11735. agreeunit:
  11736. description: 合约乘数
  11737. type: number
  11738. buyorsell:
  11739. description: 方向 - 0:买 1:卖
  11740. type: integer
  11741. decimalplace:
  11742. description: 报价小数位
  11743. type: integer
  11744. enumdicname:
  11745. description: 单位名称
  11746. type: string
  11747. goodscode:
  11748. description: 商品代码(内部)
  11749. type: string
  11750. goodsid:
  11751. description: 商品ID
  11752. type: integer
  11753. goodsname:
  11754. description: 商品名称
  11755. type: string
  11756. goodunitid:
  11757. description: 报价单位ID
  11758. type: integer
  11759. marketid:
  11760. description: 市场ID
  11761. type: integer
  11762. marketname:
  11763. description: 市场名称
  11764. type: string
  11765. qtydecimalplace:
  11766. description: 成交量小数位
  11767. type: integer
  11768. refereeuserid:
  11769. description: 推荐人ID
  11770. type: integer
  11771. tradeamount:
  11772. description: 成交金额[账户币种,用于所有权]
  11773. type: number
  11774. tradedate:
  11775. description: 交易日(yyyyMMdd)
  11776. type: string
  11777. trademode:
  11778. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11779. 21:竞拍-大宗式 22:受托竞价
  11780. type: integer
  11781. tradeprice:
  11782. description: 成交价格
  11783. type: number
  11784. tradeqty:
  11785. description: 成交数量
  11786. type: number
  11787. tradetime:
  11788. description: 成交时间
  11789. type: string
  11790. userid:
  11791. description: 用户ID
  11792. type: integer
  11793. type: object
  11794. models.QhjTradeGoodsPickup:
  11795. properties:
  11796. accountid:
  11797. description: 账户ID
  11798. type: integer
  11799. address:
  11800. description: 提货人详细地址
  11801. type: string
  11802. amount:
  11803. description: 提货金额
  11804. type: number
  11805. artradedate:
  11806. description: 自动收货交易日(yyyyMMdd)
  11807. type: string
  11808. auditer:
  11809. description: 审核人
  11810. type: integer
  11811. auditsrc:
  11812. description: 更新来源 - 1:管理端 2:终端
  11813. type: integer
  11814. audittime:
  11815. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11816. type: string
  11817. audittradedate:
  11818. description: 审核交易日(yyyyMMdd)
  11819. type: string
  11820. cardnum:
  11821. description: 提货人证件号码
  11822. type: string
  11823. cardtypeid:
  11824. description: 提货人证件类型
  11825. type: integer
  11826. checkremark:
  11827. description: 审核备注
  11828. type: string
  11829. cityid:
  11830. description: 市
  11831. type: integer
  11832. cityname:
  11833. description: 城市名称
  11834. type: string
  11835. confirmtime:
  11836. description: 取货时间 或 收货时间
  11837. type: string
  11838. countryid:
  11839. description: 国家
  11840. type: integer
  11841. countryname:
  11842. description: 国家名称
  11843. type: string
  11844. decimalplace:
  11845. description: 商品报价小数位
  11846. type: integer
  11847. districtid:
  11848. description: 地区
  11849. type: integer
  11850. districtname:
  11851. description: 地区名称
  11852. type: string
  11853. enumdicname:
  11854. description: 单位名称(提货商品)
  11855. type: string
  11856. expresscompany:
  11857. description: 物流公司
  11858. type: string
  11859. expressnum:
  11860. description: 物流单号
  11861. type: string
  11862. goodsagreeunit:
  11863. description: 交易商品乘数
  11864. type: number
  11865. goodscode:
  11866. description: 商品代码
  11867. type: string
  11868. goodsid:
  11869. description: 商品ID
  11870. type: integer
  11871. goodsname:
  11872. description: 商品名称
  11873. type: string
  11874. goodsqty:
  11875. description: 交易商品手数(69模式按成交量小数位放大取整)
  11876. type: number
  11877. handlestatus:
  11878. description: 处理状态
  11879. type: integer
  11880. logincode:
  11881. description: 账号(登录代码, 有可能为空)
  11882. type: string
  11883. marketid:
  11884. description: 市场ID
  11885. type: integer
  11886. phonenum:
  11887. description: 提货人联系方式
  11888. type: string
  11889. pickupgoodsagreeunit:
  11890. description: 提货商品合约乘数
  11891. type: number
  11892. pickupgoodsid:
  11893. description: 提货商品ID
  11894. type: string
  11895. pickupgoodsname:
  11896. description: 提货商品名称
  11897. type: string
  11898. pickupgoodsqty:
  11899. description: 提货商品手数(数量)
  11900. type: number
  11901. pickupgoodsunitid:
  11902. description: 单位ID(提货商品)
  11903. type: integer
  11904. pickupratio:
  11905. description: 提货系数
  11906. type: number
  11907. preparedays:
  11908. description: 备货期(天)-提货单明细表
  11909. type: integer
  11910. provinceid:
  11911. description: 省
  11912. type: integer
  11913. provincename:
  11914. description: 省名称
  11915. type: string
  11916. qty:
  11917. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  11918. type: number
  11919. qtydecimalplace:
  11920. description: 商品数量小数位
  11921. type: integer
  11922. recivername:
  11923. description: 提货人姓名
  11924. type: string
  11925. reqtime:
  11926. description: 提货申请时间
  11927. type: string
  11928. storeuserid:
  11929. description: 门店用户ID (千海金)
  11930. type: integer
  11931. storeusername:
  11932. description: 门店用户名称
  11933. type: string
  11934. takemode:
  11935. description: 提货方式 - 2:自提 3:配送(邮寄)
  11936. type: integer
  11937. takeorderid:
  11938. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11939. type: string
  11940. takeorderstatus:
  11941. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  11942. 7:已拒绝 8:已撤销
  11943. type: integer
  11944. takeremark:
  11945. description: 提货备注
  11946. type: string
  11947. tradedate:
  11948. description: 交易日(yyyyMMdd)
  11949. type: string
  11950. updatetime:
  11951. description: 更新时间
  11952. type: string
  11953. userid:
  11954. description: 用户ID
  11955. type: integer
  11956. userinfotype:
  11957. description: 客户类型 1-个人 2-企业
  11958. type: integer
  11959. username:
  11960. description: 用户名称
  11961. type: string
  11962. type: object
  11963. models.QhjUserNodeCfgAndStatus:
  11964. properties:
  11965. agreementcontent:
  11966. description: 协议内容
  11967. type: string
  11968. agreementid:
  11969. description: 协议ID
  11970. type: integer
  11971. agreementname:
  11972. description: 协议名称
  11973. type: string
  11974. agreementno:
  11975. description: 协议编号
  11976. type: string
  11977. agreementtype:
  11978. description: 协议类型 - 1:注册 2:登录 3:交易
  11979. type: integer
  11980. agreementversion:
  11981. description: 协议版本号
  11982. type: integer
  11983. configid:
  11984. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11985. type: integer
  11986. createtime:
  11987. description: 创建时间
  11988. type: string
  11989. goodsid:
  11990. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11991. type: integer
  11992. nodetype:
  11993. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11994. type: integer
  11995. signtimestamp:
  11996. description: 签约状态时间戳(最近一次)
  11997. type: string
  11998. tradedate:
  11999. description: 签约交易日(yyyyMMdd)
  12000. type: string
  12001. userid:
  12002. description: 客户ID
  12003. type: integer
  12004. type: object
  12005. models.Qhjgoodsex:
  12006. properties:
  12007. canfinance:
  12008. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12009. type: integer
  12010. canregularlybuy:
  12011. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12012. type: integer
  12013. defaulttradeuserid:
  12014. description: 默认交易用户ID
  12015. type: integer
  12016. deliverygoodsid:
  12017. description: 现货品种ID
  12018. type: integer
  12019. goodsid:
  12020. description: 商品ID(自增ID SEQ_GOODS)
  12021. type: integer
  12022. minamount:
  12023. description: 最小购买金额
  12024. type: number
  12025. regularlybuyminamount:
  12026. description: 定投最小金额
  12027. type: number
  12028. regularlybuyminqty:
  12029. description: 定投最小数量
  12030. type: number
  12031. spotgoodsbrandid:
  12032. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12033. type: integer
  12034. visibilityforenterprise:
  12035. description: 企业客户是否可见 - 0:不可见 1:可见
  12036. type: integer
  12037. visibilityforpersonal:
  12038. description: 个人客户是否可见 - 0:不可见 1:可见
  12039. type: integer
  12040. wrstandardid:
  12041. description: 现货商品ID
  12042. type: integer
  12043. type: object
  12044. models.QueryErrorInfosRsp:
  12045. properties:
  12046. description:
  12047. description: 异常描述
  12048. type: string
  12049. errorcode:
  12050. description: 异常代码
  12051. type: string
  12052. errorid:
  12053. description: 异常ID
  12054. type: integer
  12055. modulecode:
  12056. description: 所属模块
  12057. type: string
  12058. operatecode:
  12059. description: 所属操作
  12060. type: string
  12061. rownumber:
  12062. description: 行号
  12063. type: string
  12064. required:
  12065. - errorid
  12066. type: object
  12067. models.QueryHedgeOrderDetailRsp:
  12068. properties:
  12069. accountid:
  12070. description: 账户ID
  12071. type: integer
  12072. buyorsell:
  12073. description: 买卖 - 0:买 1:卖
  12074. type: integer
  12075. cancellogincode:
  12076. description: 撤单人
  12077. type: string
  12078. channelbuildtype:
  12079. description: 开平标志 - 0:无 1:建仓 2:平仓
  12080. type: integer
  12081. channelinnerorderstatus:
  12082. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12083. 9:全部成交
  12084. type: integer
  12085. channeloperatetype:
  12086. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12087. type: integer
  12088. closetype:
  12089. description: 平仓方式 - 0:无 1:平今 2:平昨
  12090. type: integer
  12091. curexchangerate:
  12092. description: 当前汇率
  12093. type: number
  12094. exchangefullname:
  12095. description: 外部交易所全称
  12096. type: string
  12097. goodscode:
  12098. description: 商品代码(内部)
  12099. type: string
  12100. goodsid:
  12101. description: 商品ID
  12102. type: integer
  12103. goodsname:
  12104. description: 商品名称
  12105. type: string
  12106. marketid:
  12107. description: 市场ID
  12108. type: integer
  12109. openfreezemargin:
  12110. description: 冻结保证金(冻结交易金额)
  12111. type: number
  12112. orderid:
  12113. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12114. type: string
  12115. orderlogincode:
  12116. description: 委托人
  12117. type: string
  12118. orderprice:
  12119. description: 委托价格(账户)
  12120. type: number
  12121. orderqty:
  12122. description: 委托数量
  12123. type: integer
  12124. ordertime:
  12125. description: 委托时间
  12126. type: string
  12127. pricemode:
  12128. description: '取价方式 - 1:市价 2: 限价'
  12129. type: integer
  12130. tradedate:
  12131. description: 交易日(yyyyMMdd)
  12132. type: string
  12133. tradeqty:
  12134. description: 成交数量
  12135. type: integer
  12136. type: object
  12137. models.QueryHedgeTradeDetailRsp:
  12138. properties:
  12139. accountid:
  12140. description: 账号ID
  12141. type: integer
  12142. buyorsell:
  12143. description: 方向 - 0:买 1:卖
  12144. type: integer
  12145. channelbuildtype:
  12146. description: 委托单据类型 0:无 1:建仓 2:平仓
  12147. type: integer
  12148. closecharge:
  12149. description: 平仓手续费(账户)
  12150. type: number
  12151. closecharge2:
  12152. description: 平仓手续费(商品)
  12153. type: number
  12154. closepl:
  12155. description: 平仓盈亏(账户)
  12156. type: number
  12157. closepl2:
  12158. description: 平仓盈亏(商品)
  12159. type: number
  12160. closepl3:
  12161. description: 平仓盈亏(账户)(逐笔)
  12162. type: number
  12163. closepl4:
  12164. description: 平仓盈亏(商品)(逐笔)
  12165. type: number
  12166. closetype:
  12167. description: 平仓方式 - 0:无 1:平今 2:平昨
  12168. type: integer
  12169. curexchangerate:
  12170. description: 当前汇率
  12171. type: number
  12172. exchangefullname:
  12173. description: 外部交易所全称
  12174. type: string
  12175. goodscode:
  12176. description: 商品代码(内部)
  12177. type: string
  12178. goodsid:
  12179. description: 商品ID
  12180. type: integer
  12181. goodsname:
  12182. description: 商品名称
  12183. type: string
  12184. marketid:
  12185. description: 市场ID
  12186. type: integer
  12187. opencharge:
  12188. description: 建仓手续费(账户)
  12189. type: number
  12190. opencharge2:
  12191. description: 建仓手续费(商品)
  12192. type: number
  12193. orderid:
  12194. description: 委托单号
  12195. type: string
  12196. orderlogincode:
  12197. description: 委托人
  12198. type: string
  12199. tradeamount:
  12200. description: 成交金额(账户)
  12201. type: number
  12202. tradedate:
  12203. description: 交易日(yyyyMMdd)
  12204. type: string
  12205. tradeid:
  12206. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12207. type: string
  12208. tradeprice:
  12209. description: 成交价格
  12210. type: number
  12211. tradeqty:
  12212. description: 成交数量
  12213. type: integer
  12214. tradetime:
  12215. description: 成交时间
  12216. type: string
  12217. tradetype:
  12218. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12219. type: integer
  12220. type: object
  12221. models.QuotePrimaryMenu:
  12222. properties:
  12223. Index:
  12224. description: 序号
  12225. type: integer
  12226. Key:
  12227. description: 键名
  12228. type: string
  12229. Name:
  12230. description: 菜单名称
  12231. type: string
  12232. SubMenus:
  12233. description: 子菜单
  12234. items:
  12235. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12236. type: array
  12237. SubTitleType:
  12238. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12239. type: integer
  12240. TradeModes:
  12241. description: 包含市场交易类型
  12242. type: string
  12243. type: object
  12244. models.QuoteSecondaryMenu:
  12245. properties:
  12246. ExExchangeCode:
  12247. description: 外部交易所代码
  12248. type: string
  12249. ExExchangeID:
  12250. description: 外部交易所ID
  12251. type: integer
  12252. GoodsGroupIDs:
  12253. description: 商品组ID列表
  12254. items:
  12255. type: integer
  12256. type: array
  12257. Index:
  12258. description: 序号
  12259. type: integer
  12260. MarketID:
  12261. description: 市场ID
  12262. type: integer
  12263. MenuTitle:
  12264. description: 菜单标题(市场名称或外部交易所名称)
  12265. type: string
  12266. TradeMode:
  12267. description: 交易模式
  12268. type: integer
  12269. type: object
  12270. models.SearchGoods:
  12271. properties:
  12272. goodscode:
  12273. description: 商品代码(内部)
  12274. type: string
  12275. goodsid:
  12276. description: 商品ID(自增ID SEQ_GOODS)
  12277. type: integer
  12278. goodsname:
  12279. description: 商品名称
  12280. type: string
  12281. marketid:
  12282. description: 所属市场ID
  12283. type: integer
  12284. marketname:
  12285. description: 市场名称
  12286. type: string
  12287. trademode:
  12288. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12289. 21:竞拍-大宗式 22:受托竞价
  12290. type: integer
  12291. required:
  12292. - goodscode
  12293. - goodsid
  12294. - goodsname
  12295. - marketid
  12296. - trademode
  12297. type: object
  12298. models.Systemparam:
  12299. properties:
  12300. loginid:
  12301. description: 更新用户账号,登录账号
  12302. type: string
  12303. modifyflag:
  12304. description: 修改标志0 不允许修改 1 允许修改
  12305. type: integer
  12306. paramcode:
  12307. description: 参数代码
  12308. type: string
  12309. paramname:
  12310. description: 参数名
  12311. type: string
  12312. paramtype:
  12313. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12314. type: integer
  12315. paramvalue:
  12316. description: 参数值
  12317. type: string
  12318. paramvalue2:
  12319. description: 参数值(CLOB)
  12320. type: string
  12321. regexpress:
  12322. description: 正则表达式
  12323. type: string
  12324. remark:
  12325. description: 备注
  12326. type: string
  12327. serverip:
  12328. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12329. type: string
  12330. showflag:
  12331. description: 是否显示0 不显示 1 显示
  12332. type: integer
  12333. updatetime:
  12334. description: 更新时间
  12335. type: string
  12336. userid:
  12337. description: 更新用户ID
  12338. type: integer
  12339. required:
  12340. - paramcode
  12341. type: object
  12342. models.Szdz3convertconfig:
  12343. properties:
  12344. canin:
  12345. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12346. type: integer
  12347. canout:
  12348. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12349. type: integer
  12350. converttype:
  12351. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12352. 6:交易转花生米(不设置)
  12353. type: integer
  12354. createtime:
  12355. description: 创建时间
  12356. type: string
  12357. creatorid:
  12358. description: 创建人
  12359. type: integer
  12360. daymaxvalue:
  12361. description: 当日最大转入限制
  12362. type: number
  12363. freezedays:
  12364. description: 冻结天数 [5:花生米转交易]
  12365. type: integer
  12366. innergoodsid:
  12367. description: 内部商品ID[交易]
  12368. type: integer
  12369. inratio:
  12370. description: 目标值
  12371. type: integer
  12372. modifierid:
  12373. description: 修改人
  12374. type: integer
  12375. modifytime:
  12376. description: 修改时间
  12377. type: string
  12378. outergoodscode:
  12379. description: 外部商品代码[JD\PD]
  12380. type: string
  12381. outratio:
  12382. description: 源值
  12383. type: integer
  12384. pddecimalplace:
  12385. description: PD小数位
  12386. type: integer
  12387. timemaxvalue:
  12388. description: 单次最大转入限制
  12389. type: number
  12390. timeminvalue:
  12391. description: 单次最小转入限制
  12392. type: number
  12393. required:
  12394. - converttype
  12395. - innergoodsid
  12396. - outergoodscode
  12397. type: object
  12398. models.Szdz3searchwhitelist:
  12399. properties:
  12400. createtime:
  12401. description: 创建时间
  12402. type: string
  12403. creatorid:
  12404. description: 创建人
  12405. type: integer
  12406. modifierid:
  12407. description: 修改人
  12408. type: integer
  12409. modifytime:
  12410. description: 修改时间
  12411. type: string
  12412. userid:
  12413. description: 用户ID
  12414. type: integer
  12415. required:
  12416. - userid
  12417. type: object
  12418. models.Taaccount:
  12419. properties:
  12420. accountflag:
  12421. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12422. type: integer
  12423. accountid:
  12424. description: 资金账户ID
  12425. type: integer
  12426. accountname:
  12427. description: 账户名称
  12428. type: string
  12429. balance:
  12430. description: 期初余额
  12431. type: number
  12432. capitalbalance:
  12433. description: 本金余额[外部子账户实际出入金余额]
  12434. type: number
  12435. changeflag:
  12436. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12437. type: integer
  12438. changetime:
  12439. description: 账户状态变更时间
  12440. type: string
  12441. closepl:
  12442. description: 今日平仓盈亏
  12443. type: number
  12444. creditdecrease:
  12445. description: 今日授信减少
  12446. type: number
  12447. creditincrease:
  12448. description: 今日授信增加
  12449. type: number
  12450. curamount:
  12451. description: 总市值(从持仓中统计)
  12452. type: number
  12453. currencyid:
  12454. description: 货币ID
  12455. type: integer
  12456. currentbalance:
  12457. description: 期末余额
  12458. type: number
  12459. freezecharge:
  12460. description: 手续费冻结
  12461. type: number
  12462. freezemargin:
  12463. description: 冻结保证金
  12464. type: number
  12465. fromaccountid:
  12466. description: 所属上级账户
  12467. type: integer
  12468. inamount:
  12469. description: 今日入金金额(包括三方入金)
  12470. type: number
  12471. ismain:
  12472. description: 是否母账号 0:不是母账户 1:是母账户
  12473. type: integer
  12474. ismarketaccount:
  12475. description: 是否机构接单账号 0:不是 1:是
  12476. type: integer
  12477. isreckonaccount:
  12478. description: 是否机构分润账号 0:不是 1:是
  12479. type: integer
  12480. mortgagecredit:
  12481. description: 授信金额
  12482. type: number
  12483. orifreezecharge:
  12484. description: 期初手续费冻结
  12485. type: number
  12486. orifreezemargin:
  12487. description: 期初冻结保证金
  12488. type: number
  12489. orimortgagecredit:
  12490. description: 期初授信金额
  12491. type: number
  12492. oriothercredit:
  12493. description: 期初其它授信金额
  12494. type: number
  12495. oriotherfreezemargin:
  12496. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12497. type: number
  12498. orioutamountfreeze:
  12499. description: 期初出金冻结
  12500. type: number
  12501. oriusedmargin:
  12502. description: 期初占用保证金
  12503. type: number
  12504. othercredit:
  12505. description: 其它授信金额
  12506. type: number
  12507. othercreditdecrease:
  12508. description: 今日其它授信减少
  12509. type: number
  12510. othercreditincrease:
  12511. description: 今日其它授信增加
  12512. type: number
  12513. otherfreezemargin:
  12514. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12515. type: number
  12516. otherincome:
  12517. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12518. type: number
  12519. otherpay:
  12520. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12521. type: number
  12522. outamount:
  12523. description: 今日出金金额(包括三方出金)
  12524. type: number
  12525. outamountfreeze:
  12526. description: 出金冻结
  12527. type: number
  12528. outthreshold:
  12529. description: 出金阈值
  12530. type: number
  12531. parentaccountid:
  12532. description: 所属根账号
  12533. type: integer
  12534. paycharge:
  12535. description: 今日手续费支出
  12536. type: number
  12537. relatedaccountstatus:
  12538. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12539. type: integer
  12540. relateduserid:
  12541. description: 关联用户
  12542. type: integer
  12543. remainamount:
  12544. description: 融资额(从融资合同中统计)
  12545. type: number
  12546. serivcegroup:
  12547. description: 服务分组
  12548. type: integer
  12549. signstatus:
  12550. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12551. type: integer
  12552. sublevelpath:
  12553. description: 账号层级路径(逗号分隔,首尾加逗号)
  12554. type: string
  12555. taaccounttype:
  12556. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12557. type: integer
  12558. thirdinamount:
  12559. description: 今日三方入金
  12560. type: number
  12561. thirdoutamount:
  12562. description: 今日三方出金
  12563. type: number
  12564. tradestatus:
  12565. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12566. type: integer
  12567. tradestatuschangetime:
  12568. description: 激活时间
  12569. type: string
  12570. transferamount:
  12571. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12572. type: number
  12573. usedmargin:
  12574. description: 占用保证金
  12575. type: number
  12576. userid:
  12577. description: 用户ID
  12578. type: integer
  12579. required:
  12580. - accountid
  12581. - userid
  12582. type: object
  12583. models.Tablecolumnconfig:
  12584. properties:
  12585. aligntype:
  12586. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12587. type: integer
  12588. autoid:
  12589. description: AutoID
  12590. type: integer
  12591. columnfield:
  12592. description: 列字段
  12593. type: string
  12594. columntitle:
  12595. description: 列Title
  12596. type: string
  12597. columnwidth:
  12598. description: 列宽
  12599. type: string
  12600. formatterstring:
  12601. description: 格式化字符
  12602. type: string
  12603. formattertype:
  12604. description: 格式化类型
  12605. type: string
  12606. groupname:
  12607. description: 表头分组名称
  12608. type: string
  12609. isshow:
  12610. description: 是否显示 - 0:不显示 1:显示
  12611. type: integer
  12612. needsummary:
  12613. description: 是否需要汇总 - 0:不需要 1:需要
  12614. type: integer
  12615. orderindex:
  12616. description: 顺序
  12617. type: integer
  12618. remark:
  12619. description: 备注
  12620. type: string
  12621. summarytype:
  12622. description: 汇总类型 - 1:加总 2:最后一个
  12623. type: integer
  12624. tablekey:
  12625. description: 列表Key
  12626. type: string
  12627. required:
  12628. - autoid
  12629. type: object
  12630. models.UserCollectConfig:
  12631. properties:
  12632. accountstatus:
  12633. description: 账户状态 - 1:正常 2:停用 3:注销
  12634. type: integer
  12635. collectaccountname:
  12636. description: 收款人账户名称
  12637. type: string
  12638. collectaccountno:
  12639. description: 收款人账户
  12640. type: string
  12641. collectbankname:
  12642. description: 收款人开户行
  12643. type: string
  12644. collectbranchbankname:
  12645. description: 收款人开户支行
  12646. type: string
  12647. collectconfigid:
  12648. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12649. type: string
  12650. remark:
  12651. description: 备注
  12652. type: string
  12653. userid:
  12654. description: 收款人用户ID
  12655. type: integer
  12656. type: object
  12657. models.UserReceiveInfo:
  12658. properties:
  12659. address:
  12660. description: 提货人详细地址
  12661. type: string
  12662. autoid:
  12663. description: AutoID
  12664. type: integer
  12665. cardnum:
  12666. description: 证件号码(加密存储)
  12667. type: string
  12668. cardtypeid:
  12669. description: 证件类型
  12670. type: integer
  12671. cityid:
  12672. description: 市
  12673. type: integer
  12674. cityname:
  12675. description: 城市名称
  12676. type: string
  12677. countryid:
  12678. description: 国家
  12679. type: integer
  12680. countryname:
  12681. description: 国家名称
  12682. type: string
  12683. districtid:
  12684. description: 地区
  12685. type: integer
  12686. districtname:
  12687. description: 地区名称
  12688. type: string
  12689. hasencrypt:
  12690. description: 数据是否已加密 - 0:未加密 1:已加密
  12691. type: integer
  12692. isdefault:
  12693. description: 是否默认地址 - 0:否 1:是
  12694. type: integer
  12695. phonenum:
  12696. description: 提货人联系方式(加密存储)
  12697. type: string
  12698. provinceid:
  12699. description: 省
  12700. type: integer
  12701. provincename:
  12702. description: 省名称
  12703. type: string
  12704. receivername:
  12705. description: 提货人姓名
  12706. type: string
  12707. takeremark:
  12708. description: 提货备注
  12709. type: string
  12710. userid:
  12711. description: 用户ID
  12712. type: integer
  12713. type: object
  12714. models.Useraccount:
  12715. properties:
  12716. accountname:
  12717. description: 账户名称(机构名称)
  12718. type: string
  12719. accountstatus:
  12720. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12721. type: integer
  12722. applysrc:
  12723. description: 申请来源 - 1:管理端 2:终端
  12724. type: integer
  12725. auditremark:
  12726. description: 审核备注
  12727. type: string
  12728. auditsrc:
  12729. description: 审核来源 - 1:管理端 2:终端
  12730. type: integer
  12731. audittime:
  12732. description: 审核时间
  12733. type: string
  12734. audituserid:
  12735. description: 审核人
  12736. type: integer
  12737. broker:
  12738. description: 所属经纪人ID
  12739. type: integer
  12740. canceltime:
  12741. description: 销户时间
  12742. type: string
  12743. canceluserid:
  12744. description: 销户人
  12745. type: integer
  12746. canrecommend:
  12747. description: 是否可推荐 - 0:不可 1;可
  12748. type: integer
  12749. createtime:
  12750. description: 创建时间
  12751. type: string
  12752. creatorid:
  12753. description: 创建人
  12754. type: integer
  12755. hasauth:
  12756. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12757. type: integer
  12758. isanonymous:
  12759. description: 是否匿名下单 - 0:否 1:是
  12760. type: integer
  12761. maxinvestornum:
  12762. description: 最大用户数(经纪会员下投资者个数)
  12763. type: integer
  12764. memberuserid:
  12765. description: 所属会员ID
  12766. type: integer
  12767. modifierid:
  12768. description: 修改人
  12769. type: integer
  12770. modifyremark:
  12771. description: 变更备注
  12772. type: string
  12773. modifystatus:
  12774. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12775. type: integer
  12776. modifytime:
  12777. description: 修改时间
  12778. type: string
  12779. parenttopuser:
  12780. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12781. type: string
  12782. parentuserid:
  12783. description: 所属机构ID
  12784. type: integer
  12785. reckonaccountid:
  12786. description: 默认结算资金账号ID(机构分润使用) 作废
  12787. type: integer
  12788. refercount:
  12789. description: 推荐总人数
  12790. type: integer
  12791. refereeuserid:
  12792. description: 推荐人ID
  12793. type: integer
  12794. refernum:
  12795. description: 推荐码
  12796. type: string
  12797. rootuserid:
  12798. description: 根用户ID
  12799. type: integer
  12800. subaccountlevel:
  12801. description: 子账户层数
  12802. type: integer
  12803. subarealevelpath:
  12804. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12805. type: string
  12806. userid:
  12807. description: 用户ID
  12808. type: integer
  12809. usertype:
  12810. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12811. type: integer
  12812. required:
  12813. - userid
  12814. type: object
  12815. models.Userfavoritegoods:
  12816. properties:
  12817. goodsid:
  12818. description: 商品ID
  12819. type: integer
  12820. required:
  12821. - goodsid
  12822. type: object
  12823. models.Userinfo:
  12824. properties:
  12825. address:
  12826. description: 地址
  12827. type: string
  12828. attachment1:
  12829. description: 附件1
  12830. type: string
  12831. attachment2:
  12832. description: 附件2
  12833. type: string
  12834. bankaccount:
  12835. description: 银行帐号 (加密存储)
  12836. type: string
  12837. bankaccountname:
  12838. description: 收款人名称
  12839. type: string
  12840. bankcardfrontphotourl:
  12841. description: 银行卡正面照地址
  12842. type: string
  12843. bankid:
  12844. description: 银行编码
  12845. type: string
  12846. bankname:
  12847. description: 银行名称
  12848. type: string
  12849. biznature:
  12850. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12851. type: integer
  12852. bizscope:
  12853. description: 企业经营范围(企业)
  12854. type: string
  12855. cardbackphotourl:
  12856. description: 证件背面图片地址
  12857. type: string
  12858. cardfrontphotourl:
  12859. description: 证件正面图片地址
  12860. type: string
  12861. cardnum:
  12862. description: 证件号码(加密存储)
  12863. type: string
  12864. cardtypeid:
  12865. description: 证件类型ID
  12866. type: integer
  12867. cityid:
  12868. description: 市
  12869. type: integer
  12870. company:
  12871. description: 公司(个人)
  12872. type: string
  12873. contactname:
  12874. description: 联系人
  12875. type: string
  12876. countryid:
  12877. description: 国家
  12878. type: integer
  12879. createtime:
  12880. description: 创建时间
  12881. type: string
  12882. creatorid:
  12883. description: 创建人
  12884. type: integer
  12885. customername:
  12886. description: 客户名称(企业名称)
  12887. type: string
  12888. districtid:
  12889. description: 地区
  12890. type: integer
  12891. email:
  12892. description: 邮件(加密存储)
  12893. type: string
  12894. fax:
  12895. description: 传真(加密存储)
  12896. type: string
  12897. halfbodyphotourl:
  12898. description: 半身照地址
  12899. type: string
  12900. hasencrypt:
  12901. description: 数据是否已加密 - 0:未加密 1:已加密
  12902. type: integer
  12903. headurl:
  12904. description: 头像地址
  12905. type: string
  12906. legalcardbackphotourl:
  12907. description: 法人身份证背面照地址
  12908. type: string
  12909. legalcardfrontphotourl:
  12910. description: 法人身份证正面照地址
  12911. type: string
  12912. legalpersonname:
  12913. description: 法人姓名(企业)
  12914. type: string
  12915. mobile:
  12916. description: 手机号码(加密存储)
  12917. type: string
  12918. mobile2:
  12919. description: 手机号码[明文-尚志]
  12920. type: string
  12921. modifierid:
  12922. description: 修改人
  12923. type: integer
  12924. modifiertime:
  12925. description: 修改时间
  12926. type: string
  12927. needinvoice:
  12928. description: 是否需要发票 - 0:不需要 1:需要
  12929. type: integer
  12930. nickname:
  12931. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  12932. type: string
  12933. openmode:
  12934. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  12935. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  12936. type: integer
  12937. otherurl:
  12938. description: 其它图片地址[使用分号分隔]
  12939. type: string
  12940. postalcode:
  12941. description: 邮政编码
  12942. type: string
  12943. provinceid:
  12944. description: 省
  12945. type: integer
  12946. qq:
  12947. description: QQ(加密存储
  12948. type: string
  12949. remark:
  12950. description: 备注
  12951. type: string
  12952. sex:
  12953. description: '用户性别 0: 女 1: 男'
  12954. type: integer
  12955. signpdfurl:
  12956. description: 签约pdf文件
  12957. type: string
  12958. telphone:
  12959. description: 联系电话(加密存储)
  12960. type: string
  12961. userid:
  12962. description: 用户ID
  12963. type: integer
  12964. userinfotype:
  12965. description: 用户信息类型 - 1:个人 2:企业
  12966. type: integer
  12967. userstatus:
  12968. description: 用户状态 - 1:正常 2:注销
  12969. type: integer
  12970. usertype:
  12971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  12972. type: integer
  12973. wechat:
  12974. description: 微信(加密存储)
  12975. type: string
  12976. wskhinfo:
  12977. description: 开户申请信息(JSON)
  12978. type: string
  12979. required:
  12980. - userid
  12981. type: object
  12982. models.WRSConverTDetail:
  12983. properties:
  12984. convertratio:
  12985. description: 套保系数
  12986. type: number
  12987. deliverygoodscode:
  12988. description: 现货商品代码
  12989. type: string
  12990. deliverygoodsid:
  12991. description: 现货品种ID
  12992. type: integer
  12993. deliverygoodsname:
  12994. description: 现货商品名称
  12995. type: string
  12996. enumdicname:
  12997. description: 单位名称
  12998. type: string
  12999. goodsunitid:
  13000. description: 套保品种单位id
  13001. type: integer
  13002. middlegoodscode:
  13003. description: 套保品种代码
  13004. type: string
  13005. middlegoodsid:
  13006. description: 套保品种ID
  13007. type: integer
  13008. middlegoodsname:
  13009. description: 套保品种名称
  13010. type: string
  13011. modifytime:
  13012. description: 修改时间
  13013. type: string
  13014. wrstandardid:
  13015. description: 品类ID
  13016. type: integer
  13017. type: object
  13018. models.WRStandardInfo:
  13019. properties:
  13020. areauserid:
  13021. description: 所属机构
  13022. type: integer
  13023. convertfactor:
  13024. description: 标仓系数
  13025. type: number
  13026. createtime:
  13027. description: 创建时间
  13028. type: string
  13029. creatorid:
  13030. description: 创建人
  13031. type: integer
  13032. deliverygoodsid:
  13033. description: 品种ID
  13034. type: integer
  13035. deliverygoodsname:
  13036. description: 交割商品名称
  13037. type: string
  13038. factoryitemjson:
  13039. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13040. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13041. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13042. 逗号分隔'
  13043. type: string
  13044. isvalid:
  13045. description: 是否有效 - 0:无效 1:有效
  13046. type: integer
  13047. minivalue:
  13048. description: 最小变动值
  13049. type: integer
  13050. minivaluedp:
  13051. description: 最小变动值小数位
  13052. type: integer
  13053. realminivalue:
  13054. description: 实际最小变动值
  13055. type: integer
  13056. realminivaluedp:
  13057. description: 实际最小变动值小数位
  13058. type: integer
  13059. remark:
  13060. description: 备注
  13061. type: string
  13062. unitid:
  13063. description: 单位ID
  13064. type: integer
  13065. unitname:
  13066. description: 单位
  13067. type: string
  13068. updatetime:
  13069. description: 更新时间
  13070. type: string
  13071. updatorid:
  13072. description: 更新人
  13073. type: integer
  13074. wrsstatus:
  13075. description: 状态 - 作废 - 0:未激活 1:正常
  13076. type: integer
  13077. wrstandardcode:
  13078. description: 现货品类代码
  13079. type: string
  13080. wrstandardid:
  13081. description: 现货品类ID(SEQ_WRSTANDARD)
  13082. type: integer
  13083. wrstandardname:
  13084. description: 现货品类名称
  13085. type: string
  13086. required:
  13087. - wrstandardid
  13088. type: object
  13089. models.Warehouseinfo:
  13090. properties:
  13091. address:
  13092. description: 详细地址
  13093. type: string
  13094. areauserid:
  13095. description: 所属机构
  13096. type: integer
  13097. autoid:
  13098. description: 自增ID
  13099. type: integer
  13100. cityid:
  13101. description: 市
  13102. type: integer
  13103. contactname:
  13104. description: 联系人
  13105. type: string
  13106. contactnum:
  13107. description: 联系电话
  13108. type: string
  13109. countryid:
  13110. description: 国家
  13111. type: integer
  13112. createtime:
  13113. description: 创建时间
  13114. type: string
  13115. districtid:
  13116. description: 区
  13117. type: integer
  13118. hasvideo:
  13119. description: 是否有视频 - 0:无 1:有
  13120. type: integer
  13121. provinceid:
  13122. description: 省
  13123. type: integer
  13124. remark:
  13125. description: 审核备注
  13126. type: string
  13127. videourl:
  13128. description: 视频地址
  13129. type: string
  13130. warehousecode:
  13131. description: 仓库代码
  13132. type: string
  13133. warehousename:
  13134. description: 仓库名称
  13135. type: string
  13136. warehousestatus:
  13137. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13138. type: integer
  13139. warehousetype:
  13140. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13141. type: integer
  13142. required:
  13143. - autoid
  13144. - warehousecode
  13145. type: object
  13146. order.QueryHisTradeDetailRsp:
  13147. properties:
  13148. accountid:
  13149. description: 账户ID[报价币种]
  13150. type: integer
  13151. advanceratio:
  13152. description: 首付比率
  13153. type: number
  13154. buildtype:
  13155. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13156. type: integer
  13157. buyorsell:
  13158. description: 方向 - 0:买 1:卖
  13159. type: integer
  13160. charge:
  13161. description: 手续费
  13162. type: number
  13163. closecharge:
  13164. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13165. type: number
  13166. closeexchagechargevalue:
  13167. description: 平仓交易所手续费设置值
  13168. type: number
  13169. closefeealgorithm:
  13170. description: 平仓手续费收取方式 1:比率 2:固定
  13171. type: integer
  13172. closememberchargevalue:
  13173. description: 平仓会员手续费设置值
  13174. type: number
  13175. closepl:
  13176. description: 平仓盈亏
  13177. type: number
  13178. closepl2:
  13179. description: 平仓盈亏[逐笔]
  13180. type: number
  13181. closeqty:
  13182. description: 平仓数量(先建后平操作 需要记录)
  13183. type: number
  13184. creditamount:
  13185. description: 授信金额
  13186. type: number
  13187. decimalplace:
  13188. description: 商品报价小数位
  13189. type: integer
  13190. enumdicname:
  13191. description: 单位名称
  13192. type: string
  13193. gcaccountid:
  13194. description: 账户ID[合约币种]
  13195. type: integer
  13196. goodscode:
  13197. description: 商品代码
  13198. type: string
  13199. goodsid:
  13200. description: 商品ID
  13201. type: integer
  13202. goodsname:
  13203. description: 商品名称
  13204. type: string
  13205. goodunitid:
  13206. description: 商品单位id
  13207. type: integer
  13208. histradedate:
  13209. description: 历史交易日
  13210. type: string
  13211. intclosepl:
  13212. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13213. type: integer
  13214. isconfirmexercise:
  13215. description: 是否确认行权- 0:否 1:是
  13216. type: integer
  13217. ismain:
  13218. description: 是否主单 - 0:不是 1:是
  13219. type: integer
  13220. ispreexercise:
  13221. description: 是否预申报- 0:否 1:是
  13222. type: integer
  13223. isreckoned:
  13224. description: 是否结算 - 0:未结算 1:已结算
  13225. type: integer
  13226. isvaliddata:
  13227. description: 是否有效 - 0:无效 1:有效
  13228. type: integer
  13229. listingselecttype:
  13230. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13231. type: integer
  13232. marketid:
  13233. description: 市场ID
  13234. type: integer
  13235. marketname:
  13236. description: 市场名称
  13237. type: string
  13238. matchaccountid:
  13239. description: 对手账号id
  13240. type: integer
  13241. memberuserid:
  13242. description: 会员id 个人投资者 需要填写
  13243. type: integer
  13244. opencharge:
  13245. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13246. type: number
  13247. openexchagechargevalue:
  13248. description: 建仓交易所手续费设置值
  13249. type: number
  13250. openfeealgorithm:
  13251. description: 建仓手续费收取方式 1:比率 2:固定
  13252. type: integer
  13253. openmemberchargevalue:
  13254. description: 建仓会员手续费设置值
  13255. type: number
  13256. openqty:
  13257. description: 开仓数量(先建后平操作 需要记录)
  13258. type: number
  13259. optiontype:
  13260. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13261. type: integer
  13262. orderid:
  13263. description: 委托单号
  13264. type: string
  13265. payamount:
  13266. description: 支付金额(付款金额)
  13267. type: number
  13268. performanceplanid:
  13269. description: 履约计划ID[期权]
  13270. type: integer
  13271. performancestatus:
  13272. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13273. type: integer
  13274. preexerciseprice:
  13275. description: 预申报价格
  13276. type: number
  13277. premium:
  13278. description: 权利金 - [持仓单的权利金]
  13279. type: number
  13280. qtydecimalplace:
  13281. description: 商品报价小数位
  13282. type: integer
  13283. recvamount:
  13284. description: 到账金额 = 成交金额 - 手续费
  13285. type: number
  13286. relatedouttradeid:
  13287. description: 关联外部成交单ID
  13288. type: integer
  13289. status:
  13290. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13291. type: integer
  13292. totalamount:
  13293. description: 订单总额 = 成交金额 + 手续费
  13294. type: number
  13295. tradeamount:
  13296. description: 成交金额[账户币种,用于所有权]
  13297. type: number
  13298. tradedate:
  13299. description: 交易日(yyyyMMdd)
  13300. type: string
  13301. tradeid:
  13302. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13303. type: string
  13304. trademode:
  13305. description: 交易模式
  13306. type: integer
  13307. tradeprice:
  13308. description: 成交价格
  13309. type: number
  13310. tradeproperty:
  13311. description: 交易属性
  13312. type: integer
  13313. tradeqty:
  13314. description: 成交数量
  13315. type: number
  13316. tradetime:
  13317. description: 成交时间
  13318. type: string
  13319. tradetype:
  13320. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13321. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13322. type: integer
  13323. required:
  13324. - accountid
  13325. - buyorsell
  13326. - goodsid
  13327. - histradedate
  13328. - marketid
  13329. - memberuserid
  13330. - orderid
  13331. - tradeamount
  13332. - tradedate
  13333. - tradeid
  13334. - tradeprice
  13335. - tradeqty
  13336. - tradetime
  13337. type: object
  13338. order.QueryHisTradeOrderDetailRsp:
  13339. properties:
  13340. accountid:
  13341. description: 账户ID[报价币种]
  13342. type: integer
  13343. buildtype:
  13344. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13345. type: integer
  13346. buyorsell:
  13347. description: 买卖 - 0:买 1:卖
  13348. type: integer
  13349. cancelorderid:
  13350. description: 撤单单号(撤单时填写)
  13351. type: string
  13352. cancelqty:
  13353. description: 撤单数量
  13354. type: number
  13355. clientordertime:
  13356. description: 客户端委托时间
  13357. type: string
  13358. clientticket:
  13359. description: 客户端流水号
  13360. type: string
  13361. clienttype:
  13362. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13363. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13364. type: integer
  13365. closeexchagechargevalue:
  13366. description: 平仓交易所手续费设置值
  13367. type: number
  13368. closefeealgorithm:
  13369. description: 平仓手续费收取方式 1:比率 2:固定
  13370. type: integer
  13371. closefreezecharge:
  13372. description: 平仓冻结手续费(先建后平操作,需要记录)
  13373. type: number
  13374. closememberchargevalue:
  13375. description: 平仓会员手续费设置值
  13376. type: number
  13377. closeqty:
  13378. description: 平仓数量(先建后平操作 需要记录)
  13379. type: number
  13380. closetradeqty:
  13381. description: 平仓成交数量(先建后平操作,需要记录)
  13382. type: number
  13383. closeunfreezecharge:
  13384. description: 平仓解冻手续费(先建后平操作,需要记录)
  13385. type: number
  13386. decimalplace:
  13387. description: 商品报价小数位
  13388. type: integer
  13389. delistingtype:
  13390. description: 摘牌类型 - 1:价格最优 2:点选成交
  13391. type: integer
  13392. enumdicname:
  13393. description: 单位名称
  13394. type: string
  13395. freezecharge:
  13396. description: 冻结手续费
  13397. type: number
  13398. freezemargin:
  13399. description: 冻结保证金(冻结交易金额)
  13400. type: number
  13401. gcaccountid:
  13402. description: 账户ID[合约币种]
  13403. type: integer
  13404. goodscode:
  13405. description: 商品代码
  13406. type: string
  13407. goodsid:
  13408. description: 商品ID
  13409. type: integer
  13410. goodsname:
  13411. description: 商品名称
  13412. type: string
  13413. goodunitid:
  13414. description: 商品单位id
  13415. type: integer
  13416. histradedate:
  13417. description: 历史交易日
  13418. type: string
  13419. isconfirmexercise:
  13420. description: 是否确认行权- 0:否 1:是
  13421. type: integer
  13422. ispreexercise:
  13423. description: 是否预申报- 0:否 1:是
  13424. type: integer
  13425. isvaliddata:
  13426. description: 是否有效 - 0:无效 1:有效
  13427. type: integer
  13428. listingselecttype:
  13429. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13430. type: integer
  13431. marginalgorithm:
  13432. description: 保证金收取方式 1:比率 2:固定
  13433. type: integer
  13434. marginvalue:
  13435. description: 即市保证金设置值
  13436. type: number
  13437. marketid:
  13438. description: 市场ID
  13439. type: integer
  13440. marketmaxsub:
  13441. description: 市价最大偏移范围
  13442. type: number
  13443. marketname:
  13444. description: 市场名称
  13445. type: string
  13446. memberuserid:
  13447. description: 所属会员UserID
  13448. type: integer
  13449. openexchagechargevalue:
  13450. description: 建仓交易所手续费设置值
  13451. type: number
  13452. openfeealgorithm:
  13453. description: 建仓手续费收取方式 1:比率 2:固定
  13454. type: integer
  13455. openfreezecharge:
  13456. description: 开仓冻结手续费(先建后平操作,需要记录)
  13457. type: number
  13458. openmemberchargevalue:
  13459. description: 建仓会员手续费设置值
  13460. type: number
  13461. openqty:
  13462. description: 开仓数量(先建后平操作,需要记录)
  13463. type: number
  13464. opentradeqty:
  13465. description: 开仓成交数量(先建后平操作,需要记录)
  13466. type: number
  13467. openunfreezecharge:
  13468. description: 开仓解冻手续费(先建后平操作,需要记录)
  13469. type: number
  13470. operatetype:
  13471. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13472. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13473. 15:管理端协议转让
  13474. type: integer
  13475. operatorid:
  13476. description: 登录账号(LoginID)
  13477. type: integer
  13478. optiontype:
  13479. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13480. type: integer
  13481. orderid:
  13482. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13483. type: string
  13484. orderprice:
  13485. description: 委托价格
  13486. type: number
  13487. orderqty:
  13488. description: 委托数量
  13489. type: number
  13490. ordersrc:
  13491. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13492. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13493. type: integer
  13494. orderstatus:
  13495. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13496. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13497. 16:成交失败违约(荷兰式竞拍专用)
  13498. type: integer
  13499. ordertime:
  13500. description: 委托时间
  13501. type: string
  13502. preexerciseprice:
  13503. description: 预申报价格
  13504. type: number
  13505. premium:
  13506. description: 权利金
  13507. type: number
  13508. preorderid:
  13509. description: 关联预埋单号(止盈止损单时填写)
  13510. type: string
  13511. pricemode:
  13512. description: '取价方式 - 1:市价 2: 限价'
  13513. type: integer
  13514. qtydecimalplace:
  13515. description: 成交量小数位
  13516. type: integer
  13517. quoteid:
  13518. description: 报价单ID
  13519. type: integer
  13520. relatedid:
  13521. description: 关联单号(交割单)
  13522. type: string
  13523. retcode:
  13524. description: 错误代码
  13525. type: integer
  13526. sessionid:
  13527. description: 会话ID
  13528. type: integer
  13529. tradedate:
  13530. description: 交易日(yyyyMMdd)
  13531. type: string
  13532. trademode:
  13533. description: 交易模式
  13534. type: integer
  13535. tradeproperty:
  13536. description: 交易属性
  13537. type: integer
  13538. tradeqty:
  13539. description: 成交数量
  13540. type: number
  13541. unfreezecharge:
  13542. description: 解冻手续费
  13543. type: number
  13544. unfreezemargin:
  13545. description: 解冻保证金
  13546. type: number
  13547. updatetime:
  13548. description: 更新时间
  13549. type: string
  13550. uuid:
  13551. description: 发起端唯一id
  13552. type: string
  13553. validtime:
  13554. description: 有效期限
  13555. type: string
  13556. validtype:
  13557. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13558. type: integer
  13559. volumetype:
  13560. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13561. type: integer
  13562. required:
  13563. - accountid
  13564. - buildtype
  13565. - buyorsell
  13566. - goodsid
  13567. - histradedate
  13568. - marketid
  13569. - memberuserid
  13570. - operatetype
  13571. - orderid
  13572. - orderqty
  13573. - ordertime
  13574. - pricemode
  13575. - tradedate
  13576. - validtype
  13577. type: object
  13578. order.QueryTradeDetailRsp:
  13579. properties:
  13580. accountid:
  13581. description: 账户ID[报价币种]
  13582. type: integer
  13583. advanceratio:
  13584. description: 首付比率
  13585. type: number
  13586. buildtype:
  13587. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13588. type: integer
  13589. buyorsell:
  13590. description: 方向 - 0:买 1:卖
  13591. type: integer
  13592. charge:
  13593. description: 手续费
  13594. type: number
  13595. closecharge:
  13596. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13597. type: number
  13598. closeexchagechargevalue:
  13599. description: 平仓交易所手续费设置值
  13600. type: number
  13601. closefeealgorithm:
  13602. description: 平仓手续费收取方式 1:比率 2:固定
  13603. type: integer
  13604. closememberchargevalue:
  13605. description: 平仓会员手续费设置值
  13606. type: number
  13607. closepl:
  13608. description: 平仓盈亏
  13609. type: number
  13610. closepl2:
  13611. description: 平仓盈亏[逐笔]
  13612. type: number
  13613. closeqty:
  13614. description: 平仓数量(先建后平操作 需要记录)
  13615. type: number
  13616. creditamount:
  13617. description: 授信金额
  13618. type: number
  13619. decimalplace:
  13620. description: 商品报价小数位
  13621. type: integer
  13622. enumdicname:
  13623. description: 单位名称
  13624. type: string
  13625. gcaccountid:
  13626. description: 账户ID[合约币种]
  13627. type: integer
  13628. goodscode:
  13629. description: 商品代码
  13630. type: string
  13631. goodsid:
  13632. description: 商品ID
  13633. type: integer
  13634. goodsname:
  13635. description: 商品名称
  13636. type: string
  13637. goodunitid:
  13638. description: 商品单位id
  13639. type: integer
  13640. intclosepl:
  13641. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13642. type: integer
  13643. isconfirmexercise:
  13644. description: 是否确认行权- 0:否 1:是
  13645. type: integer
  13646. ismain:
  13647. description: 是否主单 - 0:不是 1:是
  13648. type: integer
  13649. ispreexercise:
  13650. description: 是否预申报- 0:否 1:是
  13651. type: integer
  13652. isreckoned:
  13653. description: 是否结算 - 0:未结算 1:已结算
  13654. type: integer
  13655. listingselecttype:
  13656. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13657. type: integer
  13658. marketid:
  13659. description: 市场ID
  13660. type: integer
  13661. marketname:
  13662. description: 市场名称
  13663. type: string
  13664. matchaccountid:
  13665. description: 对手账号id
  13666. type: integer
  13667. memberuserid:
  13668. description: 会员id 个人投资者 需要填写
  13669. type: integer
  13670. opencharge:
  13671. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13672. type: number
  13673. openexchagechargevalue:
  13674. description: 建仓交易所手续费设置值
  13675. type: number
  13676. openfeealgorithm:
  13677. description: 建仓手续费收取方式 1:比率 2:固定
  13678. type: integer
  13679. openmemberchargevalue:
  13680. description: 建仓会员手续费设置值
  13681. type: number
  13682. openqty:
  13683. description: 开仓数量(先建后平操作 需要记录)
  13684. type: number
  13685. optiontype:
  13686. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13687. type: integer
  13688. orderid:
  13689. description: 委托单号
  13690. type: string
  13691. payamount:
  13692. description: 支付金额(付款金额)
  13693. type: number
  13694. performanceplanid:
  13695. description: 履约计划ID[期权]
  13696. type: integer
  13697. performancestatus:
  13698. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13699. type: integer
  13700. preexerciseprice:
  13701. description: 预申报价格
  13702. type: number
  13703. premium:
  13704. description: 权利金 - [持仓单的权利金]
  13705. type: number
  13706. qtydecimalplace:
  13707. description: 商品报价小数位
  13708. type: integer
  13709. recvamount:
  13710. description: 到账金额 = 成交金额 - 手续费
  13711. type: number
  13712. relatedouttradeid:
  13713. description: 关联外部成交单ID
  13714. type: integer
  13715. status:
  13716. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13717. type: integer
  13718. totalamount:
  13719. description: 订单总额 = 成交金额 + 手续费
  13720. type: number
  13721. tradeamount:
  13722. description: 成交金额[账户币种,用于所有权]
  13723. type: number
  13724. tradedate:
  13725. description: 交易日(yyyyMMdd)
  13726. type: string
  13727. tradeid:
  13728. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13729. type: string
  13730. trademode:
  13731. description: 交易模式
  13732. type: integer
  13733. tradeprice:
  13734. description: 成交价格
  13735. type: number
  13736. tradeproperty:
  13737. description: 交易属性
  13738. type: integer
  13739. tradeqty:
  13740. description: 成交数量
  13741. type: number
  13742. tradetime:
  13743. description: 成交时间
  13744. type: string
  13745. tradetype:
  13746. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13747. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13748. type: integer
  13749. required:
  13750. - accountid
  13751. - buyorsell
  13752. - goodsid
  13753. - marketid
  13754. - memberuserid
  13755. - orderid
  13756. - tradeamount
  13757. - tradedate
  13758. - tradeid
  13759. - tradeprice
  13760. - tradeqty
  13761. - tradetime
  13762. type: object
  13763. order.QueryTradeOrderDetailRsp:
  13764. properties:
  13765. accountid:
  13766. description: 账户ID[报价币种]
  13767. type: integer
  13768. buildtype:
  13769. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13770. type: integer
  13771. buyorsell:
  13772. description: 买卖 - 0:买 1:卖
  13773. type: integer
  13774. cancelorderid:
  13775. description: 撤单单号(撤单时填写)
  13776. type: string
  13777. cancelqty:
  13778. description: 撤单数量
  13779. type: number
  13780. clienttype:
  13781. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13782. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13783. type: integer
  13784. closefreezecharge:
  13785. description: 平仓冻结手续费(先建后平操作,需要记录)
  13786. type: number
  13787. closeqty:
  13788. description: 平仓数量(先建后平操作 需要记录)
  13789. type: number
  13790. closetradeqty:
  13791. description: 平仓成交数量(先建后平操作,需要记录)
  13792. type: number
  13793. closeunfreezecharge:
  13794. description: 平仓解冻手续费(先建后平操作,需要记录)
  13795. type: number
  13796. decimalplace:
  13797. description: 商品报价小数位
  13798. type: integer
  13799. delistingtype:
  13800. description: 摘牌类型 - 1:价格最优 2:点选成交
  13801. type: integer
  13802. enableqty:
  13803. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  13804. type: number
  13805. enumdicname:
  13806. description: 单位名称
  13807. type: string
  13808. freezecharge:
  13809. description: 冻结手续费
  13810. type: number
  13811. freezemargin:
  13812. description: 冻结保证金(冻结交易金额)
  13813. type: number
  13814. goodscode:
  13815. description: 商品代码
  13816. type: string
  13817. goodsid:
  13818. description: 商品ID
  13819. type: integer
  13820. goodsname:
  13821. description: 商品名称
  13822. type: string
  13823. goodunitid:
  13824. description: 商品单位id
  13825. type: integer
  13826. listingselecttype:
  13827. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13828. type: integer
  13829. marketid:
  13830. description: 市场ID
  13831. type: integer
  13832. marketname:
  13833. description: 市场名称
  13834. type: string
  13835. openfreezecharge:
  13836. description: 开仓冻结手续费(先建后平操作,需要记录)
  13837. type: number
  13838. openqty:
  13839. description: 开仓数量(先建后平操作,需要记录)
  13840. type: number
  13841. opentradeqty:
  13842. description: 开仓成交数量(先建后平操作,需要记录)
  13843. type: number
  13844. openunfreezecharge:
  13845. description: 开仓解冻手续费(先建后平操作,需要记录)
  13846. type: number
  13847. operatetype:
  13848. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13849. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13850. 15:管理端协议转让
  13851. type: integer
  13852. operatorid:
  13853. description: 登录账号(LoginID)
  13854. type: integer
  13855. orderid:
  13856. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13857. type: string
  13858. orderprice:
  13859. description: 委托价格
  13860. type: number
  13861. orderqty:
  13862. description: 委托数量
  13863. type: number
  13864. ordersrc:
  13865. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  13866. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  13867. type: integer
  13868. orderstatus:
  13869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13870. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13871. 16:成交失败违约(荷兰式竞拍专用)
  13872. type: integer
  13873. ordertime:
  13874. description: 委托时间
  13875. type: string
  13876. preorderid:
  13877. description: 关联预埋单号(止盈止损单时填写)
  13878. type: string
  13879. pricemode:
  13880. description: '取价方式 - 1:市价 2: 限价'
  13881. type: integer
  13882. qtydecimalplace:
  13883. description: 商品报价小数位
  13884. type: integer
  13885. relatedid:
  13886. description: 关联单号(交割单)
  13887. type: string
  13888. tradedate:
  13889. description: 交易日(yyyyMMdd)
  13890. type: string
  13891. trademode:
  13892. description: 交易模式
  13893. type: integer
  13894. tradeqty:
  13895. description: 成交数量
  13896. type: number
  13897. unfreezecharge:
  13898. description: 解冻手续费
  13899. type: number
  13900. unfreezemargin:
  13901. description: 解冻保证金
  13902. type: number
  13903. validtime:
  13904. description: 有效期限
  13905. type: string
  13906. validtype:
  13907. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  13908. type: integer
  13909. volumetype:
  13910. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  13911. type: integer
  13912. required:
  13913. - accountid
  13914. - buildtype
  13915. - buyorsell
  13916. - goodsid
  13917. - marketid
  13918. - operatetype
  13919. - orderqty
  13920. - ordertime
  13921. - pricemode
  13922. - tradedate
  13923. - validtype
  13924. type: object
  13925. order.QueryTradePositionRsp:
  13926. properties:
  13927. accountid:
  13928. description: 资金账户
  13929. type: integer
  13930. agreeunit:
  13931. description: 合约单位
  13932. type: number
  13933. averageprice:
  13934. description: 持仓均价
  13935. type: number
  13936. buyorsell:
  13937. description: 方向 - 0:买 1:卖
  13938. type: integer
  13939. closetotalqty:
  13940. description: 平仓总数量
  13941. type: number
  13942. curholderamount:
  13943. description: 当前持仓总金额[商品币种]
  13944. type: number
  13945. curpositionqty:
  13946. description: 当前持仓总数量
  13947. type: number
  13948. currencyid:
  13949. description: 报价货币ID
  13950. type: integer
  13951. curtdposition:
  13952. description: 期末今日头寸
  13953. type: number
  13954. decimalplace:
  13955. description: 报价小数位
  13956. type: integer
  13957. enableqty:
  13958. description: 可用量
  13959. type: number
  13960. fretdposition:
  13961. description: 冻结今日头寸
  13962. type: number
  13963. frozenqty:
  13964. description: 持仓冻结数量
  13965. type: number
  13966. goodscode:
  13967. description: 商品代码
  13968. type: string
  13969. goodsid:
  13970. description: 商品Id
  13971. type: integer
  13972. goodsname:
  13973. description: 商品名称
  13974. type: string
  13975. goodunit:
  13976. description: 报价单位
  13977. type: string
  13978. goodunitid:
  13979. description: 报价单位ID
  13980. type: integer
  13981. holderamount:
  13982. description: 期初持仓总金额[商品币种]
  13983. type: number
  13984. lastprice:
  13985. description: 最新价
  13986. type: number
  13987. marketamount:
  13988. description: 市值
  13989. type: number
  13990. marketid:
  13991. description: 所属市场ID
  13992. type: integer
  13993. openreqqty:
  13994. description: 开仓申请数量(用于比较最大持仓数量)
  13995. type: number
  13996. opentotalqty:
  13997. description: 开仓总数量
  13998. type: number
  13999. otherfrozenqty:
  14000. description: 持仓其他冻结数量(交割冻结)
  14001. type: number
  14002. positionpl:
  14003. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  14004. * 合约单位
  14005. type: number
  14006. positionplrate:
  14007. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  14008. type: number
  14009. positionqty:
  14010. description: 期初持仓数量
  14011. type: number
  14012. qtydecimalplace:
  14013. description: 成交量小数位
  14014. type: integer
  14015. tnqty:
  14016. description: T+N冻结总量
  14017. type: number
  14018. tnusedqty:
  14019. description: T+N使用量(可以使用T+N的冻结数量)
  14020. type: number
  14021. trademode:
  14022. description: 交易模式
  14023. type: integer
  14024. usedmargin:
  14025. description: 占用保证金[商品币种]
  14026. type: number
  14027. required:
  14028. - goodsid
  14029. type: object
  14030. quote.HistoryData:
  14031. properties:
  14032. c:
  14033. description: 收盘价
  14034. type: number
  14035. f:
  14036. description: 是否补充数据
  14037. type: boolean
  14038. h:
  14039. description: 最高价
  14040. type: number
  14041. hv:
  14042. description: 持仓量
  14043. type: integer
  14044. l:
  14045. description: 最低价
  14046. type: number
  14047. o:
  14048. description: 开盘价
  14049. type: number
  14050. s:
  14051. description: 结算价,日线周期(包括)以上才有
  14052. type: number
  14053. ts:
  14054. description: 时间
  14055. type: string
  14056. tt:
  14057. description: 总金额
  14058. type: number
  14059. tv:
  14060. description: 总量
  14061. type: integer
  14062. type: object
  14063. quote.HistoryTikData:
  14064. properties:
  14065. AV:
  14066. description: 卖量
  14067. type: integer
  14068. Ask:
  14069. description: 卖价
  14070. type: number
  14071. BV:
  14072. description: 买量
  14073. type: integer
  14074. Bid:
  14075. description: 买价
  14076. type: number
  14077. HI:
  14078. description: 单笔持仓
  14079. type: integer
  14080. HV:
  14081. description: 持仓量
  14082. type: integer
  14083. PE:
  14084. description: 现价
  14085. type: number
  14086. TDR:
  14087. description: 交易方向,0:买 1:卖
  14088. type: integer
  14089. TK:
  14090. description: 交易类型
  14091. type: integer
  14092. TS:
  14093. description: 行情时间文本
  14094. type: string
  14095. TT:
  14096. description: 现金额
  14097. type: number
  14098. Vol:
  14099. description: 现量
  14100. type: integer
  14101. type: object
  14102. quote.QueryQuoteDayRsp:
  14103. properties:
  14104. ask:
  14105. description: 卖1
  14106. type: number
  14107. ask2:
  14108. description: 卖2
  14109. type: number
  14110. ask3:
  14111. description: 卖3
  14112. type: number
  14113. ask4:
  14114. description: 卖4
  14115. type: number
  14116. ask5:
  14117. description: 卖5
  14118. type: number
  14119. ask6:
  14120. description: 卖6
  14121. type: number
  14122. ask7:
  14123. description: 卖7
  14124. type: number
  14125. ask8:
  14126. description: 卖8
  14127. type: number
  14128. ask9:
  14129. description: 卖9
  14130. type: number
  14131. ask10:
  14132. description: 卖10
  14133. type: number
  14134. askorderid:
  14135. description: 卖单号1
  14136. type: integer
  14137. askorderid2:
  14138. description: 卖单号2
  14139. type: integer
  14140. askorderid3:
  14141. description: 卖单号3
  14142. type: integer
  14143. askorderid4:
  14144. description: 卖单号4
  14145. type: integer
  14146. askorderid5:
  14147. description: 卖单号5
  14148. type: integer
  14149. askordervolume:
  14150. description: 卖单量1
  14151. type: integer
  14152. askordervolume2:
  14153. description: 卖单量2
  14154. type: integer
  14155. askordervolume3:
  14156. description: 卖单量3
  14157. type: integer
  14158. askordervolume4:
  14159. description: 卖单量4
  14160. type: integer
  14161. askordervolume5:
  14162. description: 卖单量5
  14163. type: integer
  14164. askordervolume6:
  14165. description: 卖单量6
  14166. type: integer
  14167. askordervolume7:
  14168. description: 卖单量7
  14169. type: integer
  14170. askordervolume8:
  14171. description: 卖单量8
  14172. type: integer
  14173. askordervolume9:
  14174. description: 卖单量9
  14175. type: integer
  14176. askordervolume10:
  14177. description: 卖单量10
  14178. type: integer
  14179. askqueueinfo:
  14180. description: 大利市卖港股用
  14181. type: string
  14182. askvolume:
  14183. description: 卖量1
  14184. type: integer
  14185. askvolume2:
  14186. description: 卖量2
  14187. type: integer
  14188. askvolume3:
  14189. description: 卖量3
  14190. type: integer
  14191. askvolume4:
  14192. description: 卖量4
  14193. type: integer
  14194. askvolume5:
  14195. description: 卖量5
  14196. type: integer
  14197. askvolume6:
  14198. description: 卖量6
  14199. type: integer
  14200. askvolume7:
  14201. description: 卖量7
  14202. type: integer
  14203. askvolume8:
  14204. description: 卖量8
  14205. type: integer
  14206. askvolume9:
  14207. description: 卖量9
  14208. type: integer
  14209. askvolume10:
  14210. description: 卖量10
  14211. type: integer
  14212. averageprice:
  14213. description: 均价
  14214. type: number
  14215. bid:
  14216. description: 买1
  14217. type: number
  14218. bid2:
  14219. description: 买2
  14220. type: number
  14221. bid3:
  14222. description: 买3
  14223. type: number
  14224. bid4:
  14225. description: 买4
  14226. type: number
  14227. bid5:
  14228. description: 买5
  14229. type: number
  14230. bid6:
  14231. description: 买6
  14232. type: number
  14233. bid7:
  14234. description: 买7
  14235. type: number
  14236. bid8:
  14237. description: 买8
  14238. type: number
  14239. bid9:
  14240. description: 买9
  14241. type: number
  14242. bid10:
  14243. description: 买10
  14244. type: number
  14245. bidorderid:
  14246. description: 买单号1
  14247. type: integer
  14248. bidorderid2:
  14249. description: 买单号2
  14250. type: integer
  14251. bidorderid3:
  14252. description: 买单号3
  14253. type: integer
  14254. bidorderid4:
  14255. description: 买单号4
  14256. type: integer
  14257. bidorderid5:
  14258. description: 买单号5
  14259. type: integer
  14260. bidordervolume:
  14261. description: 买单量1
  14262. type: integer
  14263. bidordervolume2:
  14264. description: 买单量2
  14265. type: integer
  14266. bidordervolume3:
  14267. description: 买单量3
  14268. type: integer
  14269. bidordervolume4:
  14270. description: 买单量4
  14271. type: integer
  14272. bidordervolume5:
  14273. description: 买单量5
  14274. type: integer
  14275. bidordervolume6:
  14276. description: 买单量6
  14277. type: integer
  14278. bidordervolume7:
  14279. description: 买单量7
  14280. type: integer
  14281. bidordervolume8:
  14282. description: 买单量8
  14283. type: integer
  14284. bidordervolume9:
  14285. description: 买单量9
  14286. type: integer
  14287. bidordervolume10:
  14288. description: 买单量10
  14289. type: integer
  14290. bidqueueinfo:
  14291. description: 大利市买港股用
  14292. type: string
  14293. bidvolume:
  14294. description: 买量1
  14295. type: integer
  14296. bidvolume2:
  14297. description: 买量2
  14298. type: integer
  14299. bidvolume3:
  14300. description: 买量3
  14301. type: integer
  14302. bidvolume4:
  14303. description: 买量4
  14304. type: integer
  14305. bidvolume5:
  14306. description: 买量5
  14307. type: integer
  14308. bidvolume6:
  14309. description: 买量6
  14310. type: integer
  14311. bidvolume7:
  14312. description: 买量7
  14313. type: integer
  14314. bidvolume8:
  14315. description: 买量8
  14316. type: integer
  14317. bidvolume9:
  14318. description: 买量9
  14319. type: integer
  14320. bidvolume10:
  14321. description: 买量10
  14322. type: integer
  14323. calloptionpremiums:
  14324. description: 认购期权1
  14325. type: integer
  14326. calloptionpremiums2:
  14327. description: 认购期权2
  14328. type: integer
  14329. calloptionpremiums3:
  14330. description: 认购期权3
  14331. type: integer
  14332. calloptionpremiums4:
  14333. description: 认购期权4
  14334. type: integer
  14335. calloptionpremiums5:
  14336. description: 认购期权5
  14337. type: integer
  14338. cleartime:
  14339. description: 清盘时间
  14340. type: integer
  14341. exchangecode:
  14342. description: 交易所代码
  14343. type: integer
  14344. exchangedate:
  14345. description: 交易日
  14346. type: integer
  14347. goodscode:
  14348. description: 商品代码
  14349. type: string
  14350. grepmarketprice:
  14351. description: 暗盘价 港股专用
  14352. type: number
  14353. highest:
  14354. description: 最高价
  14355. type: number
  14356. holdincrement:
  14357. description: 单笔持仓
  14358. type: integer
  14359. holdvolume:
  14360. description: 持仓
  14361. type: integer
  14362. iep:
  14363. description: 平衡价 港股专用
  14364. type: number
  14365. iev:
  14366. description: 平衡量 港股专用
  14367. type: number
  14368. inventory:
  14369. description: 库存
  14370. type: integer
  14371. iscleared:
  14372. description: 是否清盘标志
  14373. type: integer
  14374. issettled:
  14375. description: 是否结算标志
  14376. type: integer
  14377. last:
  14378. description: 最新价
  14379. type: number
  14380. lastlot:
  14381. description: 最新成交手数
  14382. type: integer
  14383. lasttime:
  14384. description: 行情时间(只有现价变化行情时间才变化)
  14385. type: string
  14386. lastturnover:
  14387. description: 最新成交金额
  14388. type: number
  14389. lastvolume:
  14390. description: 最新成交量
  14391. type: integer
  14392. limitdown:
  14393. description: 跌停价
  14394. type: number
  14395. limitup:
  14396. description: 涨停价
  14397. type: number
  14398. lowest:
  14399. description: 最低价
  14400. type: number
  14401. nontotalholdervolume:
  14402. description: 非交易持仓量
  14403. type: integer
  14404. nontotallot:
  14405. description: 非交易总手数
  14406. type: integer
  14407. nontotalturnover:
  14408. description: 非交易总金额
  14409. type: integer
  14410. nontotalvolume:
  14411. description: 非交易总量
  14412. type: integer
  14413. opened:
  14414. description: 开盘价
  14415. type: number
  14416. opentime:
  14417. description: 开盘时间
  14418. type: string
  14419. orderid:
  14420. description: 序号
  14421. type: integer
  14422. preclose:
  14423. description: 昨收
  14424. type: number
  14425. preholdvolume:
  14426. description: 昨持仓
  14427. type: integer
  14428. presettle:
  14429. description: 昨结价
  14430. type: number
  14431. publictradetype:
  14432. description: 公共交易标志类型 港股专用
  14433. type: string
  14434. putoptionpremiums:
  14435. description: 认沽期权1
  14436. type: integer
  14437. putoptionpremiums2:
  14438. description: 认沽期权2
  14439. type: integer
  14440. putoptionpremiums3:
  14441. description: 认沽期权3
  14442. type: integer
  14443. putoptionpremiums4:
  14444. description: 认沽期权4
  14445. type: integer
  14446. putoptionpremiums5:
  14447. description: 认沽期权5
  14448. type: integer
  14449. settle:
  14450. description: 结算价
  14451. type: number
  14452. strikeprice:
  14453. description: 发行价
  14454. type: number
  14455. totalaskvolume:
  14456. description: 内盘
  14457. type: integer
  14458. totalbidvolume:
  14459. description: 外盘
  14460. type: integer
  14461. totallot:
  14462. description: 总手数
  14463. type: integer
  14464. totalturnover:
  14465. description: 总金额
  14466. type: number
  14467. totalvolume:
  14468. description: 总量
  14469. type: integer
  14470. utclasttime:
  14471. description: utc的行情时间
  14472. type: string
  14473. type: object
  14474. quote.QueryTSDataRsp:
  14475. properties:
  14476. Count:
  14477. description: 交易日应有数据个数
  14478. type: integer
  14479. decimalPlace:
  14480. description: 小数位
  14481. type: integer
  14482. endTime:
  14483. description: 结束时间
  14484. type: string
  14485. goodsCode:
  14486. description: 商品代码
  14487. type: string
  14488. historyDatas:
  14489. description: 历史数据
  14490. items:
  14491. $ref: '#/definitions/quote.HistoryData'
  14492. type: array
  14493. outGoodsCode:
  14494. description: 外部商品代码
  14495. type: string
  14496. preSettle:
  14497. description: 昨结价
  14498. type: number
  14499. runSteps:
  14500. description: 交易日开休市计划
  14501. items:
  14502. $ref: '#/definitions/quote.TSDataRunStep'
  14503. type: array
  14504. startTime:
  14505. description: 开始时间
  14506. type: string
  14507. tradeDate:
  14508. description: 交易日
  14509. type: string
  14510. type: object
  14511. quote.TSDataRunStep:
  14512. properties:
  14513. end:
  14514. description: 真实结束时间
  14515. type: string
  14516. endflag:
  14517. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  14518. type: integer
  14519. endtime:
  14520. description: 结束时间(HH:mm)
  14521. type: string
  14522. endweekday:
  14523. description: 结束周几
  14524. type: integer
  14525. groupid:
  14526. description: 分组ID
  14527. type: integer
  14528. runstep:
  14529. description: 运行阶段 - 2:连续交易
  14530. type: integer
  14531. sectionid:
  14532. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  14533. 结束时间=结算时间 结束周几=结算周几
  14534. type: integer
  14535. start:
  14536. description: 真实开始时间
  14537. type: string
  14538. startflag:
  14539. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  14540. type: integer
  14541. starttime:
  14542. description: 起始时间(HH:mm)
  14543. type: string
  14544. startweekday:
  14545. description: 起始周几
  14546. type: integer
  14547. tradeweekday:
  14548. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  14549. type: integer
  14550. type: object
  14551. szdz.QueryConvertLogRsp:
  14552. properties:
  14553. accountid:
  14554. description: 资金账户ID
  14555. type: integer
  14556. clientticket:
  14557. description: 客户端流水号
  14558. type: string
  14559. converttype:
  14560. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  14561. type: integer
  14562. createtime:
  14563. description: 记账时间
  14564. type: string
  14565. daymaxvalue:
  14566. description: 配置当日最大转入限制
  14567. type: number
  14568. daymaxvalue2:
  14569. description: 配置当日最大转入限制(转入)
  14570. type: number
  14571. goodscode:
  14572. description: 商品代码
  14573. type: string
  14574. goodsname:
  14575. description: 商品名称
  14576. type: string
  14577. handlestatus:
  14578. description: 处理状态
  14579. type: integer
  14580. innergoodsid:
  14581. description: 内部商品ID
  14582. type: integer
  14583. inratio:
  14584. description: 配置转入比值
  14585. type: integer
  14586. invalue:
  14587. description: 目标值
  14588. type: number
  14589. logid:
  14590. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14591. type: integer
  14592. mobile:
  14593. description: 手机号码(加密存储)
  14594. type: string
  14595. outergoodscode:
  14596. description: 外部商品代码[JD\PD]
  14597. type: string
  14598. outratio:
  14599. description: 配置转出比值
  14600. type: integer
  14601. outvalue:
  14602. description: 源值
  14603. type: number
  14604. pddecimalplace:
  14605. description: PD小数位
  14606. type: integer
  14607. qty:
  14608. description: 数量
  14609. type: string
  14610. remark:
  14611. description: 备注
  14612. type: string
  14613. sessionid:
  14614. description: 会话ID
  14615. type: integer
  14616. timemaxvalue:
  14617. description: 配置单次最大转入限制
  14618. type: number
  14619. timemaxvalue2:
  14620. description: 配置单次最大转入限制(转入)
  14621. type: number
  14622. timeminvalue:
  14623. description: 配置单次最小数量限制
  14624. type: number
  14625. timeminvalue2:
  14626. description: 配置单次最小数量限制(转入)
  14627. type: number
  14628. tradedate:
  14629. description: 交易日(yyyyMMdd)
  14630. type: string
  14631. userid:
  14632. description: 用户ID
  14633. type: integer
  14634. required:
  14635. - logid
  14636. type: object
  14637. szdz.QueryGoodsPickupRsp:
  14638. properties:
  14639. accountid:
  14640. description: 账户ID
  14641. type: integer
  14642. address:
  14643. description: 提货人详细地址
  14644. type: string
  14645. auditer:
  14646. description: 审核人
  14647. type: integer
  14648. audittime:
  14649. description: 审核时间
  14650. type: string
  14651. cardnum:
  14652. description: 提货人证件号码
  14653. type: string
  14654. cardtypeid:
  14655. description: 提货人证件类型
  14656. type: integer
  14657. checkremark:
  14658. description: 审核备注
  14659. type: string
  14660. goodscode:
  14661. description: 商品代码
  14662. type: string
  14663. goodsid:
  14664. description: 商品ID
  14665. type: integer
  14666. goodsname:
  14667. description: 商品名称
  14668. type: string
  14669. handlestatus:
  14670. description: 处理状态
  14671. type: integer
  14672. marketid:
  14673. description: 市场ID
  14674. type: integer
  14675. phonenum:
  14676. description: 提货人联系方式
  14677. type: string
  14678. qty:
  14679. description: 提货数量
  14680. type: number
  14681. recivername:
  14682. description: 提货人姓名
  14683. type: string
  14684. reqtime:
  14685. description: 更新时间
  14686. type: string
  14687. takemode:
  14688. description: 提货方式 - 2:自提 3:配送
  14689. type: integer
  14690. takeorderid:
  14691. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14692. type: string
  14693. takeorderstatus:
  14694. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14695. type: integer
  14696. takeremark:
  14697. description: 提货备注
  14698. type: string
  14699. tradedate:
  14700. description: 交易日(yyyyMMdd)
  14701. type: string
  14702. userid:
  14703. description: 用户ID
  14704. type: integer
  14705. required:
  14706. - takeorderid
  14707. type: object
  14708. szdz.QueryRecieptOrderRsp:
  14709. properties:
  14710. accountName:
  14711. description: 所属账号名称(已脱敏)
  14712. type: string
  14713. accountid:
  14714. description: 资金账号
  14715. type: integer
  14716. buyorsell:
  14717. description: 方向 - 0:买 1:卖
  14718. type: integer
  14719. enableqty:
  14720. description: 可摘数量
  14721. type: integer
  14722. goodscode:
  14723. description: 商品代码
  14724. type: string
  14725. goodsid:
  14726. description: 商品ID
  14727. type: integer
  14728. goodsname:
  14729. description: 商品名称
  14730. type: string
  14731. orderid:
  14732. description: 委托单号
  14733. type: string
  14734. orderprice:
  14735. description: 委托价格
  14736. type: number
  14737. ordertime:
  14738. description: 委托时间
  14739. type: string
  14740. tradedate:
  14741. description: 交易日(yyyyMMdd)
  14742. type: string
  14743. required:
  14744. - ordertime
  14745. type: object
  14746. szdz.QuerySZDZTradePositionRsp:
  14747. properties:
  14748. accountid:
  14749. description: 账号Id
  14750. type: integer
  14751. agreeunit:
  14752. description: 合约单位
  14753. type: number
  14754. averageprice:
  14755. description: 持仓均价
  14756. type: number
  14757. buyorsell:
  14758. description: 方向 - 0:买 1:卖
  14759. type: integer
  14760. closetotalqty:
  14761. description: 平仓总数量
  14762. type: integer
  14763. curholderamount:
  14764. description: 当前持仓总金额
  14765. type: number
  14766. curpositionqty:
  14767. description: 当前持仓总数量
  14768. type: integer
  14769. currencyid:
  14770. description: 报价货币ID
  14771. type: integer
  14772. curtdposition:
  14773. description: 期末今日头寸
  14774. type: integer
  14775. decimalplace:
  14776. description: 报价小数位
  14777. type: integer
  14778. enableqty:
  14779. description: 可用量
  14780. type: integer
  14781. fretdposition:
  14782. description: 冻结今日头寸
  14783. type: integer
  14784. frozenqty:
  14785. description: 持仓冻结数量
  14786. type: integer
  14787. goodscode:
  14788. description: 商品代码(内部)
  14789. type: string
  14790. goodsid:
  14791. description: 商品Id
  14792. type: integer
  14793. goodsname:
  14794. description: 商品名称
  14795. type: string
  14796. goodunit:
  14797. description: 报价单位
  14798. type: string
  14799. goodunitid:
  14800. description: 报价单位ID
  14801. type: integer
  14802. holderamount:
  14803. description: 期初持仓总金额
  14804. type: number
  14805. marketid:
  14806. description: 市场ID
  14807. type: integer
  14808. openreqqty:
  14809. description: 开仓申请数量
  14810. type: integer
  14811. opentotalqty:
  14812. description: 开仓总数量
  14813. type: integer
  14814. otherfrozenqty:
  14815. description: 持仓其他冻结数量(交割冻结)
  14816. type: integer
  14817. positionqty:
  14818. description: 期初持仓数量
  14819. type: integer
  14820. szdz3freezqty:
  14821. description: 尚志大宗转换冻结总数量
  14822. type: integer
  14823. tnqty:
  14824. description: T+N冻结总量
  14825. type: integer
  14826. tnusedqty:
  14827. description: T+N使用量
  14828. type: integer
  14829. trademode:
  14830. description: 交易模式
  14831. type: integer
  14832. usedmargin:
  14833. description: 占用保证金
  14834. type: number
  14835. type: object
  14836. taaccount.QueryAmountLogRsp:
  14837. properties:
  14838. OPERATETYPENAME:
  14839. description: 资金操作类型名称
  14840. type: string
  14841. accountid:
  14842. description: 资金账户ID
  14843. type: integer
  14844. agoodscode:
  14845. description: 竞拍商品代码
  14846. type: string
  14847. agoodsname:
  14848. description: 竞拍商品名称
  14849. type: string
  14850. amount:
  14851. description: 资金金额
  14852. type: number
  14853. amountadjusttype:
  14854. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14855. type: integer
  14856. autoid:
  14857. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14858. type: integer
  14859. balance:
  14860. description: 期初余额
  14861. type: number
  14862. businesscode:
  14863. description: 业务编号
  14864. type: integer
  14865. createtime:
  14866. description: 发生时间
  14867. type: string
  14868. currencyid:
  14869. description: 币种ID
  14870. type: integer
  14871. currentbalance:
  14872. description: 期末余额(变动后金额)
  14873. type: number
  14874. dgoodscode:
  14875. description: 交割商品代码
  14876. type: string
  14877. dgoodsname:
  14878. description: 交割商品名称
  14879. type: string
  14880. goodscode:
  14881. description: 商品代码
  14882. type: string
  14883. goodsid:
  14884. description: 商品ID
  14885. type: integer
  14886. goodsname:
  14887. description: 商品名称
  14888. type: string
  14889. marketid:
  14890. description: 市场ID
  14891. type: integer
  14892. marketname:
  14893. description: 市场名称
  14894. type: string
  14895. moneyticket:
  14896. description: 资金流水号:银行端流水号
  14897. type: integer
  14898. operatetype:
  14899. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14900. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  14901. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  14902. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  14903. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  14904. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  14905. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  14906. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  14907. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  14908. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  14909. type: integer
  14910. relationorderid:
  14911. description: 关联单号
  14912. type: string
  14913. remark:
  14914. description: 备注
  14915. type: string
  14916. trademode:
  14917. description: 交易模式
  14918. type: integer
  14919. required:
  14920. - accountid
  14921. - amount
  14922. - amountadjusttype
  14923. - autoid
  14924. - balance
  14925. - createtime
  14926. - currentbalance
  14927. - operatetype
  14928. type: object
  14929. taaccount.QueryHisAmountLogRsp:
  14930. properties:
  14931. OPERATETYPENAME:
  14932. description: 资金操作类型名称
  14933. type: string
  14934. accountid:
  14935. description: 资金账户ID
  14936. type: integer
  14937. agoodscode:
  14938. description: 竞拍商品代码
  14939. type: string
  14940. agoodsname:
  14941. description: 竞拍商品名称
  14942. type: string
  14943. amount:
  14944. description: 资金金额
  14945. type: number
  14946. amountadjusttype:
  14947. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  14948. type: integer
  14949. autoid:
  14950. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  14951. type: integer
  14952. balance:
  14953. description: 期初余额
  14954. type: number
  14955. businesscode:
  14956. description: 业务编号
  14957. type: integer
  14958. createtime:
  14959. description: 发生时间
  14960. type: string
  14961. currencyid:
  14962. description: 币种ID
  14963. type: integer
  14964. currentbalance:
  14965. description: 期末余额(变动后金额)
  14966. type: number
  14967. dgoodscode:
  14968. description: 交割商品代码
  14969. type: string
  14970. dgoodsname:
  14971. description: 交割商品名称
  14972. type: string
  14973. goodscode:
  14974. description: 商品代码
  14975. type: string
  14976. goodsid:
  14977. description: 商品ID
  14978. type: integer
  14979. goodsname:
  14980. description: 商品名称
  14981. type: string
  14982. histradedate:
  14983. description: 历史交易日
  14984. type: string
  14985. isvaliddata:
  14986. description: 是否有效 - 0:无效 1:有效
  14987. type: integer
  14988. marketid:
  14989. description: 市场ID
  14990. type: integer
  14991. marketname:
  14992. description: 市场名称
  14993. type: string
  14994. moneyticket:
  14995. description: 资金流水号:银行端流水号
  14996. type: integer
  14997. operatetype:
  14998. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  14999. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15000. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15001. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15002. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15003. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15004. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15005. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15006. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15007. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15008. type: integer
  15009. relationorderid:
  15010. description: 关联单号
  15011. type: string
  15012. remark:
  15013. description: 备注
  15014. type: string
  15015. trademode:
  15016. description: 交易模式
  15017. type: integer
  15018. required:
  15019. - accountid
  15020. - amount
  15021. - amountadjusttype
  15022. - autoid
  15023. - balance
  15024. - createtime
  15025. - currentbalance
  15026. - histradedate
  15027. - operatetype
  15028. type: object
  15029. trade.QueryRecieptOrderRsp:
  15030. properties:
  15031. accountName:
  15032. description: 所属账号名称(已脱敏)
  15033. type: string
  15034. accountid:
  15035. description: 资金账号
  15036. type: integer
  15037. buyorsell:
  15038. description: 方向 - 0:买 1:卖
  15039. type: integer
  15040. enableqty:
  15041. description: 可摘数量
  15042. type: integer
  15043. goodscode:
  15044. description: 商品代码
  15045. type: string
  15046. goodsid:
  15047. description: 商品ID
  15048. type: integer
  15049. goodsname:
  15050. description: 商品名称
  15051. type: string
  15052. orderid:
  15053. description: 委托单号
  15054. type: string
  15055. orderprice:
  15056. description: 委托价格
  15057. type: number
  15058. ordertime:
  15059. description: 委托时间
  15060. type: string
  15061. tradedate:
  15062. description: 交易日(yyyyMMdd)
  15063. type: string
  15064. required:
  15065. - ordertime
  15066. type: object
  15067. user.LoginQueryRsp:
  15068. properties:
  15069. areaRoles:
  15070. description: 所属角色信息
  15071. items:
  15072. $ref: '#/definitions/models.Arearole'
  15073. type: array
  15074. externalExchanges:
  15075. description: 外部交易所
  15076. items:
  15077. $ref: '#/definitions/models.Externalexchange'
  15078. type: array
  15079. goodsgroups:
  15080. description: 商品组
  15081. items:
  15082. $ref: '#/definitions/models.Goodsgroup'
  15083. type: array
  15084. loginAccount:
  15085. $ref: '#/definitions/models.Loginaccount'
  15086. description: 登录账号
  15087. type: object
  15088. markets:
  15089. description: 市场
  15090. items:
  15091. $ref: '#/definitions/models.Market'
  15092. type: array
  15093. systemParams:
  15094. description: 系统参数
  15095. items:
  15096. $ref: '#/definitions/models.Systemparam'
  15097. type: array
  15098. userAccount:
  15099. $ref: '#/definitions/models.Useraccount'
  15100. description: 用户账号
  15101. type: object
  15102. userInfo:
  15103. $ref: '#/definitions/models.Userinfo'
  15104. description: 用户信息
  15105. type: object
  15106. username:
  15107. description: 用户姓名
  15108. type: string
  15109. type: object
  15110. info:
  15111. contact: {}
  15112. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  15113. license: {}
  15114. termsOfService: http://www.muchinfo.cn
  15115. title: MTP2.0 查询服务 API
  15116. version: "1.0"
  15117. paths:
  15118. /CPTrade/QueryCPTradeMyBidInfos:
  15119. get:
  15120. parameters:
  15121. - description: 资金账户
  15122. in: query
  15123. name: accountid
  15124. required: true
  15125. type: integer
  15126. - description: 预售市场ID
  15127. in: query
  15128. name: marketid
  15129. type: integer
  15130. - description: 预售商品ID
  15131. in: query
  15132. name: goodsid
  15133. type: integer
  15134. produces:
  15135. - application/json
  15136. responses:
  15137. "200":
  15138. description: OK
  15139. schema:
  15140. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  15141. "500":
  15142. description: Internal Server Error
  15143. schema:
  15144. $ref: '#/definitions/app.Response'
  15145. security:
  15146. - ApiKeyAuth: []
  15147. summary: 查询产能预售我的出价信息
  15148. tags:
  15149. - 产能预售
  15150. /CPTrade/QueryCPTradeOrderDetail:
  15151. get:
  15152. parameters:
  15153. - description: 预售商品ID
  15154. in: query
  15155. name: goodsid
  15156. type: integer
  15157. - description: 预售市场ID
  15158. in: query
  15159. name: marketid
  15160. type: integer
  15161. - description: 预售商品ID列表 - 格式:1,2,3
  15162. in: query
  15163. name: goodsids
  15164. type: string
  15165. produces:
  15166. - application/json
  15167. responses:
  15168. "200":
  15169. description: OK
  15170. schema:
  15171. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  15172. "500":
  15173. description: Internal Server Error
  15174. schema:
  15175. $ref: '#/definitions/app.Response'
  15176. security:
  15177. - ApiKeyAuth: []
  15178. summary: 查询产能预售委托单信息
  15179. tags:
  15180. - 产能预售
  15181. /CPTrade/QueryMyCPTradeGoods:
  15182. get:
  15183. parameters:
  15184. - description: 资金账户
  15185. in: query
  15186. name: accountid
  15187. required: true
  15188. type: integer
  15189. produces:
  15190. - application/json
  15191. responses:
  15192. "200":
  15193. description: OK
  15194. schema:
  15195. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  15196. "500":
  15197. description: Internal Server Error
  15198. schema:
  15199. $ref: '#/definitions/app.Response'
  15200. security:
  15201. - ApiKeyAuth: []
  15202. summary: 查询我的预售信息
  15203. tags:
  15204. - 产能预售
  15205. /CPTrade/QueryPositionCancel:
  15206. get:
  15207. parameters:
  15208. - description: 账户ID
  15209. in: query
  15210. name: userid
  15211. required: true
  15212. type: integer
  15213. - description: 注销ID
  15214. in: query
  15215. name: cancelid
  15216. type: integer
  15217. - description: 资金账户ID
  15218. in: query
  15219. name: accountid
  15220. type: integer
  15221. produces:
  15222. - application/json
  15223. responses:
  15224. "200":
  15225. description: OK
  15226. schema:
  15227. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  15228. "500":
  15229. description: Internal Server Error
  15230. schema:
  15231. $ref: '#/definitions/app.Response'
  15232. security:
  15233. - ApiKeyAuth: []
  15234. summary: 查询远期订单注销申请信息
  15235. tags:
  15236. - 产能预售
  15237. /CPTrade/QueryPreasleApply:
  15238. get:
  15239. parameters:
  15240. - description: 账户ID
  15241. in: query
  15242. name: userid
  15243. required: true
  15244. type: integer
  15245. - description: 申请ID
  15246. in: query
  15247. name: applyid
  15248. type: integer
  15249. - description: 资金账户ID
  15250. in: query
  15251. name: accountid
  15252. type: integer
  15253. produces:
  15254. - application/json
  15255. responses:
  15256. "200":
  15257. description: OK
  15258. schema:
  15259. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15260. "500":
  15261. description: Internal Server Error
  15262. schema:
  15263. $ref: '#/definitions/app.Response'
  15264. security:
  15265. - ApiKeyAuth: []
  15266. summary: 查询产能预售申请信息
  15267. tags:
  15268. - 产能预售
  15269. /CPTrade/QueryPresaleGoodsEx:
  15270. get:
  15271. parameters:
  15272. - description: 预售商品ID
  15273. in: query
  15274. name: goodsid
  15275. type: integer
  15276. - description: 预售市场ID
  15277. in: query
  15278. name: marketid
  15279. type: integer
  15280. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15281. in: query
  15282. name: presalemode
  15283. type: integer
  15284. - description: 预售商品ID列表 - 格式:1,2,3
  15285. in: query
  15286. name: goodsids
  15287. type: string
  15288. - description: 预售商品代码
  15289. in: query
  15290. name: goodscode
  15291. type: string
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  15299. "500":
  15300. description: Internal Server Error
  15301. schema:
  15302. $ref: '#/definitions/app.Response'
  15303. security:
  15304. - ApiKeyAuth: []
  15305. summary: 查询产能预售商品扩展信息
  15306. tags:
  15307. - 产能预售
  15308. /CPTrade/QueryUserGoodsData:
  15309. get:
  15310. parameters:
  15311. - description: 资金账户ID
  15312. in: query
  15313. name: accountid
  15314. required: true
  15315. type: integer
  15316. produces:
  15317. - application/json
  15318. responses:
  15319. "200":
  15320. description: OK
  15321. schema:
  15322. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15323. "500":
  15324. description: Internal Server Error
  15325. schema:
  15326. $ref: '#/definitions/app.Response'
  15327. security:
  15328. - ApiKeyAuth: []
  15329. summary: 查询远期订单信息
  15330. tags:
  15331. - 产能预售
  15332. /Common/GetAllEnums:
  15333. get:
  15334. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15335. parameters:
  15336. - description: 起始自增ID
  15337. in: query
  15338. name: autoid
  15339. type: integer
  15340. produces:
  15341. - application/json
  15342. responses:
  15343. "200":
  15344. description: OK
  15345. schema:
  15346. $ref: '#/definitions/models.Enumdicitem'
  15347. "500":
  15348. description: Internal Server Error
  15349. schema:
  15350. $ref: '#/definitions/app.Response'
  15351. summary: 获取所有枚举信息
  15352. tags:
  15353. - 通用服务
  15354. /Common/GetClientMenus:
  15355. get:
  15356. parameters:
  15357. - description: 登录账号
  15358. in: query
  15359. name: loginID
  15360. required: true
  15361. type: integer
  15362. - description: 终端类型,0:PC 1:Mobile
  15363. in: query
  15364. name: clientType
  15365. type: integer
  15366. produces:
  15367. - application/json
  15368. responses:
  15369. "200":
  15370. description: OK
  15371. schema:
  15372. items:
  15373. $ref: '#/definitions/common.ClientMenu'
  15374. type: array
  15375. "500":
  15376. description: Internal Server Error
  15377. schema:
  15378. $ref: '#/definitions/app.Response'
  15379. security:
  15380. - ApiKeyAuth: []
  15381. summary: 获取交易端菜单
  15382. tags:
  15383. - 通用服务
  15384. /Common/GetDivisions:
  15385. get:
  15386. produces:
  15387. - application/json
  15388. responses:
  15389. "200":
  15390. description: OK
  15391. schema:
  15392. $ref: '#/definitions/models.Division'
  15393. "500":
  15394. description: Internal Server Error
  15395. schema:
  15396. $ref: '#/definitions/app.Response'
  15397. summary: 查询区域信息
  15398. tags:
  15399. - 通用服务
  15400. /Common/GetServerTime:
  15401. get:
  15402. produces:
  15403. - application/json
  15404. responses:
  15405. "200":
  15406. description: OK
  15407. schema:
  15408. $ref: '#/definitions/app.Response'
  15409. "500":
  15410. description: Internal Server Error
  15411. schema:
  15412. $ref: '#/definitions/app.Response'
  15413. summary: 获取服务器时间
  15414. tags:
  15415. - 通用服务
  15416. /Common/NoticeReaded:
  15417. post:
  15418. parameters:
  15419. - description: 登录账号
  15420. in: query
  15421. name: loginID
  15422. required: true
  15423. type: integer
  15424. - description: 通知公告ID
  15425. in: query
  15426. name: noticeID
  15427. required: true
  15428. type: integer
  15429. produces:
  15430. - application/json
  15431. responses:
  15432. "200":
  15433. description: OK
  15434. schema:
  15435. $ref: '#/definitions/app.Response'
  15436. "500":
  15437. description: Internal Server Error
  15438. schema:
  15439. $ref: '#/definitions/app.Response'
  15440. security:
  15441. - ApiKeyAuth: []
  15442. summary: 通知公告设置已读请求
  15443. tags:
  15444. - 通用服务
  15445. /Common/QueryErrorInfos:
  15446. get:
  15447. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15448. parameters:
  15449. - description: 起始行号前索引
  15450. in: query
  15451. name: rowNumber
  15452. type: string
  15453. produces:
  15454. - application/json
  15455. responses:
  15456. "200":
  15457. description: OK
  15458. schema:
  15459. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15460. "500":
  15461. description: Internal Server Error
  15462. schema:
  15463. $ref: '#/definitions/app.Response'
  15464. summary: 获取数据库错误信息
  15465. tags:
  15466. - 通用服务
  15467. /Common/QueryImageConfigs:
  15468. get:
  15469. parameters:
  15470. - description: 用户id
  15471. in: query
  15472. name: userId
  15473. type: integer
  15474. - description: 类型 - 1:App首页轮播 2:我的
  15475. in: query
  15476. name: imageType
  15477. type: integer
  15478. produces:
  15479. - application/json
  15480. responses:
  15481. "200":
  15482. description: OK
  15483. schema:
  15484. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15485. "500":
  15486. description: Internal Server Error
  15487. schema:
  15488. $ref: '#/definitions/app.Response'
  15489. summary: 查询轮播图配置信息
  15490. tags:
  15491. - 通用服务
  15492. /Common/QueryNotice:
  15493. get:
  15494. parameters:
  15495. - description: 页码
  15496. in: query
  15497. name: page
  15498. type: integer
  15499. - description: 每页条数
  15500. in: query
  15501. name: pagesize
  15502. type: integer
  15503. - description: 登录账号
  15504. in: query
  15505. name: loginID
  15506. required: true
  15507. type: integer
  15508. - description: 消息类型 - 1:公告通知 2:系统消息
  15509. in: query
  15510. name: msgType
  15511. type: integer
  15512. - description: 是否只获取未读信息
  15513. in: query
  15514. name: onlyUnRead
  15515. type: boolean
  15516. - description: 自增ID,传入后会返回这个ID后面的记录
  15517. in: query
  15518. name: lastID
  15519. type: integer
  15520. produces:
  15521. - application/json
  15522. responses:
  15523. "200":
  15524. description: OK
  15525. schema:
  15526. $ref: '#/definitions/common.QueryNoticeRsp'
  15527. "500":
  15528. description: Internal Server Error
  15529. schema:
  15530. $ref: '#/definitions/app.Response'
  15531. security:
  15532. - ApiKeyAuth: []
  15533. summary: 通知公告系统消息查询
  15534. tags:
  15535. - 通用服务
  15536. /Common/QueryProvincesAndCities:
  15537. get:
  15538. parameters:
  15539. - description: 省ID
  15540. in: query
  15541. name: provinceID
  15542. type: integer
  15543. produces:
  15544. - application/json
  15545. responses:
  15546. "200":
  15547. description: OK
  15548. schema:
  15549. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  15550. "500":
  15551. description: Internal Server Error
  15552. schema:
  15553. $ref: '#/definitions/app.Response'
  15554. summary: 查询省市信息(不包括区)
  15555. tags:
  15556. - 通用服务
  15557. /Common/QueryTableDefine:
  15558. get:
  15559. parameters:
  15560. - description: 表key
  15561. in: query
  15562. name: tableKey
  15563. type: string
  15564. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  15565. in: query
  15566. name: tableType
  15567. type: integer
  15568. produces:
  15569. - application/json
  15570. responses:
  15571. "200":
  15572. description: OK
  15573. schema:
  15574. $ref: '#/definitions/common.QueryTableDefineRsp'
  15575. "500":
  15576. description: Internal Server Error
  15577. schema:
  15578. $ref: '#/definitions/app.Response'
  15579. summary: 查询交易端列表头信息
  15580. tags:
  15581. - 通用服务
  15582. /Common/QueryTraderMenu:
  15583. get:
  15584. parameters:
  15585. - description: 登录账号
  15586. in: query
  15587. name: loginid
  15588. required: true
  15589. type: integer
  15590. produces:
  15591. - application/json
  15592. responses:
  15593. "200":
  15594. description: OK
  15595. schema:
  15596. $ref: '#/definitions/common.QueryTraderMenuRsp'
  15597. "500":
  15598. description: Internal Server Error
  15599. schema:
  15600. $ref: '#/definitions/app.Response'
  15601. summary: 查询交易端菜单
  15602. tags:
  15603. - 通用服务
  15604. /Delivery/QueryDeliveryRelation:
  15605. get:
  15606. parameters:
  15607. - description: 商品ID
  15608. in: query
  15609. name: goodsid
  15610. type: integer
  15611. - description: 品种ID
  15612. in: query
  15613. name: deliverygoodsid
  15614. type: integer
  15615. - description: 市场ID
  15616. in: query
  15617. name: marketid
  15618. type: integer
  15619. produces:
  15620. - application/json
  15621. responses:
  15622. "200":
  15623. description: OK
  15624. schema:
  15625. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  15626. "500":
  15627. description: Internal Server Error
  15628. schema:
  15629. $ref: '#/definitions/app.Response'
  15630. security:
  15631. - ApiKeyAuth: []
  15632. summary: 查询商品交割关系表
  15633. tags:
  15634. - 交割服务
  15635. /Ermcp/GetErmcpGoods:
  15636. get:
  15637. parameters:
  15638. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15639. in: query
  15640. name: lastUpdateTime
  15641. type: string
  15642. produces:
  15643. - application/json
  15644. responses:
  15645. "200":
  15646. description: OK
  15647. schema:
  15648. $ref: '#/definitions/models.ErmcpGoods'
  15649. "500":
  15650. description: Internal Server Error
  15651. schema:
  15652. $ref: '#/definitions/app.Response'
  15653. security:
  15654. - ApiKeyAuth: []
  15655. summary: 查询企业风管期货商品信息
  15656. tags:
  15657. - 企业风险管理(app)
  15658. /Ermcp/GetErmcpGoodsSortByPosition:
  15659. get:
  15660. parameters:
  15661. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  15662. in: query
  15663. name: sortIndex
  15664. type: string
  15665. produces:
  15666. - application/json
  15667. responses:
  15668. "200":
  15669. description: OK
  15670. schema:
  15671. $ref: '#/definitions/models.Goodssortbypreposition'
  15672. "500":
  15673. description: Internal Server Error
  15674. schema:
  15675. $ref: '#/definitions/app.Response'
  15676. security:
  15677. - ApiKeyAuth: []
  15678. summary: 查询企业风管期货主力、次主力商品信息
  15679. tags:
  15680. - 企业风险管理(app)
  15681. /Ermcp/GetErmcpOutAccountStatus:
  15682. get:
  15683. parameters:
  15684. - description: 登录账号
  15685. in: query
  15686. name: loginID
  15687. required: true
  15688. type: integer
  15689. produces:
  15690. - application/json
  15691. responses:
  15692. "200":
  15693. description: OK
  15694. schema:
  15695. $ref: '#/definitions/models.Hedgemarketopenlog'
  15696. "500":
  15697. description: Internal Server Error
  15698. schema:
  15699. $ref: '#/definitions/app.Response'
  15700. security:
  15701. - ApiKeyAuth: []
  15702. summary: 获取目标登录账号当前对冲账号在线状态
  15703. tags:
  15704. - 企业风险管理(app)
  15705. /Ermcp/GetErmcpRoleFuncMenuLists:
  15706. get:
  15707. parameters:
  15708. - description: 登录账号
  15709. in: query
  15710. name: loginID
  15711. required: true
  15712. type: integer
  15713. produces:
  15714. - application/json
  15715. responses:
  15716. "200":
  15717. description: OK
  15718. schema:
  15719. $ref: '#/definitions/models.Funcmenulist'
  15720. "500":
  15721. description: Internal Server Error
  15722. schema:
  15723. $ref: '#/definitions/app.Response'
  15724. security:
  15725. - ApiKeyAuth: []
  15726. summary: 获取企业风管终端权限
  15727. tags:
  15728. - 企业风险管理(app)
  15729. /Ermcp/QueryAccMgrBizGroupSet:
  15730. get:
  15731. parameters:
  15732. - description: 用户ID
  15733. in: query
  15734. name: userid
  15735. required: true
  15736. type: integer
  15737. - description: 现货商品id
  15738. in: query
  15739. name: deliverygoodsid
  15740. type: integer
  15741. produces:
  15742. - application/json
  15743. responses:
  15744. "200":
  15745. description: OK
  15746. schema:
  15747. items:
  15748. $ref: '#/definitions/models.ErmcpBizGroupEx'
  15749. type: array
  15750. "500":
  15751. description: Internal Server Error
  15752. schema:
  15753. $ref: '#/definitions/app.Response'
  15754. security:
  15755. - ApiKeyAuth: []
  15756. summary: 查询业务类型分组(账户管理/账户设置)
  15757. tags:
  15758. - 企业风险管理(app)
  15759. /Ermcp/QueryAccMgrLoginUser:
  15760. get:
  15761. parameters:
  15762. - description: 用户ID
  15763. in: query
  15764. name: userid
  15765. required: true
  15766. type: integer
  15767. - description: 用户类型 2-机构 7-企业成员
  15768. in: query
  15769. name: usertype
  15770. type: integer
  15771. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  15772. in: query
  15773. name: querytype
  15774. required: true
  15775. type: integer
  15776. produces:
  15777. - application/json
  15778. responses:
  15779. "200":
  15780. description: OK
  15781. schema:
  15782. items:
  15783. $ref: '#/definitions/models.ErmcpLoginUserEx'
  15784. type: array
  15785. "500":
  15786. description: Internal Server Error
  15787. schema:
  15788. $ref: '#/definitions/app.Response'
  15789. security:
  15790. - ApiKeyAuth: []
  15791. summary: 查询账户管理登录账号(账户管理/登录账号)
  15792. tags:
  15793. - 企业风险管理(app)
  15794. /Ermcp/QueryAccMgrMainAccountInfo:
  15795. get:
  15796. parameters:
  15797. - description: 用户ID
  15798. in: query
  15799. name: userid
  15800. type: integer
  15801. - description: 主账号id
  15802. in: query
  15803. name: accountid
  15804. type: integer
  15805. produces:
  15806. - application/json
  15807. responses:
  15808. "200":
  15809. description: OK
  15810. schema:
  15811. items:
  15812. $ref: '#/definitions/models.MainAccountInfo'
  15813. type: array
  15814. "500":
  15815. description: Internal Server Error
  15816. schema:
  15817. $ref: '#/definitions/app.Response'
  15818. security:
  15819. - ApiKeyAuth: []
  15820. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  15821. tags:
  15822. - 企业风险管理(app)
  15823. /Ermcp/QueryAccMgrRole:
  15824. get:
  15825. parameters:
  15826. - description: 用户ID
  15827. in: query
  15828. name: userid
  15829. required: true
  15830. type: integer
  15831. produces:
  15832. - application/json
  15833. responses:
  15834. "200":
  15835. description: OK
  15836. schema:
  15837. items:
  15838. $ref: '#/definitions/models.ErmcpRole'
  15839. type: array
  15840. "500":
  15841. description: Internal Server Error
  15842. schema:
  15843. $ref: '#/definitions/app.Response'
  15844. security:
  15845. - ApiKeyAuth: []
  15846. summary: 查询账户管理角色设置(账户管理/角色设置)
  15847. tags:
  15848. - 企业风险管理(app)
  15849. /Ermcp/QueryAccMgrRoleMenu:
  15850. get:
  15851. parameters:
  15852. - description: 用户ID
  15853. in: query
  15854. name: userid
  15855. required: true
  15856. type: integer
  15857. - description: 角色id(可多个,逗号隔开)
  15858. in: query
  15859. name: roleid
  15860. type: string
  15861. produces:
  15862. - application/json
  15863. responses:
  15864. "200":
  15865. description: OK
  15866. schema:
  15867. items:
  15868. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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/QueryAccMgrTaAccountInfo:
  15880. get:
  15881. parameters:
  15882. - description: 用户ID
  15883. in: query
  15884. name: userid
  15885. required: true
  15886. type: integer
  15887. - description: 账号id
  15888. in: query
  15889. name: accountid
  15890. type: integer
  15891. produces:
  15892. - application/json
  15893. responses:
  15894. "200":
  15895. description: OK
  15896. schema:
  15897. items:
  15898. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  15899. type: array
  15900. "500":
  15901. description: Internal Server Error
  15902. schema:
  15903. $ref: '#/definitions/app.Response'
  15904. security:
  15905. - ApiKeyAuth: []
  15906. summary: 查询账户管理授信(账户管理/账户设置/授信)
  15907. tags:
  15908. - 企业风险管理(app)
  15909. /Ermcp/QueryAccMgrTaaccount:
  15910. get:
  15911. parameters:
  15912. - description: 用户ID
  15913. in: query
  15914. name: userid
  15915. required: true
  15916. type: integer
  15917. produces:
  15918. - application/json
  15919. responses:
  15920. "200":
  15921. description: OK
  15922. schema:
  15923. items:
  15924. $ref: '#/definitions/models.ErmcpTaAccountEx'
  15925. type: array
  15926. "500":
  15927. description: Internal Server Error
  15928. schema:
  15929. $ref: '#/definitions/app.Response'
  15930. security:
  15931. - ApiKeyAuth: []
  15932. summary: 查询账户管理期货账号(账户管理/期货账号)
  15933. tags:
  15934. - 企业风险管理(app)
  15935. /Ermcp/QueryAvaildGoodsGroup:
  15936. get:
  15937. parameters:
  15938. - description: 所属机构ID
  15939. in: query
  15940. name: userid
  15941. required: true
  15942. type: integer
  15943. produces:
  15944. - application/json
  15945. responses:
  15946. "200":
  15947. description: OK
  15948. schema:
  15949. items:
  15950. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  15951. type: array
  15952. "500":
  15953. description: Internal Server Error
  15954. schema:
  15955. $ref: '#/definitions/app.Response'
  15956. security:
  15957. - ApiKeyAuth: []
  15958. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  15959. tags:
  15960. - 企业风险管理(app)
  15961. /Ermcp/QueryBusinessDj:
  15962. get:
  15963. parameters:
  15964. - description: 用户ID
  15965. in: query
  15966. name: UserId
  15967. required: true
  15968. type: integer
  15969. - description: 用户类型 2-机构 7-企业成员
  15970. in: query
  15971. name: usertype
  15972. type: integer
  15973. - description: 现货合同ID, 不填则查所有
  15974. in: query
  15975. name: relatedid
  15976. type: string
  15977. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15978. in: query
  15979. name: applystatus
  15980. type: string
  15981. produces:
  15982. - application/json
  15983. responses:
  15984. "200":
  15985. description: OK
  15986. schema:
  15987. items:
  15988. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  15989. type: array
  15990. "500":
  15991. description: Internal Server Error
  15992. schema:
  15993. $ref: '#/definitions/app.Response'
  15994. security:
  15995. - ApiKeyAuth: []
  15996. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  15997. tags:
  15998. - 企业风险管理(app)
  15999. /Ermcp/QueryBusinessFp:
  16000. get:
  16001. parameters:
  16002. - description: 用户ID
  16003. in: query
  16004. name: UserId
  16005. required: true
  16006. type: integer
  16007. - description: 用户类型 2-机构 7-企业成员
  16008. in: query
  16009. name: usertype
  16010. type: integer
  16011. - description: 现货合同ID, 不填则查所有
  16012. in: query
  16013. name: relatedid
  16014. type: string
  16015. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16016. in: query
  16017. name: applystatus
  16018. type: string
  16019. produces:
  16020. - application/json
  16021. responses:
  16022. "200":
  16023. description: OK
  16024. schema:
  16025. items:
  16026. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  16027. type: array
  16028. "500":
  16029. description: Internal Server Error
  16030. schema:
  16031. $ref: '#/definitions/app.Response'
  16032. security:
  16033. - ApiKeyAuth: []
  16034. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  16035. tags:
  16036. - 企业风险管理(app)
  16037. /Ermcp/QueryBusinessJs:
  16038. get:
  16039. parameters:
  16040. - description: 用户ID
  16041. in: query
  16042. name: UserId
  16043. required: true
  16044. type: integer
  16045. - description: 用户类型 2-机构 7-企业成员
  16046. in: query
  16047. name: usertype
  16048. type: integer
  16049. - description: 现货合同ID, 不填则查所有
  16050. in: query
  16051. name: relatedid
  16052. type: string
  16053. - description: 操作申请id
  16054. in: query
  16055. name: operateapplyid
  16056. type: string
  16057. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16058. in: query
  16059. name: applystatus
  16060. type: string
  16061. produces:
  16062. - application/json
  16063. responses:
  16064. "200":
  16065. description: OK
  16066. schema:
  16067. items:
  16068. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  16069. type: array
  16070. "500":
  16071. description: Internal Server Error
  16072. schema:
  16073. $ref: '#/definitions/app.Response'
  16074. security:
  16075. - ApiKeyAuth: []
  16076. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  16077. tags:
  16078. - 企业风险管理(app)
  16079. /Ermcp/QueryBusinessJsEx:
  16080. get:
  16081. parameters:
  16082. - description: 用户ID
  16083. in: query
  16084. name: UserId
  16085. required: true
  16086. type: integer
  16087. - description: 用户类型 2-机构 7-企业成员
  16088. in: query
  16089. name: usertype
  16090. type: integer
  16091. - description: 现货合同ID, 不填则查所有
  16092. in: query
  16093. name: relatedid
  16094. type: string
  16095. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16096. in: query
  16097. name: applystatus
  16098. type: string
  16099. produces:
  16100. - application/json
  16101. responses:
  16102. "200":
  16103. description: OK
  16104. schema:
  16105. items:
  16106. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  16107. type: array
  16108. "500":
  16109. description: Internal Server Error
  16110. schema:
  16111. $ref: '#/definitions/app.Response'
  16112. security:
  16113. - ApiKeyAuth: []
  16114. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  16115. tags:
  16116. - 企业风险管理(app)
  16117. /Ermcp/QueryBusinessKx:
  16118. get:
  16119. parameters:
  16120. - description: 用户ID
  16121. in: query
  16122. name: UserId
  16123. required: true
  16124. type: integer
  16125. - description: 用户类型 2-机构 7-企业成员
  16126. in: query
  16127. name: usertype
  16128. type: integer
  16129. - description: 现货合同ID, 不填则查所有
  16130. in: query
  16131. name: relatedid
  16132. type: string
  16133. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16134. in: query
  16135. name: applystatus
  16136. type: string
  16137. produces:
  16138. - application/json
  16139. responses:
  16140. "200":
  16141. description: OK
  16142. schema:
  16143. items:
  16144. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  16145. type: array
  16146. "500":
  16147. description: Internal Server Error
  16148. schema:
  16149. $ref: '#/definitions/app.Response'
  16150. security:
  16151. - ApiKeyAuth: []
  16152. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  16153. tags:
  16154. - 企业风险管理(app)
  16155. /Ermcp/QueryChangeLog:
  16156. get:
  16157. parameters:
  16158. - description: 合同ID
  16159. in: query
  16160. name: RelatedId
  16161. required: true
  16162. type: string
  16163. produces:
  16164. - application/json
  16165. responses:
  16166. "200":
  16167. description: OK
  16168. schema:
  16169. items:
  16170. $ref: '#/definitions/ermcp.QryOPLogRsp'
  16171. type: array
  16172. "500":
  16173. description: Internal Server Error
  16174. schema:
  16175. $ref: '#/definitions/app.Response'
  16176. security:
  16177. - ApiKeyAuth: []
  16178. summary: 查询变更记录
  16179. tags:
  16180. - 企业风险管理(app)
  16181. /Ermcp/QueryErmcpHisOrderDetails:
  16182. get:
  16183. parameters:
  16184. - description: 资金账户ID
  16185. in: query
  16186. name: accountID
  16187. required: true
  16188. type: integer
  16189. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16190. in: query
  16191. name: startDate
  16192. type: string
  16193. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16194. in: query
  16195. name: endDate
  16196. type: string
  16197. produces:
  16198. - application/json
  16199. responses:
  16200. "200":
  16201. description: OK
  16202. schema:
  16203. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16204. "500":
  16205. description: Internal Server Error
  16206. schema:
  16207. $ref: '#/definitions/app.Response'
  16208. security:
  16209. - ApiKeyAuth: []
  16210. summary: 获取企业风管期货历史委托单信息
  16211. tags:
  16212. - 企业风险管理(app)
  16213. /Ermcp/QueryErmcpHisTradeDetails:
  16214. get:
  16215. parameters:
  16216. - description: 资金账户ID
  16217. in: query
  16218. name: accountID
  16219. required: true
  16220. type: integer
  16221. - description: 商品ID
  16222. in: query
  16223. name: goodsID
  16224. type: integer
  16225. - description: 买卖方向,0:买 1:卖
  16226. in: query
  16227. name: buyOrSell
  16228. type: integer
  16229. - description: 关联委托单号
  16230. in: query
  16231. name: orderID
  16232. type: integer
  16233. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16234. in: query
  16235. name: startDate
  16236. type: string
  16237. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16238. in: query
  16239. name: endDate
  16240. type: string
  16241. produces:
  16242. - application/json
  16243. responses:
  16244. "200":
  16245. description: OK
  16246. schema:
  16247. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16248. "500":
  16249. description: Internal Server Error
  16250. schema:
  16251. $ref: '#/definitions/app.Response'
  16252. security:
  16253. - ApiKeyAuth: []
  16254. summary: 获取企业风管期货历史成交单信息
  16255. tags:
  16256. - 企业风险管理(app)
  16257. /Ermcp/QueryErmcpInnerHolderDetails:
  16258. get:
  16259. parameters:
  16260. - description: 资金账户ID
  16261. in: query
  16262. name: accountID
  16263. required: true
  16264. type: integer
  16265. - description: 商品ID
  16266. in: query
  16267. name: goodsID
  16268. type: integer
  16269. - description: 买卖方向,0:买 1:卖
  16270. in: query
  16271. name: buyOrSell
  16272. type: integer
  16273. produces:
  16274. - application/json
  16275. responses:
  16276. "200":
  16277. description: OK
  16278. schema:
  16279. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16280. "500":
  16281. description: Internal Server Error
  16282. schema:
  16283. $ref: '#/definitions/app.Response'
  16284. security:
  16285. - ApiKeyAuth: []
  16286. summary: 获取企业风管期货内部持仓单信息
  16287. tags:
  16288. - 企业风险管理(app)
  16289. /Ermcp/QueryErmcpOrderDetails:
  16290. get:
  16291. parameters:
  16292. - description: 资金账户ID
  16293. in: query
  16294. name: accountID
  16295. required: true
  16296. type: integer
  16297. produces:
  16298. - application/json
  16299. responses:
  16300. "200":
  16301. description: OK
  16302. schema:
  16303. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16304. "500":
  16305. description: Internal Server Error
  16306. schema:
  16307. $ref: '#/definitions/app.Response'
  16308. security:
  16309. - ApiKeyAuth: []
  16310. summary: 获取企业风管期货委托单信息
  16311. tags:
  16312. - 企业风险管理(app)
  16313. /Ermcp/QueryErmcpTradeDetails:
  16314. get:
  16315. parameters:
  16316. - description: 资金账户ID
  16317. in: query
  16318. name: accountID
  16319. required: true
  16320. type: integer
  16321. - description: 商品ID
  16322. in: query
  16323. name: goodsID
  16324. type: integer
  16325. - description: 买卖方向,0:买 1:卖
  16326. in: query
  16327. name: buyOrSell
  16328. type: integer
  16329. - description: 关联委托单号
  16330. in: query
  16331. name: orderID
  16332. type: integer
  16333. produces:
  16334. - application/json
  16335. responses:
  16336. "200":
  16337. description: OK
  16338. schema:
  16339. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16340. "500":
  16341. description: Internal Server Error
  16342. schema:
  16343. $ref: '#/definitions/app.Response'
  16344. security:
  16345. - ApiKeyAuth: []
  16346. summary: 获取企业风管期货成交单信息
  16347. tags:
  16348. - 企业风险管理(app)
  16349. /Ermcp/QueryErmcpTradePosition:
  16350. get:
  16351. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16352. parameters:
  16353. - description: 资金账户ID
  16354. in: query
  16355. name: accountID
  16356. required: true
  16357. type: integer
  16358. - description: 所属市场ID
  16359. in: query
  16360. name: marketID
  16361. type: integer
  16362. produces:
  16363. - application/json
  16364. responses:
  16365. "200":
  16366. description: OK
  16367. schema:
  16368. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16369. "500":
  16370. description: Internal Server Error
  16371. schema:
  16372. $ref: '#/definitions/app.Response'
  16373. security:
  16374. - ApiKeyAuth: []
  16375. summary: 获取企业风管期货持仓头寸信息
  16376. tags:
  16377. - 企业风险管理(app)
  16378. /Ermcp/QueryExposureDetail:
  16379. get:
  16380. parameters:
  16381. - description: 所属机构ID
  16382. in: query
  16383. name: areaUserId
  16384. required: true
  16385. type: integer
  16386. - description: 套保商品
  16387. in: query
  16388. name: middleGoodsId
  16389. required: true
  16390. type: integer
  16391. produces:
  16392. - application/json
  16393. responses:
  16394. "200":
  16395. description: OK
  16396. schema:
  16397. items:
  16398. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16399. type: array
  16400. "500":
  16401. description: Internal Server Error
  16402. schema:
  16403. $ref: '#/definitions/app.Response'
  16404. security:
  16405. - ApiKeyAuth: []
  16406. summary: 查询敞口现货明细
  16407. tags:
  16408. - 企业风险管理(app)
  16409. /Ermcp/QueryExposureGoods:
  16410. get:
  16411. parameters:
  16412. - description: 套保商品id
  16413. in: query
  16414. name: middlegoodsid
  16415. required: true
  16416. type: integer
  16417. produces:
  16418. - application/json
  16419. responses:
  16420. "200":
  16421. description: OK
  16422. schema:
  16423. items:
  16424. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16425. type: array
  16426. "500":
  16427. description: Internal Server Error
  16428. schema:
  16429. $ref: '#/definitions/app.Response'
  16430. security:
  16431. - ApiKeyAuth: []
  16432. summary: 查询敞口主力合约
  16433. tags:
  16434. - 企业风险管理(app)
  16435. /Ermcp/QueryExposureHedgePosition:
  16436. get:
  16437. parameters:
  16438. - description: 用户id
  16439. in: query
  16440. name: userid
  16441. required: true
  16442. type: integer
  16443. produces:
  16444. - application/json
  16445. responses:
  16446. "200":
  16447. description: OK
  16448. schema:
  16449. items:
  16450. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16451. type: array
  16452. "500":
  16453. description: Internal Server Error
  16454. schema:
  16455. $ref: '#/definitions/app.Response'
  16456. security:
  16457. - ApiKeyAuth: []
  16458. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16459. tags:
  16460. - 企业风险管理(app)
  16461. /Ermcp/QueryExposureHedgePositionDetail:
  16462. get:
  16463. parameters:
  16464. - description: 所属机构ID
  16465. in: query
  16466. name: userid
  16467. required: true
  16468. type: integer
  16469. - description: 商品id
  16470. in: query
  16471. name: goodsId
  16472. required: true
  16473. type: integer
  16474. produces:
  16475. - application/json
  16476. responses:
  16477. "200":
  16478. description: OK
  16479. schema:
  16480. items:
  16481. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16482. type: array
  16483. "500":
  16484. description: Internal Server Error
  16485. schema:
  16486. $ref: '#/definitions/app.Response'
  16487. security:
  16488. - ApiKeyAuth: []
  16489. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16490. tags:
  16491. - 企业风险管理(app)
  16492. /Ermcp/QueryExposureSpot:
  16493. get:
  16494. parameters:
  16495. - description: 所属机构ID
  16496. in: query
  16497. name: areaUserId
  16498. required: true
  16499. type: integer
  16500. produces:
  16501. - application/json
  16502. responses:
  16503. "200":
  16504. description: OK
  16505. schema:
  16506. items:
  16507. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  16508. type: array
  16509. "500":
  16510. description: Internal Server Error
  16511. schema:
  16512. $ref: '#/definitions/app.Response'
  16513. security:
  16514. - ApiKeyAuth: []
  16515. summary: 查询敞口现货头寸(敞口/现货头寸)
  16516. tags:
  16517. - 企业风险管理(app)
  16518. /Ermcp/QueryExposureSpotDetail:
  16519. get:
  16520. parameters:
  16521. - description: 所属机构ID
  16522. in: query
  16523. name: areaUserId
  16524. required: true
  16525. type: integer
  16526. - description: 现货品种ID
  16527. in: query
  16528. name: wrstandardId
  16529. required: true
  16530. type: integer
  16531. produces:
  16532. - application/json
  16533. responses:
  16534. "200":
  16535. description: OK
  16536. schema:
  16537. items:
  16538. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  16539. type: array
  16540. "500":
  16541. description: Internal Server Error
  16542. schema:
  16543. $ref: '#/definitions/app.Response'
  16544. security:
  16545. - ApiKeyAuth: []
  16546. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16547. tags:
  16548. - 企业风险管理(app)
  16549. /Ermcp/QueryFuturesCompany:
  16550. get:
  16551. produces:
  16552. - application/json
  16553. responses:
  16554. "200":
  16555. description: OK
  16556. schema:
  16557. items:
  16558. $ref: '#/definitions/models.ErmcpFuturesCompany'
  16559. type: array
  16560. "500":
  16561. description: Internal Server Error
  16562. schema:
  16563. $ref: '#/definitions/app.Response'
  16564. security:
  16565. - ApiKeyAuth: []
  16566. summary: 查询期货公司
  16567. tags:
  16568. - 企业风险管理(app)
  16569. /Ermcp/QueryGGConvertConfig:
  16570. get:
  16571. parameters:
  16572. - description: 品种id(不填则查所有)
  16573. in: query
  16574. name: goodsgroupid
  16575. type: integer
  16576. produces:
  16577. - application/json
  16578. responses:
  16579. "200":
  16580. description: OK
  16581. schema:
  16582. items:
  16583. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  16584. type: array
  16585. "500":
  16586. description: Internal Server Error
  16587. schema:
  16588. $ref: '#/definitions/app.Response'
  16589. security:
  16590. - ApiKeyAuth: []
  16591. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  16592. tags:
  16593. - 企业风险管理(app)
  16594. /Ermcp/QueryGoodsBrand:
  16595. get:
  16596. parameters:
  16597. - description: 用户ID
  16598. in: query
  16599. name: userid
  16600. required: true
  16601. type: integer
  16602. - description: 现货商品ID
  16603. in: query
  16604. name: wrstandardid
  16605. type: integer
  16606. produces:
  16607. - application/json
  16608. responses:
  16609. "200":
  16610. description: OK
  16611. schema:
  16612. items:
  16613. $ref: '#/definitions/models.ErmcpGoodsBrand'
  16614. type: array
  16615. "500":
  16616. description: Internal Server Error
  16617. schema:
  16618. $ref: '#/definitions/app.Response'
  16619. security:
  16620. - ApiKeyAuth: []
  16621. summary: 查询商品品牌
  16622. tags:
  16623. - 企业风险管理(app)
  16624. /Ermcp/QueryGoodsModel:
  16625. get:
  16626. parameters:
  16627. - description: 用户ID
  16628. in: query
  16629. name: userid
  16630. required: true
  16631. type: integer
  16632. produces:
  16633. - application/json
  16634. responses:
  16635. "200":
  16636. description: OK
  16637. schema:
  16638. items:
  16639. $ref: '#/definitions/models.ErmcpGoodsModel'
  16640. type: array
  16641. "500":
  16642. description: Internal Server Error
  16643. schema:
  16644. $ref: '#/definitions/app.Response'
  16645. security:
  16646. - ApiKeyAuth: []
  16647. summary: 查询商品型号
  16648. tags:
  16649. - 企业风险管理(app)
  16650. /Ermcp/QueryHisExposure:
  16651. get:
  16652. parameters:
  16653. - description: 用户id
  16654. in: query
  16655. name: userid
  16656. required: true
  16657. type: integer
  16658. - description: 每个品种记录数
  16659. in: query
  16660. name: lastNum
  16661. required: true
  16662. type: integer
  16663. produces:
  16664. - application/json
  16665. responses:
  16666. "200":
  16667. description: OK
  16668. schema:
  16669. items:
  16670. $ref: '#/definitions/ermcp.HisExposureRsp'
  16671. type: array
  16672. "500":
  16673. description: Internal Server Error
  16674. schema:
  16675. $ref: '#/definitions/app.Response'
  16676. security:
  16677. - ApiKeyAuth: []
  16678. summary: 查询历史敞口(菜单:敞口/历史敞口)
  16679. tags:
  16680. - 企业风险管理(app)
  16681. /Ermcp/QueryMiddleGoods:
  16682. get:
  16683. parameters:
  16684. - description: 所属机构ID
  16685. in: query
  16686. name: userid
  16687. required: true
  16688. type: integer
  16689. - description: 状态 0-停用 1-正常
  16690. in: query
  16691. name: status
  16692. required: true
  16693. type: integer
  16694. produces:
  16695. - application/json
  16696. responses:
  16697. "200":
  16698. description: OK
  16699. schema:
  16700. items:
  16701. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  16702. type: array
  16703. "500":
  16704. description: Internal Server Error
  16705. schema:
  16706. $ref: '#/definitions/app.Response'
  16707. security:
  16708. - ApiKeyAuth: []
  16709. summary: 查询套保品种(菜单:套保品种)
  16710. tags:
  16711. - 企业风险管理(app)
  16712. /Ermcp/QueryMiddleGoodsChangeLog:
  16713. get:
  16714. parameters:
  16715. - description: 所属机构ID
  16716. in: query
  16717. name: userid
  16718. required: true
  16719. type: integer
  16720. - description: 套保品种id
  16721. in: query
  16722. name: middlegoodsid
  16723. required: true
  16724. type: integer
  16725. produces:
  16726. - application/json
  16727. responses:
  16728. "200":
  16729. description: OK
  16730. schema:
  16731. items:
  16732. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  16733. type: array
  16734. "500":
  16735. description: Internal Server Error
  16736. schema:
  16737. $ref: '#/definitions/app.Response'
  16738. security:
  16739. - ApiKeyAuth: []
  16740. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  16741. tags:
  16742. - 企业风险管理(app)
  16743. /Ermcp/QueryMiddleGoodsDetail:
  16744. get:
  16745. parameters:
  16746. - description: 所属机构ID
  16747. in: query
  16748. name: userid
  16749. required: true
  16750. type: integer
  16751. - description: 套保品种id
  16752. in: query
  16753. name: middlegoodsid
  16754. type: integer
  16755. produces:
  16756. - application/json
  16757. responses:
  16758. "200":
  16759. description: OK
  16760. schema:
  16761. items:
  16762. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  16763. type: array
  16764. "500":
  16765. description: Internal Server Error
  16766. schema:
  16767. $ref: '#/definitions/app.Response'
  16768. security:
  16769. - ApiKeyAuth: []
  16770. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  16771. tags:
  16772. - 企业风险管理(app)
  16773. /Ermcp/QueryPendingAuditInfo:
  16774. get:
  16775. parameters:
  16776. - description: 用户ID
  16777. in: query
  16778. name: UserId
  16779. required: true
  16780. type: integer
  16781. produces:
  16782. - application/json
  16783. responses:
  16784. "200":
  16785. description: OK
  16786. schema:
  16787. items:
  16788. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  16789. type: array
  16790. "500":
  16791. description: Internal Server Error
  16792. schema:
  16793. $ref: '#/definitions/app.Response'
  16794. security:
  16795. - ApiKeyAuth: []
  16796. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  16797. tags:
  16798. - 企业风险管理(app)
  16799. /Ermcp/QueryRealtimeExposure:
  16800. get:
  16801. parameters:
  16802. - description: 所属机构ID
  16803. in: query
  16804. name: userid
  16805. required: true
  16806. type: integer
  16807. produces:
  16808. - application/json
  16809. responses:
  16810. "200":
  16811. description: OK
  16812. schema:
  16813. items:
  16814. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  16815. type: array
  16816. "500":
  16817. description: Internal Server Error
  16818. schema:
  16819. $ref: '#/definitions/app.Response'
  16820. security:
  16821. - ApiKeyAuth: []
  16822. summary: 查询实时敞口
  16823. tags:
  16824. - 企业风险管理(app)
  16825. /Ermcp/QueryRealtimeExposurePosition:
  16826. get:
  16827. parameters:
  16828. - description: 用户id
  16829. in: query
  16830. name: userid
  16831. required: true
  16832. type: integer
  16833. - description: 套保商品ID
  16834. in: query
  16835. name: middleGoodsId
  16836. required: true
  16837. type: integer
  16838. produces:
  16839. - application/json
  16840. responses:
  16841. "200":
  16842. description: OK
  16843. schema:
  16844. items:
  16845. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  16846. type: array
  16847. "500":
  16848. description: Internal Server Error
  16849. schema:
  16850. $ref: '#/definitions/app.Response'
  16851. security:
  16852. - ApiKeyAuth: []
  16853. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  16854. tags:
  16855. - 企业风险管理(app)
  16856. /Ermcp/QueryTradeConfigTMP:
  16857. get:
  16858. parameters:
  16859. - description: 所属机构id
  16860. in: query
  16861. name: areauserid
  16862. type: integer
  16863. produces:
  16864. - application/json
  16865. responses:
  16866. "200":
  16867. description: OK
  16868. schema:
  16869. items:
  16870. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  16871. type: array
  16872. "500":
  16873. description: Internal Server Error
  16874. schema:
  16875. $ref: '#/definitions/app.Response'
  16876. security:
  16877. - ApiKeyAuth: []
  16878. summary: 查询交易模板配置
  16879. tags:
  16880. - 企业风险管理(app)
  16881. /Ermcp/QueryUserInfo:
  16882. get:
  16883. parameters:
  16884. - description: 所属机构用户ID
  16885. in: query
  16886. name: MemberUserID
  16887. required: true
  16888. type: integer
  16889. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  16890. in: query
  16891. name: queryType
  16892. required: true
  16893. type: integer
  16894. produces:
  16895. - application/json
  16896. responses:
  16897. "200":
  16898. description: OK
  16899. schema:
  16900. items:
  16901. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  16902. type: array
  16903. "500":
  16904. description: Internal Server Error
  16905. schema:
  16906. $ref: '#/definitions/app.Response'
  16907. security:
  16908. - ApiKeyAuth: []
  16909. summary: 查询客户资料
  16910. tags:
  16911. - 企业风险管理(app)
  16912. /Ermcp/QueryWarehouseInfo:
  16913. get:
  16914. parameters:
  16915. - description: 用户ID
  16916. in: query
  16917. name: userid
  16918. required: true
  16919. type: integer
  16920. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  16921. in: query
  16922. name: status
  16923. type: string
  16924. produces:
  16925. - application/json
  16926. responses:
  16927. "200":
  16928. description: OK
  16929. schema:
  16930. items:
  16931. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  16932. type: array
  16933. "500":
  16934. description: Internal Server Error
  16935. schema:
  16936. $ref: '#/definitions/app.Response'
  16937. security:
  16938. - ApiKeyAuth: []
  16939. summary: 查询仓库信息
  16940. tags:
  16941. - 企业风险管理(app)
  16942. /Ermcp3/QryAreaExpourseContractDetail:
  16943. get:
  16944. parameters:
  16945. - description: 用户ID
  16946. in: query
  16947. name: userid
  16948. required: true
  16949. type: integer
  16950. - description: 套保商品id
  16951. in: query
  16952. name: middlegoodsid
  16953. required: true
  16954. type: integer
  16955. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16956. in: query
  16957. name: cycletype
  16958. required: true
  16959. type: integer
  16960. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  16961. 全(0)【原值】
  16962. in: query
  16963. name: cycletime
  16964. required: true
  16965. type: string
  16966. produces:
  16967. - application/json
  16968. responses:
  16969. "200":
  16970. description: OK
  16971. schema:
  16972. items:
  16973. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  16974. type: array
  16975. "500":
  16976. description: Internal Server Error
  16977. schema:
  16978. $ref: '#/definitions/app.Response'
  16979. security:
  16980. - ApiKeyAuth: []
  16981. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  16982. tags:
  16983. - 企业风险管理v3(app)
  16984. /Ermcp3/QryAreaExpourseFutuDetail:
  16985. get:
  16986. parameters:
  16987. - description: 用户ID
  16988. in: query
  16989. name: userid
  16990. required: true
  16991. type: integer
  16992. - description: 套保商品id
  16993. in: query
  16994. name: middlegoodsid
  16995. required: true
  16996. type: integer
  16997. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  16998. in: query
  16999. name: cycletype
  17000. required: true
  17001. type: integer
  17002. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17003. 全(0)【原值】
  17004. in: query
  17005. name: cycletime
  17006. required: true
  17007. type: string
  17008. produces:
  17009. - application/json
  17010. responses:
  17011. "200":
  17012. description: OK
  17013. schema:
  17014. items:
  17015. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  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/QryAreaExpourseHedgeplanDetail:
  17027. get:
  17028. parameters:
  17029. - description: 用户ID
  17030. in: query
  17031. name: userid
  17032. required: true
  17033. type: integer
  17034. - description: 套保商品id
  17035. in: query
  17036. name: middlegoodsid
  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. produces:
  17051. - application/json
  17052. responses:
  17053. "200":
  17054. description: OK
  17055. schema:
  17056. items:
  17057. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  17058. type: array
  17059. "500":
  17060. description: Internal Server Error
  17061. schema:
  17062. $ref: '#/definitions/app.Response'
  17063. security:
  17064. - ApiKeyAuth: []
  17065. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  17066. tags:
  17067. - 企业风险管理v3(app)
  17068. /Ermcp3/QryAreaExpourseParamChLogDetail:
  17069. get:
  17070. parameters:
  17071. - description: 用户ID
  17072. in: query
  17073. name: userid
  17074. required: true
  17075. type: integer
  17076. - description: 套保商品id
  17077. in: query
  17078. name: middlegoodsid
  17079. required: true
  17080. type: integer
  17081. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17082. in: query
  17083. name: cycletype
  17084. required: true
  17085. type: integer
  17086. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17087. 全(0)【原值】
  17088. in: query
  17089. name: cycletime
  17090. required: true
  17091. type: string
  17092. produces:
  17093. - application/json
  17094. responses:
  17095. "200":
  17096. description: OK
  17097. schema:
  17098. items:
  17099. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  17100. type: array
  17101. "500":
  17102. description: Internal Server Error
  17103. schema:
  17104. $ref: '#/definitions/app.Response'
  17105. security:
  17106. - ApiKeyAuth: []
  17107. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  17108. tags:
  17109. - 企业风险管理v3(app)
  17110. /Ermcp3/QryAreaExpourseReport:
  17111. get:
  17112. parameters:
  17113. - description: 用户ID
  17114. in: query
  17115. name: userid
  17116. required: true
  17117. type: integer
  17118. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  17119. in: query
  17120. name: querytype
  17121. required: true
  17122. type: integer
  17123. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17124. in: query
  17125. name: cycletype
  17126. required: true
  17127. type: integer
  17128. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17129. 全(0)【原值】
  17130. in: query
  17131. name: cycletime
  17132. required: true
  17133. type: string
  17134. produces:
  17135. - application/json
  17136. responses:
  17137. "200":
  17138. description: OK
  17139. schema:
  17140. items:
  17141. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  17142. type: array
  17143. "500":
  17144. description: Internal Server Error
  17145. schema:
  17146. $ref: '#/definitions/app.Response'
  17147. security:
  17148. - ApiKeyAuth: []
  17149. summary: 查询敞口报表
  17150. tags:
  17151. - 企业风险管理v3(app)
  17152. /Ermcp3/QryAreaSpotplReport:
  17153. get:
  17154. parameters:
  17155. - description: 用户ID
  17156. in: query
  17157. name: userid
  17158. required: true
  17159. type: integer
  17160. - description: 查询类型 1-报表 2-报表明细
  17161. in: query
  17162. name: querytype
  17163. required: true
  17164. type: integer
  17165. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17166. in: query
  17167. name: cycletype
  17168. required: true
  17169. type: integer
  17170. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17171. 全(0)【原值】
  17172. in: query
  17173. name: cycletime
  17174. required: true
  17175. type: string
  17176. - description: 现货品种id(明细必填)
  17177. in: query
  17178. name: deliverygoodsid
  17179. type: integer
  17180. - description: 币种id(明细必填)
  17181. in: query
  17182. name: currencyid
  17183. type: integer
  17184. produces:
  17185. - application/json
  17186. responses:
  17187. "200":
  17188. description: OK
  17189. schema:
  17190. items:
  17191. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  17192. type: array
  17193. "500":
  17194. description: Internal Server Error
  17195. schema:
  17196. $ref: '#/definitions/app.Response'
  17197. security:
  17198. - ApiKeyAuth: []
  17199. summary: 查询现货报表
  17200. tags:
  17201. - 企业风险管理v3(app)
  17202. /Ermcp3/QryAreaStockReport:
  17203. get:
  17204. parameters:
  17205. - description: 用户ID
  17206. in: query
  17207. name: userid
  17208. required: true
  17209. type: integer
  17210. - description: 查询类型 1-报表 2-报表明细
  17211. in: query
  17212. name: querytype
  17213. required: true
  17214. type: integer
  17215. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17216. in: query
  17217. name: cycletype
  17218. required: true
  17219. type: integer
  17220. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17221. 全(0)【原值】
  17222. in: query
  17223. name: cycletime
  17224. required: true
  17225. type: string
  17226. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  17227. in: query
  17228. name: sumfields
  17229. type: string
  17230. - description: 品种ID
  17231. in: query
  17232. name: deliverygoodsid
  17233. type: integer
  17234. - description: 品类ID
  17235. in: query
  17236. name: wrstandardid
  17237. type: integer
  17238. - description: 品牌ID
  17239. in: query
  17240. name: spotgoodsbrandid
  17241. type: integer
  17242. - description: 仓库ID
  17243. in: query
  17244. name: warehouseinfoid
  17245. type: integer
  17246. produces:
  17247. - application/json
  17248. responses:
  17249. "200":
  17250. description: OK
  17251. schema:
  17252. items:
  17253. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  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/QryAreaSumPL:
  17265. get:
  17266. parameters:
  17267. - description: 用户ID
  17268. in: query
  17269. name: userid
  17270. required: true
  17271. type: integer
  17272. - description: 查询类型 1-报表 2-报表明细
  17273. in: query
  17274. name: querytype
  17275. required: true
  17276. type: integer
  17277. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17278. in: query
  17279. name: cycletype
  17280. required: true
  17281. type: integer
  17282. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17283. 全(0)【原值】
  17284. in: query
  17285. name: cycletime
  17286. required: true
  17287. type: string
  17288. - description: 币种id(明细必填)
  17289. in: query
  17290. name: currencyid
  17291. type: integer
  17292. produces:
  17293. - application/json
  17294. responses:
  17295. "200":
  17296. description: OK
  17297. schema:
  17298. items:
  17299. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17300. type: array
  17301. "500":
  17302. description: Internal Server Error
  17303. schema:
  17304. $ref: '#/definitions/app.Response'
  17305. security:
  17306. - ApiKeyAuth: []
  17307. summary: 查询汇总损益表
  17308. tags:
  17309. - 企业风险管理v3(app)
  17310. /Ermcp3/QryFinanceReport:
  17311. get:
  17312. parameters:
  17313. - description: 用户ID
  17314. in: query
  17315. name: userid
  17316. required: true
  17317. type: integer
  17318. - description: 查询类型 1-报表 2-报表明细
  17319. in: query
  17320. name: querytype
  17321. required: true
  17322. type: integer
  17323. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17324. in: query
  17325. name: cycletype
  17326. required: true
  17327. type: integer
  17328. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17329. 全(0)【原值】
  17330. in: query
  17331. name: cycletime
  17332. required: true
  17333. type: string
  17334. - description: 币种id(报表明细必填)
  17335. in: query
  17336. name: currencyid
  17337. type: integer
  17338. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17339. in: query
  17340. name: sumfields
  17341. type: string
  17342. produces:
  17343. - application/json
  17344. responses:
  17345. "200":
  17346. description: OK
  17347. schema:
  17348. items:
  17349. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17350. type: array
  17351. "500":
  17352. description: Internal Server Error
  17353. schema:
  17354. $ref: '#/definitions/app.Response'
  17355. security:
  17356. - ApiKeyAuth: []
  17357. summary: 查询财务报表
  17358. tags:
  17359. - 企业风险管理v3(app)
  17360. /Ermcp3/QryTaFutureDataReport:
  17361. get:
  17362. parameters:
  17363. - description: 用户ID
  17364. in: query
  17365. name: userid
  17366. required: true
  17367. type: integer
  17368. - description: 查询类型 1-报表 2-报表明细
  17369. in: query
  17370. name: querytype
  17371. required: true
  17372. type: integer
  17373. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17374. in: query
  17375. name: cycletype
  17376. required: true
  17377. type: integer
  17378. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17379. 全(0)【原值】
  17380. in: query
  17381. name: cycletime
  17382. required: true
  17383. type: string
  17384. - description: 币种id(查明细必填)
  17385. in: query
  17386. name: currencyid
  17387. type: integer
  17388. - description: 品种id(查明细必填)
  17389. in: query
  17390. name: goodsgroupid
  17391. type: integer
  17392. - description: 商品id(查明细必填)
  17393. in: query
  17394. name: goodsid
  17395. type: integer
  17396. - description: 买卖方向(查明细必填)
  17397. in: query
  17398. name: buyorsell
  17399. type: integer
  17400. produces:
  17401. - application/json
  17402. responses:
  17403. "200":
  17404. description: OK
  17405. schema:
  17406. items:
  17407. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17408. type: array
  17409. "500":
  17410. description: Internal Server Error
  17411. schema:
  17412. $ref: '#/definitions/app.Response'
  17413. security:
  17414. - ApiKeyAuth: []
  17415. summary: 查询期货报表
  17416. tags:
  17417. - 企业风险管理v3(app)
  17418. /Ermcp3/QueryAreaStock:
  17419. get:
  17420. parameters:
  17421. - description: 用户ID
  17422. in: query
  17423. name: userid
  17424. required: true
  17425. type: integer
  17426. produces:
  17427. - application/json
  17428. responses:
  17429. "200":
  17430. description: OK
  17431. schema:
  17432. items:
  17433. $ref: '#/definitions/models.Ermcp3AreaStock'
  17434. type: array
  17435. "500":
  17436. description: Internal Server Error
  17437. schema:
  17438. $ref: '#/definitions/app.Response'
  17439. security:
  17440. - ApiKeyAuth: []
  17441. summary: 查询机构库存(库存管理/当前库存)
  17442. tags:
  17443. - 企业风险管理v3(app)
  17444. /Ermcp3/QueryAreaStockApply:
  17445. get:
  17446. parameters:
  17447. - description: 用户ID
  17448. in: query
  17449. name: userid
  17450. required: true
  17451. type: integer
  17452. - description: 用户类型 2-机构 7-企业成员
  17453. in: query
  17454. name: usertype
  17455. type: integer
  17456. - description: 现货商品ID
  17457. in: query
  17458. name: deliverygoodsid
  17459. type: integer
  17460. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17461. in: query
  17462. name: inouttype
  17463. type: string
  17464. - description: 合同ID
  17465. in: query
  17466. name: spotcontractid
  17467. type: integer
  17468. - description: 品类ID
  17469. in: query
  17470. name: wrstandardid
  17471. type: integer
  17472. - description: 品牌ID
  17473. in: query
  17474. name: spotgoodsbrandid
  17475. type: integer
  17476. - description: 仓库ID
  17477. in: query
  17478. name: warehouseinfoid
  17479. type: integer
  17480. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17481. in: query
  17482. name: applystatus
  17483. type: string
  17484. produces:
  17485. - application/json
  17486. responses:
  17487. "200":
  17488. description: OK
  17489. schema:
  17490. items:
  17491. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  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/QueryAreaStockApplySum:
  17503. get:
  17504. parameters:
  17505. - description: 合同ID
  17506. in: query
  17507. name: spotcontractid
  17508. type: integer
  17509. produces:
  17510. - application/json
  17511. responses:
  17512. "200":
  17513. description: OK
  17514. schema:
  17515. items:
  17516. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  17517. type: array
  17518. "500":
  17519. description: Internal Server Error
  17520. schema:
  17521. $ref: '#/definitions/app.Response'
  17522. security:
  17523. - ApiKeyAuth: []
  17524. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  17525. tags:
  17526. - 企业风险管理v3(app)
  17527. /Ermcp3/QueryDGFactoryItem:
  17528. get:
  17529. parameters:
  17530. - description: 用户id
  17531. in: query
  17532. name: userid
  17533. type: integer
  17534. - description: 用户类型 2-机构 7-企业成员
  17535. in: query
  17536. name: usertype
  17537. type: integer
  17538. - description: 选择项ID(SEQ_DGFACTORYITEM)
  17539. in: query
  17540. name: dgfactoryitemid
  17541. type: integer
  17542. - description: 现货品种ID
  17543. in: query
  17544. name: deliverygoodsid
  17545. type: integer
  17546. - description: 要素项类型
  17547. in: query
  17548. name: dgfactoryitemtypeid
  17549. type: integer
  17550. - description: 顺序
  17551. in: query
  17552. name: orderindex
  17553. type: integer
  17554. produces:
  17555. - application/json
  17556. responses:
  17557. "200":
  17558. description: OK
  17559. schema:
  17560. items:
  17561. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  17562. type: array
  17563. "500":
  17564. description: Internal Server Error
  17565. schema:
  17566. $ref: '#/definitions/app.Response'
  17567. security:
  17568. - ApiKeyAuth: []
  17569. summary: 查询品种要素定义项
  17570. tags:
  17571. - 企业风险管理v3(app)
  17572. /Ermcp3/QueryDeliveryGoods:
  17573. get:
  17574. parameters:
  17575. - description: 用户id
  17576. in: query
  17577. name: userid
  17578. required: true
  17579. type: integer
  17580. - description: 用户类型 2-机构 7-企业成员
  17581. in: query
  17582. name: usertype
  17583. type: integer
  17584. - description: 排除已配置的业务类型商品 1-套保 2-套利
  17585. in: query
  17586. name: excludecfg
  17587. type: integer
  17588. produces:
  17589. - application/json
  17590. responses:
  17591. "200":
  17592. description: OK
  17593. schema:
  17594. items:
  17595. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  17596. type: array
  17597. "500":
  17598. description: Internal Server Error
  17599. schema:
  17600. $ref: '#/definitions/app.Response'
  17601. security:
  17602. - ApiKeyAuth: []
  17603. summary: 查询现货商品
  17604. tags:
  17605. - 企业风险管理v3(app)
  17606. /Ermcp3/QueryDeliveryGoodsDetail:
  17607. get:
  17608. parameters:
  17609. - description: 用户id
  17610. in: query
  17611. name: userid
  17612. required: true
  17613. type: integer
  17614. - description: 用户类型 2-机构 7-企业成员
  17615. in: query
  17616. name: usertype
  17617. type: integer
  17618. - description: 现货商品id
  17619. in: query
  17620. name: deliverygoodsid
  17621. type: integer
  17622. produces:
  17623. - application/json
  17624. responses:
  17625. "200":
  17626. description: OK
  17627. schema:
  17628. items:
  17629. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  17630. type: array
  17631. "500":
  17632. description: Internal Server Error
  17633. schema:
  17634. $ref: '#/definitions/app.Response'
  17635. security:
  17636. - ApiKeyAuth: []
  17637. summary: 查询现货商品详情
  17638. tags:
  17639. - 企业风险管理v3(app)
  17640. /Ermcp3/QueryExposureDetail:
  17641. get:
  17642. parameters:
  17643. - description: 用户id
  17644. in: query
  17645. name: userid
  17646. required: true
  17647. type: integer
  17648. - description: 用户类型 2-机构 7-企业成员
  17649. in: query
  17650. name: usertype
  17651. type: integer
  17652. - description: 套保商品
  17653. in: query
  17654. name: middlegoodsid
  17655. required: true
  17656. type: integer
  17657. produces:
  17658. - application/json
  17659. responses:
  17660. "200":
  17661. description: OK
  17662. schema:
  17663. items:
  17664. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  17665. type: array
  17666. "500":
  17667. description: Internal Server Error
  17668. schema:
  17669. $ref: '#/definitions/app.Response'
  17670. security:
  17671. - ApiKeyAuth: []
  17672. summary: 查询敞口现货明细
  17673. tags:
  17674. - 企业风险管理v3(app)
  17675. /Ermcp3/QueryExposureSpot:
  17676. get:
  17677. parameters:
  17678. - description: 用户id
  17679. in: query
  17680. name: userid
  17681. required: true
  17682. type: integer
  17683. - description: 用户类型 2-机构 7-企业成员
  17684. in: query
  17685. name: usertype
  17686. type: integer
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. items:
  17694. $ref: '#/definitions/models.Ermcp3AreaSpot'
  17695. type: array
  17696. "500":
  17697. description: Internal Server Error
  17698. schema:
  17699. $ref: '#/definitions/app.Response'
  17700. security:
  17701. - ApiKeyAuth: []
  17702. summary: 查询敞口现货头寸(敞口/现货头寸)
  17703. tags:
  17704. - 企业风险管理v3(app)
  17705. /Ermcp3/QueryExposureSpotDetail:
  17706. get:
  17707. parameters:
  17708. - description: 用户id
  17709. in: query
  17710. name: userid
  17711. required: true
  17712. type: integer
  17713. - description: 用户类型 2-机构 7-企业成员
  17714. in: query
  17715. name: usertype
  17716. type: integer
  17717. - description: 现货品种ID
  17718. in: query
  17719. name: deliverygoodsid
  17720. required: true
  17721. type: integer
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. items:
  17729. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  17730. type: array
  17731. "500":
  17732. description: Internal Server Error
  17733. schema:
  17734. $ref: '#/definitions/app.Response'
  17735. security:
  17736. - ApiKeyAuth: []
  17737. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17738. tags:
  17739. - 企业风险管理v3(app)
  17740. /Ermcp3/QueryGoodsGroup:
  17741. get:
  17742. parameters:
  17743. - description: 用户id
  17744. in: query
  17745. name: userid
  17746. required: true
  17747. type: integer
  17748. - description: 用户类型 2-机构 7-企业成员
  17749. in: query
  17750. name: usertype
  17751. type: integer
  17752. - description: 排除套保品中已关联的商品组 1-排除
  17753. in: query
  17754. name: excludecfg
  17755. type: integer
  17756. produces:
  17757. - application/json
  17758. responses:
  17759. "200":
  17760. description: OK
  17761. schema:
  17762. items:
  17763. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  17764. type: array
  17765. "500":
  17766. description: Internal Server Error
  17767. schema:
  17768. $ref: '#/definitions/app.Response'
  17769. security:
  17770. - ApiKeyAuth: []
  17771. summary: 查询期货商品组
  17772. tags:
  17773. - 企业风险管理v3(app)
  17774. /Ermcp3/QueryGoodsWrstandard:
  17775. get:
  17776. parameters:
  17777. - description: 用户id
  17778. in: query
  17779. name: userid
  17780. required: true
  17781. type: integer
  17782. - description: 用户类型 2-机构 7-企业成员
  17783. in: query
  17784. name: usertype
  17785. type: integer
  17786. - description: 现货商品id
  17787. in: query
  17788. name: deliverygoodsid
  17789. type: integer
  17790. produces:
  17791. - application/json
  17792. responses:
  17793. "200":
  17794. description: OK
  17795. schema:
  17796. items:
  17797. $ref: '#/definitions/models.Ermcp3Wrstandard'
  17798. type: array
  17799. "500":
  17800. description: Internal Server Error
  17801. schema:
  17802. $ref: '#/definitions/app.Response'
  17803. security:
  17804. - ApiKeyAuth: []
  17805. summary: 查询商品品类
  17806. tags:
  17807. - 企业风险管理v3(app)
  17808. /Ermcp3/QueryGoodsbrand:
  17809. get:
  17810. parameters:
  17811. - description: 用户id
  17812. in: query
  17813. name: userid
  17814. required: true
  17815. type: integer
  17816. - description: 用户类型 2-机构 7-企业成员
  17817. in: query
  17818. name: usertype
  17819. type: integer
  17820. produces:
  17821. - application/json
  17822. responses:
  17823. "200":
  17824. description: OK
  17825. schema:
  17826. items:
  17827. $ref: '#/definitions/models.Ermcp3Brand'
  17828. type: array
  17829. "500":
  17830. description: Internal Server Error
  17831. schema:
  17832. $ref: '#/definitions/app.Response'
  17833. security:
  17834. - ApiKeyAuth: []
  17835. summary: 查询商品品牌
  17836. tags:
  17837. - 企业风险管理v3(app)
  17838. /Ermcp3/QueryHedgePlan:
  17839. get:
  17840. parameters:
  17841. - description: 用户ID
  17842. in: query
  17843. name: userid
  17844. required: true
  17845. type: integer
  17846. - description: 用户类型 2-机构 7-企业成员
  17847. in: query
  17848. name: usertype
  17849. type: integer
  17850. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  17851. in: query
  17852. name: hedgeplanstatus
  17853. required: true
  17854. type: string
  17855. produces:
  17856. - application/json
  17857. responses:
  17858. "200":
  17859. description: OK
  17860. schema:
  17861. items:
  17862. $ref: '#/definitions/models.Ermcp3HedgePlan'
  17863. type: array
  17864. "500":
  17865. description: Internal Server Error
  17866. schema:
  17867. $ref: '#/definitions/app.Response'
  17868. security:
  17869. - ApiKeyAuth: []
  17870. summary: 查询套保计划
  17871. tags:
  17872. - 企业风险管理v3(app)
  17873. /Ermcp3/QueryMiddleGoodsDetail:
  17874. get:
  17875. parameters:
  17876. - description: 用户id
  17877. in: query
  17878. name: userid
  17879. required: true
  17880. type: integer
  17881. - description: 用户类型 2-机构 7-企业成员
  17882. in: query
  17883. name: usertype
  17884. type: integer
  17885. - description: 套保品种id
  17886. in: query
  17887. name: middlegoodsid
  17888. type: integer
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. items:
  17896. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  17897. type: array
  17898. "500":
  17899. description: Internal Server Error
  17900. schema:
  17901. $ref: '#/definitions/app.Response'
  17902. security:
  17903. - ApiKeyAuth: []
  17904. summary: 查询套保品种详情(套保品种/商品详情)
  17905. tags:
  17906. - 企业风险管理v3(app)
  17907. /Ermcp3/QueryRootUserAccount:
  17908. get:
  17909. parameters:
  17910. - description: 用户ID
  17911. in: query
  17912. name: userid
  17913. required: true
  17914. type: integer
  17915. produces:
  17916. - application/json
  17917. responses:
  17918. "200":
  17919. description: OK
  17920. schema:
  17921. items:
  17922. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  17923. type: array
  17924. "500":
  17925. description: Internal Server Error
  17926. schema:
  17927. $ref: '#/definitions/app.Response'
  17928. security:
  17929. - ApiKeyAuth: []
  17930. summary: 查询顶级用户信息
  17931. tags:
  17932. - 企业风险管理v3(app)
  17933. /Ermcp3/QuerySpotContract:
  17934. get:
  17935. parameters:
  17936. - description: 用户id
  17937. in: query
  17938. name: userid
  17939. required: true
  17940. type: integer
  17941. - description: 用户类型 2-机构 7-企业成员
  17942. in: query
  17943. name: usertype
  17944. type: integer
  17945. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  17946. in: query
  17947. name: querytype
  17948. required: true
  17949. type: integer
  17950. - description: 合同ID(SpotContractId)
  17951. in: query
  17952. name: contractid
  17953. type: string
  17954. produces:
  17955. - application/json
  17956. responses:
  17957. "200":
  17958. description: OK
  17959. schema:
  17960. items:
  17961. $ref: '#/definitions/models.Ermcp3Contract'
  17962. type: array
  17963. "500":
  17964. description: Internal Server Error
  17965. schema:
  17966. $ref: '#/definitions/app.Response'
  17967. security:
  17968. - ApiKeyAuth: []
  17969. summary: 查询现货合同
  17970. tags:
  17971. - 企业风险管理v3(app)
  17972. /Ermcp3/QuerySpotContractBS:
  17973. get:
  17974. parameters:
  17975. - description: 用户id
  17976. in: query
  17977. name: userid
  17978. required: true
  17979. type: integer
  17980. - description: 用户类型 2-机构 7-企业成员
  17981. in: query
  17982. name: usertype
  17983. type: integer
  17984. - description: 合同类型 1-采购, -1-销售
  17985. in: query
  17986. name: contracttype
  17987. required: true
  17988. type: integer
  17989. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  17990. in: query
  17991. name: querytype
  17992. required: true
  17993. type: integer
  17994. - description: 合同ID(SpotContractId)
  17995. in: query
  17996. name: contractid
  17997. type: string
  17998. produces:
  17999. - application/json
  18000. responses:
  18001. "200":
  18002. description: OK
  18003. schema:
  18004. items:
  18005. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  18006. type: array
  18007. "500":
  18008. description: Internal Server Error
  18009. schema:
  18010. $ref: '#/definitions/app.Response'
  18011. security:
  18012. - ApiKeyAuth: []
  18013. summary: 查询合同(采购/销售)
  18014. tags:
  18015. - 企业风险管理v3(app)
  18016. /Ermcp3/QuerySpotGoodsPrice:
  18017. get:
  18018. parameters:
  18019. - description: 用户ID
  18020. in: query
  18021. name: userid
  18022. required: true
  18023. type: integer
  18024. produces:
  18025. - application/json
  18026. responses:
  18027. "200":
  18028. description: OK
  18029. schema:
  18030. items:
  18031. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  18032. type: array
  18033. "500":
  18034. description: Internal Server Error
  18035. schema:
  18036. $ref: '#/definitions/app.Response'
  18037. security:
  18038. - ApiKeyAuth: []
  18039. summary: 查询现货市价(现货市价)
  18040. tags:
  18041. - 企业风险管理v3(app)
  18042. /Ermcp3/QuerySpotGoodsPriceLog:
  18043. get:
  18044. parameters:
  18045. - description: 用户ID
  18046. in: query
  18047. name: userid
  18048. required: true
  18049. type: integer
  18050. - description: 现货商品ID
  18051. in: query
  18052. name: deliverygoodsid
  18053. required: true
  18054. type: integer
  18055. - description: 品牌ID
  18056. in: query
  18057. name: brandid
  18058. type: integer
  18059. - description: 品类ID
  18060. in: query
  18061. name: wrstandardid
  18062. type: integer
  18063. produces:
  18064. - application/json
  18065. responses:
  18066. "200":
  18067. description: OK
  18068. schema:
  18069. items:
  18070. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  18071. type: array
  18072. "500":
  18073. description: Internal Server Error
  18074. schema:
  18075. $ref: '#/definitions/app.Response'
  18076. security:
  18077. - ApiKeyAuth: []
  18078. summary: 查询现货市价详情(现货市价/详情)
  18079. tags:
  18080. - 企业风险管理v3(app)
  18081. /Erms2/QueryArbitrageStrategy:
  18082. get:
  18083. parameters:
  18084. - description: 账户ID
  18085. in: query
  18086. name: userid
  18087. required: true
  18088. type: integer
  18089. - description: 商品组ID(品种ID)
  18090. in: query
  18091. name: goodsgroupid
  18092. type: string
  18093. produces:
  18094. - application/json
  18095. responses:
  18096. "200":
  18097. description: OK
  18098. schema:
  18099. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  18100. "500":
  18101. description: Internal Server Error
  18102. schema:
  18103. $ref: '#/definitions/app.Response'
  18104. security:
  18105. - ApiKeyAuth: []
  18106. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  18107. tags:
  18108. - 风险管理
  18109. /Erms2/QueryInnerTradeDetail:
  18110. get:
  18111. parameters:
  18112. - description: 资金账户
  18113. in: query
  18114. name: accountid
  18115. required: true
  18116. type: integer
  18117. produces:
  18118. - application/json
  18119. responses:
  18120. "200":
  18121. description: OK
  18122. schema:
  18123. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  18124. "500":
  18125. description: Internal Server Error
  18126. schema:
  18127. $ref: '#/definitions/app.Response'
  18128. security:
  18129. - ApiKeyAuth: []
  18130. summary: 查询内部成交单信息
  18131. tags:
  18132. - 风险管理
  18133. /Erms2/QuerySpotContract:
  18134. get:
  18135. parameters:
  18136. - description: 策略申请ID
  18137. in: query
  18138. name: asapplyid
  18139. required: true
  18140. type: integer
  18141. - description: 现货合同ID
  18142. in: query
  18143. name: spotcontractid
  18144. type: integer
  18145. produces:
  18146. - application/json
  18147. responses:
  18148. "200":
  18149. description: OK
  18150. schema:
  18151. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  18152. "500":
  18153. description: Internal Server Error
  18154. schema:
  18155. $ref: '#/definitions/app.Response'
  18156. security:
  18157. - ApiKeyAuth: []
  18158. summary: 查询现货合同表信息(指定策略ID、未结束的)
  18159. tags:
  18160. - 风险管理
  18161. /Erms3/AddErms2ASApply:
  18162. post:
  18163. parameters:
  18164. - description: 申请参数
  18165. in: body
  18166. name: jsonBody
  18167. required: true
  18168. schema:
  18169. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  18170. produces:
  18171. - application/json
  18172. responses:
  18173. "200":
  18174. description: OK
  18175. schema:
  18176. $ref: '#/definitions/app.Response'
  18177. "500":
  18178. description: Internal Server Error
  18179. schema:
  18180. $ref: '#/definitions/app.Response'
  18181. security:
  18182. - ApiKeyAuth: []
  18183. summary: 新增期现套利业务申请
  18184. tags:
  18185. - 风险管理v3
  18186. /Erms3/AddErms2SpotTradeApply:
  18187. post:
  18188. parameters:
  18189. - description: 申请参数
  18190. in: body
  18191. name: jsonBody
  18192. required: true
  18193. schema:
  18194. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  18195. produces:
  18196. - application/json
  18197. responses:
  18198. "200":
  18199. description: OK
  18200. schema:
  18201. $ref: '#/definitions/app.Response'
  18202. "500":
  18203. description: Internal Server Error
  18204. schema:
  18205. $ref: '#/definitions/app.Response'
  18206. security:
  18207. - ApiKeyAuth: []
  18208. summary: 新增现货贸易业务申请
  18209. tags:
  18210. - 风险管理v3
  18211. /Erms3/AddSpotContractApply:
  18212. post:
  18213. parameters:
  18214. - description: 申请参数
  18215. in: body
  18216. name: jsonBody
  18217. required: true
  18218. schema:
  18219. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  18220. produces:
  18221. - application/json
  18222. responses:
  18223. "200":
  18224. description: OK
  18225. schema:
  18226. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  18227. "500":
  18228. description: Internal Server Error
  18229. schema:
  18230. $ref: '#/definitions/app.Response'
  18231. security:
  18232. - ApiKeyAuth: []
  18233. summary: 新增现货合同申请
  18234. tags:
  18235. - 风险管理v3
  18236. /Erms3/AddUserInfoApply:
  18237. post:
  18238. parameters:
  18239. - description: 用户信息
  18240. in: body
  18241. name: jsonBody
  18242. required: true
  18243. schema:
  18244. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18245. produces:
  18246. - application/json
  18247. responses:
  18248. "200":
  18249. description: OK
  18250. schema:
  18251. $ref: '#/definitions/app.Response'
  18252. "500":
  18253. description: Internal Server Error
  18254. schema:
  18255. $ref: '#/definitions/app.Response'
  18256. security:
  18257. - ApiKeyAuth: []
  18258. summary: 新增客户申请
  18259. tags:
  18260. - 风险管理v3
  18261. /Erms3/DeleteUserInfoApply:
  18262. get:
  18263. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18264. parameters:
  18265. - description: 用户ID
  18266. in: query
  18267. name: userID
  18268. required: true
  18269. type: integer
  18270. produces:
  18271. - application/json
  18272. responses:
  18273. "200":
  18274. description: OK
  18275. schema:
  18276. $ref: '#/definitions/app.Response'
  18277. "500":
  18278. description: Internal Server Error
  18279. schema:
  18280. $ref: '#/definitions/app.Response'
  18281. security:
  18282. - ApiKeyAuth: []
  18283. summary: 删除客户申请
  18284. tags:
  18285. - 风险管理v3
  18286. /Erms3/ModifyUserInfoApply:
  18287. post:
  18288. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18289. int, "userstate": 2 }'
  18290. parameters:
  18291. - description: 用户信息
  18292. in: body
  18293. name: jsonBody
  18294. required: true
  18295. schema:
  18296. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18297. produces:
  18298. - application/json
  18299. responses:
  18300. "200":
  18301. description: OK
  18302. schema:
  18303. $ref: '#/definitions/app.Response'
  18304. "500":
  18305. description: Internal Server Error
  18306. schema:
  18307. $ref: '#/definitions/app.Response'
  18308. security:
  18309. - ApiKeyAuth: []
  18310. summary: 修改客户申请
  18311. tags:
  18312. - 风险管理v3
  18313. /Erms3/QueryBusinessInfo:
  18314. get:
  18315. parameters:
  18316. - description: 资金账号ID列表,用逗号分隔
  18317. in: query
  18318. name: accountids
  18319. required: true
  18320. type: string
  18321. - description: 状态,0为未结束 1为已结束
  18322. in: query
  18323. name: status
  18324. required: true
  18325. type: integer
  18326. produces:
  18327. - application/json
  18328. responses:
  18329. "200":
  18330. description: OK
  18331. schema:
  18332. items:
  18333. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18334. type: array
  18335. "500":
  18336. description: Internal Server Error
  18337. schema:
  18338. $ref: '#/definitions/app.Response'
  18339. security:
  18340. - ApiKeyAuth: []
  18341. summary: 查询业务表单数据
  18342. tags:
  18343. - 风险管理v3
  18344. /Erms3/QueryPendingAuditContract:
  18345. get:
  18346. parameters:
  18347. - description: 资金账号ID列表,逗号隔开
  18348. in: query
  18349. name: accountids
  18350. required: true
  18351. type: string
  18352. - description: 合同类型 1-采购 -1-销售
  18353. in: query
  18354. name: contracttype
  18355. required: true
  18356. type: integer
  18357. - description: 合同模式 1-普通 2-回购
  18358. in: query
  18359. name: contractmode
  18360. required: true
  18361. type: integer
  18362. produces:
  18363. - application/json
  18364. responses:
  18365. "200":
  18366. description: OK
  18367. schema:
  18368. items:
  18369. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18370. type: array
  18371. "500":
  18372. description: Internal Server Error
  18373. schema:
  18374. $ref: '#/definitions/app.Response'
  18375. security:
  18376. - ApiKeyAuth: []
  18377. summary: 查询待审核合同
  18378. tags:
  18379. - 风险管理v3
  18380. /Erms3/QueryPendingBusiness:
  18381. get:
  18382. parameters:
  18383. - description: 资金账号ID列表,逗号隔开
  18384. in: query
  18385. name: accountids
  18386. required: true
  18387. type: string
  18388. produces:
  18389. - application/json
  18390. responses:
  18391. "200":
  18392. description: OK
  18393. schema:
  18394. items:
  18395. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18396. type: array
  18397. "500":
  18398. description: Internal Server Error
  18399. schema:
  18400. $ref: '#/definitions/app.Response'
  18401. security:
  18402. - ApiKeyAuth: []
  18403. summary: 查询待审核基差贸易业务
  18404. tags:
  18405. - 风险管理v3
  18406. /Erms3/QuerySpotContractAppleForm:
  18407. get:
  18408. parameters:
  18409. - description: 登录账号
  18410. in: query
  18411. name: loginID
  18412. required: true
  18413. type: integer
  18414. produces:
  18415. - application/json
  18416. responses:
  18417. "200":
  18418. description: OK
  18419. schema:
  18420. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18421. "500":
  18422. description: Internal Server Error
  18423. schema:
  18424. $ref: '#/definitions/app.Response'
  18425. security:
  18426. - ApiKeyAuth: []
  18427. summary: 查询合同申请表单数据
  18428. tags:
  18429. - 风险管理v3
  18430. /Erms3/QuerySpotContractDetail:
  18431. get:
  18432. parameters:
  18433. - description: 资金账号ID列表,用逗号分隔
  18434. in: query
  18435. name: accountids
  18436. required: true
  18437. type: string
  18438. - description: 合同类型,1为采购合同 -1为销售合同
  18439. in: query
  18440. name: contracttype
  18441. required: true
  18442. type: integer
  18443. - description: 合同模式,1为普通合同 2为回购销售合同
  18444. in: query
  18445. name: contractmode
  18446. required: true
  18447. type: integer
  18448. - description: 状态,0为履约中 1为已完成
  18449. in: query
  18450. name: status
  18451. required: true
  18452. type: integer
  18453. produces:
  18454. - application/json
  18455. responses:
  18456. "200":
  18457. description: OK
  18458. schema:
  18459. items:
  18460. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18461. type: array
  18462. "500":
  18463. description: Internal Server Error
  18464. schema:
  18465. $ref: '#/definitions/app.Response'
  18466. security:
  18467. - ApiKeyAuth: []
  18468. summary: 查询合同详细信息
  18469. tags:
  18470. - 风险管理v3
  18471. /Erms3/QueryUserInfoApplies:
  18472. get:
  18473. parameters:
  18474. - description: 页码
  18475. in: query
  18476. name: page
  18477. type: integer
  18478. - description: 每页条数
  18479. in: query
  18480. name: pagesize
  18481. type: integer
  18482. - description: 客户名称,支持模糊查询
  18483. in: query
  18484. name: userName
  18485. type: string
  18486. produces:
  18487. - application/json
  18488. responses:
  18489. "200":
  18490. description: OK
  18491. schema:
  18492. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  18493. "500":
  18494. description: Internal Server Error
  18495. schema:
  18496. $ref: '#/definitions/app.Response'
  18497. security:
  18498. - ApiKeyAuth: []
  18499. summary: 客户申请信息查询
  18500. tags:
  18501. - 风险管理v3
  18502. /Erms3/QueryUserInfos:
  18503. get:
  18504. parameters:
  18505. - description: 页码
  18506. in: query
  18507. name: page
  18508. type: integer
  18509. - description: 每页条数
  18510. in: query
  18511. name: pagesize
  18512. type: integer
  18513. - description: 客户名称,支持模糊查询
  18514. in: query
  18515. name: userName
  18516. type: string
  18517. produces:
  18518. - application/json
  18519. responses:
  18520. "200":
  18521. description: OK
  18522. schema:
  18523. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  18524. "500":
  18525. description: Internal Server Error
  18526. schema:
  18527. $ref: '#/definitions/app.Response'
  18528. security:
  18529. - ApiKeyAuth: []
  18530. summary: 客户信息查询
  18531. tags:
  18532. - 风险管理v3
  18533. /HSBY/GetHsbyMyCount:
  18534. get:
  18535. description: 说明: 不包括已完成的数量。
  18536. parameters:
  18537. - description: 资金账户列表,格式:1,2,3
  18538. in: query
  18539. name: accountIDs
  18540. required: true
  18541. type: string
  18542. produces:
  18543. - application/json
  18544. responses:
  18545. "200":
  18546. description: OK
  18547. schema:
  18548. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  18549. "500":
  18550. description: Internal Server Error
  18551. schema:
  18552. $ref: '#/definitions/app.Response'
  18553. security:
  18554. - ApiKeyAuth: []
  18555. summary: 获取我的订单与包裹数量
  18556. tags:
  18557. - 定制【海商报业】
  18558. /HSBY/QueryClientFixedADConfigs:
  18559. get:
  18560. produces:
  18561. - application/json
  18562. responses:
  18563. "200":
  18564. description: OK
  18565. schema:
  18566. $ref: '#/definitions/models.Clientfixedadconfig'
  18567. "500":
  18568. description: Internal Server Error
  18569. schema:
  18570. $ref: '#/definitions/app.Response'
  18571. security:
  18572. - ApiKeyAuth: []
  18573. summary: 获取终端固定广告配置
  18574. tags:
  18575. - 定制【海商报业】
  18576. /HSBY/QueryHsbyBuyMyTradeDetail:
  18577. get:
  18578. parameters:
  18579. - description: 页码
  18580. in: query
  18581. name: page
  18582. type: integer
  18583. - description: 每页条数
  18584. in: query
  18585. name: pagesize
  18586. type: integer
  18587. - description: 资金账户列表,格式:1,2,3
  18588. in: query
  18589. name: accountIDs
  18590. required: true
  18591. type: string
  18592. produces:
  18593. - application/json
  18594. responses:
  18595. "200":
  18596. description: OK
  18597. schema:
  18598. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  18599. "500":
  18600. description: Internal Server Error
  18601. schema:
  18602. $ref: '#/definitions/app.Response'
  18603. security:
  18604. - ApiKeyAuth: []
  18605. summary: 查询"我的订单 - 已完成"单据信息
  18606. tags:
  18607. - 定制【海商报业】
  18608. /HSBY/QueryHsbyGoodsOrderDetails:
  18609. get:
  18610. description: 说明:查询结果已按委托价格和委托时间排序
  18611. parameters:
  18612. - description: 商品ID
  18613. in: query
  18614. name: goodsID
  18615. required: true
  18616. type: integer
  18617. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  18618. in: query
  18619. name: accountIDs
  18620. type: string
  18621. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  18622. in: query
  18623. name: buyOrSell
  18624. type: integer
  18625. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  18626. in: query
  18627. name: price
  18628. type: number
  18629. - description: 档位,不传则默认为3档
  18630. in: query
  18631. name: speed
  18632. type: integer
  18633. produces:
  18634. - application/json
  18635. responses:
  18636. "200":
  18637. description: OK
  18638. schema:
  18639. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  18640. "500":
  18641. description: Internal Server Error
  18642. schema:
  18643. $ref: '#/definitions/app.Response'
  18644. security:
  18645. - ApiKeyAuth: []
  18646. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  18647. tags:
  18648. - 定制【海商报业】
  18649. /HSBY/QueryHsbyListingGoodsDetail:
  18650. get:
  18651. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  18652. parameters:
  18653. - description: 商品ID
  18654. in: query
  18655. name: goodsID
  18656. required: true
  18657. type: integer
  18658. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  18659. in: query
  18660. name: accountID
  18661. type: integer
  18662. produces:
  18663. - application/json
  18664. responses:
  18665. "200":
  18666. description: OK
  18667. schema:
  18668. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  18669. "500":
  18670. description: Internal Server Error
  18671. schema:
  18672. $ref: '#/definitions/app.Response'
  18673. security:
  18674. - ApiKeyAuth: []
  18675. summary: 查询二级市场(挂牌点选)商品信息详情
  18676. tags:
  18677. - 定制【海商报业】
  18678. /HSBY/QueryHsbyMarketGoodsDetail:
  18679. get:
  18680. parameters:
  18681. - description: 委托单号
  18682. in: query
  18683. name: orderID
  18684. required: true
  18685. type: integer
  18686. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  18687. in: query
  18688. name: accountID
  18689. type: integer
  18690. produces:
  18691. - application/json
  18692. responses:
  18693. "200":
  18694. description: OK
  18695. schema:
  18696. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  18697. "500":
  18698. description: Internal Server Error
  18699. schema:
  18700. $ref: '#/definitions/app.Response'
  18701. security:
  18702. - ApiKeyAuth: []
  18703. summary: 查询三级市场(商城)商品信息详情
  18704. tags:
  18705. - 定制【海商报业】
  18706. /HSBY/QueryHsbyMarketGoodses:
  18707. get:
  18708. parameters:
  18709. - description: 页码
  18710. in: query
  18711. name: page
  18712. type: integer
  18713. - description: 每页条数
  18714. in: query
  18715. name: pagesize
  18716. type: integer
  18717. - description: 市场ID列表,格式:1,2,3
  18718. in: query
  18719. name: marketIDs
  18720. required: true
  18721. type: string
  18722. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  18723. in: query
  18724. name: accountID
  18725. required: true
  18726. type: integer
  18727. - description: 类别ID
  18728. in: query
  18729. name: categoryID
  18730. type: integer
  18731. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  18732. in: query
  18733. name: goodsIDs
  18734. type: string
  18735. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  18736. in: query
  18737. name: couponTypeID
  18738. type: integer
  18739. produces:
  18740. - application/json
  18741. responses:
  18742. "200":
  18743. description: OK
  18744. schema:
  18745. $ref: '#/definitions/models.HsbyMarketGoods'
  18746. "500":
  18747. description: Internal Server Error
  18748. schema:
  18749. $ref: '#/definitions/app.Response'
  18750. security:
  18751. - ApiKeyAuth: []
  18752. summary: 查询特卖商品列表(三级商城)
  18753. tags:
  18754. - 定制【海商报业】
  18755. /HSBY/QueryHsbyMarkets:
  18756. get:
  18757. produces:
  18758. - application/json
  18759. responses:
  18760. "200":
  18761. description: OK
  18762. schema:
  18763. $ref: '#/definitions/models.HsbyMarketInfo'
  18764. "500":
  18765. description: Internal Server Error
  18766. schema:
  18767. $ref: '#/definitions/app.Response'
  18768. security:
  18769. - ApiKeyAuth: []
  18770. summary: 查询海商报业相关市场信息
  18771. tags:
  18772. - 定制【海商报业】
  18773. /HSBY/QueryHsbyMyBuyOrderDetails:
  18774. get:
  18775. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  18776. parameters:
  18777. - description: 资金账户列表,格式:1,2,3
  18778. in: query
  18779. name: accountIDs
  18780. required: true
  18781. type: string
  18782. produces:
  18783. - application/json
  18784. responses:
  18785. "200":
  18786. description: OK
  18787. schema:
  18788. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  18789. "500":
  18790. description: Internal Server Error
  18791. schema:
  18792. $ref: '#/definitions/app.Response'
  18793. security:
  18794. - ApiKeyAuth: []
  18795. summary: 查询“我的订单”信息
  18796. tags:
  18797. - 定制【海商报业】
  18798. /HSBY/QueryHsbyMyGoods:
  18799. get:
  18800. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  18801. parameters:
  18802. - description: 资金账户列表,格式:1,2,3
  18803. in: query
  18804. name: accountIDs
  18805. required: true
  18806. type: string
  18807. produces:
  18808. - application/json
  18809. responses:
  18810. "200":
  18811. description: OK
  18812. schema:
  18813. $ref: '#/definitions/models.HsbyMyGoods'
  18814. "500":
  18815. description: Internal Server Error
  18816. schema:
  18817. $ref: '#/definitions/app.Response'
  18818. security:
  18819. - ApiKeyAuth: []
  18820. summary: 查询“我的商品”信息
  18821. tags:
  18822. - 定制【海商报业】
  18823. /HSBY/QueryHsbyMyPackages:
  18824. get:
  18825. parameters:
  18826. - description: 资金账户列表,格式:1,2,3
  18827. in: query
  18828. name: accountIDs
  18829. required: true
  18830. type: string
  18831. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18832. in: query
  18833. name: takeOrderStatus
  18834. type: integer
  18835. produces:
  18836. - application/json
  18837. responses:
  18838. "200":
  18839. description: OK
  18840. schema:
  18841. $ref: '#/definitions/models.HsbyMyPackage'
  18842. "500":
  18843. description: Internal Server Error
  18844. schema:
  18845. $ref: '#/definitions/app.Response'
  18846. security:
  18847. - ApiKeyAuth: []
  18848. summary: 查询我的包裹信息
  18849. tags:
  18850. - 定制【海商报业】
  18851. /HSBY/QueryHsbyPreGoodsDetail:
  18852. get:
  18853. parameters:
  18854. - description: 商品ID
  18855. in: query
  18856. name: goodsID
  18857. required: true
  18858. type: integer
  18859. - description: 资金账户,主要用于获取预售商品购买上限
  18860. in: query
  18861. name: accountID
  18862. type: integer
  18863. produces:
  18864. - application/json
  18865. responses:
  18866. "200":
  18867. description: OK
  18868. schema:
  18869. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  18870. "500":
  18871. description: Internal Server Error
  18872. schema:
  18873. $ref: '#/definitions/app.Response'
  18874. security:
  18875. - ApiKeyAuth: []
  18876. summary: 查询一级市场(预售)商品信息详情
  18877. tags:
  18878. - 定制【海商报业】
  18879. /HSBY/QueryHsbyPreGoodses:
  18880. get:
  18881. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  18882. parameters:
  18883. - description: 页码
  18884. in: query
  18885. name: page
  18886. type: integer
  18887. - description: 每页条数
  18888. in: query
  18889. name: pagesize
  18890. type: integer
  18891. - description: 市场ID列表,格式:1,2,3
  18892. in: query
  18893. name: marketIDs
  18894. required: true
  18895. type: string
  18896. - description: 目的地(省)ID
  18897. in: query
  18898. name: descProvinceID
  18899. type: integer
  18900. - description: 目的地(市)ID
  18901. in: query
  18902. name: descCityID
  18903. type: integer
  18904. produces:
  18905. - application/json
  18906. responses:
  18907. "200":
  18908. description: OK
  18909. schema:
  18910. $ref: '#/definitions/models.HsbyPreGoods'
  18911. "500":
  18912. description: Internal Server Error
  18913. schema:
  18914. $ref: '#/definitions/app.Response'
  18915. security:
  18916. - ApiKeyAuth: []
  18917. summary: 查询新品上市商品列表(一级市场预售)
  18918. tags:
  18919. - 定制【海商报业】
  18920. /HSBY/QueryHsbySellMyDetails:
  18921. get:
  18922. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  18923. parameters:
  18924. - description: 页码
  18925. in: query
  18926. name: page
  18927. type: integer
  18928. - description: 每页条数
  18929. in: query
  18930. name: pagesize
  18931. type: integer
  18932. - description: 资金账户列表,格式:1,2,3
  18933. in: query
  18934. name: accountIDs
  18935. required: true
  18936. type: string
  18937. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  18938. in: query
  18939. name: orderType
  18940. type: integer
  18941. produces:
  18942. - application/json
  18943. responses:
  18944. "200":
  18945. description: OK
  18946. schema:
  18947. $ref: '#/definitions/models.HsbySellMyDetail'
  18948. "500":
  18949. description: Internal Server Error
  18950. schema:
  18951. $ref: '#/definitions/app.Response'
  18952. security:
  18953. - ApiKeyAuth: []
  18954. summary: 查询"我的闲置"单据信息
  18955. tags:
  18956. - 定制【海商报业】
  18957. /HSBY/QueryHsbyTopGoodses:
  18958. get:
  18959. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  18960. parameters:
  18961. - description: 页码
  18962. in: query
  18963. name: page
  18964. type: integer
  18965. - description: 每页条数
  18966. in: query
  18967. name: pagesize
  18968. type: integer
  18969. - description: 市场ID列表,格式:1,2,3
  18970. in: query
  18971. name: marketIDs
  18972. required: true
  18973. type: string
  18974. - description: 目的地(省)ID
  18975. in: query
  18976. name: descProvinceID
  18977. type: integer
  18978. - description: 目的地(市)ID
  18979. in: query
  18980. name: descCityID
  18981. type: integer
  18982. produces:
  18983. - application/json
  18984. responses:
  18985. "200":
  18986. description: OK
  18987. schema:
  18988. $ref: '#/definitions/models.HsbyTopGoods'
  18989. "500":
  18990. description: Internal Server Error
  18991. schema:
  18992. $ref: '#/definitions/app.Response'
  18993. security:
  18994. - ApiKeyAuth: []
  18995. summary: 查询热卖商品列表(二级市场挂牌点选)
  18996. tags:
  18997. - 定制【海商报业】
  18998. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  18999. get:
  19000. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  19001. parameters:
  19002. - description: 商品ID
  19003. in: query
  19004. name: goodsID
  19005. required: true
  19006. type: integer
  19007. produces:
  19008. - application/json
  19009. responses:
  19010. "200":
  19011. description: OK
  19012. schema:
  19013. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19014. "500":
  19015. description: Internal Server Error
  19016. schema:
  19017. $ref: '#/definitions/app.Response'
  19018. security:
  19019. - ApiKeyAuth: []
  19020. summary: 查询游客三级市场(商城)商品信息详情
  19021. tags:
  19022. - 定制【海商报业】
  19023. /HSBY/QueryHsbyVisitorMarketGoodses:
  19024. get:
  19025. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  19026. parameters:
  19027. - description: 页码
  19028. in: query
  19029. name: page
  19030. type: integer
  19031. - description: 每页条数
  19032. in: query
  19033. name: pagesize
  19034. type: integer
  19035. - description: 市场ID列表,格式:1,2,3
  19036. in: query
  19037. name: marketIDs
  19038. required: true
  19039. type: string
  19040. - description: 类别ID
  19041. in: query
  19042. name: categoryID
  19043. type: integer
  19044. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19045. in: query
  19046. name: goodsIDs
  19047. type: string
  19048. produces:
  19049. - application/json
  19050. responses:
  19051. "200":
  19052. description: OK
  19053. schema:
  19054. $ref: '#/definitions/models.HsbyMarketGoods'
  19055. "500":
  19056. description: Internal Server Error
  19057. schema:
  19058. $ref: '#/definitions/app.Response'
  19059. security:
  19060. - ApiKeyAuth: []
  19061. summary: 查询游客特卖商品列表(三级商城)
  19062. tags:
  19063. - 定制【海商报业】
  19064. /HSBY/QueryMyCollectionOrders:
  19065. get:
  19066. parameters:
  19067. - description: 页码
  19068. in: query
  19069. name: page
  19070. type: integer
  19071. - description: 每页条数
  19072. in: query
  19073. name: pagesize
  19074. type: integer
  19075. - description: 资金账户,格式:1,2,3
  19076. in: query
  19077. name: accountIDs
  19078. required: true
  19079. type: string
  19080. produces:
  19081. - application/json
  19082. responses:
  19083. "200":
  19084. description: OK
  19085. schema:
  19086. $ref: '#/definitions/models.HsbySellCollectionOrder'
  19087. "500":
  19088. description: Internal Server Error
  19089. schema:
  19090. $ref: '#/definitions/app.Response'
  19091. security:
  19092. - ApiKeyAuth: []
  19093. summary: 我的闲置中收款信息查询
  19094. tags:
  19095. - 定制【海商报业】
  19096. /HSBY/QueryMyCouponHolds:
  19097. get:
  19098. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  19099. parameters:
  19100. - description: 资金账户列表,格式:1,2,3
  19101. in: query
  19102. name: accountIDs
  19103. required: true
  19104. type: string
  19105. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  19106. in: query
  19107. name: holdStatus
  19108. type: string
  19109. produces:
  19110. - application/json
  19111. responses:
  19112. "200":
  19113. description: OK
  19114. schema:
  19115. $ref: '#/definitions/models.MyCouponHold'
  19116. "500":
  19117. description: Internal Server Error
  19118. schema:
  19119. $ref: '#/definitions/app.Response'
  19120. security:
  19121. - ApiKeyAuth: []
  19122. summary: 我的优惠卷持仓查询
  19123. tags:
  19124. - 定制【海商报业】
  19125. /HSBY/QueryMyCoupons:
  19126. get:
  19127. parameters:
  19128. - description: 资金账户列表,格式:1,2,3
  19129. in: query
  19130. name: accountIDs
  19131. required: true
  19132. type: string
  19133. - description: 商品ID, 一般与sellUserID配套传入
  19134. in: query
  19135. name: goodsID
  19136. type: integer
  19137. - description: 卖方UserID
  19138. in: query
  19139. name: sellUserID
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. $ref: '#/definitions/models.MyCoupon'
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. security:
  19153. - ApiKeyAuth: []
  19154. summary: 我的优惠卷查询
  19155. tags:
  19156. - 定制【海商报业】
  19157. /HSBY/QueryMyPayOrders:
  19158. get:
  19159. parameters:
  19160. - description: 页码
  19161. in: query
  19162. name: page
  19163. type: integer
  19164. - description: 每页条数
  19165. in: query
  19166. name: pagesize
  19167. type: integer
  19168. - description: 资金账户列表,格式:1,2,3
  19169. in: query
  19170. name: accountIDs
  19171. required: true
  19172. type: string
  19173. - description: 买方委托单号
  19174. in: query
  19175. name: buyOrderID
  19176. type: integer
  19177. - description: 卖方委托单号
  19178. in: query
  19179. name: sellOrderID
  19180. type: integer
  19181. produces:
  19182. - application/json
  19183. responses:
  19184. "200":
  19185. description: OK
  19186. schema:
  19187. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  19188. "500":
  19189. description: Internal Server Error
  19190. schema:
  19191. $ref: '#/definitions/app.Response'
  19192. security:
  19193. - ApiKeyAuth: []
  19194. summary: 获取我的订单中待付款信息
  19195. tags:
  19196. - 定制【海商报业】
  19197. /HSBY/QueryMyUsedCoupon:
  19198. get:
  19199. parameters:
  19200. - description: 资金账户列表,格式:1,2,3
  19201. in: query
  19202. name: accountIDs
  19203. required: true
  19204. type: string
  19205. produces:
  19206. - application/json
  19207. responses:
  19208. "200":
  19209. description: OK
  19210. schema:
  19211. $ref: '#/definitions/models.MyUsedCoupon'
  19212. "500":
  19213. description: Internal Server Error
  19214. schema:
  19215. $ref: '#/definitions/app.Response'
  19216. security:
  19217. - ApiKeyAuth: []
  19218. summary: 已使用优惠卷查询
  19219. tags:
  19220. - 定制【海商报业】
  19221. /HSBY/QueryProvincesAndCities:
  19222. get:
  19223. description: 查询结果只包括二级市场商品已关连的省市信息。
  19224. parameters:
  19225. - description: 省ID
  19226. in: query
  19227. name: provinceID
  19228. type: integer
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  19236. "500":
  19237. description: Internal Server Error
  19238. schema:
  19239. $ref: '#/definitions/app.Response'
  19240. security:
  19241. - ApiKeyAuth: []
  19242. summary: 查询省市信息(不包括区)
  19243. tags:
  19244. - 定制【海商报业】
  19245. /HSBY/SetHsbyMyPackagesStatus:
  19246. post:
  19247. parameters:
  19248. - description: 提货单号
  19249. in: query
  19250. name: takeOrderID
  19251. required: true
  19252. type: string
  19253. - description: 资金账号
  19254. in: query
  19255. name: accountID
  19256. required: true
  19257. type: integer
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. $ref: '#/definitions/app.Response'
  19265. "500":
  19266. description: Internal Server Error
  19267. schema:
  19268. $ref: '#/definitions/app.Response'
  19269. security:
  19270. - ApiKeyAuth: []
  19271. summary: 设置我的包裹已收货状态
  19272. tags:
  19273. - 定制【海商报业】
  19274. /Market/QueryGoodsesByLoginID:
  19275. get:
  19276. parameters:
  19277. - description: 登录账号
  19278. in: query
  19279. name: loginID
  19280. required: true
  19281. type: integer
  19282. - description: 市场ID列表,格式:1,2,3
  19283. in: query
  19284. name: marketIDs
  19285. type: string
  19286. produces:
  19287. - application/json
  19288. responses:
  19289. "200":
  19290. description: OK
  19291. schema:
  19292. $ref: '#/definitions/models.Goods'
  19293. "500":
  19294. description: Internal Server Error
  19295. schema:
  19296. $ref: '#/definitions/app.Response'
  19297. security:
  19298. - ApiKeyAuth: []
  19299. summary: 获取登录账号有权限的商品信息
  19300. tags:
  19301. - 通用市场
  19302. /Market/QueryMarketRun:
  19303. get:
  19304. parameters:
  19305. - description: 市场ID,不传返回所有
  19306. in: query
  19307. name: marketID
  19308. type: integer
  19309. produces:
  19310. - application/json
  19311. responses:
  19312. "200":
  19313. description: OK
  19314. schema:
  19315. $ref: '#/definitions/models.Marketrun'
  19316. "500":
  19317. description: Internal Server Error
  19318. schema:
  19319. $ref: '#/definitions/app.Response'
  19320. security:
  19321. - ApiKeyAuth: []
  19322. summary: 查询市场运行信息
  19323. tags:
  19324. - 通用市场
  19325. /Market/QueryMarketsByLoginID:
  19326. get:
  19327. parameters:
  19328. - description: 登录账号
  19329. in: query
  19330. name: loginID
  19331. required: true
  19332. type: integer
  19333. produces:
  19334. - application/json
  19335. responses:
  19336. "200":
  19337. description: OK
  19338. schema:
  19339. $ref: '#/definitions/models.Market'
  19340. "500":
  19341. description: Internal Server Error
  19342. schema:
  19343. $ref: '#/definitions/app.Response'
  19344. security:
  19345. - ApiKeyAuth: []
  19346. summary: 获取登录账号有权限的市场信息
  19347. tags:
  19348. - 通用市场
  19349. /Order/QueryHisTradeDetail:
  19350. get:
  19351. parameters:
  19352. - description: 资金账户 - 格式:1,2,3
  19353. in: query
  19354. name: accountID
  19355. required: true
  19356. type: string
  19357. - description: 成交单号
  19358. in: query
  19359. name: tradeID
  19360. type: integer
  19361. - description: 委托单号
  19362. in: query
  19363. name: orderID
  19364. type: integer
  19365. - description: 商品ID
  19366. in: query
  19367. name: goodsID
  19368. type: integer
  19369. - description: 交易模式 - 格式:1,2,3
  19370. in: query
  19371. name: tradeMode
  19372. type: string
  19373. - description: 委托单据类型
  19374. in: query
  19375. name: buildType
  19376. type: integer
  19377. - description: 成交类别 - 格式:1,2,3
  19378. in: query
  19379. name: tradeType
  19380. type: string
  19381. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19382. in: query
  19383. name: startDate
  19384. type: string
  19385. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19386. in: query
  19387. name: endDate
  19388. type: string
  19389. produces:
  19390. - application/json
  19391. responses:
  19392. "200":
  19393. description: OK
  19394. schema:
  19395. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19396. "500":
  19397. description: Internal Server Error
  19398. schema:
  19399. $ref: '#/definitions/app.Response'
  19400. security:
  19401. - ApiKeyAuth: []
  19402. summary: 历史成交单查询(合约市场)
  19403. tags:
  19404. - 通用单据
  19405. /Order/QueryHisTradeOrderDetail:
  19406. get:
  19407. parameters:
  19408. - description: 资金账户 - 格式:1,2,3
  19409. in: query
  19410. name: accountID
  19411. required: true
  19412. type: string
  19413. - description: 交易模式 - 格式:1,2,3
  19414. in: query
  19415. name: tradeMode
  19416. type: string
  19417. - description: 委托状态 - 格式:1,2,3
  19418. in: query
  19419. name: orderStatus
  19420. type: string
  19421. - description: 委托单号
  19422. in: query
  19423. name: orderID
  19424. type: integer
  19425. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19426. in: query
  19427. name: startDate
  19428. type: string
  19429. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19430. in: query
  19431. name: endDate
  19432. type: string
  19433. produces:
  19434. - application/json
  19435. responses:
  19436. "200":
  19437. description: OK
  19438. schema:
  19439. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19440. "500":
  19441. description: Internal Server Error
  19442. schema:
  19443. $ref: '#/definitions/app.Response'
  19444. security:
  19445. - ApiKeyAuth: []
  19446. summary: 历史委托单查询请求(合约市场)
  19447. tags:
  19448. - 通用单据
  19449. /Order/QueryTradeDetail:
  19450. get:
  19451. parameters:
  19452. - description: 资金账户 - 格式:1,2,3
  19453. in: query
  19454. name: accountID
  19455. required: true
  19456. type: string
  19457. - description: 成交单号
  19458. in: query
  19459. name: tradeID
  19460. type: integer
  19461. - description: 委托单号
  19462. in: query
  19463. name: orderID
  19464. type: integer
  19465. - description: 交易模式 - 格式:1,2,3
  19466. in: query
  19467. name: tradeMode
  19468. type: string
  19469. - description: 委托单据类型
  19470. in: query
  19471. name: buildType
  19472. type: integer
  19473. - description: 成交类别 - 格式:1,2,3
  19474. in: query
  19475. name: tradeType
  19476. type: string
  19477. - description: 商品ID
  19478. in: query
  19479. name: goodsID
  19480. type: integer
  19481. produces:
  19482. - application/json
  19483. responses:
  19484. "200":
  19485. description: OK
  19486. schema:
  19487. $ref: '#/definitions/order.QueryTradeDetailRsp'
  19488. "500":
  19489. description: Internal Server Error
  19490. schema:
  19491. $ref: '#/definitions/app.Response'
  19492. security:
  19493. - ApiKeyAuth: []
  19494. summary: 成交单查询(合约市场)
  19495. tags:
  19496. - 通用单据
  19497. /Order/QueryTradeOrderDetail:
  19498. get:
  19499. parameters:
  19500. - description: 资金账户 - 格式:1,2,3
  19501. in: query
  19502. name: accountID
  19503. required: true
  19504. type: string
  19505. - description: 交易模式 - 格式:1,2,3
  19506. in: query
  19507. name: tradeMode
  19508. type: string
  19509. - description: 委托状态 - 格式:1,2,3
  19510. in: query
  19511. name: orderStatus
  19512. type: string
  19513. - description: 委托单号
  19514. in: query
  19515. name: orderID
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 委托单查询请求(合约市场)
  19531. tags:
  19532. - 通用单据
  19533. /Order/QueryTradePosition:
  19534. get:
  19535. parameters:
  19536. - description: 资金账户 - 格式:1,2,3
  19537. in: query
  19538. name: accountID
  19539. required: true
  19540. type: string
  19541. - description: 交易模式 - 格式:1,2,3
  19542. in: query
  19543. name: tradeMode
  19544. type: string
  19545. produces:
  19546. - application/json
  19547. responses:
  19548. "200":
  19549. description: OK
  19550. schema:
  19551. $ref: '#/definitions/order.QueryTradePositionRsp'
  19552. "500":
  19553. description: Internal Server Error
  19554. schema:
  19555. $ref: '#/definitions/app.Response'
  19556. security:
  19557. - ApiKeyAuth: []
  19558. summary: 持仓汇总查询(合约市场)
  19559. tags:
  19560. - 通用单据
  19561. /Qhj/QueryAccountInOutApply:
  19562. get:
  19563. parameters:
  19564. - description: 用户ID
  19565. in: query
  19566. name: userid
  19567. required: true
  19568. type: integer
  19569. - description: 申请起始日期(格式yyyymmdd)
  19570. in: query
  19571. name: begindate
  19572. type: string
  19573. - description: 申请截止日期(格式yyyymmdd)
  19574. in: query
  19575. name: enddate
  19576. type: string
  19577. - description: 模糊搜索名称
  19578. in: query
  19579. name: likename
  19580. type: string
  19581. produces:
  19582. - application/json
  19583. responses:
  19584. "200":
  19585. description: OK
  19586. schema:
  19587. items:
  19588. $ref: '#/definitions/models.QhjAccountOutInApply'
  19589. type: array
  19590. "500":
  19591. description: Internal Server Error
  19592. schema:
  19593. $ref: '#/definitions/app.Response'
  19594. security:
  19595. - ApiKeyAuth: []
  19596. summary: 查询充值提现
  19597. tags:
  19598. - 大连千海金
  19599. /Qhj/QueryAreaFinanceConfig:
  19600. get:
  19601. parameters:
  19602. - description: 机构用户ID 其他做市关系,都设置为 1
  19603. in: query
  19604. name: userid
  19605. type: integer
  19606. produces:
  19607. - application/json
  19608. responses:
  19609. "200":
  19610. description: OK
  19611. schema:
  19612. items:
  19613. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  19614. type: array
  19615. "500":
  19616. description: Internal Server Error
  19617. schema:
  19618. $ref: '#/definitions/app.Response'
  19619. security:
  19620. - ApiKeyAuth: []
  19621. summary: 查询企业配置表
  19622. tags:
  19623. - 大连千海金
  19624. /Qhj/QueryBankAccountSign:
  19625. get:
  19626. parameters:
  19627. - description: 用户ID
  19628. in: query
  19629. name: userid
  19630. required: true
  19631. type: integer
  19632. produces:
  19633. - application/json
  19634. responses:
  19635. "200":
  19636. description: OK
  19637. schema:
  19638. items:
  19639. $ref: '#/definitions/models.QhjBankAccountSign'
  19640. type: array
  19641. "500":
  19642. description: Internal Server Error
  19643. schema:
  19644. $ref: '#/definitions/app.Response'
  19645. security:
  19646. - ApiKeyAuth: []
  19647. summary: 查询签约银行信息(提现账户管理)
  19648. tags:
  19649. - 大连千海金
  19650. /Qhj/QueryBankInfo:
  19651. get:
  19652. produces:
  19653. - application/json
  19654. responses:
  19655. "200":
  19656. description: OK
  19657. schema:
  19658. items:
  19659. $ref: '#/definitions/models.QhjBankInfo'
  19660. type: array
  19661. "500":
  19662. description: Internal Server Error
  19663. schema:
  19664. $ref: '#/definitions/app.Response'
  19665. security:
  19666. - ApiKeyAuth: []
  19667. summary: 查询开户行
  19668. tags:
  19669. - 大连千海金
  19670. /Qhj/QueryBrokerApply:
  19671. get:
  19672. parameters:
  19673. - description: 所属机构ID
  19674. in: query
  19675. name: userid
  19676. type: integer
  19677. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19678. in: query
  19679. name: filterstatus
  19680. type: string
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. items:
  19688. $ref: '#/definitions/models.QhjBrokerApply'
  19689. type: array
  19690. "500":
  19691. description: Internal Server Error
  19692. schema:
  19693. $ref: '#/definitions/app.Response'
  19694. security:
  19695. - ApiKeyAuth: []
  19696. summary: 查询经纪人申请
  19697. tags:
  19698. - 大连千海金
  19699. /Qhj/QueryBrokerApplyEx:
  19700. get:
  19701. parameters:
  19702. - description: 所属机构ID
  19703. in: query
  19704. name: userid
  19705. type: integer
  19706. produces:
  19707. - application/json
  19708. responses:
  19709. "200":
  19710. description: OK
  19711. schema:
  19712. items:
  19713. $ref: '#/definitions/models.QhjBrokerApplyEx'
  19714. type: array
  19715. "500":
  19716. description: Internal Server Error
  19717. schema:
  19718. $ref: '#/definitions/app.Response'
  19719. security:
  19720. - ApiKeyAuth: []
  19721. summary: 查询经纪人信息和申请记录
  19722. tags:
  19723. - 大连千海金
  19724. /Qhj/QueryBrokerRewardLog:
  19725. get:
  19726. parameters:
  19727. - description: 用户ID
  19728. in: query
  19729. name: userid
  19730. required: true
  19731. type: integer
  19732. - description: 开始交易日(yyyymmdd)
  19733. in: query
  19734. name: begindate
  19735. type: string
  19736. - description: 结束交易日(yyyymmdd)
  19737. in: query
  19738. name: enddate
  19739. type: string
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. items:
  19747. $ref: '#/definitions/models.QhjBrokerRewardLog'
  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/QueryContract:
  19759. get:
  19760. parameters:
  19761. - description: 用户ID
  19762. in: query
  19763. name: userid
  19764. type: integer
  19765. - description: scf合同id
  19766. in: query
  19767. name: scfcontractid
  19768. type: integer
  19769. produces:
  19770. - application/json
  19771. responses:
  19772. "200":
  19773. description: OK
  19774. schema:
  19775. items:
  19776. $ref: '#/definitions/models.QhjContract'
  19777. type: array
  19778. "500":
  19779. description: Internal Server Error
  19780. schema:
  19781. $ref: '#/definitions/app.Response'
  19782. security:
  19783. - ApiKeyAuth: []
  19784. summary: 查询融资明细(合同)
  19785. tags:
  19786. - 大连千海金
  19787. /Qhj/QueryContractLog:
  19788. get:
  19789. parameters:
  19790. - description: scf合同id
  19791. in: query
  19792. name: scfcontractid
  19793. required: true
  19794. type: integer
  19795. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  19796. in: query
  19797. name: amounttype
  19798. type: string
  19799. produces:
  19800. - application/json
  19801. responses:
  19802. "200":
  19803. description: OK
  19804. schema:
  19805. items:
  19806. $ref: '#/definitions/models.QhjContractLog'
  19807. type: array
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. security:
  19813. - ApiKeyAuth: []
  19814. summary: 查询融资明细流水(融资明细详情页中的流水)
  19815. tags:
  19816. - 大连千海金
  19817. /Qhj/QueryCusBankSignBank:
  19818. get:
  19819. produces:
  19820. - application/json
  19821. responses:
  19822. "200":
  19823. description: OK
  19824. schema:
  19825. items:
  19826. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  19827. type: array
  19828. "500":
  19829. description: Internal Server Error
  19830. schema:
  19831. $ref: '#/definitions/app.Response'
  19832. security:
  19833. - ApiKeyAuth: []
  19834. summary: 查询托管银行
  19835. tags:
  19836. - 大连千海金
  19837. /Qhj/QueryCustomerInfo:
  19838. get:
  19839. parameters:
  19840. - description: 用户ID
  19841. in: query
  19842. name: userid
  19843. required: true
  19844. type: integer
  19845. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  19846. in: query
  19847. name: querytype
  19848. required: true
  19849. type: integer
  19850. - description: 客户类型 1-个人 2-企业
  19851. in: query
  19852. name: userinfotype
  19853. type: integer
  19854. - description: 客户名称(模糊匹配)
  19855. in: query
  19856. name: customername
  19857. type: string
  19858. - description: 昵称(模糊匹配)
  19859. in: query
  19860. name: nickname
  19861. type: string
  19862. - description: 是否包含子级 1-包含
  19863. in: query
  19864. name: includesub
  19865. type: integer
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. items:
  19873. $ref: '#/definitions/models.QhjCustomer'
  19874. type: array
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 查询客户资料
  19882. tags:
  19883. - 大连千海金
  19884. /Qhj/QueryGoodsEx:
  19885. get:
  19886. parameters:
  19887. - description: 商品id
  19888. in: query
  19889. name: goodsid
  19890. type: integer
  19891. produces:
  19892. - application/json
  19893. responses:
  19894. "200":
  19895. description: OK
  19896. schema:
  19897. items:
  19898. $ref: '#/definitions/models.Qhjgoodsex'
  19899. type: array
  19900. "500":
  19901. description: Internal Server Error
  19902. schema:
  19903. $ref: '#/definitions/app.Response'
  19904. security:
  19905. - ApiKeyAuth: []
  19906. summary: 交易商品扩展表
  19907. tags:
  19908. - 大连千海金
  19909. /Qhj/QueryMyTeam:
  19910. get:
  19911. parameters:
  19912. - description: 用户ID
  19913. in: query
  19914. name: userid
  19915. required: true
  19916. type: integer
  19917. produces:
  19918. - application/json
  19919. responses:
  19920. "200":
  19921. description: OK
  19922. schema:
  19923. items:
  19924. $ref: '#/definitions/models.QhjMyTeamEx'
  19925. type: array
  19926. "500":
  19927. description: Internal Server Error
  19928. schema:
  19929. $ref: '#/definitions/app.Response'
  19930. security:
  19931. - ApiKeyAuth: []
  19932. summary: 查询我的团队
  19933. tags:
  19934. - 大连千海金
  19935. /Qhj/QueryMyTeamOrder:
  19936. get:
  19937. parameters:
  19938. - description: 页码
  19939. in: query
  19940. name: page
  19941. type: integer
  19942. - description: 每页条数
  19943. in: query
  19944. name: pagesize
  19945. type: integer
  19946. - description: 用户ID
  19947. in: query
  19948. name: userid
  19949. required: true
  19950. type: integer
  19951. - description: 交易模式
  19952. in: query
  19953. name: trademode
  19954. type: integer
  19955. - description: 名称(模糊搜索账户)
  19956. in: query
  19957. name: filtername
  19958. type: string
  19959. produces:
  19960. - application/json
  19961. responses:
  19962. "200":
  19963. description: OK
  19964. schema:
  19965. items:
  19966. $ref: '#/definitions/models.QhjTeamOrder'
  19967. type: array
  19968. "500":
  19969. description: Internal Server Error
  19970. schema:
  19971. $ref: '#/definitions/app.Response'
  19972. security:
  19973. - ApiKeyAuth: []
  19974. summary: 查询团队订单(我的团队/团队订单)
  19975. tags:
  19976. - 大连千海金
  19977. /Qhj/QueryParentAreaList:
  19978. get:
  19979. parameters:
  19980. - description: 用户ID
  19981. in: query
  19982. name: userid
  19983. required: true
  19984. type: integer
  19985. produces:
  19986. - application/json
  19987. responses:
  19988. "200":
  19989. description: OK
  19990. schema:
  19991. items:
  19992. $ref: '#/definitions/models.QhjParentAreaList'
  19993. type: array
  19994. "500":
  19995. description: Internal Server Error
  19996. schema:
  19997. $ref: '#/definitions/app.Response'
  19998. security:
  19999. - ApiKeyAuth: []
  20000. summary: 查询所属机构列表
  20001. tags:
  20002. - 大连千海金
  20003. /Qhj/QueryPayOrder:
  20004. get:
  20005. parameters:
  20006. - description: 资金账号id
  20007. in: query
  20008. name: accountid
  20009. required: true
  20010. type: integer
  20011. - description: 成交单号
  20012. in: query
  20013. name: tradeid
  20014. type: integer
  20015. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20016. in: query
  20017. name: payflag
  20018. type: string
  20019. produces:
  20020. - application/json
  20021. responses:
  20022. "200":
  20023. description: OK
  20024. schema:
  20025. items:
  20026. $ref: '#/definitions/models.QhjPayOrder'
  20027. type: array
  20028. "500":
  20029. description: Internal Server Error
  20030. schema:
  20031. $ref: '#/definitions/app.Response'
  20032. security:
  20033. - ApiKeyAuth: []
  20034. summary: 查询待付款单据
  20035. tags:
  20036. - 大连千海金
  20037. /Qhj/QueryPickArea:
  20038. get:
  20039. parameters:
  20040. - description: 用户ID
  20041. in: query
  20042. name: userid
  20043. type: integer
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. items:
  20051. $ref: '#/definitions/models.QhjPickArea'
  20052. type: array
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 查询提货门店
  20060. tags:
  20061. - 大连千海金
  20062. /Qhj/QueryPickGoods:
  20063. get:
  20064. parameters:
  20065. - description: 交易商品id
  20066. in: query
  20067. name: goodsid
  20068. required: true
  20069. type: integer
  20070. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20071. in: query
  20072. name: status
  20073. type: string
  20074. produces:
  20075. - application/json
  20076. responses:
  20077. "200":
  20078. description: OK
  20079. schema:
  20080. items:
  20081. $ref: '#/definitions/models.QhjPickGoods'
  20082. type: array
  20083. "500":
  20084. description: Internal Server Error
  20085. schema:
  20086. $ref: '#/definitions/app.Response'
  20087. security:
  20088. - ApiKeyAuth: []
  20089. summary: 查询提货商品
  20090. tags:
  20091. - 大连千海金
  20092. /Qhj/QueryRSTriggerLog:
  20093. get:
  20094. parameters:
  20095. - description: 用户ID
  20096. in: query
  20097. name: userid
  20098. type: integer
  20099. - description: 定投策略id
  20100. in: query
  20101. name: regularlystrategyid
  20102. type: integer
  20103. - description: 商品id
  20104. in: query
  20105. name: goodsid
  20106. type: integer
  20107. - description: 开始交易日(yyyymmdd)
  20108. in: query
  20109. name: begindate
  20110. type: string
  20111. - description: 结束交易日(yyyymmdd)
  20112. in: query
  20113. name: enddate
  20114. type: string
  20115. - description: 名称(模糊搜索账户)
  20116. in: query
  20117. name: filtername
  20118. type: string
  20119. produces:
  20120. - application/json
  20121. responses:
  20122. "200":
  20123. description: OK
  20124. schema:
  20125. items:
  20126. $ref: '#/definitions/models.QhjRSTriggerLog'
  20127. type: array
  20128. "500":
  20129. description: Internal Server Error
  20130. schema:
  20131. $ref: '#/definitions/app.Response'
  20132. security:
  20133. - ApiKeyAuth: []
  20134. summary: 查询定投记录(定投管理/详情/定投记录)
  20135. tags:
  20136. - 大连千海金
  20137. /Qhj/QueryRStrategy:
  20138. get:
  20139. parameters:
  20140. - description: 用户ID
  20141. in: query
  20142. name: userid
  20143. type: integer
  20144. - description: 商品id
  20145. in: query
  20146. name: goodsid
  20147. type: integer
  20148. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  20149. in: query
  20150. name: status
  20151. type: string
  20152. - description: 名称(模糊搜索账户)
  20153. in: query
  20154. name: filtername
  20155. type: string
  20156. produces:
  20157. - application/json
  20158. responses:
  20159. "200":
  20160. description: OK
  20161. schema:
  20162. items:
  20163. $ref: '#/definitions/models.QhjRStrategy'
  20164. type: array
  20165. "500":
  20166. description: Internal Server Error
  20167. schema:
  20168. $ref: '#/definitions/app.Response'
  20169. security:
  20170. - ApiKeyAuth: []
  20171. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  20172. tags:
  20173. - 大连千海金
  20174. /Qhj/QueryReckonPriceLog:
  20175. get:
  20176. parameters:
  20177. - description: 商品ID
  20178. in: query
  20179. name: goodsid
  20180. type: integer
  20181. - description: 交易日 格式(yyyymmdd)
  20182. in: query
  20183. name: tradedate
  20184. type: string
  20185. produces:
  20186. - application/json
  20187. responses:
  20188. "200":
  20189. description: OK
  20190. schema:
  20191. items:
  20192. $ref: '#/definitions/models.QhjReckonPriceLog'
  20193. type: array
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 查询定投价(结算价)
  20201. tags:
  20202. - 大连千海金
  20203. /Qhj/QueryScoreLog:
  20204. get:
  20205. parameters:
  20206. - description: 用户ID
  20207. in: query
  20208. name: userid
  20209. required: true
  20210. type: integer
  20211. - description: 开始交易日(yyyymmdd)
  20212. in: query
  20213. name: begindate
  20214. type: string
  20215. - description: 结束交易日(yyyymmdd)
  20216. in: query
  20217. name: enddate
  20218. type: string
  20219. - description: 最近多少条
  20220. in: query
  20221. name: lastnum
  20222. type: integer
  20223. produces:
  20224. - application/json
  20225. responses:
  20226. "200":
  20227. description: OK
  20228. schema:
  20229. items:
  20230. $ref: '#/definitions/models.QhjScoreLog'
  20231. type: array
  20232. "500":
  20233. description: Internal Server Error
  20234. schema:
  20235. $ref: '#/definitions/app.Response'
  20236. security:
  20237. - ApiKeyAuth: []
  20238. summary: 查询积分流水(我的积分)
  20239. tags:
  20240. - 大连千海金
  20241. /Qhj/QuerySiteColumnDetail:
  20242. get:
  20243. parameters:
  20244. - description: 用户ID
  20245. in: query
  20246. name: userid
  20247. required: true
  20248. type: integer
  20249. produces:
  20250. - application/json
  20251. responses:
  20252. "200":
  20253. description: OK
  20254. schema:
  20255. items:
  20256. $ref: '#/definitions/models.QhjSiteColumnDetail'
  20257. type: array
  20258. "500":
  20259. description: Internal Server Error
  20260. schema:
  20261. $ref: '#/definitions/app.Response'
  20262. security:
  20263. - ApiKeyAuth: []
  20264. summary: 查询资讯
  20265. tags:
  20266. - 大连千海金
  20267. /Qhj/QueryTradeGoodsPickup:
  20268. get:
  20269. parameters:
  20270. - description: 用户ID
  20271. in: query
  20272. name: userid
  20273. required: true
  20274. type: integer
  20275. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  20276. 7:已拒绝 8:已撤销
  20277. in: query
  20278. name: takeorderstatus
  20279. type: integer
  20280. produces:
  20281. - application/json
  20282. responses:
  20283. "200":
  20284. description: OK
  20285. schema:
  20286. items:
  20287. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  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. - 大连千海金
  20298. /Qhj/QueryUserCollectConfig:
  20299. get:
  20300. parameters:
  20301. - description: 用户ID
  20302. in: query
  20303. name: userid
  20304. required: true
  20305. type: integer
  20306. produces:
  20307. - application/json
  20308. responses:
  20309. "200":
  20310. description: OK
  20311. schema:
  20312. items:
  20313. $ref: '#/definitions/models.UserCollectConfig'
  20314. type: array
  20315. "500":
  20316. description: Internal Server Error
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. security:
  20320. - ApiKeyAuth: []
  20321. summary: 查询提现账户设置
  20322. tags:
  20323. - 大连千海金
  20324. /Qhj/QueryUserReceiveInfo:
  20325. get:
  20326. parameters:
  20327. - description: 用户ID
  20328. in: query
  20329. name: userid
  20330. required: true
  20331. type: integer
  20332. produces:
  20333. - application/json
  20334. responses:
  20335. "200":
  20336. description: OK
  20337. schema:
  20338. items:
  20339. $ref: '#/definitions/models.UserReceiveInfo'
  20340. type: array
  20341. "500":
  20342. description: Internal Server Error
  20343. schema:
  20344. $ref: '#/definitions/app.Response'
  20345. security:
  20346. - ApiKeyAuth: []
  20347. summary: 查询收货地址信息
  20348. tags:
  20349. - 大连千海金
  20350. /QhjMgr/QueryAccountInOutApply:
  20351. get:
  20352. parameters:
  20353. - description: 查询类型 1-提现(出金) 2-充值(出金)
  20354. in: query
  20355. name: querytype
  20356. required: true
  20357. type: integer
  20358. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  20359. in: query
  20360. name: applystatus
  20361. type: integer
  20362. - description: 申请起始日期(格式yyyymmdd)
  20363. in: query
  20364. name: begindate
  20365. type: string
  20366. - description: 申请截止日期(格式yyyymmdd)
  20367. in: query
  20368. name: enddate
  20369. type: string
  20370. - description: 模糊搜索名称
  20371. in: query
  20372. name: likename
  20373. type: string
  20374. produces:
  20375. - application/json
  20376. responses:
  20377. "200":
  20378. description: OK
  20379. schema:
  20380. items:
  20381. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  20382. type: array
  20383. "500":
  20384. description: Internal Server Error
  20385. schema:
  20386. $ref: '#/definitions/app.Response'
  20387. security:
  20388. - ApiKeyAuth: []
  20389. summary: 查询充值提现
  20390. tags:
  20391. - 大连千海金(PCWeb)
  20392. /QhjMgr/QueryBrokerApply:
  20393. get:
  20394. parameters:
  20395. - description: 所属机构ID
  20396. in: query
  20397. name: userid
  20398. type: integer
  20399. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20400. in: query
  20401. name: filterstatus
  20402. type: string
  20403. - description: 名称(模糊匹配)
  20404. in: query
  20405. name: filtername
  20406. type: string
  20407. - description: 是否包含子级 1-包含
  20408. in: query
  20409. name: includesub
  20410. type: integer
  20411. produces:
  20412. - application/json
  20413. responses:
  20414. "200":
  20415. description: OK
  20416. schema:
  20417. items:
  20418. $ref: '#/definitions/models.QhjMgrBrokerApply'
  20419. type: array
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. security:
  20425. - ApiKeyAuth: []
  20426. summary: 查询经纪人申请
  20427. tags:
  20428. - 大连千海金(PCWeb)
  20429. /QhjMgr/QueryBrokerRewardReport:
  20430. get:
  20431. parameters:
  20432. - description: 所属机构ID
  20433. in: query
  20434. name: userid
  20435. required: true
  20436. type: integer
  20437. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20438. in: query
  20439. name: cycletype
  20440. required: true
  20441. type: integer
  20442. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  20443. in: query
  20444. name: cycletime
  20445. required: true
  20446. type: string
  20447. - description: 名称(模糊匹配)
  20448. in: query
  20449. name: filtername
  20450. type: string
  20451. - description: 是否包含子级 1-包含
  20452. in: query
  20453. name: includesub
  20454. type: integer
  20455. produces:
  20456. - application/json
  20457. responses:
  20458. "200":
  20459. description: OK
  20460. schema:
  20461. items:
  20462. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  20463. type: array
  20464. "500":
  20465. description: Internal Server Error
  20466. schema:
  20467. $ref: '#/definitions/app.Response'
  20468. security:
  20469. - ApiKeyAuth: []
  20470. summary: 查询经纪人奖励报表(废弃)
  20471. tags:
  20472. - 大连千海金(PCWeb)
  20473. /QhjMgr/QueryContract:
  20474. get:
  20475. parameters:
  20476. - description: 用户ID
  20477. in: query
  20478. name: userid
  20479. type: integer
  20480. - description: 商品id
  20481. in: query
  20482. name: goodsid
  20483. type: integer
  20484. - description: 名称(模糊搜索账户)
  20485. in: query
  20486. name: filtername
  20487. type: string
  20488. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  20489. in: query
  20490. name: risklevel
  20491. type: string
  20492. - description: 开始交易日(yyyymmdd)
  20493. in: query
  20494. name: begindate
  20495. type: string
  20496. - description: 结束交易日(yyyymmdd)
  20497. in: query
  20498. name: enddate
  20499. type: string
  20500. produces:
  20501. - application/json
  20502. responses:
  20503. "200":
  20504. description: OK
  20505. schema:
  20506. items:
  20507. $ref: '#/definitions/models.QhjMgrContract'
  20508. type: array
  20509. "500":
  20510. description: Internal Server Error
  20511. schema:
  20512. $ref: '#/definitions/app.Response'
  20513. security:
  20514. - ApiKeyAuth: []
  20515. summary: 查询融资信息(合同)
  20516. tags:
  20517. - 大连千海金(PCWeb)
  20518. /QhjMgr/QueryCustomerInfo:
  20519. get:
  20520. parameters:
  20521. - description: 用户ID
  20522. in: query
  20523. name: userid
  20524. required: true
  20525. type: integer
  20526. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20527. in: query
  20528. name: querytype
  20529. required: true
  20530. type: integer
  20531. - description: 客户类型 1-个人 2-企业
  20532. in: query
  20533. name: userinfotype
  20534. type: integer
  20535. - description: 客户名称(模糊匹配)
  20536. in: query
  20537. name: customername
  20538. type: string
  20539. - description: 昵称(模糊匹配)
  20540. in: query
  20541. name: nickname
  20542. type: string
  20543. - description: 是否包含子级 1-包含
  20544. in: query
  20545. name: includesub
  20546. type: integer
  20547. produces:
  20548. - application/json
  20549. responses:
  20550. "200":
  20551. description: OK
  20552. schema:
  20553. items:
  20554. $ref: '#/definitions/models.QhjMgrCustomer'
  20555. type: array
  20556. "500":
  20557. description: Internal Server Error
  20558. schema:
  20559. $ref: '#/definitions/app.Response'
  20560. security:
  20561. - ApiKeyAuth: []
  20562. summary: 查询客户资料
  20563. tags:
  20564. - 大连千海金(PCWeb)
  20565. /QhjMgr/QueryPickGoods:
  20566. get:
  20567. parameters:
  20568. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20569. in: query
  20570. name: status
  20571. type: string
  20572. produces:
  20573. - application/json
  20574. responses:
  20575. "200":
  20576. description: OK
  20577. schema:
  20578. items:
  20579. $ref: '#/definitions/models.QhjPickGoods'
  20580. type: array
  20581. "500":
  20582. description: Internal Server Error
  20583. schema:
  20584. $ref: '#/definitions/app.Response'
  20585. security:
  20586. - ApiKeyAuth: []
  20587. summary: 查询提货商品
  20588. tags:
  20589. - 大连千海金(PCWeb)
  20590. /QhjMgr/QuerySubArea:
  20591. get:
  20592. parameters:
  20593. - description: 用户ID
  20594. in: query
  20595. name: userid
  20596. required: true
  20597. type: integer
  20598. produces:
  20599. - application/json
  20600. responses:
  20601. "200":
  20602. description: OK
  20603. schema:
  20604. items:
  20605. $ref: '#/definitions/models.QhjMgrSubArea'
  20606. type: array
  20607. "500":
  20608. description: Internal Server Error
  20609. schema:
  20610. $ref: '#/definitions/app.Response'
  20611. security:
  20612. - ApiKeyAuth: []
  20613. summary: 查询子机构列表
  20614. tags:
  20615. - 大连千海金(PCWeb)
  20616. /QhjMgr/QueryTradeDetail:
  20617. get:
  20618. parameters:
  20619. - description: 用户ID
  20620. in: query
  20621. name: userid
  20622. required: true
  20623. type: integer
  20624. - description: 用户类型 1-个人 2-企业
  20625. in: query
  20626. name: userinfotype
  20627. type: integer
  20628. - description: 交易模式
  20629. in: query
  20630. name: trademode
  20631. type: integer
  20632. - description: 商品id
  20633. in: query
  20634. name: goodsid
  20635. type: integer
  20636. - description: 名称(模糊搜索账户)
  20637. in: query
  20638. name: filtername
  20639. type: string
  20640. - description: 开始交易日(yyyymmdd)
  20641. in: query
  20642. name: begindate
  20643. type: string
  20644. - description: 结束交易日(yyyymmdd)
  20645. in: query
  20646. name: enddate
  20647. type: string
  20648. - description: 是否包含子级 1-包含
  20649. in: query
  20650. name: includesub
  20651. type: integer
  20652. produces:
  20653. - application/json
  20654. responses:
  20655. "200":
  20656. description: OK
  20657. schema:
  20658. items:
  20659. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  20660. type: array
  20661. "500":
  20662. description: Internal Server Error
  20663. schema:
  20664. $ref: '#/definitions/app.Response'
  20665. security:
  20666. - ApiKeyAuth: []
  20667. summary: 查询成交明细
  20668. tags:
  20669. - 大连千海金(PCWeb)
  20670. /QhjMgr/QueryTradeOrderDetail:
  20671. get:
  20672. parameters:
  20673. - description: 用户ID
  20674. in: query
  20675. name: userid
  20676. required: true
  20677. type: integer
  20678. - description: 用户类型 1-个人 2-企业
  20679. in: query
  20680. name: userinfotype
  20681. type: integer
  20682. - description: 交易模式
  20683. in: query
  20684. name: trademode
  20685. type: integer
  20686. - description: 商品id
  20687. in: query
  20688. name: goodsid
  20689. type: integer
  20690. - description: 名称(模糊搜索账户)
  20691. in: query
  20692. name: filtername
  20693. type: string
  20694. - description: 开始交易日(yyyymmdd)
  20695. in: query
  20696. name: begindate
  20697. type: string
  20698. - description: 结束交易日(yyyymmdd)
  20699. in: query
  20700. name: enddate
  20701. type: string
  20702. - description: 是否包含子级 1-包含
  20703. in: query
  20704. name: includesub
  20705. type: integer
  20706. produces:
  20707. - application/json
  20708. responses:
  20709. "200":
  20710. description: OK
  20711. schema:
  20712. items:
  20713. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  20714. type: array
  20715. "500":
  20716. description: Internal Server Error
  20717. schema:
  20718. $ref: '#/definitions/app.Response'
  20719. security:
  20720. - ApiKeyAuth: []
  20721. summary: 查询委托明细
  20722. tags:
  20723. - 大连千海金(PCWeb)
  20724. /QhjMgr/QueryTradePayOrder:
  20725. get:
  20726. parameters:
  20727. - description: 用户ID
  20728. in: query
  20729. name: userid
  20730. required: true
  20731. type: integer
  20732. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20733. in: query
  20734. name: payflag
  20735. type: string
  20736. - description: 用户类型 1-个人 2-企业
  20737. in: query
  20738. name: userinfotype
  20739. type: integer
  20740. - description: 交易模式
  20741. in: query
  20742. name: trademode
  20743. type: integer
  20744. - description: 商品id
  20745. in: query
  20746. name: goodsid
  20747. type: integer
  20748. - description: 名称(模糊搜索账户)
  20749. in: query
  20750. name: filtername
  20751. type: string
  20752. - description: 开始交易日(yyyymmdd)
  20753. in: query
  20754. name: begindate
  20755. type: string
  20756. - description: 结束交易日(yyyymmdd)
  20757. in: query
  20758. name: enddate
  20759. type: string
  20760. - description: 是否包含子级 1-包含
  20761. in: query
  20762. name: includesub
  20763. type: integer
  20764. produces:
  20765. - application/json
  20766. responses:
  20767. "200":
  20768. description: OK
  20769. schema:
  20770. items:
  20771. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  20772. type: array
  20773. "500":
  20774. description: Internal Server Error
  20775. schema:
  20776. $ref: '#/definitions/app.Response'
  20777. security:
  20778. - ApiKeyAuth: []
  20779. summary: 查询待付款单
  20780. tags:
  20781. - 大连千海金(PCWeb)
  20782. /QhjMgr/QueryTradePosition:
  20783. get:
  20784. parameters:
  20785. - description: 用户ID
  20786. in: query
  20787. name: userid
  20788. required: true
  20789. type: integer
  20790. - description: 用户类型 1-个人 2-企业
  20791. in: query
  20792. name: userinfotype
  20793. type: integer
  20794. - description: 交易模式
  20795. in: query
  20796. name: trademode
  20797. type: integer
  20798. - description: 商品id
  20799. in: query
  20800. name: goodsid
  20801. type: integer
  20802. - description: 名称(模糊搜索账户)
  20803. in: query
  20804. name: filtername
  20805. type: string
  20806. - description: 是否包含子级 1-包含
  20807. in: query
  20808. name: includesub
  20809. type: integer
  20810. produces:
  20811. - application/json
  20812. responses:
  20813. "200":
  20814. description: OK
  20815. schema:
  20816. items:
  20817. $ref: '#/definitions/models.QhjMgrPositionRsp'
  20818. type: array
  20819. "500":
  20820. description: Internal Server Error
  20821. schema:
  20822. $ref: '#/definitions/app.Response'
  20823. security:
  20824. - ApiKeyAuth: []
  20825. summary: 查询持仓汇总
  20826. tags:
  20827. - 大连千海金(PCWeb)
  20828. /QhjSys/QueryAgreementChangeLog:
  20829. get:
  20830. parameters:
  20831. - description: 协议ID
  20832. in: query
  20833. name: agreementid
  20834. type: integer
  20835. - description: 协议版本号
  20836. in: query
  20837. name: agreementversion
  20838. type: integer
  20839. - description: 协议类型 - 1:注册 2:登录 3:交易
  20840. in: query
  20841. name: agreementtype
  20842. type: integer
  20843. - description: 协议编号(模糊匹配)
  20844. in: query
  20845. name: agreementno
  20846. type: string
  20847. - description: 协议名称(模糊匹配)
  20848. in: query
  20849. name: agreementname
  20850. type: string
  20851. produces:
  20852. - application/json
  20853. responses:
  20854. "200":
  20855. description: OK
  20856. schema:
  20857. items:
  20858. $ref: '#/definitions/models.QhjAgreementChangeLog'
  20859. type: array
  20860. "500":
  20861. description: Internal Server Error
  20862. schema:
  20863. $ref: '#/definitions/app.Response'
  20864. security:
  20865. - ApiKeyAuth: []
  20866. summary: 查询协议配置变更流水
  20867. tags:
  20868. - 大连千海金(协议和签约信息)
  20869. /QhjSys/QueryAgreementConfig:
  20870. get:
  20871. parameters:
  20872. - description: 协议ID
  20873. in: query
  20874. name: agreementid
  20875. type: integer
  20876. - description: 协议版本号
  20877. in: query
  20878. name: agreementversion
  20879. type: integer
  20880. - description: 协议类型 - 1:注册 2:登录 3:交易
  20881. in: query
  20882. name: agreementtype
  20883. type: integer
  20884. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  20885. in: query
  20886. name: isvalid
  20887. type: integer
  20888. - description: 协议编号(模糊匹配)
  20889. in: query
  20890. name: agreementno
  20891. type: string
  20892. - description: 协议名称(模糊匹配)
  20893. in: query
  20894. name: agreementname
  20895. type: string
  20896. produces:
  20897. - application/json
  20898. responses:
  20899. "200":
  20900. description: OK
  20901. schema:
  20902. items:
  20903. $ref: '#/definitions/models.QhjAgreementConfig'
  20904. type: array
  20905. "500":
  20906. description: Internal Server Error
  20907. schema:
  20908. $ref: '#/definitions/app.Response'
  20909. security:
  20910. - ApiKeyAuth: []
  20911. summary: 查询协议配置
  20912. tags:
  20913. - 大连千海金(协议和签约信息)
  20914. /QhjSys/QueryCustomerSignStatus:
  20915. get:
  20916. parameters:
  20917. - description: 客户ID
  20918. in: query
  20919. name: userid
  20920. type: integer
  20921. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  20922. in: query
  20923. name: nodetype
  20924. type: integer
  20925. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20926. in: query
  20927. name: goodsid
  20928. type: integer
  20929. - description: 创建交易日(yyyyMMdd)
  20930. in: query
  20931. name: tradedate
  20932. type: string
  20933. - description: 用户名称(模糊匹配)
  20934. in: query
  20935. name: username
  20936. type: string
  20937. produces:
  20938. - application/json
  20939. responses:
  20940. "200":
  20941. description: OK
  20942. schema:
  20943. items:
  20944. $ref: '#/definitions/models.QhjCustomerSignStatus'
  20945. type: array
  20946. "500":
  20947. description: Internal Server Error
  20948. schema:
  20949. $ref: '#/definitions/app.Response'
  20950. security:
  20951. - ApiKeyAuth: []
  20952. summary: 查询客户协议签约状态
  20953. tags:
  20954. - 大连千海金(协议和签约信息)
  20955. /QhjSys/QueryNodeAgreementConfig:
  20956. get:
  20957. parameters:
  20958. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  20959. in: query
  20960. name: configid
  20961. type: integer
  20962. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  20963. in: query
  20964. name: nodetype
  20965. type: integer
  20966. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  20967. in: query
  20968. name: goodsid
  20969. type: integer
  20970. - description: 协议ID
  20971. in: query
  20972. name: agreementid
  20973. type: integer
  20974. - description: 协议类型 - 1:注册 2:登录 3:交易
  20975. in: query
  20976. name: agreementtype
  20977. type: integer
  20978. - description: 协议版本号
  20979. in: query
  20980. name: agreementversion
  20981. type: integer
  20982. - description: 协议编号(模糊匹配)
  20983. in: query
  20984. name: agreementno
  20985. type: string
  20986. - description: 协议名称(模糊匹配)
  20987. in: query
  20988. name: agreementname
  20989. type: string
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  20998. type: array
  20999. "500":
  21000. description: Internal Server Error
  21001. schema:
  21002. $ref: '#/definitions/app.Response'
  21003. security:
  21004. - ApiKeyAuth: []
  21005. summary: 查询协议节点配置
  21006. tags:
  21007. - 大连千海金(协议和签约信息)
  21008. /QhjSys/QueryQhjCustomerSignLog:
  21009. get:
  21010. parameters:
  21011. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  21012. in: query
  21013. name: logid
  21014. type: integer
  21015. - description: 客户ID
  21016. in: query
  21017. name: userid
  21018. type: integer
  21019. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21020. in: query
  21021. name: nodetype
  21022. type: integer
  21023. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21024. in: query
  21025. name: goodsid
  21026. type: integer
  21027. - description: 协议ID
  21028. in: query
  21029. name: agreementid
  21030. type: integer
  21031. - description: 用户名称(模糊匹配)
  21032. in: query
  21033. name: username
  21034. type: string
  21035. - description: 协议编号(模糊匹配)
  21036. in: query
  21037. name: agreementno
  21038. type: string
  21039. - description: 协议名称(模糊匹配)
  21040. in: query
  21041. name: agreementname
  21042. type: string
  21043. produces:
  21044. - application/json
  21045. responses:
  21046. "200":
  21047. description: OK
  21048. schema:
  21049. items:
  21050. $ref: '#/definitions/models.QhjCustomerSignLog'
  21051. type: array
  21052. "500":
  21053. description: Internal Server Error
  21054. schema:
  21055. $ref: '#/definitions/app.Response'
  21056. security:
  21057. - ApiKeyAuth: []
  21058. summary: 查询客户协议签约流水
  21059. tags:
  21060. - 大连千海金(协议和签约信息)
  21061. /QhjSys/QueryUserNodeCfgAndStatus:
  21062. get:
  21063. parameters:
  21064. - description: 客户ID
  21065. in: query
  21066. name: userid
  21067. type: integer
  21068. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21069. in: query
  21070. name: configid
  21071. type: integer
  21072. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21073. in: query
  21074. name: nodetype
  21075. type: string
  21076. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21077. in: query
  21078. name: goodsid
  21079. type: integer
  21080. - description: 协议ID
  21081. in: query
  21082. name: agreementid
  21083. type: integer
  21084. - description: 协议类型 - 1:注册 2:登录 3:交易
  21085. in: query
  21086. name: agreementtype
  21087. type: integer
  21088. - description: 协议版本号
  21089. in: query
  21090. name: agreementversion
  21091. type: integer
  21092. - description: 协议编号(模糊匹配)
  21093. in: query
  21094. name: agreementno
  21095. type: string
  21096. - description: 协议名称(模糊匹配)
  21097. in: query
  21098. name: agreementname
  21099. type: string
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. items:
  21107. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  21108. type: array
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. security:
  21114. - ApiKeyAuth: []
  21115. summary: 查询用户协议节点配置和状态
  21116. tags:
  21117. - 大连千海金(协议和签约信息)
  21118. /Quote/QueryHistoryDatas:
  21119. get:
  21120. parameters:
  21121. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  21122. 日线'
  21123. in: query
  21124. name: cycleType
  21125. required: true
  21126. type: integer
  21127. - description: 商品代码
  21128. in: query
  21129. name: goodsCode
  21130. required: true
  21131. type: string
  21132. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21133. in: query
  21134. name: startTime
  21135. type: string
  21136. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21137. in: query
  21138. name: endTime
  21139. type: string
  21140. - description: 条数
  21141. in: query
  21142. name: count
  21143. type: integer
  21144. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21145. in: query
  21146. name: isAsc
  21147. type: boolean
  21148. produces:
  21149. - application/json
  21150. responses:
  21151. "200":
  21152. description: OK
  21153. schema:
  21154. $ref: '#/definitions/quote.HistoryData'
  21155. "500":
  21156. description: Internal Server Error
  21157. schema:
  21158. $ref: '#/definitions/app.Response'
  21159. security:
  21160. - ApiKeyAuth: []
  21161. summary: 查询行情历史数据
  21162. tags:
  21163. - 行情服务
  21164. /Quote/QueryHistoryTikDatas:
  21165. get:
  21166. parameters:
  21167. - description: 商品代码
  21168. in: query
  21169. name: goodsCode
  21170. required: true
  21171. type: string
  21172. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21173. in: query
  21174. name: startTime
  21175. type: string
  21176. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21177. in: query
  21178. name: endTime
  21179. type: string
  21180. - description: 条数
  21181. in: query
  21182. name: count
  21183. type: integer
  21184. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21185. in: query
  21186. name: isAsc
  21187. type: boolean
  21188. produces:
  21189. - application/json
  21190. responses:
  21191. "200":
  21192. description: OK
  21193. schema:
  21194. $ref: '#/definitions/quote.HistoryTikData'
  21195. "500":
  21196. description: Internal Server Error
  21197. schema:
  21198. $ref: '#/definitions/app.Response'
  21199. security:
  21200. - ApiKeyAuth: []
  21201. summary: 查询行情Tik数据
  21202. tags:
  21203. - 行情服务
  21204. /Quote/QueryQuoteDay:
  21205. get:
  21206. parameters:
  21207. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  21208. in: query
  21209. name: goodsCodes
  21210. required: true
  21211. type: string
  21212. produces:
  21213. - application/json
  21214. responses:
  21215. "200":
  21216. description: OK
  21217. schema:
  21218. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  21219. "500":
  21220. description: Internal Server Error
  21221. schema:
  21222. $ref: '#/definitions/app.Response'
  21223. security:
  21224. - ApiKeyAuth: []
  21225. summary: 获取商品盘面信息
  21226. tags:
  21227. - 行情服务
  21228. /Quote/QueryTSData:
  21229. get:
  21230. parameters:
  21231. - description: 商品代码
  21232. in: query
  21233. name: goodsCode
  21234. required: true
  21235. type: string
  21236. produces:
  21237. - application/json
  21238. responses:
  21239. "200":
  21240. description: OK
  21241. schema:
  21242. $ref: '#/definitions/quote.QueryTSDataRsp'
  21243. "500":
  21244. description: Internal Server Error
  21245. schema:
  21246. $ref: '#/definitions/app.Response'
  21247. security:
  21248. - ApiKeyAuth: []
  21249. summary: 分时图数据查询
  21250. tags:
  21251. - 行情服务
  21252. /SZDZ/QueryConvertConfig:
  21253. get:
  21254. parameters:
  21255. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  21256. 6:交易转花生米(不设置)
  21257. in: query
  21258. name: convertType
  21259. type: integer
  21260. - description: 外部商品代码[JD\PD]
  21261. in: query
  21262. name: outerGoodsCode
  21263. type: string
  21264. - description: 内部商品ID列表[交易],格式:1,2,3
  21265. in: query
  21266. name: innerGoodsIDs
  21267. type: string
  21268. produces:
  21269. - application/json
  21270. responses:
  21271. "200":
  21272. description: OK
  21273. schema:
  21274. $ref: '#/definitions/models.Szdz3convertconfig'
  21275. "500":
  21276. description: Internal Server Error
  21277. schema:
  21278. $ref: '#/definitions/app.Response'
  21279. security:
  21280. - ApiKeyAuth: []
  21281. summary: 查询交易系统转换设置
  21282. tags:
  21283. - 定制【尚志大宗】
  21284. /SZDZ/QueryConvertLog:
  21285. get:
  21286. parameters:
  21287. - description: 资金账户 - 格式:1,2,3
  21288. in: query
  21289. name: accountID
  21290. required: true
  21291. type: string
  21292. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21293. in: query
  21294. name: startDate
  21295. type: string
  21296. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21297. in: query
  21298. name: endDate
  21299. type: string
  21300. produces:
  21301. - application/json
  21302. responses:
  21303. "200":
  21304. description: OK
  21305. schema:
  21306. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  21307. "500":
  21308. description: Internal Server Error
  21309. schema:
  21310. $ref: '#/definitions/app.Response'
  21311. security:
  21312. - ApiKeyAuth: []
  21313. summary: 交易系统转换流水查询
  21314. tags:
  21315. - 定制【尚志大宗】
  21316. /SZDZ/QueryGoodsPickup:
  21317. get:
  21318. parameters:
  21319. - description: 资金账户 - 格式:1,2,3
  21320. in: query
  21321. name: accountID
  21322. required: true
  21323. type: string
  21324. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21325. in: query
  21326. name: takeOrderStatus
  21327. type: integer
  21328. produces:
  21329. - application/json
  21330. responses:
  21331. "200":
  21332. description: OK
  21333. schema:
  21334. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  21335. "500":
  21336. description: Internal Server Error
  21337. schema:
  21338. $ref: '#/definitions/app.Response'
  21339. security:
  21340. - ApiKeyAuth: []
  21341. summary: 商品提货单查询
  21342. tags:
  21343. - 定制【尚志大宗】
  21344. /SZDZ/QueryRecieptOrder:
  21345. get:
  21346. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21347. parameters:
  21348. - description: 页码
  21349. in: query
  21350. name: page
  21351. type: integer
  21352. - description: 每页条数
  21353. in: query
  21354. name: pagesize
  21355. type: integer
  21356. - description: 商品ID
  21357. in: query
  21358. name: goodsID
  21359. required: true
  21360. type: integer
  21361. - description: 所属账户名称
  21362. in: query
  21363. name: accountName
  21364. type: string
  21365. - description: 市场ID
  21366. in: query
  21367. name: marketID
  21368. type: integer
  21369. - description: 方向 - 0:买 1:卖
  21370. in: query
  21371. name: buyorsell
  21372. required: true
  21373. type: integer
  21374. produces:
  21375. - application/json
  21376. responses:
  21377. "200":
  21378. description: OK
  21379. schema:
  21380. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  21381. "500":
  21382. description: Internal Server Error
  21383. schema:
  21384. $ref: '#/definitions/app.Response'
  21385. security:
  21386. - ApiKeyAuth: []
  21387. summary: 点选挂牌委托单据查询(摘牌大厅)
  21388. tags:
  21389. - 定制【尚志大宗】
  21390. /SZDZ/QuerySZDZTradePosition:
  21391. get:
  21392. parameters:
  21393. - description: 资金账户
  21394. in: query
  21395. name: accountID
  21396. required: true
  21397. type: integer
  21398. produces:
  21399. - application/json
  21400. responses:
  21401. "200":
  21402. description: OK
  21403. schema:
  21404. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  21405. "500":
  21406. description: Internal Server Error
  21407. schema:
  21408. $ref: '#/definitions/app.Response'
  21409. security:
  21410. - ApiKeyAuth: []
  21411. summary: 持仓汇总查询(尚志大宗)
  21412. tags:
  21413. - 定制【尚志大宗】
  21414. /SZDZ/SearchWhite:
  21415. get:
  21416. parameters:
  21417. - description: 用户ID
  21418. in: query
  21419. name: userID
  21420. required: true
  21421. type: integer
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. $ref: '#/definitions/models.Szdz3searchwhitelist'
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 搜索白名单
  21436. tags:
  21437. - 定制【尚志大宗】
  21438. /Search/SearchGoodses:
  21439. get:
  21440. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  21441. parameters:
  21442. - description: 检索内容
  21443. in: query
  21444. name: content
  21445. required: true
  21446. type: string
  21447. - description: 交易模式,格式:1,2,3
  21448. in: query
  21449. name: tradeModes
  21450. type: string
  21451. produces:
  21452. - application/json
  21453. responses:
  21454. "200":
  21455. description: OK
  21456. schema:
  21457. $ref: '#/definitions/models.SearchGoods'
  21458. "500":
  21459. description: Internal Server Error
  21460. schema:
  21461. $ref: '#/definitions/app.Response'
  21462. summary: 检索商品信息
  21463. tags:
  21464. - 检索服务
  21465. /TaAccount/GetTaAccounts:
  21466. get:
  21467. parameters:
  21468. - description: 登录账户
  21469. in: query
  21470. name: loginID
  21471. required: true
  21472. type: integer
  21473. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  21474. in: query
  21475. name: taAccountType
  21476. type: integer
  21477. produces:
  21478. - application/json
  21479. responses:
  21480. "200":
  21481. description: OK
  21482. schema:
  21483. $ref: '#/definitions/models.Taaccount'
  21484. "500":
  21485. description: Internal Server Error
  21486. schema:
  21487. $ref: '#/definitions/app.Response'
  21488. security:
  21489. - ApiKeyAuth: []
  21490. summary: 获取资金账户信息
  21491. tags:
  21492. - 资金账户
  21493. /TaAccount/QueryAmountLog:
  21494. get:
  21495. parameters:
  21496. - description: 页码
  21497. in: query
  21498. name: page
  21499. type: integer
  21500. - description: 每页条数
  21501. in: query
  21502. name: pagesize
  21503. type: integer
  21504. - description: 资金账户 - 格式:1,2,3
  21505. in: query
  21506. name: accountID
  21507. required: true
  21508. type: string
  21509. - description: 资金操作类型 - 格式:1,2,3
  21510. in: query
  21511. name: OperateType
  21512. type: string
  21513. produces:
  21514. - application/json
  21515. responses:
  21516. "200":
  21517. description: OK
  21518. schema:
  21519. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  21520. "500":
  21521. description: Internal Server Error
  21522. schema:
  21523. $ref: '#/definitions/app.Response'
  21524. security:
  21525. - ApiKeyAuth: []
  21526. summary: 资金流水查询(当前)
  21527. tags:
  21528. - 资金账户
  21529. /TaAccount/QueryHisAmountLog:
  21530. get:
  21531. parameters:
  21532. - description: 页码
  21533. in: query
  21534. name: page
  21535. type: integer
  21536. - description: 每页条数
  21537. in: query
  21538. name: pagesize
  21539. type: integer
  21540. - description: 资金账户 - 格式:1,2,3
  21541. in: query
  21542. name: accountID
  21543. required: true
  21544. type: string
  21545. - description: 资金操作类型 - 格式:1,2,3
  21546. in: query
  21547. name: OperateType
  21548. type: string
  21549. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21550. in: query
  21551. name: startDate
  21552. type: string
  21553. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21554. in: query
  21555. name: endDate
  21556. type: string
  21557. produces:
  21558. - application/json
  21559. responses:
  21560. "200":
  21561. description: OK
  21562. schema:
  21563. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  21564. "500":
  21565. description: Internal Server Error
  21566. schema:
  21567. $ref: '#/definitions/app.Response'
  21568. security:
  21569. - ApiKeyAuth: []
  21570. summary: 资金流水查询(历史)
  21571. tags:
  21572. - 资金账户
  21573. /Trade/QueryRecieptOrder:
  21574. get:
  21575. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21576. parameters:
  21577. - description: 页码
  21578. in: query
  21579. name: page
  21580. type: integer
  21581. - description: 每页条数
  21582. in: query
  21583. name: pagesize
  21584. type: integer
  21585. - description: 商品ID
  21586. in: query
  21587. name: goodsID
  21588. required: true
  21589. type: integer
  21590. - description: 所属账户名称
  21591. in: query
  21592. name: accountName
  21593. type: string
  21594. - description: 市场ID
  21595. in: query
  21596. name: marketID
  21597. type: integer
  21598. - description: 方向 - 0:买 1:卖
  21599. in: query
  21600. name: buyorsell
  21601. required: true
  21602. type: integer
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  21610. "500":
  21611. description: Internal Server Error
  21612. schema:
  21613. $ref: '#/definitions/app.Response'
  21614. security:
  21615. - ApiKeyAuth: []
  21616. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  21617. tags:
  21618. - 通用交易
  21619. /User/AddMessageBoard:
  21620. post:
  21621. parameters:
  21622. - description: 用户ID
  21623. in: query
  21624. name: userID
  21625. required: true
  21626. type: integer
  21627. - description: 留言信息
  21628. in: query
  21629. name: message
  21630. required: true
  21631. type: string
  21632. - description: 联系电话
  21633. in: query
  21634. name: contactNum
  21635. required: true
  21636. type: string
  21637. produces:
  21638. - application/json
  21639. responses:
  21640. "200":
  21641. description: OK
  21642. schema:
  21643. $ref: '#/definitions/app.Response'
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 添加用户留言板信息
  21651. tags:
  21652. - 用户信息
  21653. /User/AddUserFavoriteGoods:
  21654. post:
  21655. parameters:
  21656. - description: 用户ID
  21657. in: query
  21658. name: userID
  21659. required: true
  21660. type: integer
  21661. - description: 商品ID
  21662. in: query
  21663. name: goodsID
  21664. required: true
  21665. type: integer
  21666. produces:
  21667. - application/json
  21668. responses:
  21669. "200":
  21670. description: OK
  21671. schema:
  21672. $ref: '#/definitions/app.Response'
  21673. "500":
  21674. description: Internal Server Error
  21675. schema:
  21676. $ref: '#/definitions/app.Response'
  21677. security:
  21678. - ApiKeyAuth: []
  21679. summary: 添加用户商品收藏信息
  21680. tags:
  21681. - 用户信息
  21682. /User/GetLoginID:
  21683. get:
  21684. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  21685. parameters:
  21686. - description: 登录代码
  21687. in: query
  21688. name: username
  21689. required: true
  21690. type: string
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. $ref: '#/definitions/app.Response'
  21698. "500":
  21699. description: Internal Server Error
  21700. schema:
  21701. $ref: '#/definitions/app.Response'
  21702. summary: 获取登录ID
  21703. tags:
  21704. - 用户信息
  21705. /User/GetUserAccount:
  21706. get:
  21707. parameters:
  21708. - description: 用户ID
  21709. in: query
  21710. name: userID
  21711. required: true
  21712. type: integer
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. $ref: '#/definitions/models.Useraccount'
  21720. "500":
  21721. description: Internal Server Error
  21722. schema:
  21723. $ref: '#/definitions/app.Response'
  21724. security:
  21725. - ApiKeyAuth: []
  21726. summary: 获取用户账号信息
  21727. tags:
  21728. - 用户信息
  21729. /User/GetUserAuthStatus:
  21730. get:
  21731. parameters:
  21732. - description: 用户ID
  21733. in: query
  21734. name: userID
  21735. required: true
  21736. type: integer
  21737. produces:
  21738. - application/json
  21739. responses:
  21740. "200":
  21741. description: OK
  21742. schema:
  21743. $ref: '#/definitions/app.Response'
  21744. "500":
  21745. description: Internal Server Error
  21746. schema:
  21747. $ref: '#/definitions/app.Response'
  21748. security:
  21749. - ApiKeyAuth: []
  21750. summary: 获取用户实名认证状态
  21751. tags:
  21752. - 用户信息
  21753. /User/LoginQuery:
  21754. get:
  21755. parameters:
  21756. - description: 登录账号
  21757. in: query
  21758. name: loginID
  21759. required: true
  21760. type: integer
  21761. produces:
  21762. - application/json
  21763. responses:
  21764. "200":
  21765. description: OK
  21766. schema:
  21767. $ref: '#/definitions/user.LoginQueryRsp'
  21768. "500":
  21769. description: Internal Server Error
  21770. schema:
  21771. $ref: '#/definitions/app.Response'
  21772. security:
  21773. - ApiKeyAuth: []
  21774. summary: 账户登录后信息查询
  21775. tags:
  21776. - 用户信息
  21777. /User/QueryMessageBoard:
  21778. get:
  21779. parameters:
  21780. - description: 用户ID
  21781. in: query
  21782. name: userID
  21783. required: true
  21784. type: integer
  21785. produces:
  21786. - application/json
  21787. responses:
  21788. "200":
  21789. description: OK
  21790. schema:
  21791. $ref: '#/definitions/models.Messageboard'
  21792. "500":
  21793. description: Internal Server Error
  21794. schema:
  21795. $ref: '#/definitions/app.Response'
  21796. security:
  21797. - ApiKeyAuth: []
  21798. summary: 获取用户留言板信息
  21799. tags:
  21800. - 用户信息
  21801. /User/QueryUserFavoriteGoodses:
  21802. get:
  21803. parameters:
  21804. - description: 用户ID
  21805. in: query
  21806. name: userID
  21807. required: true
  21808. type: integer
  21809. produces:
  21810. - application/json
  21811. responses:
  21812. "200":
  21813. description: OK
  21814. schema:
  21815. $ref: '#/definitions/models.Userfavoritegoods'
  21816. "500":
  21817. description: Internal Server Error
  21818. schema:
  21819. $ref: '#/definitions/app.Response'
  21820. security:
  21821. - ApiKeyAuth: []
  21822. summary: 获取用户商品收藏信息
  21823. tags:
  21824. - 用户信息
  21825. /User/QueryUserInfo:
  21826. get:
  21827. parameters:
  21828. - description: 用户ID
  21829. in: query
  21830. name: userID
  21831. required: true
  21832. type: integer
  21833. - description: 是否解密
  21834. in: query
  21835. name: isDecrypt
  21836. type: boolean
  21837. produces:
  21838. - application/json
  21839. responses:
  21840. "200":
  21841. description: OK
  21842. schema:
  21843. $ref: '#/definitions/models.Userinfo'
  21844. "500":
  21845. description: Internal Server Error
  21846. schema:
  21847. $ref: '#/definitions/app.Response'
  21848. security:
  21849. - ApiKeyAuth: []
  21850. summary: 获取用户信息
  21851. tags:
  21852. - 用户信息
  21853. /User/QueryUserReferNum:
  21854. get:
  21855. parameters:
  21856. - description: 用户ID
  21857. in: query
  21858. name: userID
  21859. required: true
  21860. type: integer
  21861. produces:
  21862. - application/json
  21863. responses:
  21864. "200":
  21865. description: OK
  21866. schema:
  21867. $ref: '#/definitions/app.Response'
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. summary: 获取用户邀请码
  21873. tags:
  21874. - 用户信息
  21875. /User/RemoveUserFavoriteGoods:
  21876. post:
  21877. parameters:
  21878. - description: 用户ID
  21879. in: query
  21880. name: userID
  21881. required: true
  21882. type: integer
  21883. - description: 商品ID
  21884. in: query
  21885. name: goodsID
  21886. required: true
  21887. type: integer
  21888. produces:
  21889. - application/json
  21890. responses:
  21891. "200":
  21892. description: OK
  21893. schema:
  21894. $ref: '#/definitions/app.Response'
  21895. "500":
  21896. description: Internal Server Error
  21897. schema:
  21898. $ref: '#/definitions/app.Response'
  21899. security:
  21900. - ApiKeyAuth: []
  21901. summary: 移除用户商品收藏信息
  21902. tags:
  21903. - 用户信息
  21904. /User/UpdateUserAccountStatus:
  21905. post:
  21906. parameters:
  21907. - description: 用户ID
  21908. in: query
  21909. name: userID
  21910. required: true
  21911. type: integer
  21912. - description: 账户状态 - 4:正常 6:注销(停用)
  21913. in: query
  21914. name: accountStatus
  21915. required: true
  21916. type: integer
  21917. produces:
  21918. - application/json
  21919. responses:
  21920. "200":
  21921. description: OK
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. "500":
  21925. description: Internal Server Error
  21926. schema:
  21927. $ref: '#/definitions/app.Response'
  21928. security:
  21929. - ApiKeyAuth: []
  21930. summary: 更新用户状态
  21931. tags:
  21932. - 用户信息
  21933. /WRTrade/GetAllDeliveryGoods:
  21934. get:
  21935. produces:
  21936. - application/json
  21937. - application/json
  21938. responses:
  21939. "200":
  21940. description: OK
  21941. schema:
  21942. $ref: '#/definitions/app.Response'
  21943. "500":
  21944. description: Internal Server Error
  21945. schema:
  21946. $ref: '#/definitions/app.Response'
  21947. security:
  21948. - ApiKeyAuth: []
  21949. - ApiKeyAuth: []
  21950. summary: 获取带仓单分类的种类信息
  21951. tags:
  21952. - 仓单贸易
  21953. - 仓单贸易
  21954. securityDefinitions:
  21955. ApiKeyAuth:
  21956. in: header
  21957. name: Authorization
  21958. type: apiKey
  21959. swagger: "2.0"