swagger.yaml 502 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. accountname:
  3673. description: 机构名称
  3674. type: string
  3675. areauserid:
  3676. description: 所属机构\交易用户ID
  3677. type: integer
  3678. begindate:
  3679. description: 开始交易日
  3680. type: string
  3681. currencyid:
  3682. description: 结算币种ID
  3683. type: integer
  3684. currencyname:
  3685. description: 币种名称
  3686. type: string
  3687. cycletime:
  3688. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3689. type: string
  3690. cycletype:
  3691. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3692. type: integer
  3693. enddate:
  3694. description: 结束交易日
  3695. type: string
  3696. enumdicname:
  3697. description: 单位名称(套保品种)
  3698. type: string
  3699. futureactualpl:
  3700. description: 期货损益
  3701. type: number
  3702. futurefloatpl:
  3703. description: 期货浮动损益
  3704. type: number
  3705. goodsunitid:
  3706. description: 套保品种单位id
  3707. type: integer
  3708. middlegoodscode:
  3709. description: 套保品种代码
  3710. type: string
  3711. middlegoodsid:
  3712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3713. type: integer
  3714. middlegoodsname:
  3715. description: 套保品种名称
  3716. type: string
  3717. reckondate:
  3718. description: 日照时期(yyyyMMdd)
  3719. type: string
  3720. spotactualpl:
  3721. description: 现货损益
  3722. type: number
  3723. spotfloatpl:
  3724. description: 现货浮动损益
  3725. type: number
  3726. sumactualpl:
  3727. description: 实际损益 = (ActualPL + FutureActualPL)
  3728. type: number
  3729. sumpl:
  3730. description: 汇总损益
  3731. type: number
  3732. updatetime:
  3733. description: 更新时间
  3734. type: string
  3735. type: object
  3736. models.Ermcp3Brand:
  3737. properties:
  3738. areauserid:
  3739. description: 用户id
  3740. type: integer
  3741. brandid:
  3742. description: 品牌id
  3743. type: integer
  3744. brandname:
  3745. description: 品牌名称
  3746. type: string
  3747. deliverygoodsid:
  3748. description: 品种ID
  3749. type: integer
  3750. type: object
  3751. models.Ermcp3Contract:
  3752. properties:
  3753. accountid:
  3754. description: 期货账户id
  3755. type: string
  3756. amount:
  3757. description: 金额 [1:一口价、3:暂定价]
  3758. type: number
  3759. attachment:
  3760. description: 附件
  3761. type: string
  3762. auditremark:
  3763. description: 审核意见
  3764. type: string
  3765. audittime:
  3766. description: 审核时间
  3767. type: string
  3768. biztype:
  3769. description: 业务类型 1-套保 2-套利
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. buynickname:
  3775. description: 销售方昵称
  3776. type: string
  3777. buyuserid:
  3778. description: 采购方ID
  3779. type: integer
  3780. buyusername:
  3781. description: 采购方名称
  3782. type: string
  3783. contracctstatus:
  3784. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. contractmargin:
  3787. description: 合同保证金
  3788. type: number
  3789. contractno:
  3790. description: 现货合同编号
  3791. type: string
  3792. contracttype:
  3793. description: 现货合同类型 - 1:采购 -1:销售
  3794. type: integer
  3795. convertfactor:
  3796. description: 标仓系数(品类)
  3797. type: number
  3798. createtime:
  3799. description: 创建时间
  3800. type: string
  3801. currencyid:
  3802. description: 币种id
  3803. type: integer
  3804. currencyname:
  3805. description: 币种名称
  3806. type: string
  3807. deliveryenddate:
  3808. description: 交收期(结束)
  3809. type: string
  3810. deliverygoodscode:
  3811. description: 现货品种代码
  3812. type: string
  3813. deliverygoodsid:
  3814. description: 现货品种ID
  3815. type: integer
  3816. deliverygoodsname:
  3817. description: 现货品种名称
  3818. type: string
  3819. deliverystartdate:
  3820. description: 交收期(开始)
  3821. type: string
  3822. enddate:
  3823. description: 点价结束日期 [2:点价 3:暂定价]
  3824. type: string
  3825. enumdicname:
  3826. description: 单位名称
  3827. type: string
  3828. goodscode:
  3829. description: 点价合约代码
  3830. type: string
  3831. goodsid:
  3832. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3833. type: integer
  3834. goodsname:
  3835. description: 点价商品名称
  3836. type: string
  3837. margin:
  3838. description: 当前保证金
  3839. type: number
  3840. meruserid:
  3841. description: 跟单员id
  3842. type: integer
  3843. meruserlogincode:
  3844. description: 跟单员登录代码
  3845. type: string
  3846. price:
  3847. description: 价格\暂定价 [1:一口价、3:暂定价]
  3848. type: number
  3849. pricemove:
  3850. description: 升贴水 [2:点价 3:暂定价]
  3851. type: number
  3852. pricetype:
  3853. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3854. type: integer
  3855. producttype:
  3856. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3857. type: integer
  3858. qty:
  3859. description: 数量
  3860. type: number
  3861. remark:
  3862. description: 备注
  3863. type: string
  3864. saleuserid:
  3865. description: 业务员id
  3866. type: integer
  3867. saleuserlogincode:
  3868. description: 业务员登录代码
  3869. type: string
  3870. sellnickname:
  3871. description: 采购方昵称
  3872. type: string
  3873. selluserid:
  3874. description: 销售方ID
  3875. type: integer
  3876. sellusername:
  3877. description: 销售方名称
  3878. type: string
  3879. spotcontractid:
  3880. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3881. type: string
  3882. spotgoodsbrandid:
  3883. description: 现货品牌ID(DGFactoryItem表的ID)
  3884. type: integer
  3885. spotgoodsdesc:
  3886. description: 商品型号
  3887. type: string
  3888. startdate:
  3889. description: 点价开始日期 [2:点价 3:暂定价]
  3890. type: string
  3891. tradeuserid:
  3892. description: 交易员id
  3893. type: integer
  3894. tradeuserlogincode:
  3895. description: 交易员登录代码
  3896. type: string
  3897. tradeusername:
  3898. description: 交易员名称
  3899. type: string
  3900. unitid:
  3901. description: 单位id(取品类上的单位id)
  3902. type: integer
  3903. updatetime:
  3904. description: 更新时间
  3905. type: string
  3906. userid:
  3907. description: 所属机构ID
  3908. type: integer
  3909. wrstandardcode:
  3910. description: 品类代码
  3911. type: string
  3912. wrstandardid:
  3913. description: 品类ID
  3914. type: integer
  3915. wrstandardname:
  3916. description: 品类名称
  3917. type: string
  3918. type: object
  3919. models.Ermcp3ExposureContractDetail:
  3920. properties:
  3921. biztype:
  3922. description: 业务类型 1-套保 2-套利
  3923. type: integer
  3924. brandname:
  3925. description: 品牌名称
  3926. type: string
  3927. buyuserid:
  3928. description: 采购方id
  3929. type: integer
  3930. buyusername:
  3931. description: 采购方名称
  3932. type: string
  3933. contractno:
  3934. description: 合同编号
  3935. type: string
  3936. contracttype:
  3937. description: 现货合同类型 - 1:采购 -1:销售
  3938. type: integer
  3939. convertratio:
  3940. description: 折算系数(套保品种)
  3941. type: number
  3942. curqty:
  3943. description: 今定价量
  3944. type: number
  3945. deliverygoodscode:
  3946. description: 现货商品代码
  3947. type: string
  3948. deliverygoodsid:
  3949. description: 现货商品id
  3950. type: integer
  3951. deliverygoodsname:
  3952. description: 现货商品名称
  3953. type: string
  3954. diffqty:
  3955. description: 套保品种今变动量
  3956. type: number
  3957. enumdicname:
  3958. description: 单位名称
  3959. type: string
  3960. middlegoodscode:
  3961. description: 套保品种代码
  3962. type: string
  3963. middlegoodsid:
  3964. description: 套保品种id
  3965. type: integer
  3966. middlegoodsname:
  3967. description: 套保品种名称
  3968. type: string
  3969. needarbitrageratio:
  3970. description: 应套利比例
  3971. type: number
  3972. needhedgeratio:
  3973. description: 应套保比例
  3974. type: number
  3975. pricedqty:
  3976. description: 已定价量
  3977. type: number
  3978. qty:
  3979. description: 合同量
  3980. type: number
  3981. selluserid:
  3982. description: 销售方id
  3983. type: integer
  3984. sellusername:
  3985. description: 销售方名称
  3986. type: string
  3987. spotcontractid:
  3988. description: 合同id
  3989. type: string
  3990. tradedate:
  3991. description: 交易日
  3992. type: string
  3993. unitid:
  3994. description: 品类单位id
  3995. type: integer
  3996. userid:
  3997. description: 机构id
  3998. type: integer
  3999. wrstandardcode:
  4000. description: 品类代码
  4001. type: string
  4002. wrstandardid:
  4003. description: 品类id
  4004. type: integer
  4005. wrstandardname:
  4006. description: 品类名称
  4007. type: string
  4008. type: object
  4009. models.Ermcp3ExposureDetail:
  4010. properties:
  4011. areauserid:
  4012. description: 机构ID
  4013. type: integer
  4014. changeQty:
  4015. description: 套保变动量
  4016. type: number
  4017. contracttype:
  4018. description: 现货合同类型 - 1:采购 -1:销售
  4019. type: integer
  4020. convertfactor:
  4021. description: 标仓系数
  4022. type: number
  4023. convertratio:
  4024. description: 套保系数
  4025. type: number
  4026. createtime:
  4027. description: 时间
  4028. type: string
  4029. deliverygoodscode:
  4030. description: 现货品种代码
  4031. type: string
  4032. deliverygoodsid:
  4033. description: 现货品种id
  4034. type: integer
  4035. deliverygoodsname:
  4036. description: 现货品种名称
  4037. type: string
  4038. enumdicname:
  4039. description: 现货商品单位名称
  4040. type: string
  4041. logtype:
  4042. description: 类型 - 1:套保计划 2:现货合同
  4043. type: integer
  4044. mgunitid:
  4045. description: 套保品种单位id
  4046. type: integer
  4047. mgunitidname:
  4048. description: 套保品种单位名称
  4049. type: string
  4050. middlegoodsId:
  4051. description: 套保商品id
  4052. type: integer
  4053. middlegoodscode:
  4054. description: 套保商品代码
  4055. type: string
  4056. middlegoodsname:
  4057. description: 套保商品名称
  4058. type: string
  4059. qty:
  4060. description: 数量
  4061. type: number
  4062. relateNo:
  4063. description: 现货合同/套保计划编号
  4064. type: string
  4065. type: object
  4066. models.Ermcp3ExposureHedgeplanDetail:
  4067. properties:
  4068. biztype:
  4069. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4070. type: integer
  4071. changqty:
  4072. description: 应套保总量变化量
  4073. type: number
  4074. contracttype:
  4075. description: 计划类型 - 1:采购 -1:销售
  4076. type: integer
  4077. convertratio:
  4078. description: 折算系数(套保品种)
  4079. type: number
  4080. deliverygoodscode:
  4081. description: 现货商品代码
  4082. type: string
  4083. deliverygoodsid:
  4084. description: 现货商品id
  4085. type: integer
  4086. deliverygoodsname:
  4087. description: 现货商吕名称
  4088. type: string
  4089. dgunitid:
  4090. description: 现货商品单位id
  4091. type: integer
  4092. dgunitidname:
  4093. description: 单位名称(现货商品)
  4094. type: string
  4095. diffqty:
  4096. description: 套保品种今变动量
  4097. type: number
  4098. enumdicname:
  4099. description: 单位名称(品类)
  4100. type: string
  4101. hedgeplanid:
  4102. description: 套保计划id
  4103. type: string
  4104. hedgeplanno:
  4105. description: 套保计划编号
  4106. type: string
  4107. hedgeplanstatus:
  4108. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4109. type: integer
  4110. mgunitidname:
  4111. description: 单位名称(套保商品)
  4112. type: string
  4113. middlegoodscode:
  4114. description: 套保品种代码
  4115. type: string
  4116. middlegoodsid:
  4117. description: 套保品种id
  4118. type: integer
  4119. middlegoodsname:
  4120. description: 套保品种名称
  4121. type: string
  4122. needarbitrageratio:
  4123. description: 应套利比例
  4124. type: number
  4125. needhedgeratio:
  4126. description: 应套保比例
  4127. type: number
  4128. pricedqty:
  4129. description: 已定价量
  4130. type: number
  4131. qty:
  4132. description: 合同量
  4133. type: number
  4134. tradedate:
  4135. description: 交易日(登记日)
  4136. type: string
  4137. unitid:
  4138. description: 品类单位id
  4139. type: integer
  4140. userid:
  4141. description: 机构id
  4142. type: integer
  4143. wrstandardcode:
  4144. description: 品类代码
  4145. type: string
  4146. wrstandardid:
  4147. description: 品类id
  4148. type: integer
  4149. wrstandardname:
  4150. description: 品类名称
  4151. type: string
  4152. type: object
  4153. models.Ermcp3ExpourseReport:
  4154. properties:
  4155. accountid:
  4156. description: 期货账户ID (作废, 默认为0)
  4157. type: integer
  4158. accountname:
  4159. description: 机构名称
  4160. type: string
  4161. arbitrageqty:
  4162. description: 套利量
  4163. type: number
  4164. areauserid:
  4165. description: 所属机构\交易用户ID
  4166. type: integer
  4167. begindate:
  4168. description: 开始交易日
  4169. type: string
  4170. buyfutureqty:
  4171. description: 买入期货数量
  4172. type: number
  4173. buyplanqty:
  4174. description: 采购计划数量
  4175. type: number
  4176. buypricedqty:
  4177. description: 采购合同已定价数量
  4178. type: number
  4179. cycletime:
  4180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4181. type: string
  4182. cycletype:
  4183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4184. type: integer
  4185. diffexposure:
  4186. description: 变动量(套保敞口)
  4187. type: number
  4188. difffutuqty:
  4189. description: 变动量(期货)
  4190. type: number
  4191. diffhedgeqty:
  4192. description: 变动量(现货应套保总量)
  4193. type: number
  4194. diffmgqtya:
  4195. description: 套保变动量
  4196. type: number
  4197. diffmgqtyb:
  4198. description: 套利变动量
  4199. type: number
  4200. diffqty:
  4201. description: 变动量(总敞口)
  4202. type: number
  4203. diffspotqty:
  4204. description: 变动量(现货)
  4205. type: number
  4206. enddate:
  4207. description: 结束交易日
  4208. type: string
  4209. enumdicname:
  4210. description: 单位名称
  4211. type: string
  4212. hedgeqty:
  4213. description: 套保量
  4214. type: number
  4215. mgneedhedgeratio:
  4216. description: 套保比例(套保品的)
  4217. type: number
  4218. middlegoodsid:
  4219. description: 套保品种ID
  4220. type: integer
  4221. middlegoodsname:
  4222. description: 套保商品名称
  4223. type: string
  4224. middlgoodscode:
  4225. description: 套保商品代码
  4226. type: string
  4227. needarbitrageqty:
  4228. description: 应套利量
  4229. type: number
  4230. needarbitrageratio:
  4231. description: 套利比例(套保品的)
  4232. type: number
  4233. needhedgeexposoure:
  4234. description: 应套保敞口(套保敞口)
  4235. type: number
  4236. needhedgeqty:
  4237. description: 应套保量
  4238. type: number
  4239. needhedgeratio:
  4240. description: 应套保敞口比例
  4241. type: number
  4242. oriarbitrageqty:
  4243. description: 期初套利量
  4244. type: number
  4245. oribuyfutureqty:
  4246. description: 期初买入期货数量
  4247. type: number
  4248. oribuyplanqty:
  4249. description: 期初采购计划数量
  4250. type: number
  4251. oribuypricedqty:
  4252. description: 期初采购合同已定价数量
  4253. type: number
  4254. orihedgeqty:
  4255. description: 期初套保量
  4256. type: number
  4257. orineedarbitrageqty:
  4258. description: 期初应套利量
  4259. type: number
  4260. orineedhedgeexposoure:
  4261. description: 期初应套保敞口
  4262. type: number
  4263. orineedhedgeqty:
  4264. description: 期初应套保量
  4265. type: number
  4266. orisellfutureqty:
  4267. description: 期初卖出期货数量
  4268. type: number
  4269. orisellplanqty:
  4270. description: 期初销售计划数量
  4271. type: number
  4272. orisellpricedqty:
  4273. description: 期初销售合同已定价数量
  4274. type: number
  4275. oritotalexposure:
  4276. description: 期初实时总敞口
  4277. type: number
  4278. oritotalfutureqty:
  4279. description: 期初期货头寸总量
  4280. type: number
  4281. oritotalneedhedgeqty:
  4282. description: 期初应套保总量
  4283. type: number
  4284. oritotalspotqty:
  4285. description: 期初现货头寸总量
  4286. type: number
  4287. reckondate:
  4288. description: 日照时期(yyyyMMdd)
  4289. type: string
  4290. sellfutureqty:
  4291. description: 卖出期货数量
  4292. type: number
  4293. sellplanqty:
  4294. description: 销售计划数量
  4295. type: number
  4296. sellpricedqty:
  4297. description: 销售合同已定价数量
  4298. type: number
  4299. totalexposure:
  4300. description: 实时总敞口(总敞口)
  4301. type: number
  4302. totalfutureqty:
  4303. description: 期货头寸总量(期货总量)
  4304. type: number
  4305. totalhedgeratio:
  4306. description: 敞口比例
  4307. type: number
  4308. totalneedhedgeqty:
  4309. description: 应套保总量(现货应套保总量)
  4310. type: number
  4311. totalspotqty:
  4312. description: 现货头寸总量
  4313. type: number
  4314. unitid:
  4315. description: 单位id
  4316. type: integer
  4317. updatetime:
  4318. description: 更新时间
  4319. type: string
  4320. type: object
  4321. models.Ermcp3FinanceReport:
  4322. properties:
  4323. accountname:
  4324. description: 机构名称
  4325. type: string
  4326. areauserid:
  4327. description: 所属机构\交易用户ID
  4328. type: integer
  4329. begindate:
  4330. description: 开始交易日
  4331. type: string
  4332. biztype:
  4333. description: 业务类型 - 1:套保 2:套利
  4334. type: integer
  4335. brandname:
  4336. description: 品牌名称
  4337. type: string
  4338. buypreinvoicedamount:
  4339. description: 采购预收票额(预收票额)
  4340. type: number
  4341. buyprepaidamount:
  4342. description: 采购预付款额(预付货款额)
  4343. type: number
  4344. buytodayinvoiceamount:
  4345. description: 采购今收票额(今收票额)
  4346. type: number
  4347. buytodayrefundamount:
  4348. description: 采购今收退款额(今收退款额)
  4349. type: number
  4350. buytodaysettleamount:
  4351. description: 采购今付款额(今付货款额)
  4352. type: number
  4353. buyuninvoicedamount:
  4354. description: 采购应收票额(应收票额)
  4355. type: number
  4356. buyunpaidamount:
  4357. description: 采购应付款额(应付货款额)
  4358. type: number
  4359. currencyid:
  4360. description: 结算币种ID
  4361. type: integer
  4362. currencyname:
  4363. description: 币种名称
  4364. type: string
  4365. cycletime:
  4366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4367. type: string
  4368. cycletype:
  4369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4370. type: integer
  4371. deliverygoodscode:
  4372. description: 现货品种代码
  4373. type: string
  4374. deliverygoodsid:
  4375. description: 现货品种ID
  4376. type: integer
  4377. deliverygoodsname:
  4378. description: 现货品种名称
  4379. type: string
  4380. enddate:
  4381. description: 结束交易日
  4382. type: string
  4383. reckondate:
  4384. description: 日照时期(yyyyMMdd)
  4385. type: string
  4386. sellpreinvoicedamount:
  4387. description: 销售预开票额(预开票额)
  4388. type: number
  4389. sellprepaidamount:
  4390. description: 销售预收款额(预收货款额)
  4391. type: number
  4392. selltodayinvoiceamount:
  4393. description: 销售今开票额(今开票额)
  4394. type: number
  4395. selltodayrefundamount:
  4396. description: 销售今付退款额(今付退款额)
  4397. type: number
  4398. selltodaysettleamount:
  4399. description: 销售今收款额(今收货款额)
  4400. type: number
  4401. selluninvoicedamount:
  4402. description: 销售应开票额(应开票额)
  4403. type: number
  4404. sellunpaidamount:
  4405. description: 销售应收款额(应收货款额)
  4406. type: number
  4407. spotgoodsbrandid:
  4408. description: 现货品牌ID
  4409. type: integer
  4410. todaypaysum:
  4411. description: 今付款合计
  4412. type: number
  4413. todayreceivesum:
  4414. description: 今收款合计
  4415. type: number
  4416. updatetime:
  4417. description: 更新时间
  4418. type: string
  4419. wrfactortypeid:
  4420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4421. type: integer
  4422. wrstandardcode:
  4423. description: 品类代码
  4424. type: string
  4425. wrstandardid:
  4426. description: 现货商品ID
  4427. type: integer
  4428. wrstandardname:
  4429. description: 品类名称
  4430. type: string
  4431. type: object
  4432. models.Ermcp3Goods:
  4433. properties:
  4434. agreeunit:
  4435. description: 合约单位(合约乘数)
  4436. type: number
  4437. enumdicname:
  4438. description: 单位名称
  4439. type: string
  4440. exexchangecode:
  4441. description: 交易所代码
  4442. type: string
  4443. goodscode:
  4444. description: 期货商品代码
  4445. type: string
  4446. goodsid:
  4447. description: 期货商品id
  4448. type: integer
  4449. goodsname:
  4450. description: 期货商品名称
  4451. type: string
  4452. type: object
  4453. models.Ermcp3GoodsGroup:
  4454. properties:
  4455. agreeunit:
  4456. description: 合约单位
  4457. type: number
  4458. areauserid:
  4459. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4460. type: integer
  4461. canshort:
  4462. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4463. type: integer
  4464. closepricemode:
  4465. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4466. type: integer
  4467. createtime:
  4468. description: 创建时间
  4469. type: string
  4470. creatorid:
  4471. description: 创建人
  4472. type: integer
  4473. currencyid:
  4474. description: 报价货币ID
  4475. type: integer
  4476. decimalplace:
  4477. description: 报价小数位
  4478. type: integer
  4479. enumdicname:
  4480. description: 单位名称
  4481. type: string
  4482. excludecfg:
  4483. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4484. type: integer
  4485. exexchangeid:
  4486. description: 外部交易所ID[通道交易]
  4487. type: integer
  4488. goodsgroupid:
  4489. description: 商品组ID(自增ID)
  4490. type: integer
  4491. goodsgroupname:
  4492. description: 商品组名称
  4493. type: string
  4494. goodsgroupstatus:
  4495. description: 商品组状态 - 1:正常 2:注销
  4496. type: integer
  4497. goodunitid:
  4498. description: 报价单位ID
  4499. type: integer
  4500. groupcategroyid:
  4501. description: 品种分类ID
  4502. type: integer
  4503. innerdealmode:
  4504. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4505. type: integer
  4506. marketid:
  4507. description: 所属市场ID
  4508. type: integer
  4509. modifierid:
  4510. description: 修改人
  4511. type: integer
  4512. modifytime:
  4513. description: 修改时间
  4514. type: string
  4515. outerdealmode:
  4516. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4517. type: integer
  4518. outergroupcode:
  4519. description: 外部商品组代码[通道交易]
  4520. type: string
  4521. quoteminunit:
  4522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4523. type: integer
  4524. quotesourcegroupid:
  4525. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4526. type: integer
  4527. syncgoodsqty:
  4528. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4529. type: integer
  4530. required:
  4531. - areauserid
  4532. type: object
  4533. models.Ermcp3GoodsGroupEx:
  4534. properties:
  4535. convertratio:
  4536. description: 折算系数(品种系数)
  4537. type: number
  4538. enumdicname:
  4539. description: 单位名称
  4540. type: string
  4541. exexchangecode:
  4542. description: 交易所代码
  4543. type: string
  4544. glist:
  4545. description: 合约列表
  4546. items:
  4547. $ref: '#/definitions/models.Ermcp3Goods'
  4548. type: array
  4549. goodsgroupid:
  4550. description: 商品组id
  4551. type: integer
  4552. goodsgroupname:
  4553. description: 商品组名称
  4554. type: string
  4555. goodsunitid:
  4556. description: 单位id
  4557. type: integer
  4558. middlegoodsid:
  4559. description: 套保商品id
  4560. type: integer
  4561. type: object
  4562. models.Ermcp3HedgePlan:
  4563. properties:
  4564. accountid:
  4565. description: 资金账号
  4566. type: integer
  4567. areauserid:
  4568. description: 用户ID
  4569. type: integer
  4570. audittime:
  4571. description: 审核时间
  4572. type: string
  4573. contracttype:
  4574. description: 计划类型 - 1:采购 -1:销售
  4575. type: integer
  4576. convertfactor:
  4577. description: 标仓系数
  4578. type: number
  4579. createtime:
  4580. description: 创建时间
  4581. type: string
  4582. currencyid:
  4583. description: 币种id
  4584. type: integer
  4585. currencyname:
  4586. description: 币种名称
  4587. type: string
  4588. deliverygoodscode:
  4589. description: 现货品种代码
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 现货品种ID
  4593. type: integer
  4594. deliverygoodsname:
  4595. description: 现货品种名称
  4596. type: string
  4597. enumdicname:
  4598. description: 单位名称(现货商品)
  4599. type: string
  4600. hedgeplanid:
  4601. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4602. type: string
  4603. hedgeplanno:
  4604. description: 套保计划编号(名称)
  4605. type: string
  4606. hedgeplanstatus:
  4607. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4608. type: integer
  4609. planqty:
  4610. description: 计划数量
  4611. type: number
  4612. plantime:
  4613. description: 计划时间
  4614. type: string
  4615. producttype:
  4616. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4617. type: integer
  4618. remark:
  4619. description: 备注
  4620. type: string
  4621. spotgoodsdesc:
  4622. description: 商品型号
  4623. type: string
  4624. taaccountname:
  4625. description: 资金账号名称
  4626. type: string
  4627. tradeuserid:
  4628. description: 交易用户id
  4629. type: integer
  4630. tradeusername:
  4631. description: 交易用户名称
  4632. type: string
  4633. unitid:
  4634. description: 单位id(现货商品)
  4635. type: integer
  4636. updatetime:
  4637. description: 更新时间
  4638. type: string
  4639. wrstandardcode:
  4640. description: 品类代码
  4641. type: string
  4642. wrstandardid:
  4643. description: 品类id
  4644. type: integer
  4645. wrstandardname:
  4646. description: 品类名称
  4647. type: string
  4648. wrunitid:
  4649. description: 品类单位id
  4650. type: integer
  4651. wrunitidame:
  4652. description: 品类单位名称
  4653. type: string
  4654. type: object
  4655. models.Ermcp3MiddleGoodsDetail2:
  4656. properties:
  4657. convertratio:
  4658. description: 套保系数(折算系数)
  4659. type: number
  4660. gplist:
  4661. description: 关联商品组列表
  4662. items:
  4663. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4664. type: array
  4665. mg:
  4666. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4667. description: 套保商品信息
  4668. type: object
  4669. type: object
  4670. models.Ermcp3MiddleGoodsDetailEx:
  4671. properties:
  4672. dglist:
  4673. description: 关联的现货品种列表
  4674. items:
  4675. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4676. type: array
  4677. gplist:
  4678. description: 关联商品组列表
  4679. items:
  4680. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4681. type: array
  4682. mg:
  4683. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4684. description: 套保商品信息
  4685. type: object
  4686. type: object
  4687. models.Ermcp3SellBuyContract:
  4688. properties:
  4689. accountid:
  4690. description: 期货账户id
  4691. type: string
  4692. accountname:
  4693. description: 账户名称
  4694. type: string
  4695. attachment:
  4696. description: 附件
  4697. type: string
  4698. audittime:
  4699. description: 审核时间
  4700. type: string
  4701. biztype:
  4702. description: 业务类型 1-套保 2-套利
  4703. type: integer
  4704. brandname:
  4705. description: 品牌名称
  4706. type: string
  4707. contracctstatus:
  4708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4709. type: integer
  4710. contractmargin:
  4711. description: 合同保证金
  4712. type: number
  4713. contractno:
  4714. description: 合同编号
  4715. type: string
  4716. contracttype:
  4717. description: 合同类型 1-采购, -1-销售
  4718. type: integer
  4719. convertfactor:
  4720. description: 标仓系数(品类)
  4721. type: number
  4722. createtime:
  4723. description: 创建时间
  4724. type: string
  4725. currencyid:
  4726. description: 币种id
  4727. type: integer
  4728. currencyname:
  4729. description: 币种名称
  4730. type: string
  4731. daikaiamount:
  4732. description: 应收(开)票额
  4733. type: number
  4734. deliveryenddate:
  4735. description: 交割结束日
  4736. type: string
  4737. deliverygoodscode:
  4738. description: 现货品种代码
  4739. type: string
  4740. deliverygoodsid:
  4741. description: 现货商品ID
  4742. type: integer
  4743. deliverygoodsname:
  4744. description: 现货品种名称
  4745. type: string
  4746. deliverystartdate:
  4747. description: 交割开始日
  4748. type: string
  4749. enddate:
  4750. description: 点价结束日
  4751. type: string
  4752. enumdicname:
  4753. description: 单位名称
  4754. type: string
  4755. goodscode:
  4756. description: 点价商品代码
  4757. type: string
  4758. goodsid:
  4759. description: 点价商品ID
  4760. type: integer
  4761. goodsname:
  4762. description: 点价商品名称
  4763. type: string
  4764. invoiceamount:
  4765. description: 已开票额
  4766. type: number
  4767. loanamount:
  4768. description: 贷款总额=已定价额+调整金额
  4769. type: number
  4770. margin:
  4771. description: 保证金
  4772. type: number
  4773. meruserid:
  4774. description: 跟单员id
  4775. type: integer
  4776. meruserlogincode:
  4777. description: 跟单员登录代码
  4778. type: string
  4779. nickname:
  4780. description: 账户昵称
  4781. type: string
  4782. payamount:
  4783. description: 已收付额(收款或付款)
  4784. type: number
  4785. preinvoiceamount:
  4786. description: 预收(开)票额
  4787. type: number
  4788. prepayamount:
  4789. description: 预收付额
  4790. type: number
  4791. price:
  4792. description: 价格
  4793. type: number
  4794. pricedamount:
  4795. description: 已定价额
  4796. type: number
  4797. pricedavg:
  4798. description: 已点均价
  4799. type: number
  4800. pricedqty:
  4801. description: 已定价量
  4802. type: number
  4803. pricemove:
  4804. description: 升贴水
  4805. type: number
  4806. pricetype:
  4807. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4808. type: integer
  4809. producttype:
  4810. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4811. type: integer
  4812. qty:
  4813. description: 合同量
  4814. type: number
  4815. reckonadjustamount:
  4816. description: 调整金额
  4817. type: number
  4818. reckonedamount:
  4819. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4820. type: number
  4821. reckonotheramount:
  4822. description: 其它费用
  4823. type: number
  4824. reckonrealqty:
  4825. description: 已确定量
  4826. type: number
  4827. remark:
  4828. description: 备注
  4829. type: string
  4830. saleuserid:
  4831. description: 业务员id
  4832. type: integer
  4833. saleuserlogincode:
  4834. description: 业务员登录代码
  4835. type: string
  4836. spotcontractid:
  4837. description: 合同ID
  4838. type: string
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID(DGFactoryItem表的ID)
  4841. type: integer
  4842. spotgoodsdesc:
  4843. description: 商品型号(商品规格)
  4844. type: string
  4845. startdate:
  4846. description: 点价开始日
  4847. type: string
  4848. totalamount:
  4849. description: 合计总额
  4850. type: number
  4851. tradeuserid:
  4852. description: 交易员id
  4853. type: integer
  4854. tradeuserlogincode:
  4855. description: 交易员登录代码
  4856. type: string
  4857. tradeusername:
  4858. description: 交易员名称
  4859. type: string
  4860. unpayamount:
  4861. description: 应收付款额(应支付或应收款)
  4862. type: number
  4863. unpricedqty:
  4864. description: 未定价量
  4865. type: number
  4866. unsureqty:
  4867. description: 未确定量
  4868. type: number
  4869. userid:
  4870. description: 机构ID
  4871. type: integer
  4872. wrstandardcode:
  4873. description: 品类代码
  4874. type: string
  4875. wrstandardid:
  4876. description: 品类ID
  4877. type: integer
  4878. wrstandardname:
  4879. description: 品类名称
  4880. type: string
  4881. type: object
  4882. models.Ermcp3SpotGoodsPrice:
  4883. properties:
  4884. areauserid:
  4885. description: 所属机构id
  4886. type: integer
  4887. brandname:
  4888. description: 品牌名称
  4889. type: string
  4890. currencyid:
  4891. description: 报价货币ID
  4892. type: integer
  4893. currencyname:
  4894. description: 币种名称
  4895. type: string
  4896. deliverygoodscode:
  4897. description: 现货商品代码
  4898. type: string
  4899. deliverygoodsid:
  4900. description: 现货商品id
  4901. type: integer
  4902. deliverygoodsname:
  4903. description: 现货商品名称
  4904. type: string
  4905. enumdicname:
  4906. description: 现货商品单位名称
  4907. type: string
  4908. gbenumdicname:
  4909. description: 品类单位名称
  4910. type: string
  4911. gmunitid:
  4912. description: 品类单位id
  4913. type: integer
  4914. isvalid:
  4915. description: 是否有效 - 0:无效 1:有效
  4916. type: integer
  4917. operateid:
  4918. description: 最后操作人
  4919. type: integer
  4920. operatesrc:
  4921. description: 最后操作来源 - 1:管理端 2:终端
  4922. type: integer
  4923. operatetime:
  4924. description: 最后操作时间
  4925. type: string
  4926. operatorname:
  4927. description: 操作人名称
  4928. type: string
  4929. spotgoodsbrandid:
  4930. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4931. type: integer
  4932. spotgoodsprice:
  4933. description: 现货价格
  4934. type: number
  4935. tradedate:
  4936. description: 交易日(yyyyMMdd)
  4937. type: string
  4938. unitid:
  4939. description: 现货商品单位id
  4940. type: integer
  4941. wrstandardcode:
  4942. description: 品类代码
  4943. type: string
  4944. wrstandardid:
  4945. description: 现货品类ID(通用则为0)
  4946. type: integer
  4947. wrstandardname:
  4948. description: 品类名称
  4949. type: string
  4950. type: object
  4951. models.Ermcp3SpotGoodsPriceLog:
  4952. properties:
  4953. areauserid:
  4954. description: 所属机构id
  4955. type: integer
  4956. brandname:
  4957. description: 品牌名称
  4958. type: string
  4959. currencyid:
  4960. description: 报价货币ID
  4961. type: integer
  4962. deliverygoodscode:
  4963. description: 现货商品代码
  4964. type: string
  4965. deliverygoodsid:
  4966. description: 现货商品id
  4967. type: integer
  4968. deliverygoodsname:
  4969. description: 现货商品名称
  4970. type: string
  4971. enumdicname:
  4972. description: 现货商品单位名称
  4973. type: string
  4974. gbenumdicname:
  4975. description: 品类单位名称
  4976. type: string
  4977. gmunitid:
  4978. description: 品类单位id
  4979. type: integer
  4980. logid:
  4981. description: 日志id
  4982. type: integer
  4983. operateid:
  4984. description: 最后操作人
  4985. type: integer
  4986. operatesrc:
  4987. description: 最后操作来源 - 1:管理端 2:终端
  4988. type: integer
  4989. operatetime:
  4990. description: 最后操作时间
  4991. type: string
  4992. operatorname:
  4993. description: 操作人名称
  4994. type: string
  4995. spotgoodsbrandid:
  4996. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4997. type: integer
  4998. spotgoodsprice:
  4999. description: 现货价格
  5000. type: number
  5001. tradedate:
  5002. description: 交易日(yyyyMMdd)
  5003. type: string
  5004. unitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. wrstandardcode:
  5008. description: 品类代码
  5009. type: string
  5010. wrstandardid:
  5011. description: 现货品类ID(通用则为0)
  5012. type: integer
  5013. wrstandardname:
  5014. description: 品类名称
  5015. type: string
  5016. type: object
  5017. models.Ermcp3Wrstandard:
  5018. properties:
  5019. areauserid:
  5020. description: 所属机构
  5021. type: integer
  5022. convertfactor:
  5023. description: 标仓系数
  5024. type: number
  5025. createtime:
  5026. description: 创建时间
  5027. type: string
  5028. creatorid:
  5029. description: 创建人
  5030. type: integer
  5031. deliverygoodsid:
  5032. description: 现货品种ID
  5033. type: integer
  5034. enumdicname:
  5035. description: 品类单位名称
  5036. type: string
  5037. isvalid:
  5038. description: 是否有效 0-无效(停用) 1-有效(正常)
  5039. type: integer
  5040. minivalue:
  5041. description: 最小变动值
  5042. type: integer
  5043. minivaluedp:
  5044. description: 最小变动值小数位
  5045. type: integer
  5046. realminivalue:
  5047. description: 实际最小变动值
  5048. type: integer
  5049. realminivaluedp:
  5050. description: 实际最小变动值小数位
  5051. type: integer
  5052. remark:
  5053. description: 备注
  5054. type: string
  5055. unitid:
  5056. description: 品类单位ID
  5057. type: integer
  5058. updatetime:
  5059. description: 更新时间
  5060. type: string
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID(SEQ_WRSTANDARD)
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.ErmcpAreaSpotDetailModel:
  5072. properties:
  5073. contracttype:
  5074. description: 合同类型 1-采购 -1-销售
  5075. type: integer
  5076. createtime:
  5077. description: 创建时间
  5078. type: string
  5079. enumdicname:
  5080. description: 现货商品单位名称
  5081. type: string
  5082. logtype:
  5083. description: 记录类型 1-套保 2-现货合同
  5084. type: integer
  5085. qty:
  5086. description: 数量
  5087. type: number
  5088. recordname:
  5089. description: 类型名称
  5090. type: string
  5091. relatedid:
  5092. description: 套保计划ID/现货合同ID
  5093. type: string
  5094. relatedno:
  5095. description: 编号
  5096. type: string
  5097. strtime:
  5098. description: 时间
  5099. type: string
  5100. wrstandardcode:
  5101. description: 现货商品代码
  5102. type: string
  5103. wrstandardname:
  5104. description: 现货商品名称
  5105. type: string
  5106. type: object
  5107. models.ErmcpAvalidGoodsGroupModel:
  5108. properties:
  5109. goodsgroupid:
  5110. description: 期货品种id
  5111. type: integer
  5112. goodsgroupname:
  5113. description: 期货品种名称
  5114. type: string
  5115. goodunitid:
  5116. description: 品种单位id
  5117. type: integer
  5118. goodunitname:
  5119. description: 品种单位名称
  5120. type: string
  5121. outergroupcode:
  5122. description: 期货品种代码
  5123. type: string
  5124. type: object
  5125. models.ErmcpBizGroupEx:
  5126. properties:
  5127. acclist:
  5128. description: 账号列表
  5129. items:
  5130. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5131. type: array
  5132. bizgroupid:
  5133. description: 业务分组id
  5134. type: integer
  5135. biztype:
  5136. description: 业务类型 1-套保 2-套利
  5137. type: integer
  5138. wrlist:
  5139. description: 现货商品表
  5140. items:
  5141. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5142. type: array
  5143. type: object
  5144. models.ErmcpBizGroupSpotGoods:
  5145. properties:
  5146. areauserid:
  5147. description: 所属机构id
  5148. type: integer
  5149. bizgroupid:
  5150. description: 分组id
  5151. type: integer
  5152. biztype:
  5153. description: 业务类型 1-套保 2-套利
  5154. type: integer
  5155. deliverygoodscode:
  5156. description: 现货商品代码
  5157. type: string
  5158. deliverygoodsid:
  5159. description: 现货商品id
  5160. type: integer
  5161. deliverygoodsname:
  5162. description: 现货商品名称
  5163. type: string
  5164. unitid:
  5165. description: 现货商品单位id
  5166. type: integer
  5167. type: object
  5168. models.ErmcpBizGroupTaAccount:
  5169. properties:
  5170. accountid:
  5171. description: 账号id
  5172. type: integer
  5173. accountname:
  5174. description: 账号名称
  5175. type: string
  5176. areauserid:
  5177. description: 所属机构id
  5178. type: integer
  5179. bizgroupid:
  5180. description: 业务分组id
  5181. type: integer
  5182. ismain:
  5183. description: 是否主账号 1-是 0-否
  5184. type: integer
  5185. type: object
  5186. models.ErmcpDGFactoryItem:
  5187. properties:
  5188. areauserid:
  5189. description: 用户id
  5190. type: integer
  5191. deliverygoodsid:
  5192. description: 现货品种ID
  5193. type: integer
  5194. dgfactoryitemid:
  5195. description: 选择项ID(SEQ_DGFACTORYITEM)
  5196. type: integer
  5197. dgfactoryitemtypeid:
  5198. description: 要素项类型
  5199. type: integer
  5200. dgfactoryitemvalue:
  5201. description: 要素项值(类型为仓库时填写仓库名称)
  5202. type: string
  5203. isvalid:
  5204. description: 是否有效 - 0:无效 1:有效
  5205. type: integer
  5206. orderindex:
  5207. description: 顺序
  5208. type: integer
  5209. warehouseid:
  5210. description: 仓库ID(类型为仓库时填写)
  5211. type: integer
  5212. type: object
  5213. models.ErmcpDeliveryGoods:
  5214. properties:
  5215. agreeunit:
  5216. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5217. type: integer
  5218. areauserid:
  5219. description: 所属机构
  5220. type: integer
  5221. auditflag:
  5222. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5223. type: integer
  5224. categoryid:
  5225. description: 类别ID(SEQ_WRCATEGORY)
  5226. type: integer
  5227. deliverygoodscode:
  5228. description: 现货品种代码
  5229. type: string
  5230. deliverygoodsid:
  5231. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5232. type: integer
  5233. deliverygoodsname:
  5234. description: 现货品种名称
  5235. type: string
  5236. deliverygoodstype:
  5237. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5238. type: integer
  5239. dgstatus:
  5240. description: 品种状态 - 作废 - 0:未激活 1:正常
  5241. type: integer
  5242. enumdicname:
  5243. description: 现货品种单位名称
  5244. type: string
  5245. goodsunitid:
  5246. description: 现货品种单位ID
  5247. type: integer
  5248. isvalid:
  5249. description: 是否有效 - 0:无效 1:有效
  5250. type: integer
  5251. qtydecimalplace:
  5252. description: 成交量小数位
  5253. type: integer
  5254. remark:
  5255. description: 备注
  5256. type: string
  5257. standardqty:
  5258. description: 标准数量(库位数量) [标准品特有]
  5259. type: integer
  5260. standardqtyrange:
  5261. description: 标准数量偏差范围 [标准品特有]
  5262. type: integer
  5263. type: object
  5264. models.ErmcpDeliveryGoodsDetail2:
  5265. properties:
  5266. convertratio:
  5267. description: 套保系数(折算系数)
  5268. type: number
  5269. data:
  5270. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5271. description: 现货商品基本信息(交割品种)
  5272. type: object
  5273. gblist:
  5274. description: 品牌列表
  5275. items:
  5276. $ref: '#/definitions/models.Ermcp3Brand'
  5277. type: array
  5278. gmlist:
  5279. description: 品类列表(仓单标准)
  5280. items:
  5281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5282. type: array
  5283. type: object
  5284. models.ErmcpDeliveryGoodsDetailEx:
  5285. properties:
  5286. data:
  5287. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5288. description: 现货商品基本信息(交割品种)
  5289. type: object
  5290. gblist:
  5291. description: 品牌列表
  5292. items:
  5293. $ref: '#/definitions/models.Ermcp3Brand'
  5294. type: array
  5295. gmlist:
  5296. description: 品类列表(仓单标准)
  5297. items:
  5298. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5299. type: array
  5300. mgList:
  5301. description: 套保列表
  5302. items:
  5303. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5304. type: array
  5305. type: object
  5306. models.ErmcpExposureDetailModel:
  5307. properties:
  5308. areauserid:
  5309. description: 机构ID
  5310. type: integer
  5311. changeQty:
  5312. description: 套保变动量
  5313. type: number
  5314. contracttype:
  5315. description: 现货合同类型 - 1:采购 -1:销售
  5316. type: integer
  5317. convertfactor:
  5318. description: 标仓系数
  5319. type: number
  5320. convertratio:
  5321. description: 套保系数
  5322. type: number
  5323. createtime:
  5324. description: 时间
  5325. type: string
  5326. enumdicname:
  5327. description: 现货商品单位名称
  5328. type: string
  5329. logtype:
  5330. description: 类型 - 1:套保计划 2:现货合同
  5331. type: integer
  5332. middlegoodsId:
  5333. description: 套保商品id
  5334. type: integer
  5335. middlegoodscode:
  5336. description: 套保商品代码
  5337. type: string
  5338. middlegoodsname:
  5339. description: 套保商品名称
  5340. type: string
  5341. qty:
  5342. description: 数量
  5343. type: number
  5344. relateNo:
  5345. description: 现货合同/套保计划编号
  5346. type: string
  5347. wrstandardcode:
  5348. description: 现货商品代码
  5349. type: string
  5350. wrstandardid:
  5351. description: 现货商品ID
  5352. type: integer
  5353. wrstandardname:
  5354. description: 现货商品名称
  5355. type: string
  5356. type: object
  5357. models.ErmcpExposurePostion:
  5358. properties:
  5359. agreeunit:
  5360. description: 合约单位
  5361. type: string
  5362. areauserid:
  5363. description: 所属机构id
  5364. type: integer
  5365. convertratio:
  5366. description: 期货品种系数(折算系数)
  5367. type: number
  5368. curqty:
  5369. description: 当前持仓
  5370. type: integer
  5371. diffhedgeqty:
  5372. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5373. type: number
  5374. diffqty:
  5375. description: 持仓变动量=当前持仓-昨日持仓
  5376. type: integer
  5377. goodscode:
  5378. description: 商品代码
  5379. type: string
  5380. goodsid:
  5381. description: 商品id
  5382. type: integer
  5383. goodsname:
  5384. description: 商品名称
  5385. type: string
  5386. middlegoodsid:
  5387. description: 套保商品id
  5388. type: integer
  5389. ydqty:
  5390. description: 昨日持仓
  5391. type: integer
  5392. type: object
  5393. models.ErmcpFuturesCompany:
  5394. properties:
  5395. brokerid:
  5396. description: 经纪公司代码
  5397. type: string
  5398. channeladdress:
  5399. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5400. type: string
  5401. channelid:
  5402. description: 对冲渠道ID
  5403. type: string
  5404. createtime:
  5405. description: 创建时间
  5406. type: string
  5407. creatorid:
  5408. description: 创建人
  5409. type: string
  5410. fcid:
  5411. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5412. type: integer
  5413. fcname:
  5414. description: 期货公司名称
  5415. type: string
  5416. isvalid:
  5417. description: 是否有效 - 0:无效 1:有效
  5418. type: integer
  5419. mhpaddress:
  5420. description: MHP服务地址(IP:Port)
  5421. type: string
  5422. riskrulegroupid:
  5423. description: 风控规则组ID
  5424. type: string
  5425. tradefeetmpid:
  5426. description: 手续费模板ID[TradeConfigTmpType为2]
  5427. type: string
  5428. trademargintmpid:
  5429. description: 保证金模板ID [TradeConfigTmpType为1]
  5430. type: string
  5431. traderatetmpid:
  5432. description: 汇率模板ID[TradeConfigTmpType为3]
  5433. type: string
  5434. updatetime:
  5435. description: 更新时间
  5436. type: string
  5437. updatorid:
  5438. description: 更新人
  5439. type: string
  5440. type: object
  5441. models.ErmcpGGConvertCfg:
  5442. properties:
  5443. convertratio:
  5444. description: 折算系数
  5445. type: number
  5446. destgoodsgroupid:
  5447. description: 目标品种ID
  5448. type: integer
  5449. dstcode:
  5450. description: 目录品种代码
  5451. type: string
  5452. dstexchangecode:
  5453. description: 目标期货交易所
  5454. type: string
  5455. dstname:
  5456. description: 目标品种名称
  5457. type: string
  5458. dstunitid:
  5459. description: 目标品种单位ID
  5460. type: integer
  5461. dstunitidname:
  5462. description: 目标品种单位名称
  5463. type: string
  5464. modifytime:
  5465. description: 修改时间
  5466. type: string
  5467. srccode:
  5468. description: 源品种代码
  5469. type: string
  5470. srcexchangecode:
  5471. description: 源期货交易所
  5472. type: string
  5473. srcgoodsgroupid:
  5474. description: 源品种ID
  5475. type: integer
  5476. srcname:
  5477. description: 源品种名称
  5478. type: string
  5479. srcunitid:
  5480. description: 源品种单位ID
  5481. type: integer
  5482. srcunitidname:
  5483. description: 源品种单位名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpGoods:
  5487. properties:
  5488. agreeunit:
  5489. description: 合约单位
  5490. type: number
  5491. auditaccountid:
  5492. description: 审核操作员账号
  5493. type: integer
  5494. audittime:
  5495. description: 审核时间
  5496. type: string
  5497. cancelaccountid:
  5498. description: 注销操作员账号
  5499. type: integer
  5500. canceltime:
  5501. description: 注销时间
  5502. type: string
  5503. closepricemode:
  5504. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5505. type: integer
  5506. closepriceparam:
  5507. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5508. type: number
  5509. createtime:
  5510. description: 创建时间
  5511. type: string
  5512. creatorid:
  5513. description: 创建人
  5514. type: integer
  5515. currencyid:
  5516. description: 报价货币ID
  5517. type: integer
  5518. cutmode:
  5519. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5520. type: integer
  5521. decimalplace:
  5522. description: 报价小数位
  5523. type: integer
  5524. delistingdate:
  5525. description: 商品退市时间(状态:退市) -- 已作废
  5526. type: string
  5527. delistingmode:
  5528. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5529. type: integer
  5530. deliveryflag:
  5531. description: 交割标志 - 0:不可交割 1:可交割
  5532. type: integer
  5533. forceclosemode:
  5534. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5535. type: integer
  5536. forceclosevalue:
  5537. description: 定期强平参数 [收益权]
  5538. type: integer
  5539. goodscode:
  5540. description: 商品代码(内部)
  5541. type: string
  5542. goodscurrencyid:
  5543. description: 合约货币ID
  5544. type: integer
  5545. goodsgroupid:
  5546. description: 所属商品组ID
  5547. type: integer
  5548. goodsid:
  5549. description: 商品ID(自增ID SEQ_GOODS)
  5550. type: integer
  5551. goodsname:
  5552. description: 商品名称
  5553. type: string
  5554. goodsquotetype:
  5555. description: '合约报价类型: 1-直接报价 2-间接报价'
  5556. type: integer
  5557. goodsstatus:
  5558. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5559. type: integer
  5560. goodstradetype:
  5561. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5562. type: integer
  5563. goodunitid:
  5564. description: 报价单位ID
  5565. type: integer
  5566. hasquoter:
  5567. description: 是否有报价商 - 0:无报价商 1:有报价商
  5568. type: integer
  5569. hqprotecttime:
  5570. description: 行情保护时间(秒)
  5571. type: integer
  5572. innerdealmode:
  5573. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5574. type: integer
  5575. isbuylimited:
  5576. description: 是否限制建仓量 - 0:不限制 1:限制
  5577. type: integer
  5578. lasttradedate:
  5579. description: 最后交易日期(状态:待退市)
  5580. type: string
  5581. listingdate:
  5582. description: 交易开始日期
  5583. type: string
  5584. marketid:
  5585. description: 所属市场ID
  5586. type: integer
  5587. modifierid:
  5588. description: 修改人
  5589. type: integer
  5590. modifystatus:
  5591. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5592. type: integer
  5593. modifytime:
  5594. description: 修改时间
  5595. type: string
  5596. outerdealmode:
  5597. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5598. type: integer
  5599. outgoodscode:
  5600. description: 商品代码(外部)
  5601. type: string
  5602. qtydecimalplace:
  5603. description: 成交量小数位
  5604. type: integer
  5605. quotegear:
  5606. description: 行情档位(1-10)
  5607. type: integer
  5608. quoteminunit:
  5609. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5610. type: integer
  5611. quoteshowtype:
  5612. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5613. type: integer
  5614. quoteshowtypeinterval:
  5615. description: 行情报价间隔时间(秒)(成交价时为0)
  5616. type: integer
  5617. relatedgoodsid:
  5618. description: 关联参考商品ID
  5619. type: integer
  5620. remark:
  5621. description: 备注
  5622. type: string
  5623. required:
  5624. - goodscode
  5625. - goodsid
  5626. - goodsname
  5627. - marketid
  5628. type: object
  5629. models.ErmcpGoodsBrand:
  5630. properties:
  5631. areauserid:
  5632. description: 所属机构
  5633. type: integer
  5634. brandid:
  5635. description: BrandID(SEQ_SPOTGOODSBRAND)
  5636. type: integer
  5637. brandname:
  5638. description: 品牌名称
  5639. type: string
  5640. createtime:
  5641. description: 创建时间
  5642. type: string
  5643. creatorid:
  5644. description: 创建人
  5645. type: integer
  5646. creatorsrc:
  5647. description: 创建人来源 - 1:管理端 2:终端
  5648. type: integer
  5649. deliverygoodsid:
  5650. description: 现货品种ID
  5651. type: integer
  5652. isvalid:
  5653. description: 是否有效 - 0:无效 1:有效
  5654. type: integer
  5655. updatetime:
  5656. description: 更新时间
  5657. type: string
  5658. updatorid:
  5659. description: 更新人
  5660. type: integer
  5661. updatorsrc:
  5662. description: 更新人来源 - 1:管理端 2:终端
  5663. type: integer
  5664. wrstandardid:
  5665. description: 现货商品ID
  5666. type: integer
  5667. type: object
  5668. models.ErmcpGoodsModel:
  5669. properties:
  5670. areauserid:
  5671. description: 所属机构
  5672. type: integer
  5673. convertfactor:
  5674. description: 标仓系数
  5675. type: number
  5676. createtime:
  5677. description: 创建时间
  5678. type: string
  5679. creatorid:
  5680. description: 创建人
  5681. type: integer
  5682. creatorsrc:
  5683. description: 创建人来源 - 1:管理端 2:终端
  5684. type: integer
  5685. deliverygoodsid:
  5686. description: 现货品种ID
  5687. type: integer
  5688. isvalid:
  5689. description: 是否有效 - 0:无效 1:有效
  5690. type: integer
  5691. modelid:
  5692. description: ModelID(SEQ_SPOTGOODSMODEL)
  5693. type: integer
  5694. modelname:
  5695. description: 型号名称
  5696. type: string
  5697. updatetime:
  5698. description: 更新时间
  5699. type: string
  5700. updatorid:
  5701. description: 更新人
  5702. type: integer
  5703. updatorsrc:
  5704. description: 更新人来源 - 1:管理端 2:终端
  5705. type: integer
  5706. wrstandardid:
  5707. description: 现货商品ID
  5708. type: integer
  5709. type: object
  5710. models.ErmcpHedgePosition:
  5711. properties:
  5712. accountid:
  5713. description: 资金账号[外部母账户]
  5714. type: integer
  5715. curbuyposition:
  5716. description: 期末买头寸
  5717. type: integer
  5718. cursellposition:
  5719. description: 期末卖头寸
  5720. type: integer
  5721. curtdbuyposition:
  5722. description: 期末今日买头寸
  5723. type: integer
  5724. curtdsellposition:
  5725. description: 期末今日卖头寸
  5726. type: integer
  5727. curydbuyposition:
  5728. description: 期末上日买头寸
  5729. type: integer
  5730. curydsellposition:
  5731. description: 期末上日卖头寸
  5732. type: integer
  5733. decreaseqty:
  5734. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5735. type: integer
  5736. fretdbuyposition:
  5737. description: 冻结今日买头寸
  5738. type: integer
  5739. fretdsellposition:
  5740. description: 冻结今日卖头寸
  5741. type: integer
  5742. freydbuyposition:
  5743. description: 冻结上日买头寸
  5744. type: integer
  5745. freydsellposition:
  5746. description: 冻结上日卖头寸
  5747. type: integer
  5748. goodscode:
  5749. description: 商品代码
  5750. type: string
  5751. goodsid:
  5752. description: 商品id
  5753. type: integer
  5754. goodsname:
  5755. description: 商品名称
  5756. type: string
  5757. hedgeaccountcode:
  5758. description: 对冲账号
  5759. type: string
  5760. hedgegoodsid:
  5761. description: 对冲合约ID
  5762. type: integer
  5763. increaseqty:
  5764. description: 增加数量 = 期末买头寸 - 期初买头寸
  5765. type: integer
  5766. marketid:
  5767. description: 市场ID
  5768. type: integer
  5769. relateduserid:
  5770. description: 关联用户id
  5771. type: integer
  5772. totalcurqty:
  5773. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5774. type: integer
  5775. totalydqty:
  5776. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5777. type: integer
  5778. tradedate:
  5779. description: 交易日(yyyyMMdd)
  5780. type: string
  5781. ydbuyposition:
  5782. description: 期初买头寸
  5783. type: integer
  5784. ydsellposition:
  5785. description: 期初卖头寸
  5786. type: integer
  5787. type: object
  5788. models.ErmcpHedgePositionDetail:
  5789. properties:
  5790. buyorsell:
  5791. description: 买卖方向 0-买 1-卖
  5792. type: integer
  5793. channelbuildtype:
  5794. description: 开平方向 1-建仓 2-平仓
  5795. type: integer
  5796. goodscode:
  5797. description: 商品代码
  5798. type: string
  5799. goodsname:
  5800. description: 商品名称
  5801. type: string
  5802. hedgegoodsid:
  5803. description: 商品id
  5804. type: integer
  5805. tradeqty:
  5806. description: 数量(成交数量)
  5807. type: integer
  5808. tradetime:
  5809. description: 时间(成交时间)
  5810. type: string
  5811. type: object
  5812. models.ErmcpHisExposure:
  5813. properties:
  5814. needhedgeexposoure:
  5815. description: 应套保敞口
  5816. type: number
  5817. reckondate:
  5818. description: 日照时期(yyyyMMdd)
  5819. type: string
  5820. totalexposure:
  5821. description: 总敞口
  5822. type: number
  5823. type: object
  5824. models.ErmcpHisExposureS:
  5825. properties:
  5826. data:
  5827. description: 历史敞口
  5828. items:
  5829. $ref: '#/definitions/models.ErmcpHisExposure'
  5830. type: array
  5831. enumdicname:
  5832. description: 单位名称
  5833. type: string
  5834. middlegoodscode:
  5835. description: 套保品种代码
  5836. type: string
  5837. middlegoodsid:
  5838. description: 套保品种ID
  5839. type: integer
  5840. middlegoodsname:
  5841. description: 套保品种名称
  5842. type: string
  5843. type: object
  5844. models.ErmcpLoginTaAccount:
  5845. properties:
  5846. accountid:
  5847. description: 账号id
  5848. type: integer
  5849. accountname:
  5850. description: 账号名称
  5851. type: string
  5852. type: object
  5853. models.ErmcpLoginUser:
  5854. properties:
  5855. acclist:
  5856. description: 关联资金账号
  5857. items:
  5858. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5859. type: array
  5860. accountname:
  5861. description: 用户名称
  5862. type: string
  5863. clientroleid:
  5864. description: 角色id(usertype=2)
  5865. type: integer
  5866. createtime:
  5867. description: 创建时间
  5868. type: string
  5869. logincode:
  5870. description: 登录代码
  5871. type: string
  5872. loginid:
  5873. description: 登录id(LOGINID)
  5874. type: integer
  5875. loginname:
  5876. description: 登录名称(loginaccount表中的accountname字段)
  5877. type: string
  5878. loginstatus:
  5879. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5880. type: integer
  5881. memberuserid:
  5882. description: 所属会员id
  5883. type: integer
  5884. mobile:
  5885. description: 手机号
  5886. type: string
  5887. modifytime:
  5888. description: 修改时间
  5889. type: string
  5890. password:
  5891. description: 密码(不可解密)
  5892. type: string
  5893. rolename:
  5894. description: 角色名称
  5895. type: string
  5896. rolestatus:
  5897. description: 角色状态 1-启用 2-停用
  5898. type: integer
  5899. roletype:
  5900. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5901. type: string
  5902. userid:
  5903. description: 用户id
  5904. type: integer
  5905. usertype:
  5906. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5907. type: integer
  5908. type: object
  5909. models.ErmcpLoginUserEx:
  5910. properties:
  5911. accountstatus:
  5912. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5913. type: integer
  5914. mobile:
  5915. description: 手机号
  5916. type: string
  5917. querytype:
  5918. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5919. type: integer
  5920. roleid:
  5921. description: 角色id(交易账户->用户id)
  5922. type: integer
  5923. rolename:
  5924. description: 角色名称(交易账户->用户名称)
  5925. type: string
  5926. userlist:
  5927. description: 用户列表
  5928. items:
  5929. $ref: '#/definitions/models.ErmcpLoginUser'
  5930. type: array
  5931. usertype:
  5932. description: 用户类型 2-机构 7-企业成员(云平台)
  5933. type: integer
  5934. type: object
  5935. models.ErmcpMiddleGoodsChangeLog:
  5936. properties:
  5937. aftervalue:
  5938. description: 变更后
  5939. type: number
  5940. applyid:
  5941. description: 操作人
  5942. type: integer
  5943. applyname:
  5944. description: 操作人名称
  5945. type: string
  5946. applysrc:
  5947. description: 操作来源 - 1:管理端 2:终端
  5948. type: integer
  5949. beforevalue:
  5950. description: 变更前
  5951. type: number
  5952. changelogtype:
  5953. description: 变更流水类型 - 1:套保比率变更
  5954. type: integer
  5955. handlestatus:
  5956. description: 处理状态
  5957. type: integer
  5958. logdatetime:
  5959. description: 流水日期
  5960. type: string
  5961. logid:
  5962. description: 流水ID
  5963. type: integer
  5964. logremark:
  5965. description: 流水备注
  5966. type: string
  5967. middlegoodsid:
  5968. description: 套保品种ID
  5969. type: integer
  5970. tradedate:
  5971. description: 交易日(yyyyMMdd)
  5972. type: string
  5973. updatetime:
  5974. description: 更新时间
  5975. type: string
  5976. type: object
  5977. models.ErmcpMiddleGoodsDetail:
  5978. properties:
  5979. cvList:
  5980. description: 期货品种折算列表
  5981. items:
  5982. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5983. type: array
  5984. mg:
  5985. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5986. description: 套保品种基本信息
  5987. type: object
  5988. wrcList:
  5989. description: 现货品种列表(现货商品折算配置)
  5990. items:
  5991. $ref: '#/definitions/models.WRSConverTDetail'
  5992. type: array
  5993. type: object
  5994. models.ErmcpMiddleGoodsModel:
  5995. properties:
  5996. areauserid:
  5997. description: 机构用户ID
  5998. type: integer
  5999. createtime:
  6000. description: 修改时间
  6001. type: string
  6002. enumdicname:
  6003. description: 单位名称
  6004. type: string
  6005. evaluateratio:
  6006. description: 估价系数
  6007. type: number
  6008. goodsgroupid:
  6009. description: 关联期货品种ID
  6010. type: integer
  6011. goodsunitid:
  6012. description: 单位ID
  6013. type: integer
  6014. isvalid:
  6015. description: 状态 0-无效(停用) 1-有效(正常)
  6016. type: integer
  6017. middlegoodscode:
  6018. description: 套保品种代码
  6019. type: string
  6020. middlegoodsid:
  6021. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6022. type: integer
  6023. middlegoodsname:
  6024. description: 套保品种名称
  6025. type: string
  6026. modifytime:
  6027. description: 修改时间
  6028. type: string
  6029. needarbitrageratio:
  6030. description: 套利比例
  6031. type: number
  6032. needhedgeratio:
  6033. description: 套保比率
  6034. type: number
  6035. qtydecimalplace:
  6036. description: 数量小数位
  6037. type: integer
  6038. relatedgoodsid:
  6039. description: 关联交易商品ID
  6040. type: integer
  6041. relatedgoodstype:
  6042. description: 关联商品类型 - 1:期货合约 2:现货品种
  6043. type: integer
  6044. remark:
  6045. description: 备注
  6046. type: string
  6047. type: object
  6048. models.ErmcpOPLogModel:
  6049. properties:
  6050. aftervalue:
  6051. description: 变更后
  6052. type: number
  6053. applyid:
  6054. description: 操作人ID
  6055. type: string
  6056. applyname:
  6057. description: 操作人名称
  6058. type: string
  6059. beforevalue:
  6060. description: 变更前
  6061. type: number
  6062. biztype:
  6063. description: 业务类型 - 1:套保计划 2:现货合同
  6064. type: integer
  6065. contracttype:
  6066. description: 现货合同类型 - 1:采购 -1:销售
  6067. type: integer
  6068. logvalue:
  6069. description: 数值
  6070. type: number
  6071. operatelogtype:
  6072. description: 操作流水类型
  6073. type: integer
  6074. operatelogtypedesc:
  6075. description: 操作流水类型名称
  6076. type: string
  6077. relatedid:
  6078. description: 现货合同ID\套保计划
  6079. type: string
  6080. updatetime:
  6081. description: 更新时间
  6082. type: string
  6083. type: object
  6084. models.ErmcpPendingAudit:
  6085. properties:
  6086. areastockqty:
  6087. description: '待审核数量: 库存申请'
  6088. type: integer
  6089. businessdjqty:
  6090. description: '待审核数量: 点价'
  6091. type: integer
  6092. businessfpqty:
  6093. description: '待审核数量: 发票'
  6094. type: integer
  6095. businessjsqty:
  6096. description: '待审核数量: 结算'
  6097. type: integer
  6098. businesskxqty:
  6099. description: '待审核数量: 款项'
  6100. type: integer
  6101. hedgeplanqty:
  6102. description: '待审核数量: 套保计划'
  6103. type: integer
  6104. spotcontractqty:
  6105. description: '待审核数量: 现货合同'
  6106. type: integer
  6107. userqty:
  6108. description: '待审核数量: 用户'
  6109. type: integer
  6110. type: object
  6111. models.ErmcpRealExposureModel:
  6112. properties:
  6113. AreaUserID:
  6114. description: 所属机构
  6115. type: integer
  6116. BuyFutureQty:
  6117. description: 买入期货数量
  6118. type: number
  6119. BuyPlanQty:
  6120. description: 采购计划数量
  6121. type: number
  6122. BuyPricedQty:
  6123. description: 采购合同已定价数量
  6124. type: number
  6125. MiddleGoodsCode:
  6126. description: 套保品种代码
  6127. type: string
  6128. MiddleGoodsHedgeRatio:
  6129. description: 套保比例
  6130. type: number
  6131. MiddleGoodsID:
  6132. description: 套保品种
  6133. type: integer
  6134. MiddleGoodsName:
  6135. description: 套保品种名称
  6136. type: string
  6137. NeedHedgeExposoure:
  6138. description: 应套保敞口(套保敞口)
  6139. type: number
  6140. NeedHedgeRatio:
  6141. description: 应套保敞口比例
  6142. type: number
  6143. OriBuyFutureQty:
  6144. description: 期初买入期货数量
  6145. type: number
  6146. OriBuyPlanQty:
  6147. description: 期初采购计划数量
  6148. type: number
  6149. OriBuyPricedQty:
  6150. description: 期初采购合同已定价数量
  6151. type: number
  6152. OriSellFutureQty:
  6153. description: 期初卖出期货数量
  6154. type: number
  6155. OriSellPlanQty:
  6156. description: 期初销售计划数量
  6157. type: number
  6158. OriSellPricedQty:
  6159. description: 期初销售合同已定价数量
  6160. type: number
  6161. SellFutureQty:
  6162. description: 卖出期货数量
  6163. type: number
  6164. SellPlanQty:
  6165. description: 销售计划数量
  6166. type: number
  6167. SellPricedQty:
  6168. description: 销售合同已定价数量
  6169. type: number
  6170. TotalExposure:
  6171. description: 总敞口
  6172. type: number
  6173. TotalFutureQty:
  6174. description: 期货总量
  6175. type: number
  6176. TotalHedgeRatio:
  6177. description: 敞口比例
  6178. type: number
  6179. TotalNeedHedgeQty:
  6180. description: 应套保总量(现货应套保总量)
  6181. type: number
  6182. TotalSpotQty:
  6183. description: 现货总量
  6184. type: number
  6185. arbitrageqty:
  6186. description: 套利量
  6187. type: number
  6188. diffArbitrageQty:
  6189. description: 套利变动量
  6190. type: number
  6191. diffExposoureQty:
  6192. description: 变动量(套保敞口)
  6193. type: number
  6194. diffFutuQty:
  6195. description: 变动量(期货总量)
  6196. type: number
  6197. diffHedgeQty:
  6198. description: 套保变动量
  6199. type: number
  6200. diffQty:
  6201. description: 变动量(总敞口)
  6202. type: number
  6203. diffSpotHedgeQty:
  6204. description: 变动量(现货应套保总量)
  6205. type: number
  6206. diffSpotQty:
  6207. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6208. type: number
  6209. enumdicname:
  6210. description: 单位名称
  6211. type: string
  6212. hedgeqty:
  6213. description: 套保量
  6214. type: number
  6215. needarbitrageqty:
  6216. description: 应套利量
  6217. type: number
  6218. needarbitrageratio:
  6219. description: 套利比例
  6220. type: number
  6221. needhedgeqty:
  6222. description: 应套保量
  6223. type: number
  6224. oriTotalFutuQty:
  6225. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6226. type: number
  6227. oriTotalSpotQty:
  6228. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6229. type: number
  6230. oriarbitrageqty:
  6231. description: 期初套利量
  6232. type: number
  6233. orihedgeqty:
  6234. description: 期初套保量
  6235. type: number
  6236. orineedhedgeexposoure:
  6237. description: 期初套保敞口
  6238. type: number
  6239. oritotalexposure:
  6240. description: 期初总敞口
  6241. type: number
  6242. oritotalfutureqty:
  6243. description: 期初期货总量
  6244. type: number
  6245. oritotalneedhedgeqty:
  6246. description: 期初现货应套保量
  6247. type: number
  6248. type: object
  6249. models.ErmcpRole:
  6250. properties:
  6251. areauserid:
  6252. description: 所属机构
  6253. type: integer
  6254. autoid:
  6255. description: 角色ID(自增ID)
  6256. type: integer
  6257. modifierid:
  6258. description: 修改人(创建人)
  6259. type: integer
  6260. modifiername:
  6261. description: 修改人名称
  6262. type: string
  6263. modifytime:
  6264. description: 修改时间(创建时间)
  6265. type: string
  6266. rolename:
  6267. description: 角色名称
  6268. type: string
  6269. rolestatus:
  6270. description: 角色状态 - 1:启用 2:停用
  6271. type: integer
  6272. roletype:
  6273. description: 角色类型 - 1- 管理端 2- 交易端
  6274. type: integer
  6275. type: object
  6276. models.ErmcpRoleMenu:
  6277. properties:
  6278. iconame:
  6279. description: 菜单图标
  6280. type: string
  6281. ishadrole:
  6282. description: 是否有权限
  6283. type: boolean
  6284. menutype:
  6285. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6286. type: integer
  6287. parentcode:
  6288. description: 上级资源代码
  6289. type: string
  6290. remark:
  6291. description: 菜单备注
  6292. type: string
  6293. resourcecode:
  6294. description: 菜单代码
  6295. type: string
  6296. resourcelevel:
  6297. description: 级别
  6298. type: integer
  6299. resourcename:
  6300. description: 菜单名称
  6301. type: string
  6302. roleid:
  6303. description: 角色id
  6304. type: integer
  6305. sort:
  6306. description: 排序
  6307. type: integer
  6308. url:
  6309. description: URL
  6310. type: string
  6311. userid:
  6312. description: 用户id
  6313. type: integer
  6314. type: object
  6315. models.ErmcpRoleMenuEx:
  6316. properties:
  6317. menu:
  6318. $ref: '#/definitions/models.ErmcpRoleMenu'
  6319. description: 父级菜单
  6320. type: object
  6321. subMenu:
  6322. description: 子级菜单
  6323. items:
  6324. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6325. type: array
  6326. type: object
  6327. models.ErmcpTaAccount:
  6328. properties:
  6329. accountid:
  6330. description: 账户id
  6331. type: integer
  6332. accountname:
  6333. description: 账户名称
  6334. type: string
  6335. currencyid:
  6336. description: 币种id
  6337. type: integer
  6338. hedgeaccountcode:
  6339. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6340. type: string
  6341. ismain:
  6342. description: 是否主账户 0-否 1-是
  6343. type: integer
  6344. parentaccountid:
  6345. description: 父账户id
  6346. type: integer
  6347. relateduserid:
  6348. description: 关联userid
  6349. type: integer
  6350. tradefeetmpid:
  6351. description: 手续费模板id
  6352. type: integer
  6353. tradefeetmpname:
  6354. description: 手续费模板名称
  6355. type: string
  6356. trademargintmpid:
  6357. description: 保证金模板id
  6358. type: integer
  6359. trademargintmpname:
  6360. description: 保证金模板名称
  6361. type: string
  6362. traderatetmpid:
  6363. description: 汇率模板id
  6364. type: integer
  6365. traderatetmpname:
  6366. description: 汇率模板名称
  6367. type: string
  6368. tradestatus:
  6369. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6370. type: integer
  6371. userid:
  6372. description: 用户id
  6373. type: integer
  6374. type: object
  6375. models.ErmcpTaAccountEx:
  6376. properties:
  6377. mainAcc:
  6378. $ref: '#/definitions/models.ErmcpTaAccountM'
  6379. description: 主账号
  6380. type: object
  6381. subacclist:
  6382. description: 子账号列表
  6383. items:
  6384. $ref: '#/definitions/models.ErmcpTaAccount'
  6385. type: array
  6386. type: object
  6387. models.ErmcpTaAccountInfo:
  6388. properties:
  6389. accountid:
  6390. description: 资金账户ID
  6391. type: integer
  6392. accountname:
  6393. description: 账户名称
  6394. type: string
  6395. balance:
  6396. description: 期初余额
  6397. type: number
  6398. capitalbalance:
  6399. description: 本金余额[外部子账户实际出入金余额]
  6400. type: number
  6401. closepl:
  6402. description: 今日平仓盈亏
  6403. type: number
  6404. creditdecrease:
  6405. description: 今日授信减少
  6406. type: number
  6407. creditincrease:
  6408. description: 今日授信增加
  6409. type: number
  6410. curdebt:
  6411. description: 期末欠款
  6412. type: number
  6413. currencyid:
  6414. description: 货币ID
  6415. type: integer
  6416. currentbalance:
  6417. description: 期末余额
  6418. type: number
  6419. freezecharge:
  6420. description: 手续费冻结
  6421. type: number
  6422. freezemargin:
  6423. description: 冻结保证金
  6424. type: number
  6425. fromaccountid:
  6426. description: 所属上级账户
  6427. type: integer
  6428. inamount:
  6429. description: 今日入金金额(包括三方入金)
  6430. type: number
  6431. ismain:
  6432. description: 是否母账号 0:不是母账户 1:是母账户
  6433. type: integer
  6434. mortgagecredit:
  6435. description: 授信金额
  6436. type: number
  6437. oridebt:
  6438. description: 期初欠款
  6439. type: number
  6440. orifreezecharge:
  6441. description: 期初手续费冻结
  6442. type: number
  6443. orifreezemargin:
  6444. description: 期初冻结保证金
  6445. type: number
  6446. orimortgagecredit:
  6447. description: 期初授信金额
  6448. type: number
  6449. oriothercredit:
  6450. description: 期初其它授信金额
  6451. type: number
  6452. oriotherfreezemargin:
  6453. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6454. type: number
  6455. orioutamountfreeze:
  6456. description: 期初出金冻结
  6457. type: number
  6458. oriusedmargin:
  6459. description: 期初占用保证金
  6460. type: number
  6461. othercredit:
  6462. description: 其它授信金额
  6463. type: number
  6464. othercreditdecrease:
  6465. description: 今日其它授信减少
  6466. type: number
  6467. othercreditincrease:
  6468. description: 今日其它授信增加
  6469. type: number
  6470. otherfreezemargin:
  6471. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6472. type: number
  6473. outamount:
  6474. description: 今日出金金额(包括三方出金)
  6475. type: number
  6476. outamountfreeze:
  6477. description: 出金冻结
  6478. type: number
  6479. outthreshold:
  6480. description: 出金阈值
  6481. type: number
  6482. parentaccountid:
  6483. description: 所属根账号
  6484. type: integer
  6485. paycharge:
  6486. description: 今日手续费支出
  6487. type: number
  6488. relateduserid:
  6489. description: 关联用户
  6490. type: integer
  6491. signstatus:
  6492. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6493. type: integer
  6494. sublevelpath:
  6495. description: 账号层级路径(逗号分隔,首尾加逗号)
  6496. type: string
  6497. taaccounttype:
  6498. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6499. type: integer
  6500. thirdinamount:
  6501. description: 今日三方入金
  6502. type: number
  6503. thirdoutamount:
  6504. description: 今日三方出金
  6505. type: number
  6506. tradestatus:
  6507. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6508. type: integer
  6509. transferamount:
  6510. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6511. type: number
  6512. usedmargin:
  6513. description: 占用保证金
  6514. type: number
  6515. userid:
  6516. description: 用户ID
  6517. type: integer
  6518. type: object
  6519. models.ErmcpTaAccountM:
  6520. properties:
  6521. accountid:
  6522. description: 账户id
  6523. type: integer
  6524. accountname:
  6525. description: 账户名称
  6526. type: string
  6527. currencyid:
  6528. description: 币种id
  6529. type: integer
  6530. fcid:
  6531. description: 期货公司id
  6532. type: integer
  6533. fcname:
  6534. description: 期货公司代码
  6535. type: string
  6536. hedgeaccountcode:
  6537. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6538. type: string
  6539. ismain:
  6540. description: 是否主账户 0-否 1-是
  6541. type: integer
  6542. parentaccountid:
  6543. description: 父账户id
  6544. type: integer
  6545. relateduserid:
  6546. description: 关联userid
  6547. type: integer
  6548. tradefeetmpid:
  6549. description: 手续费模板id
  6550. type: integer
  6551. tradefeetmpname:
  6552. description: 手续费模板名称
  6553. type: string
  6554. trademargintmpid:
  6555. description: 保证金模板id
  6556. type: integer
  6557. trademargintmpname:
  6558. description: 保证金模板名称
  6559. type: string
  6560. traderatetmpid:
  6561. description: 汇率模板id
  6562. type: integer
  6563. traderatetmpname:
  6564. description: 汇率模板名称
  6565. type: string
  6566. tradestatus:
  6567. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6568. type: integer
  6569. userid:
  6570. description: 用户id
  6571. type: integer
  6572. type: object
  6573. models.ErmcpTradeConfigTMP:
  6574. properties:
  6575. areauserid:
  6576. description: 所属机构
  6577. type: integer
  6578. basiccurrencyid:
  6579. description: 基本币种ID[汇率] - 目标币种
  6580. type: integer
  6581. mainaccountid:
  6582. description: 主账户ID
  6583. type: integer
  6584. modifierid:
  6585. description: 修改人
  6586. type: integer
  6587. remark:
  6588. description: 备注
  6589. type: string
  6590. tradeconfigtmpid:
  6591. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6592. type: integer
  6593. tradeconfigtmpname:
  6594. description: 交易配置模板名称
  6595. type: string
  6596. tradeconfigtmptype:
  6597. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6598. type: integer
  6599. updatetime:
  6600. description: 更新时间
  6601. type: string
  6602. type: object
  6603. models.ErmcpUserModel:
  6604. properties:
  6605. address:
  6606. description: 通讯地址
  6607. type: string
  6608. attachment1:
  6609. description: 附件1
  6610. type: string
  6611. audittime:
  6612. description: 审核时间
  6613. type: string
  6614. cardbackphotourl:
  6615. description: 证件反面图片地址
  6616. type: string
  6617. cardfrontphotourl:
  6618. description: 证件正面图片地址
  6619. type: string
  6620. cardnum:
  6621. description: 证件号码
  6622. type: string
  6623. cardtype:
  6624. description: 证件类型
  6625. type: integer
  6626. cardtypename:
  6627. description: 证件类型名称
  6628. type: string
  6629. cityid:
  6630. description: 市
  6631. type: integer
  6632. contactname:
  6633. description: 联系人
  6634. type: string
  6635. countryid:
  6636. description: 国家
  6637. type: integer
  6638. createtime:
  6639. description: 创建时间
  6640. type: string
  6641. customername:
  6642. description: 企业名称
  6643. type: string
  6644. districtid:
  6645. description: 区域
  6646. type: integer
  6647. email:
  6648. description: 邮件
  6649. type: string
  6650. legalpersonname:
  6651. description: 法人姓名(企业)
  6652. type: string
  6653. memberuserid:
  6654. description: 所属机构ID
  6655. type: integer
  6656. mobile:
  6657. description: 手机号码
  6658. type: string
  6659. modifytime:
  6660. description: 修改时间
  6661. type: string
  6662. nickname:
  6663. description: 昵称
  6664. type: string
  6665. provinceid:
  6666. description: 省
  6667. type: integer
  6668. remark:
  6669. description: 备注
  6670. type: string
  6671. status:
  6672. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6673. type: integer
  6674. statusdesc:
  6675. description: 账户状态中文描述
  6676. type: string
  6677. taxpayernum:
  6678. description: 纳税人识别号
  6679. type: string
  6680. telphone:
  6681. description: 联系电话
  6682. type: string
  6683. userid:
  6684. description: 用户ID
  6685. type: integer
  6686. userinfotype:
  6687. description: 客户类型
  6688. type: string
  6689. type: object
  6690. models.ErmcpWareHouseInfo:
  6691. properties:
  6692. address:
  6693. description: 详细地址
  6694. type: string
  6695. areauserid:
  6696. description: 所属机构
  6697. type: integer
  6698. autoid:
  6699. description: 自增ID(仓库ID)
  6700. type: integer
  6701. cityid:
  6702. description: 市
  6703. type: integer
  6704. contactname:
  6705. description: 联系人
  6706. type: string
  6707. contactnum:
  6708. description: 联系电话
  6709. type: string
  6710. countryid:
  6711. description: 国家
  6712. type: integer
  6713. createtime:
  6714. description: 创建时间
  6715. type: string
  6716. districtid:
  6717. description: 区
  6718. type: integer
  6719. hasvideo:
  6720. description: 是否有视频 - 0:无 1:有
  6721. type: integer
  6722. provinceid:
  6723. description: 省
  6724. type: integer
  6725. remark:
  6726. description: 审核备注
  6727. type: string
  6728. videourl:
  6729. description: 视频地址
  6730. type: string
  6731. warehousecode:
  6732. description: 仓库代码
  6733. type: string
  6734. warehousename:
  6735. description: 仓库名称
  6736. type: string
  6737. warehousestatus:
  6738. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6739. type: integer
  6740. warehousetype:
  6741. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6742. type: integer
  6743. type: object
  6744. models.Externalexchange:
  6745. properties:
  6746. autoid:
  6747. description: AutoID - SEQ_EXTERNALEXCHANGE
  6748. type: integer
  6749. exchangefullname:
  6750. description: 外部交易所全称
  6751. type: string
  6752. exexchangecode:
  6753. description: 外部交易所代码
  6754. type: string
  6755. exexchangename:
  6756. description: 外部交易所名称(简称)
  6757. type: string
  6758. ismarketprice:
  6759. description: 是否支持市价 - 0:不支持 1:支持
  6760. type: integer
  6761. quotegear:
  6762. description: 行情档位(1-10)
  6763. type: integer
  6764. showbrokerflag:
  6765. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6766. type: integer
  6767. updatetime:
  6768. description: 更新时间
  6769. type: string
  6770. required:
  6771. - autoid
  6772. type: object
  6773. models.Funcmenulist:
  6774. properties:
  6775. iconame:
  6776. description: 菜单图标
  6777. type: string
  6778. menutype:
  6779. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6780. type: integer
  6781. parentcode:
  6782. description: 上级资源代码
  6783. type: string
  6784. remark:
  6785. description: 备注
  6786. type: string
  6787. resourcecode:
  6788. description: 资源代码
  6789. type: string
  6790. resourcelevel:
  6791. description: 级别 1-一级 2-二级 3-三级 4-四级
  6792. type: integer
  6793. resourcename:
  6794. description: 资源名
  6795. type: string
  6796. sort:
  6797. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6798. type: integer
  6799. url:
  6800. description: URL
  6801. type: string
  6802. required:
  6803. - resourcecode
  6804. type: object
  6805. models.Goods:
  6806. properties:
  6807. agreeunit:
  6808. description: 合约单位
  6809. type: number
  6810. auditaccountid:
  6811. description: 审核操作员账号
  6812. type: integer
  6813. audittime:
  6814. description: 审核时间
  6815. type: string
  6816. cancelaccountid:
  6817. description: 注销操作员账号
  6818. type: integer
  6819. canceltime:
  6820. description: 注销时间
  6821. type: string
  6822. closepricemode:
  6823. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6824. type: integer
  6825. closepriceparam:
  6826. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6827. type: number
  6828. createtime:
  6829. description: 创建时间
  6830. type: string
  6831. creatorid:
  6832. description: 创建人
  6833. type: integer
  6834. currencyid:
  6835. description: 报价货币ID
  6836. type: integer
  6837. cutmode:
  6838. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6839. type: integer
  6840. decimalplace:
  6841. description: 报价小数位
  6842. type: integer
  6843. delistingdate:
  6844. description: 商品退市时间(状态:退市) -- 已作废
  6845. type: string
  6846. delistingmode:
  6847. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6848. type: integer
  6849. deliveryflag:
  6850. description: 交割标志 - 0:不可交割 1:可交割
  6851. type: integer
  6852. forceclosemode:
  6853. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6854. type: integer
  6855. forceclosevalue:
  6856. description: 定期强平参数 [收益权]
  6857. type: integer
  6858. goodscode:
  6859. description: 商品代码(内部)
  6860. type: string
  6861. goodscurrencyid:
  6862. description: 合约货币ID
  6863. type: integer
  6864. goodsgroupid:
  6865. description: 所属商品组ID
  6866. type: integer
  6867. goodsid:
  6868. description: 商品ID(自增ID SEQ_GOODS)
  6869. type: integer
  6870. goodsname:
  6871. description: 商品名称
  6872. type: string
  6873. goodsquotetype:
  6874. description: '合约报价类型: 1-直接报价 2-间接报价'
  6875. type: integer
  6876. goodsstatus:
  6877. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6878. type: integer
  6879. goodstradetype:
  6880. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6881. type: integer
  6882. goodunitid:
  6883. description: 报价单位ID
  6884. type: integer
  6885. hasquoter:
  6886. description: 是否有报价商 - 0:无报价商 1:有报价商
  6887. type: integer
  6888. hqprotecttime:
  6889. description: 行情保护时间(秒)
  6890. type: integer
  6891. innerdealmode:
  6892. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6893. type: integer
  6894. isbuylimited:
  6895. description: 是否限制建仓量 - 0:不限制 1:限制
  6896. type: integer
  6897. lasttradedate:
  6898. description: 最后交易日期(状态:待退市)
  6899. type: string
  6900. listingdate:
  6901. description: 交易开始日期
  6902. type: string
  6903. marketid:
  6904. description: 所属市场ID
  6905. type: integer
  6906. modifierid:
  6907. description: 修改人
  6908. type: integer
  6909. modifystatus:
  6910. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6911. type: integer
  6912. modifytime:
  6913. description: 修改时间
  6914. type: string
  6915. outerdealmode:
  6916. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6917. type: integer
  6918. outgoodscode:
  6919. description: 商品代码(外部)
  6920. type: string
  6921. qtydecimalplace:
  6922. description: 成交量小数位
  6923. type: integer
  6924. quotegear:
  6925. description: 行情档位(1-10)
  6926. type: integer
  6927. quoteminunit:
  6928. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6929. type: integer
  6930. quoteshowtype:
  6931. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6932. type: integer
  6933. quoteshowtypeinterval:
  6934. description: 行情报价间隔时间(秒)(成交价时为0)
  6935. type: integer
  6936. remark:
  6937. description: 备注
  6938. type: string
  6939. required:
  6940. - goodscode
  6941. - goodsid
  6942. - goodsname
  6943. - marketid
  6944. type: object
  6945. models.GoodsIDAndName:
  6946. properties:
  6947. goodscode:
  6948. description: 商品代码(内部)
  6949. type: string
  6950. goodsid:
  6951. description: 商品ID(自增ID SEQ_GOODS)
  6952. type: integer
  6953. goodsname:
  6954. description: 商品名称
  6955. type: string
  6956. marketid:
  6957. description: 所属市场ID
  6958. type: integer
  6959. required:
  6960. - goodscode
  6961. - goodsid
  6962. - goodsname
  6963. - marketid
  6964. type: object
  6965. models.Goodsgroup:
  6966. properties:
  6967. agreeunit:
  6968. description: 合约单位
  6969. type: number
  6970. canshort:
  6971. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6972. type: integer
  6973. closepricemode:
  6974. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6975. type: integer
  6976. closepriceparam:
  6977. description: 强平最新价浮动比例 - 方式为2时使用
  6978. type: number
  6979. createtime:
  6980. description: 创建时间
  6981. type: string
  6982. creatorid:
  6983. description: 创建人
  6984. type: integer
  6985. currencyid:
  6986. description: 报价货币ID
  6987. type: integer
  6988. decimalplace:
  6989. description: 报价小数位
  6990. type: integer
  6991. exercisetype:
  6992. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6993. type: integer
  6994. exexchangeid:
  6995. description: 外部交易所ID[通道交易]
  6996. type: integer
  6997. goodsgroupid:
  6998. description: 商品组ID(自增ID)
  6999. type: integer
  7000. goodsgroupname:
  7001. description: 商品组名称
  7002. type: string
  7003. goodsgroupstatus:
  7004. description: 商品组状态 - 1:正常 2:注销
  7005. type: integer
  7006. goodunitid:
  7007. description: 报价单位ID
  7008. type: integer
  7009. innerdealmode:
  7010. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7011. type: integer
  7012. isbuylimited:
  7013. description: 是否限制建仓量 - 0:不限制 1:限制
  7014. type: integer
  7015. marketid:
  7016. description: 所属市场ID
  7017. type: integer
  7018. modifierid:
  7019. description: 修改人
  7020. type: integer
  7021. modifytime:
  7022. description: 修改时间
  7023. type: string
  7024. outerdealmode:
  7025. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7026. type: integer
  7027. outergroupcode:
  7028. description: 外部商品组代码[通道交易]
  7029. type: string
  7030. premiumdecimalplace:
  7031. description: 权利金小数位[场外期权]
  7032. type: integer
  7033. premiumspreadalgorithm:
  7034. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7035. type: integer
  7036. premiumspreadvalue:
  7037. description: 权利金点差值[场外期权]
  7038. type: number
  7039. qtydecimalplace:
  7040. description: 成交量小数位
  7041. type: integer
  7042. quotegear:
  7043. description: 行情档位(1-10)
  7044. type: integer
  7045. quoteminunit:
  7046. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7047. type: integer
  7048. quoterid:
  7049. description: 报价商ID[场外期权]
  7050. type: integer
  7051. quotesourcegroupid:
  7052. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7053. type: integer
  7054. syncgoodsqty:
  7055. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7056. type: integer
  7057. required:
  7058. - goodsgroupid
  7059. - goodsgroupname
  7060. - goodsgroupstatus
  7061. - marketid
  7062. type: object
  7063. models.Goodssortbypreposition:
  7064. properties:
  7065. goodscode:
  7066. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7067. type: string
  7068. goodsgroupcode:
  7069. description: 品种代码
  7070. type: string
  7071. prepositionqty:
  7072. description: 昨持仓量
  7073. type: integer
  7074. sortindex:
  7075. description: 排序
  7076. type: integer
  7077. tradedate:
  7078. description: 交易日
  7079. type: string
  7080. updatetime:
  7081. description: 更新时间
  7082. type: string
  7083. required:
  7084. - goodscode
  7085. - tradedate
  7086. type: object
  7087. models.Hedgeinnerholderdetail:
  7088. properties:
  7089. accountid:
  7090. description: 账号ID
  7091. type: integer
  7092. buyorsell:
  7093. description: 方向 - 0:买 1:卖
  7094. type: integer
  7095. freezeqty:
  7096. description: 冻结数量 - 按单平使用
  7097. type: integer
  7098. goodsid:
  7099. description: 商品ID
  7100. type: integer
  7101. holderamount:
  7102. description: 持仓金额 [商品币种]
  7103. type: number
  7104. holderdays:
  7105. description: 剩余冻结天数
  7106. type: integer
  7107. holderprice:
  7108. description: 持仓价格
  7109. type: number
  7110. holderqty:
  7111. description: 持仓数量
  7112. type: integer
  7113. marketid:
  7114. description: 市场ID
  7115. type: integer
  7116. openprice:
  7117. description: 建仓价格
  7118. type: number
  7119. openqty:
  7120. description: 建仓数量
  7121. type: integer
  7122. parentaccountid:
  7123. description: 所属母账户
  7124. type: integer
  7125. releaseamount:
  7126. description: 释放持仓金额[商品币种]
  7127. type: number
  7128. tradeamount:
  7129. description: 成交金额[账户]
  7130. type: number
  7131. tradedate:
  7132. description: 交易日(yyyyMMdd)
  7133. type: string
  7134. tradeid:
  7135. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7136. type: string
  7137. tradetime:
  7138. description: 交易时间
  7139. type: string
  7140. required:
  7141. - buyorsell
  7142. - tradeid
  7143. type: object
  7144. models.Hedgemarketopenlog:
  7145. properties:
  7146. accountid:
  7147. description: 资金账号[外部母账户]
  7148. type: integer
  7149. fcname:
  7150. description: 期货公司名称
  7151. type: string
  7152. handlestatus:
  7153. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7154. type: integer
  7155. marketid:
  7156. description: 市场ID
  7157. type: integer
  7158. status:
  7159. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7160. type: integer
  7161. tradedate:
  7162. description: 交易日(yyyyMMdd)
  7163. type: string
  7164. updatetime:
  7165. description: 更新时间
  7166. type: string
  7167. required:
  7168. - accountid
  7169. type: object
  7170. models.HsbyBuyMyPayOrder:
  7171. properties:
  7172. agreeunit:
  7173. description: 合约单位
  7174. type: number
  7175. buyaccountid:
  7176. description: 买方账号ID[报价币种]
  7177. type: integer
  7178. buyorderid:
  7179. description: 买方委托单号
  7180. type: string
  7181. createtime:
  7182. description: 创建时间
  7183. type: string
  7184. currencysign:
  7185. description: 货币符号
  7186. type: string
  7187. decimalplace:
  7188. description: 报价小数位
  7189. type: integer
  7190. goodscode:
  7191. description: 商品代码(内部)
  7192. type: string
  7193. goodsid:
  7194. description: 商品ID
  7195. type: integer
  7196. goodsname:
  7197. description: 商品名称
  7198. type: string
  7199. marketid:
  7200. description: 市场ID
  7201. type: integer
  7202. offamount:
  7203. description: 优惠金额
  7204. type: number
  7205. originalamount:
  7206. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7207. type: number
  7208. payamount:
  7209. description: 支付金额 = TradeAmount + TradeCharge
  7210. type: number
  7211. payflag:
  7212. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7213. type: integer
  7214. paylimitedtime:
  7215. description: 支付期限
  7216. type: string
  7217. paytime:
  7218. description: 付款时间
  7219. type: string
  7220. picurls1:
  7221. description: 预售商品介绍图片[多张用逗号分隔]
  7222. type: string
  7223. picurls2:
  7224. description: 挂牌商品介绍图片[多张用逗号分隔]
  7225. type: string
  7226. sellaccountid:
  7227. description: 卖方账号ID[报价币种]
  7228. type: integer
  7229. sellorderid:
  7230. description: 卖方委托单号
  7231. type: string
  7232. tradeamount:
  7233. description: 成交金额
  7234. type: number
  7235. tradecharge:
  7236. description: 成交手续费(买方)
  7237. type: number
  7238. tradedate:
  7239. description: 交易日(yyyyMMdd)
  7240. type: string
  7241. tradeid:
  7242. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7243. type: string
  7244. trademode:
  7245. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7246. 21:竞拍-大宗式 22:受托竞价
  7247. type: integer
  7248. tradeprice:
  7249. description: 成交价格
  7250. type: number
  7251. tradeqty:
  7252. description: 成交数量
  7253. type: integer
  7254. vendorname1:
  7255. description: 预售商品供应商名称
  7256. type: string
  7257. vendorname2:
  7258. description: 挂牌商品供应商名称
  7259. type: string
  7260. required:
  7261. - goodscode
  7262. - goodsname
  7263. - tradeid
  7264. - trademode
  7265. type: object
  7266. models.HsbyBuyMyTradeDetail:
  7267. properties:
  7268. accountid:
  7269. description: 账户ID[报价币种]
  7270. type: integer
  7271. agreeunit:
  7272. description: 合约单位
  7273. type: number
  7274. amount:
  7275. description: 金额 = 价格 * 数量 * 合约单位
  7276. type: number
  7277. buyorsell:
  7278. description: 买卖 - 0:买 1:卖
  7279. type: integer
  7280. currencysign:
  7281. description: 货币符号
  7282. type: string
  7283. decimalplace:
  7284. description: 报价小数位
  7285. type: integer
  7286. goodscode:
  7287. description: 商品代码(内部)
  7288. type: string
  7289. goodsid:
  7290. description: 商品ID
  7291. type: integer
  7292. goodsname:
  7293. description: 商品名称
  7294. type: string
  7295. marketid:
  7296. description: 市场ID
  7297. type: integer
  7298. orderamount:
  7299. description: 委托金额
  7300. type: number
  7301. orderid:
  7302. description: 单号(成交单号)
  7303. type: string
  7304. picurls1:
  7305. description: 预售商品介绍图片[多张用逗号分隔]
  7306. type: string
  7307. picurls2:
  7308. description: 挂牌商品介绍图片[多张用逗号分隔]
  7309. type: string
  7310. price:
  7311. description: 价格
  7312. type: number
  7313. qty:
  7314. description: 数量
  7315. type: integer
  7316. time:
  7317. description: 时间
  7318. type: string
  7319. trademode:
  7320. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7321. 21:竞拍-大宗式 22:受托竞价
  7322. type: integer
  7323. vendorname1:
  7324. description: 预售商品供应商名称
  7325. type: string
  7326. vendorname2:
  7327. description: 挂牌商品供应商名称
  7328. type: string
  7329. required:
  7330. - accountid
  7331. - buyorsell
  7332. - goodscode
  7333. - goodsid
  7334. - goodsname
  7335. - marketid
  7336. - orderid
  7337. - qty
  7338. - time
  7339. - trademode
  7340. type: object
  7341. models.HsbyGoodsOrderDetail:
  7342. properties:
  7343. buyorsell:
  7344. description: 买卖 - 0:买 1:卖
  7345. type: integer
  7346. currencysign:
  7347. description: 货币符号
  7348. type: string
  7349. customername:
  7350. description: 客户名称(企业名称),已脱敏
  7351. type: string
  7352. enableqty:
  7353. description: 可用数量
  7354. type: integer
  7355. goodunit:
  7356. description: 报价单位
  7357. type: string
  7358. orderid:
  7359. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7360. type: string
  7361. orderprice:
  7362. description: 委托价格
  7363. type: number
  7364. ordertime:
  7365. description: 委托时间
  7366. type: string
  7367. required:
  7368. - buyorsell
  7369. - orderid
  7370. - ordertime
  7371. type: object
  7372. models.HsbyListingGoodsDetail:
  7373. properties:
  7374. agreeunit:
  7375. description: 合约单位
  7376. type: number
  7377. buymaxqty:
  7378. description: 购买上限 [71] - 0为不限
  7379. type: integer
  7380. currency:
  7381. description: 货币
  7382. type: string
  7383. currencysign:
  7384. description: 货币符号
  7385. type: string
  7386. decimalplace:
  7387. description: 报价小数位
  7388. type: integer
  7389. desccityid:
  7390. description: 目的地(市)ID
  7391. type: integer
  7392. descprovinceid:
  7393. description: 目的地(省)ID
  7394. type: integer
  7395. goodscode:
  7396. description: 商品代码(内部)
  7397. type: string
  7398. goodsdesc:
  7399. description: 商品详情
  7400. type: string
  7401. goodsid:
  7402. description: 商品ID(自增ID SEQ_GOODS)
  7403. type: integer
  7404. goodsname:
  7405. description: 商品名称
  7406. type: string
  7407. goodsprice:
  7408. description: 商品价格
  7409. type: number
  7410. hotindex:
  7411. description: 景点热度
  7412. type: integer
  7413. last:
  7414. description: 现价
  7415. type: number
  7416. limitdown:
  7417. description: 跌停价
  7418. type: number
  7419. limitup:
  7420. description: 涨停价
  7421. type: number
  7422. lotsize:
  7423. description: 手数最小变动单位
  7424. type: integer
  7425. marketid:
  7426. description: 所属市场ID
  7427. type: integer
  7428. picurls:
  7429. description: 介绍图片[多张用逗号分隔]
  7430. type: string
  7431. quoteminunit:
  7432. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7433. type: integer
  7434. stepvalue:
  7435. description: 价格最小变动单位
  7436. type: number
  7437. trademode:
  7438. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7439. 21:竞拍-大宗式 22:受托竞价
  7440. type: integer
  7441. vendorattr:
  7442. description: 供应商附件(多张,逗号分隔)
  7443. type: string
  7444. vendorname:
  7445. description: 供应商名称
  7446. type: string
  7447. vendorphone:
  7448. description: 供应商客服电话
  7449. type: string
  7450. videourls:
  7451. description: 介绍视频[多张用逗号分隔]
  7452. type: string
  7453. required:
  7454. - goodscode
  7455. - goodsid
  7456. - goodsname
  7457. - marketid
  7458. - trademode
  7459. type: object
  7460. models.HsbyMarketGoods:
  7461. properties:
  7462. accountid:
  7463. description: 账户ID[报价币种]
  7464. type: integer
  7465. agreeunit:
  7466. description: 合约单位
  7467. type: number
  7468. buyorsell:
  7469. description: 买卖 - 0:买 1:卖
  7470. type: integer
  7471. categoryid:
  7472. description: 类别ID(WRCATEGORY)
  7473. type: integer
  7474. currency:
  7475. description: 货币
  7476. type: string
  7477. currencysign:
  7478. description: 货币符号
  7479. type: string
  7480. customername:
  7481. description: 卖家名称
  7482. type: string
  7483. decimalplace:
  7484. description: 报价小数位
  7485. type: integer
  7486. goodscode:
  7487. description: 商品代码(内部)
  7488. type: string
  7489. goodsid:
  7490. description: 商品ID
  7491. type: integer
  7492. goodsname:
  7493. description: 商品名称
  7494. type: string
  7495. goodsprice:
  7496. description: 商品价格
  7497. type: number
  7498. hascoupon:
  7499. description: 是否可用优惠卷
  7500. type: boolean
  7501. hotindex:
  7502. description: 景点热度
  7503. type: integer
  7504. marketid:
  7505. description: 市场ID
  7506. type: integer
  7507. orderid:
  7508. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7509. type: string
  7510. orderprice:
  7511. description: 委托价格
  7512. type: number
  7513. orderstatus:
  7514. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7515. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7516. 16:成交失败违约(荷兰式竞拍专用)
  7517. type: integer
  7518. picurls:
  7519. description: 介绍图片[多张用逗号分隔]
  7520. type: string
  7521. quoteminunit:
  7522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7523. type: integer
  7524. sellUserID:
  7525. description: 卖方UserID
  7526. type: integer
  7527. trademode:
  7528. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7529. 21:竞拍-大宗式 22:受托竞价
  7530. type: integer
  7531. videourls:
  7532. description: 介绍视频[多张用逗号分隔]
  7533. type: string
  7534. required:
  7535. - accountid
  7536. - buyorsell
  7537. - goodscode
  7538. - goodsid
  7539. - goodsname
  7540. - marketid
  7541. - orderid
  7542. - trademode
  7543. type: object
  7544. models.HsbyMarketGoodsDetail:
  7545. properties:
  7546. accountid:
  7547. description: 账户ID[报价币种]
  7548. type: integer
  7549. agreeunit:
  7550. description: 合约单位
  7551. type: number
  7552. buymaxqty:
  7553. description: 购买上限 [71] - 0为不限
  7554. type: integer
  7555. buyorsell:
  7556. description: 买卖 - 0:买 1:卖
  7557. type: integer
  7558. cancelqty:
  7559. description: 撤单数量
  7560. type: integer
  7561. categoryid:
  7562. description: 类别ID(WRCATEGORY)
  7563. type: integer
  7564. currency:
  7565. description: 货币
  7566. type: string
  7567. currencysign:
  7568. description: 货币符号
  7569. type: string
  7570. customername:
  7571. description: 卖家名称
  7572. type: string
  7573. decimalplace:
  7574. description: 报价小数位
  7575. type: integer
  7576. goodscode:
  7577. description: 商品代码(内部)
  7578. type: string
  7579. goodsdesc:
  7580. description: 商品详情
  7581. type: string
  7582. goodsid:
  7583. description: 商品ID
  7584. type: integer
  7585. goodsname:
  7586. description: 商品名称
  7587. type: string
  7588. goodsprice:
  7589. description: 商品价格
  7590. type: number
  7591. hotindex:
  7592. description: 景点热度
  7593. type: integer
  7594. lotsize:
  7595. description: 手数最小变动单位
  7596. type: integer
  7597. marketid:
  7598. description: 市场ID
  7599. type: integer
  7600. orderid:
  7601. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7602. type: string
  7603. orderprice:
  7604. description: 委托价格
  7605. type: number
  7606. orderqty:
  7607. description: 委托数量
  7608. type: integer
  7609. orderstatus:
  7610. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7611. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7612. 16:成交失败违约(荷兰式竞拍专用)
  7613. type: integer
  7614. picurls:
  7615. description: 介绍图片[多张用逗号分隔]
  7616. type: string
  7617. quoteminunit:
  7618. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7619. type: integer
  7620. sellUserID:
  7621. description: 卖方UserID
  7622. type: integer
  7623. trademode:
  7624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7625. 21:竞拍-大宗式 22:受托竞价
  7626. type: integer
  7627. tradeqty:
  7628. description: 成交数量
  7629. type: integer
  7630. vendorattr:
  7631. description: 供应商附件(多张,逗号分隔)
  7632. type: string
  7633. vendorname:
  7634. description: 供应商名称
  7635. type: string
  7636. vendorphone:
  7637. description: 供应商客服电话
  7638. type: string
  7639. videourls:
  7640. description: 介绍视频[多张用逗号分隔]
  7641. type: string
  7642. required:
  7643. - accountid
  7644. - buyorsell
  7645. - goodscode
  7646. - goodsid
  7647. - goodsname
  7648. - marketid
  7649. - orderid
  7650. - orderqty
  7651. - trademode
  7652. type: object
  7653. models.HsbyMarketInfo:
  7654. properties:
  7655. marketid:
  7656. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7657. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7658. type: integer
  7659. marketname:
  7660. description: 市场名称
  7661. type: string
  7662. marketstatus:
  7663. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7664. type: integer
  7665. trademode:
  7666. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7667. 21:竞拍-大宗式 22:受托竞价
  7668. type: integer
  7669. required:
  7670. - marketid
  7671. - marketstatus
  7672. - trademode
  7673. type: object
  7674. models.HsbyMyGoods:
  7675. properties:
  7676. accountid:
  7677. description: 账号Id
  7678. type: integer
  7679. agreeunit:
  7680. description: 合约单位
  7681. type: number
  7682. buyaverageprice:
  7683. description: 持仓均价
  7684. type: number
  7685. buycurholderamount:
  7686. description: 买当前持仓总金额[商品币种]
  7687. type: number
  7688. buycurpositionqty:
  7689. description: 买当前持仓总数量
  7690. type: integer
  7691. buymaxqty:
  7692. description: 购买上限 [71] - 0为不限
  7693. type: integer
  7694. currencysign:
  7695. description: 货币符号
  7696. type: string
  7697. decimalplace:
  7698. description: 报价小数位
  7699. type: integer
  7700. enableqty:
  7701. description: 可用数量
  7702. type: integer
  7703. goodscode:
  7704. description: 商品代码(内部)
  7705. type: string
  7706. goodsid:
  7707. description: 商品Id
  7708. type: integer
  7709. goodsname:
  7710. description: 商品名称
  7711. type: string
  7712. goodsprice:
  7713. description: 商品价格
  7714. type: number
  7715. goodsstatus:
  7716. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7717. type: integer
  7718. last:
  7719. description: 现价(仅使用于挂牌点选)
  7720. type: number
  7721. limitdown:
  7722. description: 跌停价(仅使用于挂牌点选)
  7723. type: number
  7724. limitup:
  7725. description: 涨停价(仅使用于挂牌点选)
  7726. type: number
  7727. lotsize:
  7728. description: 手数最小变动单位
  7729. type: integer
  7730. marketid:
  7731. description: 所属市场ID
  7732. type: integer
  7733. picurls:
  7734. description: 介绍图片[多张用逗号分隔]
  7735. type: string
  7736. quoteminunit:
  7737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7738. type: integer
  7739. stepvalue:
  7740. description: 价格最小变动单位
  7741. type: number
  7742. trademode:
  7743. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7744. 21:竞拍-大宗式 22:受托竞价
  7745. type: integer
  7746. required:
  7747. - accountid
  7748. - goodscode
  7749. - goodsid
  7750. - goodsname
  7751. - marketid
  7752. - trademode
  7753. type: object
  7754. models.HsbyMyPackage:
  7755. properties:
  7756. accountid:
  7757. description: 账户ID
  7758. type: integer
  7759. address:
  7760. description: 提货人详细地址
  7761. type: string
  7762. agreeunit:
  7763. description: 合约单位
  7764. type: number
  7765. amount:
  7766. description: 提货金额
  7767. type: number
  7768. auditer:
  7769. description: 审核人
  7770. type: integer
  7771. audittime:
  7772. description: 审核时间
  7773. type: string
  7774. averageprice:
  7775. description: 均价
  7776. type: number
  7777. cardnum:
  7778. description: 提货人证件号码
  7779. type: string
  7780. cardtypeid:
  7781. description: 提货人证件类型
  7782. type: integer
  7783. checkremark:
  7784. description: 审核备注
  7785. type: string
  7786. currencysign:
  7787. description: 货币符号
  7788. type: string
  7789. decimalplace:
  7790. description: 报价小数位
  7791. type: integer
  7792. goodscode:
  7793. description: 商品代码(内部)
  7794. type: string
  7795. goodsid:
  7796. description: 商品ID
  7797. type: integer
  7798. goodsname:
  7799. description: 商品名称
  7800. type: string
  7801. handlestatus:
  7802. description: 处理状态
  7803. type: integer
  7804. marketid:
  7805. description: 市场ID
  7806. type: integer
  7807. phonenum:
  7808. description: 提货人联系方式
  7809. type: string
  7810. picurls:
  7811. description: 介绍图片[多张用逗号分隔]
  7812. type: string
  7813. qty:
  7814. description: 提货数量
  7815. type: number
  7816. recivername:
  7817. description: 提货人姓名
  7818. type: string
  7819. reqtime:
  7820. description: 更新时间
  7821. type: string
  7822. takemode:
  7823. description: 提货方式 - 2:自提 3:配送
  7824. type: integer
  7825. takeorderid:
  7826. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7827. type: string
  7828. takeorderstatus:
  7829. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7830. type: integer
  7831. takeremark:
  7832. description: 提货备注
  7833. type: string
  7834. tradedate:
  7835. description: 交易日(yyyyMMdd)
  7836. type: string
  7837. trademode:
  7838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7839. 21:竞拍-大宗式 22:受托竞价
  7840. type: integer
  7841. userid:
  7842. description: 用户ID
  7843. type: integer
  7844. vendorname:
  7845. description: 供应商名称
  7846. type: string
  7847. required:
  7848. - goodscode
  7849. - goodsname
  7850. - takeorderid
  7851. - trademode
  7852. type: object
  7853. models.HsbyPreGoods:
  7854. properties:
  7855. agreeunit:
  7856. description: 合约单位
  7857. type: number
  7858. currency:
  7859. description: 货币
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. desccityid:
  7868. description: 目的地(市)
  7869. type: integer
  7870. descprovinceid:
  7871. description: 目的地(省)
  7872. type: integer
  7873. enableqty:
  7874. description: 剩余数量
  7875. type: integer
  7876. goodscode:
  7877. description: 商品代码(内部)
  7878. type: string
  7879. goodsid:
  7880. description: 商品ID(自增ID SEQ_GOODS)
  7881. type: integer
  7882. goodsname:
  7883. description: 商品名称
  7884. type: string
  7885. goodsstatus:
  7886. description: 商品状态- 2:未上市 3:上市
  7887. type: integer
  7888. lasttradedate:
  7889. description: 最后交易日期(状态:待退市)
  7890. type: string
  7891. listingdate:
  7892. description: 交易开始日期
  7893. type: string
  7894. marketid:
  7895. description: 所属市场ID
  7896. type: integer
  7897. picurls:
  7898. description: 介绍图片[多张用逗号分隔]
  7899. type: string
  7900. presaledqty:
  7901. description: 已预售量(预售结束时更新)
  7902. type: integer
  7903. presaleqty:
  7904. description: 预售数量
  7905. type: integer
  7906. quoteminunit:
  7907. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7908. type: integer
  7909. refprice:
  7910. description: 参考价格[一口价]
  7911. type: number
  7912. relatedgoodsid:
  7913. description: 关联交易合约ID
  7914. type: integer
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. videourls:
  7920. description: 介绍视频[多张用逗号分隔]
  7921. type: string
  7922. required:
  7923. - goodscode
  7924. - goodsid
  7925. - goodsname
  7926. - marketid
  7927. - trademode
  7928. type: object
  7929. models.HsbyPreGoodsDetail:
  7930. properties:
  7931. agreeunit:
  7932. description: 合约单位
  7933. type: number
  7934. buymaxqty:
  7935. description: 购买上限 [71] - 0为不限
  7936. type: integer
  7937. currency:
  7938. description: 货币
  7939. type: string
  7940. currencysign:
  7941. description: 货币符号
  7942. type: string
  7943. customername:
  7944. description: 发行单位
  7945. type: string
  7946. decimalplace:
  7947. description: 报价小数位
  7948. type: integer
  7949. desccityid:
  7950. description: 目的地(市)ID
  7951. type: integer
  7952. descprovinceid:
  7953. description: 目的地(省)ID
  7954. type: integer
  7955. enableqty:
  7956. description: 剩余数量
  7957. type: integer
  7958. goodscode:
  7959. description: 商品代码(内部)
  7960. type: string
  7961. goodsdesc:
  7962. description: 商品详情
  7963. type: string
  7964. goodsid:
  7965. description: 商品ID(自增ID SEQ_GOODS)
  7966. type: integer
  7967. goodsname:
  7968. description: 商品名称
  7969. type: string
  7970. goodsstatus:
  7971. description: 商品状态- 2:未上市 3:上市
  7972. type: integer
  7973. goodunit:
  7974. description: 报价单位
  7975. type: string
  7976. lasttradedate:
  7977. description: 最后交易日期(状态:待退市)
  7978. type: string
  7979. listingdate:
  7980. description: 交易开始日期
  7981. type: string
  7982. lotsize:
  7983. description: 手数最小变动单位
  7984. type: integer
  7985. marketid:
  7986. description: 所属市场ID
  7987. type: integer
  7988. picurls:
  7989. description: 介绍图片[多张用逗号分隔]
  7990. type: string
  7991. presaledqty:
  7992. description: 已预售量(预售结束时更新)
  7993. type: integer
  7994. presaleqty:
  7995. description: 预售数量
  7996. type: integer
  7997. quoteminunit:
  7998. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7999. type: integer
  8000. refprice:
  8001. description: 参考价格[一口价]
  8002. type: number
  8003. relatedgoodsid:
  8004. description: 关联交易合约ID
  8005. type: integer
  8006. stepvalue:
  8007. description: 价格最小变动单位
  8008. type: number
  8009. trademode:
  8010. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8011. 21:竞拍-大宗式 22:受托竞价
  8012. type: integer
  8013. vendorattr:
  8014. description: 供应商附件(多张,逗号分隔)
  8015. type: string
  8016. vendorname:
  8017. description: 供应商名称
  8018. type: string
  8019. vendorphone:
  8020. description: 供应商客服电话
  8021. type: string
  8022. videourls:
  8023. description: 介绍视频[多张用逗号分隔]
  8024. type: string
  8025. required:
  8026. - goodscode
  8027. - goodsid
  8028. - goodsname
  8029. - marketid
  8030. - trademode
  8031. type: object
  8032. models.HsbySellCollectionOrder:
  8033. properties:
  8034. agreeunit:
  8035. description: 合约单位
  8036. type: number
  8037. buyaccountid:
  8038. description: 买方账号ID[报价币种]
  8039. type: integer
  8040. buyorderid:
  8041. description: 买方委托单号
  8042. type: string
  8043. createtime:
  8044. description: 创建时间
  8045. type: string
  8046. currencysign:
  8047. description: 货币符号
  8048. type: string
  8049. decimalplace:
  8050. description: 报价小数位
  8051. type: integer
  8052. goodscode:
  8053. description: 商品代码(内部)
  8054. type: string
  8055. goodsid:
  8056. description: 商品ID
  8057. type: integer
  8058. goodsname:
  8059. description: 商品名称
  8060. type: string
  8061. marketid:
  8062. description: 市场ID
  8063. type: integer
  8064. offamount:
  8065. description: 优惠金额
  8066. type: number
  8067. payamount:
  8068. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8069. type: number
  8070. payflag:
  8071. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8072. type: integer
  8073. paylimitedtime:
  8074. description: 支付期限
  8075. type: string
  8076. paytime:
  8077. description: 付款时间
  8078. type: string
  8079. picurls:
  8080. description: 商品介绍图片[多张用逗号分隔]
  8081. type: string
  8082. sellaccountid:
  8083. description: 卖方账号ID[报价币种]
  8084. type: integer
  8085. sellorderid:
  8086. description: 卖方委托单号
  8087. type: string
  8088. tradeamount:
  8089. description: 成交金额
  8090. type: number
  8091. tradecharge:
  8092. description: 成交手续费(买方)
  8093. type: number
  8094. tradedate:
  8095. description: 交易日(yyyyMMdd)
  8096. type: string
  8097. tradeid:
  8098. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8099. type: string
  8100. trademode:
  8101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8102. 21:竞拍-大宗式 22:受托竞价
  8103. type: integer
  8104. tradeprice:
  8105. description: 成交价格
  8106. type: number
  8107. tradeqty:
  8108. description: 成交数量
  8109. type: integer
  8110. required:
  8111. - goodscode
  8112. - goodsname
  8113. - tradeid
  8114. - trademode
  8115. type: object
  8116. models.HsbySellMyDetail:
  8117. properties:
  8118. accountid:
  8119. description: 账户ID[报价币种]
  8120. type: integer
  8121. agreeunit:
  8122. description: 合约单位
  8123. type: number
  8124. buyorsell:
  8125. description: 买卖 - 0:买 1:卖
  8126. type: integer
  8127. currencysign:
  8128. description: 货币符号
  8129. type: string
  8130. decimalplace:
  8131. description: 报价小数位
  8132. type: integer
  8133. goodscode:
  8134. description: 商品代码(内部)
  8135. type: string
  8136. goodsid:
  8137. description: 商品ID
  8138. type: integer
  8139. goodsname:
  8140. description: 商品名称
  8141. type: string
  8142. marketid:
  8143. description: 市场ID
  8144. type: integer
  8145. orderid:
  8146. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8147. type: string
  8148. ordertype:
  8149. description: 单据类型:0 - 发布中, 1 - 已完成
  8150. type: integer
  8151. picurls:
  8152. description: 介绍图片[多张用逗号分隔]
  8153. type: string
  8154. price:
  8155. description: 价格
  8156. type: number
  8157. qty:
  8158. description: 数量
  8159. type: integer
  8160. time:
  8161. description: 时间
  8162. type: string
  8163. trademode:
  8164. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8165. 21:竞拍-大宗式 22:受托竞价
  8166. type: integer
  8167. vendorname:
  8168. description: 供应商名称
  8169. type: string
  8170. required:
  8171. - accountid
  8172. - buyorsell
  8173. - goodscode
  8174. - goodsid
  8175. - goodsname
  8176. - marketid
  8177. - orderid
  8178. - time
  8179. - trademode
  8180. type: object
  8181. models.HsbyTopGoods:
  8182. properties:
  8183. agreeunit:
  8184. description: 合约单位
  8185. type: number
  8186. currency:
  8187. description: 货币
  8188. type: string
  8189. currencysign:
  8190. description: 货币符号
  8191. type: string
  8192. decimalplace:
  8193. description: 报价小数位
  8194. type: integer
  8195. desccityid:
  8196. description: 目的地(市)
  8197. type: integer
  8198. descprovinceid:
  8199. description: 目的地(省)
  8200. type: integer
  8201. goodscode:
  8202. description: 商品代码(内部)
  8203. type: string
  8204. goodsid:
  8205. description: 商品ID(自增ID SEQ_GOODS)
  8206. type: integer
  8207. goodsname:
  8208. description: 商品名称
  8209. type: string
  8210. hotindex:
  8211. description: 景点热度
  8212. type: integer
  8213. last:
  8214. description: 现价
  8215. type: number
  8216. marketid:
  8217. description: 所属市场ID
  8218. type: integer
  8219. picurls:
  8220. description: 介绍图片[多张用逗号分隔]
  8221. type: string
  8222. quoteminunit:
  8223. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8224. type: integer
  8225. trademode:
  8226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8227. 21:竞拍-大宗式 22:受托竞价
  8228. type: integer
  8229. videourls:
  8230. description: 介绍视频[多张用逗号分隔]
  8231. type: string
  8232. required:
  8233. - goodscode
  8234. - goodsid
  8235. - goodsname
  8236. - marketid
  8237. - trademode
  8238. type: object
  8239. models.HybsMyBuyOrderDetail:
  8240. properties:
  8241. accountid:
  8242. description: 账户ID[报价币种]
  8243. type: integer
  8244. agreeunit:
  8245. description: 合约单位
  8246. type: number
  8247. buyorsell:
  8248. description: 买卖 - 0:买 1:卖
  8249. type: integer
  8250. cancelqty:
  8251. description: 撤单数量
  8252. type: integer
  8253. currencysign:
  8254. description: 货币符号
  8255. type: string
  8256. decimalplace:
  8257. description: 报价小数位
  8258. type: integer
  8259. goodscode:
  8260. description: 商品代码(内部)
  8261. type: string
  8262. goodsid:
  8263. description: 商品ID
  8264. type: integer
  8265. goodsname:
  8266. description: 商品名称
  8267. type: string
  8268. listingselecttype:
  8269. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8270. type: integer
  8271. marketid:
  8272. description: 市场ID
  8273. type: integer
  8274. mybuystatus:
  8275. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8276. type: integer
  8277. orderamount:
  8278. description: 委托金额
  8279. type: number
  8280. orderid:
  8281. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8282. type: string
  8283. orderprice:
  8284. description: 委托价格
  8285. type: number
  8286. orderqty:
  8287. description: 委托数量
  8288. type: integer
  8289. orderstatus:
  8290. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8291. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8292. 16:成交失败违约(荷兰式竞拍专用)
  8293. type: integer
  8294. ordertime:
  8295. description: 委托时间
  8296. type: string
  8297. picurls1:
  8298. description: 预售商品介绍图片[多张用逗号分隔]
  8299. type: string
  8300. picurls2:
  8301. description: 挂牌商品介绍图片[多张用逗号分隔]
  8302. type: string
  8303. trademode:
  8304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8305. 21:竞拍-大宗式 22:受托竞价
  8306. type: integer
  8307. tradeqty:
  8308. description: 成交数量
  8309. type: integer
  8310. vendorname1:
  8311. description: 预售商品供应商名称
  8312. type: string
  8313. vendorname2:
  8314. description: 挂牌商品供应商名称
  8315. type: string
  8316. required:
  8317. - accountid
  8318. - buyorsell
  8319. - goodscode
  8320. - goodsid
  8321. - goodsname
  8322. - marketid
  8323. - orderid
  8324. - orderqty
  8325. - ordertime
  8326. - trademode
  8327. type: object
  8328. models.Loginaccount:
  8329. properties:
  8330. canoutin:
  8331. description: 是否可出入金 - 0:不可 1:可
  8332. type: integer
  8333. clientroleid:
  8334. description: 终端角色ID
  8335. type: integer
  8336. haslogined:
  8337. description: 是否已登录 - 0:未登录 1:已登录
  8338. type: integer
  8339. hasupdatedpwd:
  8340. description: 是否已更改密码 - 0:未修改 1:已修改
  8341. type: integer
  8342. lastloginip:
  8343. description: 最新登录地址
  8344. type: string
  8345. lastloginmode:
  8346. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8347. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8348. type: integer
  8349. lastloginremark:
  8350. description: 最新登录描述
  8351. type: string
  8352. lastlogintime:
  8353. description: 最新登录时间
  8354. type: string
  8355. logincode:
  8356. description: 登录代码
  8357. type: string
  8358. loginfailnum:
  8359. description: 连续登录失败次数(登录成功时清零)
  8360. type: integer
  8361. loginid:
  8362. description: 登陆账号
  8363. type: integer
  8364. loginport:
  8365. description: 最新登录端口
  8366. type: integer
  8367. loginstatus:
  8368. description: 登录账号状态 1:正常 2:冻结 3:无效
  8369. type: integer
  8370. loginusertype:
  8371. description: 登录账号类型 - 1:投资者 2:机构交易员
  8372. type: integer
  8373. modifierid:
  8374. description: 修改人
  8375. type: integer
  8376. modifytime:
  8377. description: 修改时间
  8378. type: string
  8379. pwdwrongcount:
  8380. description: 密码错误次数
  8381. type: integer
  8382. taaccountrighttype:
  8383. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8384. type: integer
  8385. unfreezetime:
  8386. description: 账户解冻时间
  8387. type: string
  8388. userid:
  8389. description: 用户ID
  8390. type: integer
  8391. required:
  8392. - loginid
  8393. type: object
  8394. models.MainAccountInfo:
  8395. properties:
  8396. accountid:
  8397. description: 账号id
  8398. type: integer
  8399. accountname:
  8400. description: 账号名称(taaccount表中的名称)
  8401. type: string
  8402. appid:
  8403. description: AppID
  8404. type: string
  8405. authcode:
  8406. description: 授权码
  8407. type: string
  8408. brokerid:
  8409. description: 经纪商id
  8410. type: string
  8411. fcid:
  8412. description: 期货公司id
  8413. type: integer
  8414. fcname:
  8415. description: 期货公司代码
  8416. type: string
  8417. hedgeaccountcode:
  8418. description: 外部账号代码(主账号登录代码)
  8419. type: string
  8420. hedgeaccountpwd:
  8421. description: 密码
  8422. type: string
  8423. ismain:
  8424. description: 是否主账号
  8425. type: integer
  8426. relateduserid:
  8427. description: 关联用户id
  8428. type: integer
  8429. userid:
  8430. description: 关联用户id
  8431. type: integer
  8432. type: object
  8433. models.Market:
  8434. properties:
  8435. auctionwrtype:
  8436. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8437. type: integer
  8438. canacceptquote:
  8439. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8440. type: integer
  8441. cangoodsexercise:
  8442. description: '[期权]是否可现货行权- 0:否 1:是'
  8443. type: integer
  8444. cangoodsexercisetype:
  8445. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8446. type: integer
  8447. canmanualquotestrike:
  8448. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8449. type: integer
  8450. canmutistage:
  8451. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8452. type: integer
  8453. canpreexercise:
  8454. description: '[期权]是否可预申报- 0:否 1:是'
  8455. type: integer
  8456. clearinterval:
  8457. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8458. type: integer
  8459. contracttmp:
  8460. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8461. type: string
  8462. exchareaid:
  8463. description: 所属交易所,可以没有
  8464. type: integer
  8465. goodstype:
  8466. description: 商品类型 - 1:交易商品 2:仓单商品
  8467. type: integer
  8468. hasrebate:
  8469. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8470. type: integer
  8471. hastradecredit:
  8472. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8473. type: integer
  8474. haswr:
  8475. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8476. type: integer
  8477. isdeductmargin:
  8478. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8479. type: integer
  8480. isrecordsource:
  8481. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8482. type: integer
  8483. isreleasemargin:
  8484. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8485. type: integer
  8486. marginformula:
  8487. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8488. type: integer
  8489. marginformula2:
  8490. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8491. type: integer
  8492. marketid:
  8493. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8494. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8495. type: integer
  8496. marketname:
  8497. description: 市场名称
  8498. type: string
  8499. marketserviceid:
  8500. description: 市场服务ID
  8501. type: integer
  8502. marketstatus:
  8503. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8504. type: integer
  8505. markettype:
  8506. description: 市场类型- 1:非交易服务 2:交易服务
  8507. type: integer
  8508. matchermode:
  8509. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8510. type: integer
  8511. openmethod:
  8512. description: 开盘模式 - 0 自动 1手动
  8513. type: integer
  8514. otcuserid:
  8515. description: 场外期权做市商[场外期权]
  8516. type: integer
  8517. outersynctime:
  8518. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8519. type: string
  8520. pendingflag:
  8521. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8522. type: integer
  8523. pendingtime:
  8524. description: 待开市时间[通道交易-对冲](HH:mm)
  8525. type: string
  8526. performancetempid:
  8527. description: 履约计划模板ID - 作废
  8528. type: integer
  8529. premiumquotemode:
  8530. description: 权利金报价方式 - 1:自动 2:手动
  8531. type: integer
  8532. rebateratio:
  8533. description: 返利比率[竞价式]
  8534. type: number
  8535. reckonorder:
  8536. description: 结算顺序
  8537. type: integer
  8538. reckonpricealgorithm:
  8539. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8540. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8541. type: integer
  8542. reckonpriceparam:
  8543. description: 结算价参数
  8544. type: integer
  8545. reckontime:
  8546. description: 结算时间[通道交易-对冲](HH:mm)
  8547. type: string
  8548. roleprioritytype:
  8549. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8550. type: integer
  8551. selllistingauditflag:
  8552. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8553. type: integer
  8554. trademarkettype:
  8555. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8556. type: integer
  8557. trademode:
  8558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8559. 21:竞拍-大宗式 22:受托竞价
  8560. type: integer
  8561. tradeproperty:
  8562. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8563. 8:场外期权
  8564. type: integer
  8565. tradetype:
  8566. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8567. type: integer
  8568. required:
  8569. - marketid
  8570. - marketstatus
  8571. - openmethod
  8572. - reckonpricealgorithm
  8573. - trademode
  8574. - tradeproperty
  8575. type: object
  8576. models.Marketrun:
  8577. properties:
  8578. afternexttradedate:
  8579. description: 下下交易日
  8580. type: string
  8581. clearquoteflag:
  8582. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8583. type: integer
  8584. lastreckondate:
  8585. description: 最新交易日(结算成功)
  8586. type: string
  8587. machinedate:
  8588. description: 机器时间
  8589. type: string
  8590. manualflag:
  8591. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8592. type: integer
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. nexttradedate:
  8597. description: 下一交易日
  8598. type: string
  8599. pretradedate:
  8600. description: 上一交易日
  8601. type: string
  8602. reckonflag:
  8603. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8604. type: integer
  8605. runstatus:
  8606. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8607. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8608. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8609. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8610. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8611. 62.今日免清算
  8612. type: integer
  8613. sectionid:
  8614. description: 时间段号[多时段时用]
  8615. type: integer
  8616. tradedate:
  8617. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8618. type: string
  8619. tradedate2:
  8620. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8621. type: string
  8622. updatetime:
  8623. description: 更新时间
  8624. type: string
  8625. required:
  8626. - marketid
  8627. - nexttradedate
  8628. - reckonflag
  8629. - runstatus
  8630. - tradedate
  8631. - tradedate2
  8632. type: object
  8633. models.Messageboard:
  8634. properties:
  8635. contactnum:
  8636. description: 联系电话
  8637. type: string
  8638. createtime:
  8639. description: 创建时间
  8640. type: string
  8641. message:
  8642. description: 留言信息
  8643. type: string
  8644. messageboardid:
  8645. description: 留言簿ID(SEQ_MessageBoard)
  8646. type: integer
  8647. userid:
  8648. description: 用户ID
  8649. type: integer
  8650. required:
  8651. - messageboardid
  8652. type: object
  8653. models.MyCoupon:
  8654. properties:
  8655. accountid:
  8656. description: 资金账户ID
  8657. type: integer
  8658. areauserid:
  8659. description: 所属机构
  8660. type: integer
  8661. conditionvalue:
  8662. description: 条件阈值(可为0)
  8663. type: number
  8664. couponcategroy:
  8665. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8666. type: integer
  8667. couponname:
  8668. description: 优惠券名称
  8669. type: string
  8670. coupontypeid:
  8671. description: 优惠券类型ID
  8672. type: string
  8673. couponvalue:
  8674. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8675. type: number
  8676. curfreezeqty:
  8677. description: 期末冻结数量
  8678. type: integer
  8679. curqty:
  8680. description: 期末数量
  8681. type: integer
  8682. isgeneral:
  8683. description: 是否通用券 - 0:否 1:是
  8684. type: integer
  8685. isunusable:
  8686. description: 是否不可用
  8687. type: boolean
  8688. limitedflag:
  8689. description: 是否指定商品 - 0:不限 1:限制
  8690. type: integer
  8691. limitedgoodsids:
  8692. description: 指定商品IDs[逗号分隔,前后加逗号]
  8693. type: string
  8694. orifreezeqty:
  8695. description: 期初冻结数量
  8696. type: integer
  8697. oriqty:
  8698. description: 期初数量
  8699. type: integer
  8700. reasontype:
  8701. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8702. type: integer
  8703. todaydecrease:
  8704. description: 今日减少
  8705. type: integer
  8706. todayincrease:
  8707. description: 今日增加
  8708. type: integer
  8709. userid:
  8710. description: 用户ID
  8711. type: integer
  8712. userscope:
  8713. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8714. type: string
  8715. required:
  8716. - accountid
  8717. - coupontypeid
  8718. type: object
  8719. models.MyCouponHold:
  8720. properties:
  8721. accountid:
  8722. description: 资金账户ID
  8723. type: integer
  8724. conditionvalue:
  8725. description: 条件阈值(可为0)
  8726. type: number
  8727. couponcategroy:
  8728. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8729. type: integer
  8730. couponholdid:
  8731. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8732. type: string
  8733. couponname:
  8734. description: 优惠券名称
  8735. type: string
  8736. coupontypeid:
  8737. description: 优惠券类型ID - SEQ_COUPONTYPE
  8738. type: string
  8739. couponvalue:
  8740. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8741. type: number
  8742. createtime:
  8743. description: 创建时间
  8744. type: string
  8745. enddate:
  8746. description: 结束日期
  8747. type: string
  8748. giveapplyid:
  8749. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8750. type: integer
  8751. holdstatus:
  8752. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8753. type: integer
  8754. isgeneral:
  8755. description: 是否通用券 - 0:否 1:是
  8756. type: integer
  8757. limitedflag:
  8758. description: 是否指定商品 - 0:不限 1:限制
  8759. type: integer
  8760. limitedgoodsids:
  8761. description: 指定商品IDs[逗号分隔]
  8762. type: string
  8763. qty:
  8764. description: 数量(按1平铺)
  8765. type: integer
  8766. startdate:
  8767. description: 开始日期
  8768. type: string
  8769. userid:
  8770. description: 用户ID
  8771. type: integer
  8772. userscope:
  8773. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8774. type: string
  8775. required:
  8776. - couponholdid
  8777. type: object
  8778. models.MyUsedCoupon:
  8779. properties:
  8780. accountid:
  8781. description: 资金账户ID(买方)
  8782. type: integer
  8783. conditionvalue:
  8784. description: 条件阈值(可为0)
  8785. type: number
  8786. couponcategroy:
  8787. description: 种类 - 1:现金券 2:折扣券
  8788. type: integer
  8789. couponname:
  8790. description: 优惠券名称
  8791. type: string
  8792. coupontypeid:
  8793. description: 优惠券类型ID(买方)
  8794. type: string
  8795. couponvalue:
  8796. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8797. type: number
  8798. createtime:
  8799. description: 创建时间
  8800. type: string
  8801. goodsid:
  8802. description: 商品ID
  8803. type: integer
  8804. handlestatus:
  8805. description: 处理状态
  8806. type: integer
  8807. marketid:
  8808. description: 市场ID
  8809. type: integer
  8810. offamount:
  8811. description: 优惠金额
  8812. type: number
  8813. orderid:
  8814. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8815. type: string
  8816. sellaccountid:
  8817. description: 资金账户ID(卖方)
  8818. type: integer
  8819. tradeamount:
  8820. description: 成交金额
  8821. type: number
  8822. tradeid:
  8823. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8824. type: string
  8825. usedqty:
  8826. description: 使用数量
  8827. type: integer
  8828. required:
  8829. - coupontypeid
  8830. - orderid
  8831. type: object
  8832. models.OperationPrimaryMenu:
  8833. properties:
  8834. Children:
  8835. description: 二级功能菜单
  8836. items:
  8837. $ref: '#/definitions/models.OperationSecondaryMenu'
  8838. type: array
  8839. Key:
  8840. description: 菜单KEY
  8841. type: string
  8842. Label:
  8843. description: 菜单标题
  8844. type: string
  8845. type: object
  8846. models.OperationSecondaryMenu:
  8847. properties:
  8848. Key:
  8849. description: 菜单KEY
  8850. type: string
  8851. Label:
  8852. description: 菜单标题
  8853. type: string
  8854. TabList:
  8855. description: 三级功能菜单
  8856. items:
  8857. $ref: '#/definitions/models.OperationTabMenu'
  8858. type: array
  8859. type: object
  8860. models.OperationTabMenu:
  8861. properties:
  8862. Key:
  8863. description: 菜单KEY
  8864. type: string
  8865. Label:
  8866. description: 菜单标题
  8867. type: string
  8868. type: object
  8869. models.PendingAuditBizModel:
  8870. properties:
  8871. accountid:
  8872. description: 现货账户
  8873. type: string
  8874. areaname:
  8875. description: 所属部门
  8876. type: string
  8877. bizid:
  8878. description: 业务ID
  8879. type: string
  8880. bizname:
  8881. description: 业务名称
  8882. type: string
  8883. status:
  8884. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8885. type: integer
  8886. type:
  8887. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8888. type: integer
  8889. type: object
  8890. models.QhjBankAccountSign:
  8891. properties:
  8892. accountcode:
  8893. description: 资金账号
  8894. type: string
  8895. accountname:
  8896. description: 资金账号对应的账号名(UserName)
  8897. type: string
  8898. accounttype:
  8899. description: 账户类型(UserType)
  8900. type: integer
  8901. applicationtime:
  8902. description: 最后一次更新的时间
  8903. type: string
  8904. applyexchticket:
  8905. description: 申请流水
  8906. type: string
  8907. auditid:
  8908. description: 审核人
  8909. type: integer
  8910. audittime:
  8911. description: 审核时间
  8912. type: string
  8913. bankaccountname:
  8914. description: 签约银行卡账号名
  8915. type: string
  8916. bankaccountno:
  8917. description: 银行卡号
  8918. type: string
  8919. bankaccounttype:
  8920. description: 银行账户类型 - 1-对私; 2-对公
  8921. type: integer
  8922. bankcardtype:
  8923. description: 银行卡类型
  8924. type: integer
  8925. bankchildaccount:
  8926. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  8927. type: string
  8928. bankcity:
  8929. description: 开户行城市
  8930. type: string
  8931. bankid:
  8932. description: 签约银行ID
  8933. type: string
  8934. bankprovince:
  8935. description: 开户行省份
  8936. type: string
  8937. branchbankid:
  8938. description: 签约银行支行号
  8939. type: string
  8940. branchbankname:
  8941. description: 签约银行支行名称
  8942. type: string
  8943. cardno:
  8944. description: 证件号码
  8945. type: string
  8946. cardtype:
  8947. description: 证件类型
  8948. type: string
  8949. currency:
  8950. description: 币种
  8951. type: string
  8952. cusbankid:
  8953. description: 托管银行编号
  8954. type: string
  8955. direct:
  8956. description: 方向(可以判断那方先发起的签约)
  8957. type: integer
  8958. exchticket:
  8959. description: 最后一次签约成功的流水号
  8960. type: string
  8961. extendinfo:
  8962. description: 扩展信息(JSON字符串)
  8963. type: string
  8964. mobilephone:
  8965. description: 手机号
  8966. type: string
  8967. netaddr:
  8968. description: 调转网址
  8969. type: string
  8970. relateduserid:
  8971. description: 关联使用者userid
  8972. type: integer
  8973. signstatus:
  8974. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8975. 10:审核拒绝 11:换签待审核
  8976. type: integer
  8977. updatetime:
  8978. description: 更新时间(签解约更新时间)
  8979. type: string
  8980. type: object
  8981. models.QhjBankInfo:
  8982. properties:
  8983. bankid:
  8984. description: 银行ID
  8985. type: string
  8986. bankname:
  8987. description: 银行名称
  8988. type: string
  8989. clearbankno:
  8990. description: 清算系统银行编号
  8991. type: string
  8992. orderindex:
  8993. description: 排序顺序
  8994. type: integer
  8995. status:
  8996. description: 状态 - 0:正常 1:注销
  8997. type: integer
  8998. type: object
  8999. models.QhjContract:
  9000. properties:
  9001. contractconfirmtime:
  9002. description: 合同确认时间(时间)
  9003. type: string
  9004. enumdicname:
  9005. description: 单位名称
  9006. type: string
  9007. goodscode:
  9008. description: 商品代码
  9009. type: string
  9010. goodsid:
  9011. description: 商品ID [5:融资单]
  9012. type: integer
  9013. goodsname:
  9014. description: 商品名称
  9015. type: string
  9016. goodunitid:
  9017. description: 商品单位id
  9018. type: integer
  9019. initmargin:
  9020. description: 初始保证金(首付款)
  9021. type: number
  9022. lenderamount:
  9023. description: 贷款金额(总额|订单总额)
  9024. type: number
  9025. marginratio:
  9026. description: 保证金比率(首付比例)
  9027. type: number
  9028. payamount:
  9029. description: 已付(已付货款)
  9030. type: number
  9031. recoveredmargin:
  9032. description: 已追缴保证金
  9033. type: number
  9034. remainamount:
  9035. description: 合同剩余金额(融资额)
  9036. type: number
  9037. scfcontractid:
  9038. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9039. type: integer
  9040. scfcontracttype:
  9041. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9042. type: integer
  9043. totalinterest:
  9044. description: 已计总利息(利息)
  9045. type: number
  9046. tradeprice:
  9047. description: 成交价格(成本价格)
  9048. type: number
  9049. userid:
  9050. description: 用户ID
  9051. type: integer
  9052. username:
  9053. description: 用户名称
  9054. type: string
  9055. wrqty:
  9056. description: 仓单数量(数量)
  9057. type: integer
  9058. type: object
  9059. models.QhjContractLog:
  9060. properties:
  9061. amount:
  9062. description: 支付金额
  9063. type: number
  9064. amounttype:
  9065. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9066. type: integer
  9067. logid:
  9068. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9069. type: string
  9070. remainamount:
  9071. description: 剩余货款
  9072. type: number
  9073. scfcontractid:
  9074. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9075. type: integer
  9076. updatetime:
  9077. description: 更新时间
  9078. type: string
  9079. type: object
  9080. models.QhjCusBankSignBankEx:
  9081. properties:
  9082. banklst:
  9083. description: 银行列表
  9084. items:
  9085. $ref: '#/definitions/models.QhjBankInfo'
  9086. type: array
  9087. canallot:
  9088. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9089. type: integer
  9090. canallotquery:
  9091. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9092. type: integer
  9093. canbindcard:
  9094. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9095. type: integer
  9096. caninamount:
  9097. description: 是否可入金 - 0:不可 1:可以
  9098. type: integer
  9099. caninamount2:
  9100. description: 是否可入金(网银端) - 0:不可 1:可以
  9101. type: integer
  9102. canmodifybankcard:
  9103. description: 是否可修改银行卡号 - 0:不可 1:可以
  9104. type: integer
  9105. canmodifyphone:
  9106. description: 是否可修改手机号 - 0:不可 1:可以
  9107. type: integer
  9108. canmodifysigninfo:
  9109. description: 是否可修改签约信息 - 0:不可 1:可以
  9110. type: integer
  9111. canoutamount:
  9112. description: 是否可出金 - 0:不可 1:可以
  9113. type: integer
  9114. canoutamount2:
  9115. description: 是否可出金(网银端) - 0:不可 1:可以
  9116. type: integer
  9117. canrelease:
  9118. description: 是否可解约 - 0:不可 1:可以
  9119. type: integer
  9120. canrelease2:
  9121. description: 是否可解约(网银端) - 0:不可 1:可以
  9122. type: integer
  9123. cansign:
  9124. description: 是否可签约 - 0:不可 1:可以
  9125. type: integer
  9126. cansign2:
  9127. description: 是否可签约(网银端) - 0:不可 1:可以
  9128. type: integer
  9129. currency:
  9130. description: 币种
  9131. type: string
  9132. cusbankid:
  9133. description: 托管银行编号(对应清算中心TRAN_NO)
  9134. type: string
  9135. cusbankname:
  9136. description: 银行业务名称
  9137. type: string
  9138. cusbankshortname:
  9139. description: 银行业务简称
  9140. type: string
  9141. exchbankid:
  9142. description: 交易所开户银行ID
  9143. type: string
  9144. exchpaybankaccname:
  9145. description: 交易所支出结算账户户名
  9146. type: string
  9147. exchpaybankaccno:
  9148. description: 交易所支出结算账户
  9149. type: string
  9150. isneedcheck:
  9151. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9152. type: integer
  9153. isneedclear:
  9154. description: 是否需要清算 - 0:不需要 1:需要
  9155. type: integer
  9156. riskinfo:
  9157. description: 签约风险提示书
  9158. type: string
  9159. type: object
  9160. models.QhjCustomer:
  9161. properties:
  9162. address:
  9163. description: 通讯地址
  9164. type: string
  9165. attachment1:
  9166. description: 附件1
  9167. type: string
  9168. audittime:
  9169. description: 审核时间
  9170. type: string
  9171. cardbackphotourl:
  9172. description: 证件反面图片地址
  9173. type: string
  9174. cardfrontphotourl:
  9175. description: 证件正面图片地址
  9176. type: string
  9177. cardnum:
  9178. description: 证件号码
  9179. type: string
  9180. cardtype:
  9181. description: 证件类型
  9182. type: integer
  9183. cardtypename:
  9184. description: 证件类型名称
  9185. type: string
  9186. cityid:
  9187. description: 市
  9188. type: integer
  9189. cityname:
  9190. description: 城市名称
  9191. type: string
  9192. contactname:
  9193. description: 联系人
  9194. type: string
  9195. countryid:
  9196. description: 国家
  9197. type: integer
  9198. countryname:
  9199. description: 国家名称
  9200. type: string
  9201. createtime:
  9202. description: 创建时间
  9203. type: string
  9204. customername:
  9205. description: 客户名称
  9206. type: string
  9207. districtid:
  9208. description: 区域
  9209. type: integer
  9210. districtname:
  9211. description: 地区名称
  9212. type: string
  9213. email:
  9214. description: 邮件
  9215. type: string
  9216. legalpersonname:
  9217. description: 法人姓名(企业)
  9218. type: string
  9219. memberuserid:
  9220. description: 所属机构ID(所属会员)
  9221. type: integer
  9222. memberusername:
  9223. description: 所属会员名称
  9224. type: string
  9225. mobile:
  9226. description: 手机号码
  9227. type: string
  9228. modifytime:
  9229. description: 修改时间
  9230. type: string
  9231. nickname:
  9232. description: 昵称
  9233. type: string
  9234. parentuserid:
  9235. description: 上级机构(所属机构)
  9236. type: integer
  9237. parentusername:
  9238. description: 所属机构名称
  9239. type: string
  9240. provinceid:
  9241. description: 省
  9242. type: integer
  9243. provincename:
  9244. description: 省名称
  9245. type: string
  9246. remark:
  9247. description: 备注
  9248. type: string
  9249. status:
  9250. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9251. type: integer
  9252. statusdesc:
  9253. description: 账户状态中文描述
  9254. type: string
  9255. taxpayernum:
  9256. description: 纳税人识别号
  9257. type: string
  9258. telphone:
  9259. description: 联系电话
  9260. type: string
  9261. userid:
  9262. description: 用户ID
  9263. type: integer
  9264. userinfotype:
  9265. description: 客户类型 1-个人 2-企业
  9266. type: integer
  9267. username:
  9268. description: 用户名称
  9269. type: string
  9270. type: object
  9271. models.QhjPickArea:
  9272. properties:
  9273. cityid:
  9274. description: 市
  9275. type: integer
  9276. cityname:
  9277. description: 城市名称
  9278. type: string
  9279. countryid:
  9280. description: 国家
  9281. type: integer
  9282. countryname:
  9283. description: 国家名称
  9284. type: string
  9285. districtid:
  9286. description: 地区
  9287. type: integer
  9288. districtname:
  9289. description: 地区名称
  9290. type: string
  9291. fromuserid:
  9292. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9293. type: integer
  9294. fromusername:
  9295. description: 所属机构名称
  9296. type: string
  9297. provinceid:
  9298. description: 省
  9299. type: integer
  9300. provincename:
  9301. description: 省名称
  9302. type: string
  9303. suborgtype:
  9304. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9305. type: integer
  9306. userid:
  9307. description: 机构用户ID 其他做市关系,都设置为 1
  9308. type: integer
  9309. username:
  9310. description: 机构用户名称(门店门称)
  9311. type: string
  9312. type: object
  9313. models.QhjPickGoods:
  9314. properties:
  9315. imageaddress:
  9316. description: 图片
  9317. type: string
  9318. modifierid:
  9319. description: 修改人
  9320. type: integer
  9321. modifiername:
  9322. description: 修改人名称
  9323. type: string
  9324. modifysrc:
  9325. description: 修改来源 - 1:管理端 2:终端
  9326. type: integer
  9327. pickupgoodsagreeunit:
  9328. description: 合约乘数
  9329. type: number
  9330. pickupgoodsdesc:
  9331. description: 描述
  9332. type: string
  9333. pickupgoodsid:
  9334. description: 提货商品ID
  9335. type: string
  9336. pickupgoodsname:
  9337. description: 提货商品名称
  9338. type: string
  9339. pickupgoodsstatus:
  9340. description: 状态 - 1:正常 2:停用 3:注销
  9341. type: integer
  9342. pickupgoodsunitid:
  9343. description: 单位ID
  9344. type: integer
  9345. preparedays:
  9346. description: 备货期(天)
  9347. type: integer
  9348. remark:
  9349. description: 备注
  9350. type: string
  9351. updatetime:
  9352. description: 更新时间
  9353. type: string
  9354. type: object
  9355. models.QhjRSTriggerLog:
  9356. properties:
  9357. accountid:
  9358. description: 用户资金账户
  9359. type: integer
  9360. accountname:
  9361. description: 账号名称(ACCOUNTID对应的名称)
  9362. type: string
  9363. currencyid:
  9364. description: 币种id
  9365. type: integer
  9366. currencyname:
  9367. description: 币种名称
  9368. type: string
  9369. enumdicname:
  9370. description: 单位名称
  9371. type: string
  9372. goodscode:
  9373. description: 定投商品代码
  9374. type: string
  9375. goodsid:
  9376. description: 定投商品ID
  9377. type: string
  9378. goodsname:
  9379. description: 定投商品名称
  9380. type: string
  9381. goodunitid:
  9382. description: 定投商品单位id
  9383. type: integer
  9384. logid:
  9385. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9386. type: string
  9387. regularlycycle:
  9388. description: 定投频率 - 1:每周 2:每月
  9389. type: integer
  9390. regularlycyclevalue:
  9391. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9392. type: string
  9393. regularlymode:
  9394. description: 定投方式 - 1:按数量 2:按金额
  9395. type: integer
  9396. regularlymodevalue:
  9397. description: 定投方式值 - 数量或金额
  9398. type: number
  9399. regularlystrategyid:
  9400. description: 定投策略ID
  9401. type: integer
  9402. retcode:
  9403. description: 错误码
  9404. type: string
  9405. tradeid:
  9406. description: 成交单ID
  9407. type: string
  9408. triggeramount:
  9409. description: 触发金额
  9410. type: number
  9411. triggerqty:
  9412. description: 触发数量
  9413. type: number
  9414. triggerstatus:
  9415. description: 触发状态 - 1:成功 2:失败
  9416. type: integer
  9417. triggertime:
  9418. description: 触发时间
  9419. type: string
  9420. triggertradedate:
  9421. description: 触发交易日
  9422. type: string
  9423. userid:
  9424. description: 所属用户ID
  9425. type: integer
  9426. username:
  9427. description: 用户名称(userid对应的名称)
  9428. type: string
  9429. type: object
  9430. models.QhjRStrategy:
  9431. properties:
  9432. accountid:
  9433. description: 用户资金账户
  9434. type: integer
  9435. accountname:
  9436. description: 账号名称(ACCOUNTID对应的名称)
  9437. type: string
  9438. currencyid:
  9439. description: 币种id
  9440. type: integer
  9441. currencyname:
  9442. description: 币种名称
  9443. type: string
  9444. enumdicname:
  9445. description: 单位名称
  9446. type: string
  9447. goodscode:
  9448. description: 定投商品代码
  9449. type: string
  9450. goodsid:
  9451. description: 定投商品ID
  9452. type: string
  9453. goodsname:
  9454. description: 定投商品名称
  9455. type: string
  9456. goodunitid:
  9457. description: 定投商品单位id
  9458. type: integer
  9459. lasteffecttradedate:
  9460. description: 最新生效交易日
  9461. type: string
  9462. laststoptradedate:
  9463. description: 最新暂停交易日
  9464. type: string
  9465. lasttriggertradedate:
  9466. description: 最新触发交易日
  9467. type: string
  9468. nexttriggeramount:
  9469. description: 下次触发金额
  9470. type: number
  9471. nexttriggerdate:
  9472. description: 下次触发日期
  9473. type: string
  9474. nexttriggerqty:
  9475. description: 下次触发数量 [按小数位放大值]
  9476. type: number
  9477. regularlycycle:
  9478. description: 定投频率 - 1:每周 2:每月
  9479. type: integer
  9480. regularlycyclevalue:
  9481. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9482. type: string
  9483. regularlymode:
  9484. description: 定投方式 - 1:按数量 2:按金额
  9485. type: integer
  9486. regularlymodevalue:
  9487. description: 定投方式值 - 数量或金额
  9488. type: number
  9489. regularlystrategyid:
  9490. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9491. type: integer
  9492. regularlystrategystatus:
  9493. description: 策略状态 - 1:正常 2:暂停 3:终止
  9494. type: integer
  9495. remark:
  9496. description: 备注
  9497. type: string
  9498. triggersuccesstimes:
  9499. description: 累计定投成功次数
  9500. type: string
  9501. triggertotalamount:
  9502. description: 累计定投金额(成功)
  9503. type: number
  9504. triggertotalqty:
  9505. description: 累计定投数量(成功) [按小数位放大值]
  9506. type: number
  9507. triggertotaltimes:
  9508. description: 累计定投总次数
  9509. type: string
  9510. updatesrc:
  9511. description: 更新来源 - 1:管理端 2:终端
  9512. type: integer
  9513. updatetime:
  9514. description: 更新时间
  9515. type: string
  9516. updatorid:
  9517. description: 更新人
  9518. type: string
  9519. userid:
  9520. description: 所属用户ID
  9521. type: integer
  9522. username:
  9523. description: 用户名称(userid对应的名称)
  9524. type: string
  9525. type: object
  9526. models.QhjReckonPriceLog:
  9527. properties:
  9528. goodsid:
  9529. description: 商品ID
  9530. type: integer
  9531. lastreckonprice:
  9532. description: 上日结算价
  9533. type: number
  9534. nextdnlimitprice:
  9535. description: 下个交易日跌停价
  9536. type: number
  9537. nexttrade:
  9538. description: 下个交易日
  9539. type: string
  9540. nextuplimitprice:
  9541. description: 下个交易日涨停价
  9542. type: number
  9543. reckonprice:
  9544. description: 今日结算价(定投价)
  9545. type: number
  9546. reckontime:
  9547. description: 结算时间
  9548. type: string
  9549. totalholderqty:
  9550. description: 总持仓数
  9551. type: integer
  9552. totalstock:
  9553. description: 总库存
  9554. type: integer
  9555. tradedate:
  9556. description: 交易日
  9557. type: string
  9558. updowncount:
  9559. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  9560. type: integer
  9561. updownflag:
  9562. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  9563. type: integer
  9564. updownrate:
  9565. description: 今日涨跌幅
  9566. type: number
  9567. updownrate_2d:
  9568. description: 连续两日涨跌幅
  9569. type: number
  9570. updownrate_3d:
  9571. description: 连续三日涨跌幅
  9572. type: number
  9573. type: object
  9574. models.QhjSiteColumnDetail:
  9575. properties:
  9576. author:
  9577. description: 作者
  9578. type: string
  9579. brief:
  9580. description: 简介
  9581. type: string
  9582. columnid:
  9583. description: 所属栏目
  9584. type: integer
  9585. context:
  9586. description: 内容
  9587. type: string
  9588. coverimage:
  9589. description: 封面图片
  9590. type: string
  9591. creaedate:
  9592. description: 创建时间
  9593. type: string
  9594. creatorid:
  9595. description: 创建人
  9596. type: integer
  9597. hits:
  9598. description: 点击数
  9599. type: integer
  9600. id:
  9601. description: ID(SEQ_SITE_COLUMNDETAIL)
  9602. type: integer
  9603. isshow:
  9604. description: 是否展示 - 0:不展示 1:展示
  9605. type: integer
  9606. istop:
  9607. description: 是否置顶 - 0:不置 1:置顶
  9608. type: integer
  9609. modifierid:
  9610. description: 操作人
  9611. type: integer
  9612. publishdate:
  9613. description: 发布日期
  9614. type: string
  9615. status:
  9616. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  9617. type: integer
  9618. title:
  9619. description: 标题
  9620. type: string
  9621. updatedate:
  9622. description: 修改时间
  9623. type: string
  9624. userid:
  9625. description: 用户ID(默认为0, 核心为为机构用户ID)
  9626. type: integer
  9627. username:
  9628. description: 用户名称
  9629. type: string
  9630. type: object
  9631. models.QhjTradeGoodsPickup:
  9632. properties:
  9633. accountid:
  9634. description: 账户ID
  9635. type: integer
  9636. address:
  9637. description: 提货人详细地址
  9638. type: string
  9639. amount:
  9640. description: 提货金额
  9641. type: number
  9642. artradedate:
  9643. description: 自动收货交易日(yyyyMMdd)
  9644. type: string
  9645. auditer:
  9646. description: 审核人
  9647. type: integer
  9648. auditsrc:
  9649. description: 更新来源 - 1:管理端 2:终端
  9650. type: integer
  9651. audittime:
  9652. description: 审核时间(发货时间)
  9653. type: string
  9654. audittradedate:
  9655. description: 审核交易日(yyyyMMdd)
  9656. type: string
  9657. cardnum:
  9658. description: 提货人证件号码
  9659. type: string
  9660. cardtypeid:
  9661. description: 提货人证件类型
  9662. type: integer
  9663. checkremark:
  9664. description: 审核备注
  9665. type: string
  9666. cityid:
  9667. description: 市
  9668. type: integer
  9669. cityname:
  9670. description: 城市名称
  9671. type: string
  9672. countryid:
  9673. description: 国家
  9674. type: integer
  9675. countryname:
  9676. description: 国家名称
  9677. type: string
  9678. districtid:
  9679. description: 地区
  9680. type: integer
  9681. districtname:
  9682. description: 地区名称
  9683. type: string
  9684. enumdicname:
  9685. description: 单位名称(提货商品)
  9686. type: string
  9687. expresscompany:
  9688. description: 物流公司
  9689. type: string
  9690. expressnum:
  9691. description: 物流单号
  9692. type: string
  9693. goodsagreeunit:
  9694. description: 交易商品乘数
  9695. type: number
  9696. goodscode:
  9697. description: 商品代码
  9698. type: string
  9699. goodsid:
  9700. description: 商品ID
  9701. type: integer
  9702. goodsname:
  9703. description: 商品名称
  9704. type: string
  9705. goodsqty:
  9706. description: 交易商品手数(69模式按成交量小数位放大取整)
  9707. type: number
  9708. handlestatus:
  9709. description: 处理状态
  9710. type: integer
  9711. marketid:
  9712. description: 市场ID
  9713. type: integer
  9714. phonenum:
  9715. description: 提货人联系方式
  9716. type: string
  9717. pickupgoodsagreeunit:
  9718. description: 提货商品合约乘数
  9719. type: number
  9720. pickupgoodsid:
  9721. description: 提货商品ID
  9722. type: string
  9723. pickupgoodsname:
  9724. description: 提货商品名称
  9725. type: string
  9726. pickupgoodsqty:
  9727. description: 提货商品手数(数量)
  9728. type: number
  9729. pickupgoodsunitid:
  9730. description: 单位ID(提货商品)
  9731. type: integer
  9732. pickupratio:
  9733. description: 提货系数
  9734. type: number
  9735. preparedays:
  9736. description: 备货期(天)-提货单明细表
  9737. type: integer
  9738. provinceid:
  9739. description: 省
  9740. type: integer
  9741. provincename:
  9742. description: 省名称
  9743. type: string
  9744. qty:
  9745. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  9746. type: number
  9747. recivername:
  9748. description: 提货人姓名
  9749. type: string
  9750. reqtime:
  9751. description: 提货申请时间
  9752. type: string
  9753. storeuserid:
  9754. description: 门店用户ID (千海金)
  9755. type: integer
  9756. storeusername:
  9757. description: 门店用户名称
  9758. type: string
  9759. takemode:
  9760. description: 提货方式 - 2:自提 3:配送(邮寄)
  9761. type: integer
  9762. takeorderid:
  9763. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9764. type: integer
  9765. takeorderstatus:
  9766. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  9767. 7:已拒绝 8:已撤销
  9768. type: integer
  9769. takeremark:
  9770. description: 提货备注
  9771. type: string
  9772. tradedate:
  9773. description: 交易日(yyyyMMdd)
  9774. type: string
  9775. updatetime:
  9776. description: 更新时间
  9777. type: string
  9778. userid:
  9779. description: 用户ID
  9780. type: integer
  9781. username:
  9782. description: 用户名称
  9783. type: string
  9784. type: object
  9785. models.QueryErrorInfosRsp:
  9786. properties:
  9787. description:
  9788. description: 异常描述
  9789. type: string
  9790. errorcode:
  9791. description: 异常代码
  9792. type: string
  9793. errorid:
  9794. description: 异常ID
  9795. type: integer
  9796. modulecode:
  9797. description: 所属模块
  9798. type: string
  9799. operatecode:
  9800. description: 所属操作
  9801. type: string
  9802. rownumber:
  9803. description: 行号
  9804. type: string
  9805. required:
  9806. - errorid
  9807. type: object
  9808. models.QueryHedgeOrderDetailRsp:
  9809. properties:
  9810. accountid:
  9811. description: 账户ID
  9812. type: integer
  9813. buyorsell:
  9814. description: 买卖 - 0:买 1:卖
  9815. type: integer
  9816. cancellogincode:
  9817. description: 撤单人
  9818. type: string
  9819. channelbuildtype:
  9820. description: 开平标志 - 0:无 1:建仓 2:平仓
  9821. type: integer
  9822. channelinnerorderstatus:
  9823. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9824. 9:全部成交
  9825. type: integer
  9826. channeloperatetype:
  9827. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9828. type: integer
  9829. closetype:
  9830. description: 平仓方式 - 0:无 1:平今 2:平昨
  9831. type: integer
  9832. curexchangerate:
  9833. description: 当前汇率
  9834. type: number
  9835. exchangefullname:
  9836. description: 外部交易所全称
  9837. type: string
  9838. goodscode:
  9839. description: 商品代码(内部)
  9840. type: string
  9841. goodsid:
  9842. description: 商品ID
  9843. type: integer
  9844. goodsname:
  9845. description: 商品名称
  9846. type: string
  9847. marketid:
  9848. description: 市场ID
  9849. type: integer
  9850. openfreezemargin:
  9851. description: 冻结保证金(冻结交易金额)
  9852. type: number
  9853. orderid:
  9854. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9855. type: string
  9856. orderlogincode:
  9857. description: 委托人
  9858. type: string
  9859. orderprice:
  9860. description: 委托价格(账户)
  9861. type: number
  9862. orderqty:
  9863. description: 委托数量
  9864. type: integer
  9865. ordertime:
  9866. description: 委托时间
  9867. type: string
  9868. pricemode:
  9869. description: '取价方式 - 1:市价 2: 限价'
  9870. type: integer
  9871. tradedate:
  9872. description: 交易日(yyyyMMdd)
  9873. type: string
  9874. tradeqty:
  9875. description: 成交数量
  9876. type: integer
  9877. type: object
  9878. models.QueryHedgeTradeDetailRsp:
  9879. properties:
  9880. accountid:
  9881. description: 账号ID
  9882. type: integer
  9883. buyorsell:
  9884. description: 方向 - 0:买 1:卖
  9885. type: integer
  9886. channelbuildtype:
  9887. description: 委托单据类型 0:无 1:建仓 2:平仓
  9888. type: integer
  9889. closecharge:
  9890. description: 平仓手续费(账户)
  9891. type: number
  9892. closecharge2:
  9893. description: 平仓手续费(商品)
  9894. type: number
  9895. closepl:
  9896. description: 平仓盈亏(账户)
  9897. type: number
  9898. closepl2:
  9899. description: 平仓盈亏(商品)
  9900. type: number
  9901. closepl3:
  9902. description: 平仓盈亏(账户)(逐笔)
  9903. type: number
  9904. closepl4:
  9905. description: 平仓盈亏(商品)(逐笔)
  9906. type: number
  9907. closetype:
  9908. description: 平仓方式 - 0:无 1:平今 2:平昨
  9909. type: integer
  9910. curexchangerate:
  9911. description: 当前汇率
  9912. type: number
  9913. exchangefullname:
  9914. description: 外部交易所全称
  9915. type: string
  9916. goodscode:
  9917. description: 商品代码(内部)
  9918. type: string
  9919. goodsid:
  9920. description: 商品ID
  9921. type: integer
  9922. goodsname:
  9923. description: 商品名称
  9924. type: string
  9925. marketid:
  9926. description: 市场ID
  9927. type: integer
  9928. opencharge:
  9929. description: 建仓手续费(账户)
  9930. type: number
  9931. opencharge2:
  9932. description: 建仓手续费(商品)
  9933. type: number
  9934. orderid:
  9935. description: 委托单号
  9936. type: string
  9937. orderlogincode:
  9938. description: 委托人
  9939. type: string
  9940. tradeamount:
  9941. description: 成交金额(账户)
  9942. type: number
  9943. tradedate:
  9944. description: 交易日(yyyyMMdd)
  9945. type: string
  9946. tradeid:
  9947. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9948. type: string
  9949. tradeprice:
  9950. description: 成交价格
  9951. type: number
  9952. tradeqty:
  9953. description: 成交数量
  9954. type: integer
  9955. tradetime:
  9956. description: 成交时间
  9957. type: string
  9958. tradetype:
  9959. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9960. type: integer
  9961. type: object
  9962. models.QuotePrimaryMenu:
  9963. properties:
  9964. Index:
  9965. description: 序号
  9966. type: integer
  9967. Key:
  9968. description: 键名
  9969. type: string
  9970. Name:
  9971. description: 菜单名称
  9972. type: string
  9973. SubMenus:
  9974. description: 子菜单
  9975. items:
  9976. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9977. type: array
  9978. SubTitleType:
  9979. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9980. type: integer
  9981. TradeModes:
  9982. description: 包含市场交易类型
  9983. type: string
  9984. type: object
  9985. models.QuoteSecondaryMenu:
  9986. properties:
  9987. ExExchangeCode:
  9988. description: 外部交易所代码
  9989. type: string
  9990. ExExchangeID:
  9991. description: 外部交易所ID
  9992. type: integer
  9993. GoodsGroupIDs:
  9994. description: 商品组ID列表
  9995. items:
  9996. type: integer
  9997. type: array
  9998. Index:
  9999. description: 序号
  10000. type: integer
  10001. MarketID:
  10002. description: 市场ID
  10003. type: integer
  10004. MenuTitle:
  10005. description: 菜单标题(市场名称或外部交易所名称)
  10006. type: string
  10007. TradeMode:
  10008. description: 交易模式
  10009. type: integer
  10010. type: object
  10011. models.SearchGoods:
  10012. properties:
  10013. goodscode:
  10014. description: 商品代码(内部)
  10015. type: string
  10016. goodsid:
  10017. description: 商品ID(自增ID SEQ_GOODS)
  10018. type: integer
  10019. goodsname:
  10020. description: 商品名称
  10021. type: string
  10022. marketid:
  10023. description: 所属市场ID
  10024. type: integer
  10025. marketname:
  10026. description: 市场名称
  10027. type: string
  10028. trademode:
  10029. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10030. 21:竞拍-大宗式 22:受托竞价
  10031. type: integer
  10032. required:
  10033. - goodscode
  10034. - goodsid
  10035. - goodsname
  10036. - marketid
  10037. - trademode
  10038. type: object
  10039. models.Systemparam:
  10040. properties:
  10041. loginid:
  10042. description: 更新用户账号,登录账号
  10043. type: string
  10044. modifyflag:
  10045. description: 修改标志0 不允许修改 1 允许修改
  10046. type: integer
  10047. paramcode:
  10048. description: 参数代码
  10049. type: string
  10050. paramname:
  10051. description: 参数名
  10052. type: string
  10053. paramtype:
  10054. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10055. type: integer
  10056. paramvalue:
  10057. description: 参数值
  10058. type: string
  10059. paramvalue2:
  10060. description: 参数值(CLOB)
  10061. type: string
  10062. regexpress:
  10063. description: 正则表达式
  10064. type: string
  10065. remark:
  10066. description: 备注
  10067. type: string
  10068. serverip:
  10069. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10070. type: string
  10071. showflag:
  10072. description: 是否显示0 不显示 1 显示
  10073. type: integer
  10074. updatetime:
  10075. description: 更新时间
  10076. type: string
  10077. userid:
  10078. description: 更新用户ID
  10079. type: integer
  10080. required:
  10081. - paramcode
  10082. type: object
  10083. models.Szdz3convertconfig:
  10084. properties:
  10085. canin:
  10086. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10087. type: integer
  10088. canout:
  10089. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10090. type: integer
  10091. converttype:
  10092. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10093. 6:交易转花生米(不设置)
  10094. type: integer
  10095. createtime:
  10096. description: 创建时间
  10097. type: string
  10098. creatorid:
  10099. description: 创建人
  10100. type: integer
  10101. daymaxvalue:
  10102. description: 当日最大转入限制
  10103. type: number
  10104. freezedays:
  10105. description: 冻结天数 [5:花生米转交易]
  10106. type: integer
  10107. innergoodsid:
  10108. description: 内部商品ID[交易]
  10109. type: integer
  10110. inratio:
  10111. description: 目标值
  10112. type: integer
  10113. modifierid:
  10114. description: 修改人
  10115. type: integer
  10116. modifytime:
  10117. description: 修改时间
  10118. type: string
  10119. outergoodscode:
  10120. description: 外部商品代码[JD\PD]
  10121. type: string
  10122. outratio:
  10123. description: 源值
  10124. type: integer
  10125. pddecimalplace:
  10126. description: PD小数位
  10127. type: integer
  10128. timemaxvalue:
  10129. description: 单次最大转入限制
  10130. type: number
  10131. timeminvalue:
  10132. description: 单次最小转入限制
  10133. type: number
  10134. required:
  10135. - converttype
  10136. - innergoodsid
  10137. - outergoodscode
  10138. type: object
  10139. models.Szdz3searchwhitelist:
  10140. properties:
  10141. createtime:
  10142. description: 创建时间
  10143. type: string
  10144. creatorid:
  10145. description: 创建人
  10146. type: integer
  10147. modifierid:
  10148. description: 修改人
  10149. type: integer
  10150. modifytime:
  10151. description: 修改时间
  10152. type: string
  10153. userid:
  10154. description: 用户ID
  10155. type: integer
  10156. required:
  10157. - userid
  10158. type: object
  10159. models.Taaccount:
  10160. properties:
  10161. accountflag:
  10162. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10163. type: integer
  10164. accountid:
  10165. description: 资金账户ID
  10166. type: integer
  10167. accountname:
  10168. description: 账户名称
  10169. type: string
  10170. balance:
  10171. description: 期初余额
  10172. type: number
  10173. capitalbalance:
  10174. description: 本金余额[外部子账户实际出入金余额]
  10175. type: number
  10176. changeflag:
  10177. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10178. type: integer
  10179. changetime:
  10180. description: 账户状态变更时间
  10181. type: string
  10182. closepl:
  10183. description: 今日平仓盈亏
  10184. type: number
  10185. creditdecrease:
  10186. description: 今日授信减少
  10187. type: number
  10188. creditincrease:
  10189. description: 今日授信增加
  10190. type: number
  10191. currencyid:
  10192. description: 货币ID
  10193. type: integer
  10194. currentbalance:
  10195. description: 期末余额
  10196. type: number
  10197. freezecharge:
  10198. description: 手续费冻结
  10199. type: number
  10200. freezemargin:
  10201. description: 冻结保证金
  10202. type: number
  10203. fromaccountid:
  10204. description: 所属上级账户
  10205. type: integer
  10206. inamount:
  10207. description: 今日入金金额(包括三方入金)
  10208. type: number
  10209. ismain:
  10210. description: 是否母账号 0:不是母账户 1:是母账户
  10211. type: integer
  10212. ismarketaccount:
  10213. description: 是否机构接单账号 0:不是 1:是
  10214. type: integer
  10215. isreckonaccount:
  10216. description: 是否机构分润账号 0:不是 1:是
  10217. type: integer
  10218. mortgagecredit:
  10219. description: 授信金额
  10220. type: number
  10221. orifreezecharge:
  10222. description: 期初手续费冻结
  10223. type: number
  10224. orifreezemargin:
  10225. description: 期初冻结保证金
  10226. type: number
  10227. orimortgagecredit:
  10228. description: 期初授信金额
  10229. type: number
  10230. oriothercredit:
  10231. description: 期初其它授信金额
  10232. type: number
  10233. oriotherfreezemargin:
  10234. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10235. type: number
  10236. orioutamountfreeze:
  10237. description: 期初出金冻结
  10238. type: number
  10239. oriusedmargin:
  10240. description: 期初占用保证金
  10241. type: number
  10242. othercredit:
  10243. description: 其它授信金额
  10244. type: number
  10245. othercreditdecrease:
  10246. description: 今日其它授信减少
  10247. type: number
  10248. othercreditincrease:
  10249. description: 今日其它授信增加
  10250. type: number
  10251. otherfreezemargin:
  10252. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10253. type: number
  10254. otherincome:
  10255. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10256. type: number
  10257. otherpay:
  10258. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10259. type: number
  10260. outamount:
  10261. description: 今日出金金额(包括三方出金)
  10262. type: number
  10263. outamountfreeze:
  10264. description: 出金冻结
  10265. type: number
  10266. outthreshold:
  10267. description: 出金阈值
  10268. type: number
  10269. parentaccountid:
  10270. description: 所属根账号
  10271. type: integer
  10272. paycharge:
  10273. description: 今日手续费支出
  10274. type: number
  10275. relatedaccountstatus:
  10276. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10277. type: integer
  10278. relateduserid:
  10279. description: 关联用户
  10280. type: integer
  10281. serivcegroup:
  10282. description: 服务分组
  10283. type: integer
  10284. signstatus:
  10285. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10286. type: integer
  10287. sublevelpath:
  10288. description: 账号层级路径(逗号分隔,首尾加逗号)
  10289. type: string
  10290. taaccounttype:
  10291. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10292. type: integer
  10293. thirdinamount:
  10294. description: 今日三方入金
  10295. type: number
  10296. thirdoutamount:
  10297. description: 今日三方出金
  10298. type: number
  10299. tradestatus:
  10300. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10301. type: integer
  10302. tradestatuschangetime:
  10303. description: 激活时间
  10304. type: string
  10305. transferamount:
  10306. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10307. type: number
  10308. usedmargin:
  10309. description: 占用保证金
  10310. type: number
  10311. userid:
  10312. description: 用户ID
  10313. type: integer
  10314. required:
  10315. - accountid
  10316. - userid
  10317. type: object
  10318. models.Tablecolumnconfig:
  10319. properties:
  10320. aligntype:
  10321. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10322. type: integer
  10323. autoid:
  10324. description: AutoID
  10325. type: integer
  10326. columnfield:
  10327. description: 列字段
  10328. type: string
  10329. columntitle:
  10330. description: 列Title
  10331. type: string
  10332. columnwidth:
  10333. description: 列宽
  10334. type: string
  10335. formatterstring:
  10336. description: 格式化字符
  10337. type: string
  10338. formattertype:
  10339. description: 格式化类型
  10340. type: string
  10341. groupname:
  10342. description: 表头分组名称
  10343. type: string
  10344. isshow:
  10345. description: 是否显示 - 0:不显示 1:显示
  10346. type: integer
  10347. needsummary:
  10348. description: 是否需要汇总 - 0:不需要 1:需要
  10349. type: integer
  10350. orderindex:
  10351. description: 顺序
  10352. type: integer
  10353. remark:
  10354. description: 备注
  10355. type: string
  10356. summarytype:
  10357. description: 汇总类型 - 1:加总 2:最后一个
  10358. type: integer
  10359. tablekey:
  10360. description: 列表Key
  10361. type: string
  10362. required:
  10363. - autoid
  10364. type: object
  10365. models.UserCollectConfig:
  10366. properties:
  10367. accountstatus:
  10368. description: 账户状态 - 1:正常 2:停用 3:注销
  10369. type: integer
  10370. collectaccountname:
  10371. description: 收款人账户名称
  10372. type: string
  10373. collectaccountno:
  10374. description: 收款人账户
  10375. type: string
  10376. collectbankname:
  10377. description: 收款人开户行
  10378. type: string
  10379. collectbranchbankname:
  10380. description: 收款人开户支行
  10381. type: string
  10382. collectconfigid:
  10383. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10384. type: string
  10385. remark:
  10386. description: 备注
  10387. type: string
  10388. userid:
  10389. description: 收款人用户ID
  10390. type: integer
  10391. type: object
  10392. models.UserReceiveInfo:
  10393. properties:
  10394. address:
  10395. description: 提货人详细地址
  10396. type: string
  10397. autoid:
  10398. description: AutoID
  10399. type: integer
  10400. cardnum:
  10401. description: 证件号码(加密存储)
  10402. type: string
  10403. cardtypeid:
  10404. description: 证件类型
  10405. type: integer
  10406. cityid:
  10407. description: 市
  10408. type: integer
  10409. cityname:
  10410. description: 城市名称
  10411. type: string
  10412. countryid:
  10413. description: 国家
  10414. type: integer
  10415. countryname:
  10416. description: 国家名称
  10417. type: string
  10418. districtid:
  10419. description: 地区
  10420. type: integer
  10421. districtname:
  10422. description: 地区名称
  10423. type: string
  10424. hasencrypt:
  10425. description: 数据是否已加密 - 0:未加密 1:已加密
  10426. type: integer
  10427. isdefault:
  10428. description: 是否默认地址 - 0:否 1:是
  10429. type: integer
  10430. phonenum:
  10431. description: 提货人联系方式(加密存储)
  10432. type: string
  10433. provinceid:
  10434. description: 省
  10435. type: integer
  10436. provincename:
  10437. description: 省名称
  10438. type: string
  10439. receivername:
  10440. description: 提货人姓名
  10441. type: string
  10442. takeremark:
  10443. description: 提货备注
  10444. type: string
  10445. userid:
  10446. description: 用户ID
  10447. type: integer
  10448. type: object
  10449. models.Useraccount:
  10450. properties:
  10451. accountname:
  10452. description: 账户名称(机构名称)
  10453. type: string
  10454. accountstatus:
  10455. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10456. type: integer
  10457. applysrc:
  10458. description: 申请来源 - 1:管理端 2:终端
  10459. type: integer
  10460. auditremark:
  10461. description: 审核备注
  10462. type: string
  10463. auditsrc:
  10464. description: 审核来源 - 1:管理端 2:终端
  10465. type: integer
  10466. audittime:
  10467. description: 审核时间
  10468. type: string
  10469. audituserid:
  10470. description: 审核人
  10471. type: integer
  10472. broker:
  10473. description: 所属经纪人ID
  10474. type: integer
  10475. canceltime:
  10476. description: 销户时间
  10477. type: string
  10478. canceluserid:
  10479. description: 销户人
  10480. type: integer
  10481. canrecommend:
  10482. description: 是否可推荐 - 0:不可 1;可
  10483. type: integer
  10484. createtime:
  10485. description: 创建时间
  10486. type: string
  10487. creatorid:
  10488. description: 创建人
  10489. type: integer
  10490. hasauth:
  10491. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10492. type: integer
  10493. isanonymous:
  10494. description: 是否匿名下单 - 0:否 1:是
  10495. type: integer
  10496. maxinvestornum:
  10497. description: 最大用户数(经纪会员下投资者个数)
  10498. type: integer
  10499. memberuserid:
  10500. description: 所属会员ID
  10501. type: integer
  10502. modifierid:
  10503. description: 修改人
  10504. type: integer
  10505. modifyremark:
  10506. description: 变更备注
  10507. type: string
  10508. modifystatus:
  10509. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10510. type: integer
  10511. modifytime:
  10512. description: 修改时间
  10513. type: string
  10514. parenttopuser:
  10515. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10516. type: string
  10517. parentuserid:
  10518. description: 所属机构ID
  10519. type: integer
  10520. reckonaccountid:
  10521. description: 默认结算资金账号ID(机构分润使用) 作废
  10522. type: integer
  10523. refercount:
  10524. description: 推荐总人数
  10525. type: integer
  10526. refereeuserid:
  10527. description: 推荐人ID
  10528. type: integer
  10529. refernum:
  10530. description: 推荐码
  10531. type: string
  10532. rootuserid:
  10533. description: 根用户ID
  10534. type: integer
  10535. subaccountlevel:
  10536. description: 子账户层数
  10537. type: integer
  10538. subarealevelpath:
  10539. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10540. type: string
  10541. userid:
  10542. description: 用户ID
  10543. type: integer
  10544. usertype:
  10545. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10546. type: integer
  10547. required:
  10548. - userid
  10549. type: object
  10550. models.Userfavoritegoods:
  10551. properties:
  10552. goodsid:
  10553. description: 商品ID
  10554. type: integer
  10555. required:
  10556. - goodsid
  10557. type: object
  10558. models.Userinfo:
  10559. properties:
  10560. address:
  10561. description: 地址
  10562. type: string
  10563. attachment1:
  10564. description: 附件1
  10565. type: string
  10566. attachment2:
  10567. description: 附件2
  10568. type: string
  10569. bankaccount:
  10570. description: 银行帐号 (加密存储)
  10571. type: string
  10572. bankaccountname:
  10573. description: 收款人名称
  10574. type: string
  10575. bankcardfrontphotourl:
  10576. description: 银行卡正面照地址
  10577. type: string
  10578. bankid:
  10579. description: 银行编码
  10580. type: string
  10581. bankname:
  10582. description: 银行名称
  10583. type: string
  10584. biznature:
  10585. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10586. type: integer
  10587. bizscope:
  10588. description: 企业经营范围(企业)
  10589. type: string
  10590. cardbackphotourl:
  10591. description: 证件背面图片地址
  10592. type: string
  10593. cardfrontphotourl:
  10594. description: 证件正面图片地址
  10595. type: string
  10596. cardnum:
  10597. description: 证件号码(加密存储)
  10598. type: string
  10599. cardtypeid:
  10600. description: 证件类型ID
  10601. type: integer
  10602. cityid:
  10603. description: 市
  10604. type: integer
  10605. company:
  10606. description: 公司(个人)
  10607. type: string
  10608. contactname:
  10609. description: 联系人
  10610. type: string
  10611. countryid:
  10612. description: 国家
  10613. type: integer
  10614. createtime:
  10615. description: 创建时间
  10616. type: string
  10617. creatorid:
  10618. description: 创建人
  10619. type: integer
  10620. customername:
  10621. description: 客户名称(企业名称)
  10622. type: string
  10623. districtid:
  10624. description: 地区
  10625. type: integer
  10626. email:
  10627. description: 邮件(加密存储)
  10628. type: string
  10629. fax:
  10630. description: 传真(加密存储)
  10631. type: string
  10632. halfbodyphotourl:
  10633. description: 半身照地址
  10634. type: string
  10635. hasencrypt:
  10636. description: 数据是否已加密 - 0:未加密 1:已加密
  10637. type: integer
  10638. headurl:
  10639. description: 头像地址
  10640. type: string
  10641. legalcardbackphotourl:
  10642. description: 法人身份证背面照地址
  10643. type: string
  10644. legalcardfrontphotourl:
  10645. description: 法人身份证正面照地址
  10646. type: string
  10647. legalpersonname:
  10648. description: 法人姓名(企业)
  10649. type: string
  10650. mobile:
  10651. description: 手机号码(加密存储)
  10652. type: string
  10653. mobile2:
  10654. description: 手机号码[明文-尚志]
  10655. type: string
  10656. modifierid:
  10657. description: 修改人
  10658. type: integer
  10659. modifiertime:
  10660. description: 修改时间
  10661. type: string
  10662. needinvoice:
  10663. description: 是否需要发票 - 0:不需要 1:需要
  10664. type: integer
  10665. nickname:
  10666. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10667. type: string
  10668. openmode:
  10669. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10670. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10671. type: integer
  10672. otherurl:
  10673. description: 其它图片地址[使用分号分隔]
  10674. type: string
  10675. postalcode:
  10676. description: 邮政编码
  10677. type: string
  10678. provinceid:
  10679. description: 省
  10680. type: integer
  10681. qq:
  10682. description: QQ(加密存储
  10683. type: string
  10684. remark:
  10685. description: 备注
  10686. type: string
  10687. sex:
  10688. description: '用户性别 0: 女 1: 男'
  10689. type: integer
  10690. signpdfurl:
  10691. description: 签约pdf文件
  10692. type: string
  10693. telphone:
  10694. description: 联系电话(加密存储)
  10695. type: string
  10696. userid:
  10697. description: 用户ID
  10698. type: integer
  10699. userinfotype:
  10700. description: 用户信息类型 - 1:个人 2:企业
  10701. type: integer
  10702. userstatus:
  10703. description: 用户状态 - 1:正常 2:注销
  10704. type: integer
  10705. usertype:
  10706. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10707. type: integer
  10708. wechat:
  10709. description: 微信(加密存储)
  10710. type: string
  10711. wskhinfo:
  10712. description: 开户申请信息(JSON)
  10713. type: string
  10714. required:
  10715. - userid
  10716. type: object
  10717. models.WRSConverTDetail:
  10718. properties:
  10719. convertratio:
  10720. description: 套保系数
  10721. type: number
  10722. deliverygoodscode:
  10723. description: 现货商品代码
  10724. type: string
  10725. deliverygoodsid:
  10726. description: 现货品种ID
  10727. type: integer
  10728. deliverygoodsname:
  10729. description: 现货商品名称
  10730. type: string
  10731. enumdicname:
  10732. description: 单位名称
  10733. type: string
  10734. goodsunitid:
  10735. description: 套保品种单位id
  10736. type: integer
  10737. middlegoodscode:
  10738. description: 套保品种代码
  10739. type: string
  10740. middlegoodsid:
  10741. description: 套保品种ID
  10742. type: integer
  10743. middlegoodsname:
  10744. description: 套保品种名称
  10745. type: string
  10746. modifytime:
  10747. description: 修改时间
  10748. type: string
  10749. wrstandardid:
  10750. description: 品类ID
  10751. type: integer
  10752. type: object
  10753. models.WRStandardInfo:
  10754. properties:
  10755. areauserid:
  10756. description: 所属机构
  10757. type: integer
  10758. convertfactor:
  10759. description: 标仓系数
  10760. type: number
  10761. createtime:
  10762. description: 创建时间
  10763. type: string
  10764. creatorid:
  10765. description: 创建人
  10766. type: integer
  10767. deliverygoodsid:
  10768. description: 品种ID
  10769. type: integer
  10770. deliverygoodsname:
  10771. description: 交割商品名称
  10772. type: string
  10773. factoryitemjson:
  10774. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10775. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10776. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10777. 逗号分隔'
  10778. type: string
  10779. isvalid:
  10780. description: 是否有效 - 0:无效 1:有效
  10781. type: integer
  10782. minivalue:
  10783. description: 最小变动值
  10784. type: integer
  10785. minivaluedp:
  10786. description: 最小变动值小数位
  10787. type: integer
  10788. realminivalue:
  10789. description: 实际最小变动值
  10790. type: integer
  10791. realminivaluedp:
  10792. description: 实际最小变动值小数位
  10793. type: integer
  10794. remark:
  10795. description: 备注
  10796. type: string
  10797. unitid:
  10798. description: 单位ID
  10799. type: integer
  10800. unitname:
  10801. description: 单位
  10802. type: string
  10803. updatetime:
  10804. description: 更新时间
  10805. type: string
  10806. updatorid:
  10807. description: 更新人
  10808. type: integer
  10809. wrsstatus:
  10810. description: 状态 - 作废 - 0:未激活 1:正常
  10811. type: integer
  10812. wrstandardcode:
  10813. description: 现货品类代码
  10814. type: string
  10815. wrstandardid:
  10816. description: 现货品类ID(SEQ_WRSTANDARD)
  10817. type: integer
  10818. wrstandardname:
  10819. description: 现货品类名称
  10820. type: string
  10821. required:
  10822. - wrstandardid
  10823. type: object
  10824. models.Warehouseinfo:
  10825. properties:
  10826. address:
  10827. description: 详细地址
  10828. type: string
  10829. areauserid:
  10830. description: 所属机构
  10831. type: integer
  10832. autoid:
  10833. description: 自增ID
  10834. type: integer
  10835. cityid:
  10836. description: 市
  10837. type: integer
  10838. contactname:
  10839. description: 联系人
  10840. type: string
  10841. contactnum:
  10842. description: 联系电话
  10843. type: string
  10844. countryid:
  10845. description: 国家
  10846. type: integer
  10847. createtime:
  10848. description: 创建时间
  10849. type: string
  10850. districtid:
  10851. description: 区
  10852. type: integer
  10853. hasvideo:
  10854. description: 是否有视频 - 0:无 1:有
  10855. type: integer
  10856. provinceid:
  10857. description: 省
  10858. type: integer
  10859. remark:
  10860. description: 审核备注
  10861. type: string
  10862. videourl:
  10863. description: 视频地址
  10864. type: string
  10865. warehousecode:
  10866. description: 仓库代码
  10867. type: string
  10868. warehousename:
  10869. description: 仓库名称
  10870. type: string
  10871. warehousestatus:
  10872. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10873. type: integer
  10874. warehousetype:
  10875. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10876. type: integer
  10877. required:
  10878. - autoid
  10879. - warehousecode
  10880. type: object
  10881. order.QueryHisTradeDetailRsp:
  10882. properties:
  10883. accountid:
  10884. description: 账户ID[报价币种]
  10885. type: integer
  10886. buildtype:
  10887. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10888. type: integer
  10889. buyorsell:
  10890. description: 方向 - 0:买 1:卖
  10891. type: integer
  10892. charge:
  10893. description: 手续费
  10894. type: number
  10895. closecharge:
  10896. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10897. type: number
  10898. closeexchagechargevalue:
  10899. description: 平仓交易所手续费设置值
  10900. type: number
  10901. closefeealgorithm:
  10902. description: 平仓手续费收取方式 1:比率 2:固定
  10903. type: integer
  10904. closememberchargevalue:
  10905. description: 平仓会员手续费设置值
  10906. type: number
  10907. closepl:
  10908. description: 平仓盈亏
  10909. type: number
  10910. closepl2:
  10911. description: 平仓盈亏[逐笔]
  10912. type: number
  10913. closeqty:
  10914. description: 平仓数量(先建后平操作 需要记录)
  10915. type: integer
  10916. creditamount:
  10917. description: 授信金额
  10918. type: number
  10919. gcaccountid:
  10920. description: 账户ID[合约币种]
  10921. type: integer
  10922. goodscode:
  10923. description: 商品代码
  10924. type: string
  10925. goodsid:
  10926. description: 商品ID
  10927. type: integer
  10928. goodsname:
  10929. description: 商品名称
  10930. type: string
  10931. histradedate:
  10932. description: 历史交易日
  10933. type: string
  10934. intclosepl:
  10935. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10936. type: integer
  10937. isconfirmexercise:
  10938. description: 是否确认行权- 0:否 1:是
  10939. type: integer
  10940. ismain:
  10941. description: 是否主单 - 0:不是 1:是
  10942. type: integer
  10943. ispreexercise:
  10944. description: 是否预申报- 0:否 1:是
  10945. type: integer
  10946. isreckoned:
  10947. description: 是否结算 - 0:未结算 1:已结算
  10948. type: integer
  10949. isvaliddata:
  10950. description: 是否有效 - 0:无效 1:有效
  10951. type: integer
  10952. listingselecttype:
  10953. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10954. type: integer
  10955. marketid:
  10956. description: 市场ID
  10957. type: integer
  10958. marketname:
  10959. description: 市场名称
  10960. type: string
  10961. matchaccountid:
  10962. description: 对手账号id
  10963. type: integer
  10964. memberuserid:
  10965. description: 会员id 个人投资者 需要填写
  10966. type: integer
  10967. opencharge:
  10968. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10969. type: number
  10970. openexchagechargevalue:
  10971. description: 建仓交易所手续费设置值
  10972. type: number
  10973. openfeealgorithm:
  10974. description: 建仓手续费收取方式 1:比率 2:固定
  10975. type: integer
  10976. openmemberchargevalue:
  10977. description: 建仓会员手续费设置值
  10978. type: number
  10979. openqty:
  10980. description: 开仓数量(先建后平操作 需要记录)
  10981. type: integer
  10982. optiontype:
  10983. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10984. type: integer
  10985. orderid:
  10986. description: 委托单号
  10987. type: string
  10988. performanceplanid:
  10989. description: 履约计划ID[期权]
  10990. type: integer
  10991. performancestatus:
  10992. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10993. type: integer
  10994. preexerciseprice:
  10995. description: 预申报价格
  10996. type: number
  10997. premium:
  10998. description: 权利金 - [持仓单的权利金]
  10999. type: number
  11000. relatedouttradeid:
  11001. description: 关联外部成交单ID
  11002. type: integer
  11003. status:
  11004. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11005. type: integer
  11006. tradeamount:
  11007. description: 成交金额[账户币种,用于所有权]
  11008. type: number
  11009. tradedate:
  11010. description: 交易日(yyyyMMdd)
  11011. type: string
  11012. tradeid:
  11013. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11014. type: string
  11015. trademode:
  11016. description: 交易模式
  11017. type: integer
  11018. tradeprice:
  11019. description: 成交价格
  11020. type: number
  11021. tradeproperty:
  11022. description: 交易属性
  11023. type: integer
  11024. tradeqty:
  11025. description: 成交数量
  11026. type: integer
  11027. tradetime:
  11028. description: 成交时间
  11029. type: string
  11030. tradetype:
  11031. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11032. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11033. type: integer
  11034. required:
  11035. - accountid
  11036. - buyorsell
  11037. - goodsid
  11038. - histradedate
  11039. - marketid
  11040. - memberuserid
  11041. - orderid
  11042. - tradeamount
  11043. - tradedate
  11044. - tradeid
  11045. - tradeprice
  11046. - tradeqty
  11047. - tradetime
  11048. type: object
  11049. order.QueryHisTradeOrderDetailRsp:
  11050. properties:
  11051. accountid:
  11052. description: 账户ID[报价币种]
  11053. type: integer
  11054. buildtype:
  11055. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11056. type: integer
  11057. buyorsell:
  11058. description: 买卖 - 0:买 1:卖
  11059. type: integer
  11060. cancelorderid:
  11061. description: 撤单单号(撤单时填写)
  11062. type: string
  11063. cancelqty:
  11064. description: 撤单数量
  11065. type: integer
  11066. clientordertime:
  11067. description: 客户端委托时间
  11068. type: string
  11069. clientticket:
  11070. description: 客户端流水号
  11071. type: string
  11072. clienttype:
  11073. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11074. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11075. type: integer
  11076. closeexchagechargevalue:
  11077. description: 平仓交易所手续费设置值
  11078. type: number
  11079. closefeealgorithm:
  11080. description: 平仓手续费收取方式 1:比率 2:固定
  11081. type: integer
  11082. closefreezecharge:
  11083. description: 平仓冻结手续费(先建后平操作,需要记录)
  11084. type: number
  11085. closememberchargevalue:
  11086. description: 平仓会员手续费设置值
  11087. type: number
  11088. closeqty:
  11089. description: 平仓数量(先建后平操作 需要记录)
  11090. type: integer
  11091. closetradeqty:
  11092. description: 平仓成交数量(先建后平操作,需要记录)
  11093. type: integer
  11094. closeunfreezecharge:
  11095. description: 平仓解冻手续费(先建后平操作,需要记录)
  11096. type: number
  11097. delistingtype:
  11098. description: 摘牌类型 - 1:价格最优 2:点选成交
  11099. type: integer
  11100. freezecharge:
  11101. description: 冻结手续费
  11102. type: number
  11103. freezemargin:
  11104. description: 冻结保证金(冻结交易金额)
  11105. type: number
  11106. gcaccountid:
  11107. description: 账户ID[合约币种]
  11108. type: integer
  11109. goodscode:
  11110. description: 商品代码
  11111. type: string
  11112. goodsid:
  11113. description: 商品ID
  11114. type: integer
  11115. goodsname:
  11116. description: 商品名称
  11117. type: string
  11118. histradedate:
  11119. description: 历史交易日
  11120. type: string
  11121. isconfirmexercise:
  11122. description: 是否确认行权- 0:否 1:是
  11123. type: integer
  11124. ispreexercise:
  11125. description: 是否预申报- 0:否 1:是
  11126. type: integer
  11127. isvaliddata:
  11128. description: 是否有效 - 0:无效 1:有效
  11129. type: integer
  11130. listingselecttype:
  11131. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11132. type: integer
  11133. marginalgorithm:
  11134. description: 保证金收取方式 1:比率 2:固定
  11135. type: integer
  11136. marginvalue:
  11137. description: 即市保证金设置值
  11138. type: number
  11139. marketid:
  11140. description: 市场ID
  11141. type: integer
  11142. marketmaxsub:
  11143. description: 市价最大偏移范围
  11144. type: number
  11145. marketname:
  11146. description: 市场名称
  11147. type: string
  11148. memberuserid:
  11149. description: 所属会员UserID
  11150. type: integer
  11151. openexchagechargevalue:
  11152. description: 建仓交易所手续费设置值
  11153. type: number
  11154. openfeealgorithm:
  11155. description: 建仓手续费收取方式 1:比率 2:固定
  11156. type: integer
  11157. openfreezecharge:
  11158. description: 开仓冻结手续费(先建后平操作,需要记录)
  11159. type: number
  11160. openmemberchargevalue:
  11161. description: 建仓会员手续费设置值
  11162. type: number
  11163. openqty:
  11164. description: 开仓数量(先建后平操作,需要记录)
  11165. type: integer
  11166. opentradeqty:
  11167. description: 开仓成交数量(先建后平操作,需要记录)
  11168. type: integer
  11169. openunfreezecharge:
  11170. description: 开仓解冻手续费(先建后平操作,需要记录)
  11171. type: number
  11172. operatetype:
  11173. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11174. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11175. 15:管理端协议转让
  11176. type: integer
  11177. operatorid:
  11178. description: 登录账号(LoginID)
  11179. type: integer
  11180. optiontype:
  11181. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11182. type: integer
  11183. orderid:
  11184. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11185. type: string
  11186. orderprice:
  11187. description: 委托价格
  11188. type: number
  11189. orderqty:
  11190. description: 委托数量
  11191. type: integer
  11192. ordersrc:
  11193. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11194. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11195. type: integer
  11196. orderstatus:
  11197. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11198. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11199. 16:成交失败违约(荷兰式竞拍专用)
  11200. type: integer
  11201. ordertime:
  11202. description: 委托时间
  11203. type: string
  11204. preexerciseprice:
  11205. description: 预申报价格
  11206. type: number
  11207. premium:
  11208. description: 权利金
  11209. type: number
  11210. preorderid:
  11211. description: 关联预埋单号(止盈止损单时填写)
  11212. type: string
  11213. pricemode:
  11214. description: '取价方式 - 1:市价 2: 限价'
  11215. type: integer
  11216. quoteid:
  11217. description: 报价单ID
  11218. type: integer
  11219. relatedid:
  11220. description: 关联单号(交割单)
  11221. type: string
  11222. retcode:
  11223. description: 错误代码
  11224. type: integer
  11225. sessionid:
  11226. description: 会话ID
  11227. type: integer
  11228. tradedate:
  11229. description: 交易日(yyyyMMdd)
  11230. type: string
  11231. trademode:
  11232. description: 交易模式
  11233. type: integer
  11234. tradeproperty:
  11235. description: 交易属性
  11236. type: integer
  11237. tradeqty:
  11238. description: 成交数量
  11239. type: integer
  11240. unfreezecharge:
  11241. description: 解冻手续费
  11242. type: number
  11243. unfreezemargin:
  11244. description: 解冻保证金
  11245. type: number
  11246. updatetime:
  11247. description: 更新时间
  11248. type: string
  11249. uuid:
  11250. description: 发起端唯一id
  11251. type: string
  11252. validtime:
  11253. description: 有效期限
  11254. type: string
  11255. validtype:
  11256. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11257. type: integer
  11258. volumetype:
  11259. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11260. type: integer
  11261. required:
  11262. - accountid
  11263. - buildtype
  11264. - buyorsell
  11265. - goodsid
  11266. - histradedate
  11267. - marketid
  11268. - memberuserid
  11269. - operatetype
  11270. - orderid
  11271. - orderqty
  11272. - ordertime
  11273. - pricemode
  11274. - tradedate
  11275. - validtype
  11276. type: object
  11277. order.QueryTradeDetailRsp:
  11278. properties:
  11279. accountid:
  11280. description: 账户ID[报价币种]
  11281. type: integer
  11282. buildtype:
  11283. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11284. type: integer
  11285. buyorsell:
  11286. description: 方向 - 0:买 1:卖
  11287. type: integer
  11288. charge:
  11289. description: 手续费
  11290. type: number
  11291. closecharge:
  11292. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11293. type: number
  11294. closeexchagechargevalue:
  11295. description: 平仓交易所手续费设置值
  11296. type: number
  11297. closefeealgorithm:
  11298. description: 平仓手续费收取方式 1:比率 2:固定
  11299. type: integer
  11300. closememberchargevalue:
  11301. description: 平仓会员手续费设置值
  11302. type: number
  11303. closepl:
  11304. description: 平仓盈亏
  11305. type: number
  11306. closepl2:
  11307. description: 平仓盈亏[逐笔]
  11308. type: number
  11309. closeqty:
  11310. description: 平仓数量(先建后平操作 需要记录)
  11311. type: integer
  11312. creditamount:
  11313. description: 授信金额
  11314. type: number
  11315. gcaccountid:
  11316. description: 账户ID[合约币种]
  11317. type: integer
  11318. goodscode:
  11319. description: 商品代码
  11320. type: string
  11321. goodsid:
  11322. description: 商品ID
  11323. type: integer
  11324. goodsname:
  11325. description: 商品名称
  11326. type: string
  11327. intclosepl:
  11328. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11329. type: integer
  11330. isconfirmexercise:
  11331. description: 是否确认行权- 0:否 1:是
  11332. type: integer
  11333. ismain:
  11334. description: 是否主单 - 0:不是 1:是
  11335. type: integer
  11336. ispreexercise:
  11337. description: 是否预申报- 0:否 1:是
  11338. type: integer
  11339. isreckoned:
  11340. description: 是否结算 - 0:未结算 1:已结算
  11341. type: integer
  11342. listingselecttype:
  11343. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11344. type: integer
  11345. marketid:
  11346. description: 市场ID
  11347. type: integer
  11348. marketname:
  11349. description: 市场名称
  11350. type: string
  11351. matchaccountid:
  11352. description: 对手账号id
  11353. type: integer
  11354. memberuserid:
  11355. description: 会员id 个人投资者 需要填写
  11356. type: integer
  11357. opencharge:
  11358. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11359. type: number
  11360. openexchagechargevalue:
  11361. description: 建仓交易所手续费设置值
  11362. type: number
  11363. openfeealgorithm:
  11364. description: 建仓手续费收取方式 1:比率 2:固定
  11365. type: integer
  11366. openmemberchargevalue:
  11367. description: 建仓会员手续费设置值
  11368. type: number
  11369. openqty:
  11370. description: 开仓数量(先建后平操作 需要记录)
  11371. type: integer
  11372. optiontype:
  11373. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11374. type: integer
  11375. orderid:
  11376. description: 委托单号
  11377. type: string
  11378. performanceplanid:
  11379. description: 履约计划ID[期权]
  11380. type: integer
  11381. performancestatus:
  11382. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11383. type: integer
  11384. preexerciseprice:
  11385. description: 预申报价格
  11386. type: number
  11387. premium:
  11388. description: 权利金 - [持仓单的权利金]
  11389. type: number
  11390. relatedouttradeid:
  11391. description: 关联外部成交单ID
  11392. type: integer
  11393. status:
  11394. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11395. type: integer
  11396. tradeamount:
  11397. description: 成交金额[账户币种,用于所有权]
  11398. type: number
  11399. tradedate:
  11400. description: 交易日(yyyyMMdd)
  11401. type: string
  11402. tradeid:
  11403. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11404. type: string
  11405. trademode:
  11406. description: 交易模式
  11407. type: integer
  11408. tradeprice:
  11409. description: 成交价格
  11410. type: number
  11411. tradeproperty:
  11412. description: 交易属性
  11413. type: integer
  11414. tradeqty:
  11415. description: 成交数量
  11416. type: integer
  11417. tradetime:
  11418. description: 成交时间
  11419. type: string
  11420. tradetype:
  11421. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11422. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11423. type: integer
  11424. required:
  11425. - accountid
  11426. - buyorsell
  11427. - goodsid
  11428. - marketid
  11429. - memberuserid
  11430. - orderid
  11431. - tradeamount
  11432. - tradedate
  11433. - tradeid
  11434. - tradeprice
  11435. - tradeqty
  11436. - tradetime
  11437. type: object
  11438. order.QueryTradeOrderDetailRsp:
  11439. properties:
  11440. accountid:
  11441. description: 账户ID[报价币种]
  11442. type: integer
  11443. buildtype:
  11444. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11445. type: integer
  11446. buyorsell:
  11447. description: 买卖 - 0:买 1:卖
  11448. type: integer
  11449. cancelorderid:
  11450. description: 撤单单号(撤单时填写)
  11451. type: string
  11452. cancelqty:
  11453. description: 撤单数量
  11454. type: integer
  11455. clienttype:
  11456. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11457. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11458. type: integer
  11459. closefreezecharge:
  11460. description: 平仓冻结手续费(先建后平操作,需要记录)
  11461. type: number
  11462. closeqty:
  11463. description: 平仓数量(先建后平操作 需要记录)
  11464. type: integer
  11465. closetradeqty:
  11466. description: 平仓成交数量(先建后平操作,需要记录)
  11467. type: integer
  11468. closeunfreezecharge:
  11469. description: 平仓解冻手续费(先建后平操作,需要记录)
  11470. type: number
  11471. delistingtype:
  11472. description: 摘牌类型 - 1:价格最优 2:点选成交
  11473. type: integer
  11474. enableqty:
  11475. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11476. type: integer
  11477. freezecharge:
  11478. description: 冻结手续费
  11479. type: number
  11480. freezemargin:
  11481. description: 冻结保证金(冻结交易金额)
  11482. type: number
  11483. goodscode:
  11484. description: 商品代码
  11485. type: string
  11486. goodsid:
  11487. description: 商品ID
  11488. type: integer
  11489. goodsname:
  11490. description: 商品名称
  11491. type: string
  11492. listingselecttype:
  11493. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11494. type: integer
  11495. marketid:
  11496. description: 市场ID
  11497. type: integer
  11498. marketname:
  11499. description: 市场名称
  11500. type: string
  11501. openfreezecharge:
  11502. description: 开仓冻结手续费(先建后平操作,需要记录)
  11503. type: number
  11504. openqty:
  11505. description: 开仓数量(先建后平操作,需要记录)
  11506. type: integer
  11507. opentradeqty:
  11508. description: 开仓成交数量(先建后平操作,需要记录)
  11509. type: integer
  11510. openunfreezecharge:
  11511. description: 开仓解冻手续费(先建后平操作,需要记录)
  11512. type: number
  11513. operatetype:
  11514. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11515. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11516. 15:管理端协议转让
  11517. type: integer
  11518. operatorid:
  11519. description: 登录账号(LoginID)
  11520. type: integer
  11521. orderid:
  11522. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11523. type: string
  11524. orderprice:
  11525. description: 委托价格
  11526. type: number
  11527. orderqty:
  11528. description: 委托数量
  11529. type: integer
  11530. ordersrc:
  11531. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11532. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11533. type: integer
  11534. orderstatus:
  11535. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11536. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11537. 16:成交失败违约(荷兰式竞拍专用)
  11538. type: integer
  11539. ordertime:
  11540. description: 委托时间
  11541. type: string
  11542. preorderid:
  11543. description: 关联预埋单号(止盈止损单时填写)
  11544. type: string
  11545. pricemode:
  11546. description: '取价方式 - 1:市价 2: 限价'
  11547. type: integer
  11548. relatedid:
  11549. description: 关联单号(交割单)
  11550. type: string
  11551. tradedate:
  11552. description: 交易日(yyyyMMdd)
  11553. type: string
  11554. trademode:
  11555. description: 交易模式
  11556. type: integer
  11557. tradeqty:
  11558. description: 成交数量
  11559. type: integer
  11560. unfreezecharge:
  11561. description: 解冻手续费
  11562. type: number
  11563. unfreezemargin:
  11564. description: 解冻保证金
  11565. type: number
  11566. validtime:
  11567. description: 有效期限
  11568. type: string
  11569. validtype:
  11570. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11571. type: integer
  11572. volumetype:
  11573. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11574. type: integer
  11575. required:
  11576. - accountid
  11577. - buildtype
  11578. - buyorsell
  11579. - goodsid
  11580. - marketid
  11581. - operatetype
  11582. - orderqty
  11583. - ordertime
  11584. - pricemode
  11585. - tradedate
  11586. - validtype
  11587. type: object
  11588. order.QueryTradePositionRsp:
  11589. properties:
  11590. accountid:
  11591. description: 资金账户
  11592. type: integer
  11593. agreeunit:
  11594. description: 合约单位
  11595. type: number
  11596. averageprice:
  11597. description: 持仓均价
  11598. type: number
  11599. buyorsell:
  11600. description: 方向 - 0:买 1:卖
  11601. type: integer
  11602. closetotalqty:
  11603. description: 平仓总数量
  11604. type: integer
  11605. curholderamount:
  11606. description: 当前持仓总金额[商品币种]
  11607. type: number
  11608. curpositionqty:
  11609. description: 当前持仓总数量
  11610. type: integer
  11611. currencyid:
  11612. description: 报价货币ID
  11613. type: integer
  11614. curtdposition:
  11615. description: 期末今日头寸
  11616. type: integer
  11617. decimalplace:
  11618. description: 报价小数位
  11619. type: integer
  11620. enableqty:
  11621. description: 可用量
  11622. type: integer
  11623. fretdposition:
  11624. description: 冻结今日头寸
  11625. type: integer
  11626. frozenqty:
  11627. description: 持仓冻结数量
  11628. type: integer
  11629. goodscode:
  11630. description: 商品代码
  11631. type: string
  11632. goodsid:
  11633. description: 商品Id
  11634. type: integer
  11635. goodsname:
  11636. description: 商品名称
  11637. type: string
  11638. goodunit:
  11639. description: 报价单位
  11640. type: string
  11641. goodunitid:
  11642. description: 报价单位ID
  11643. type: integer
  11644. holderamount:
  11645. description: 期初持仓总金额[商品币种]
  11646. type: number
  11647. marketid:
  11648. description: 所属市场ID
  11649. type: integer
  11650. openreqqty:
  11651. description: 开仓申请数量(用于比较最大持仓数量)
  11652. type: integer
  11653. opentotalqty:
  11654. description: 开仓总数量
  11655. type: integer
  11656. otherfrozenqty:
  11657. description: 持仓其他冻结数量(交割冻结)
  11658. type: integer
  11659. positionqty:
  11660. description: 期初持仓数量
  11661. type: integer
  11662. tnqty:
  11663. description: T+N冻结总量
  11664. type: integer
  11665. tnusedqty:
  11666. description: T+N使用量(可以使用T+N的冻结数量)
  11667. type: integer
  11668. trademode:
  11669. description: 交易模式
  11670. type: integer
  11671. usedmargin:
  11672. description: 占用保证金[商品币种]
  11673. type: number
  11674. required:
  11675. - goodsid
  11676. type: object
  11677. quote.HistoryData:
  11678. properties:
  11679. c:
  11680. description: 收盘价
  11681. type: number
  11682. f:
  11683. description: 是否补充数据
  11684. type: boolean
  11685. h:
  11686. description: 最高价
  11687. type: number
  11688. hv:
  11689. description: 持仓量
  11690. type: integer
  11691. l:
  11692. description: 最低价
  11693. type: number
  11694. o:
  11695. description: 开盘价
  11696. type: number
  11697. s:
  11698. description: 结算价,日线周期(包括)以上才有
  11699. type: number
  11700. ts:
  11701. description: 时间
  11702. type: string
  11703. tt:
  11704. description: 总金额
  11705. type: number
  11706. tv:
  11707. description: 总量
  11708. type: integer
  11709. type: object
  11710. quote.HistoryTikData:
  11711. properties:
  11712. AV:
  11713. description: 卖量
  11714. type: integer
  11715. Ask:
  11716. description: 卖价
  11717. type: number
  11718. BV:
  11719. description: 买量
  11720. type: integer
  11721. Bid:
  11722. description: 买价
  11723. type: number
  11724. HI:
  11725. description: 单笔持仓
  11726. type: integer
  11727. HV:
  11728. description: 持仓量
  11729. type: integer
  11730. PE:
  11731. description: 现价
  11732. type: number
  11733. TDR:
  11734. description: 交易方向,0:买 1:卖
  11735. type: integer
  11736. TK:
  11737. description: 交易类型
  11738. type: integer
  11739. TS:
  11740. description: 行情时间文本
  11741. type: string
  11742. TT:
  11743. description: 现金额
  11744. type: number
  11745. Vol:
  11746. description: 现量
  11747. type: integer
  11748. type: object
  11749. quote.QueryQuoteDayRsp:
  11750. properties:
  11751. ask:
  11752. description: 卖1
  11753. type: number
  11754. ask2:
  11755. description: 卖2
  11756. type: number
  11757. ask3:
  11758. description: 卖3
  11759. type: number
  11760. ask4:
  11761. description: 卖4
  11762. type: number
  11763. ask5:
  11764. description: 卖5
  11765. type: number
  11766. ask6:
  11767. description: 卖6
  11768. type: number
  11769. ask7:
  11770. description: 卖7
  11771. type: number
  11772. ask8:
  11773. description: 卖8
  11774. type: number
  11775. ask9:
  11776. description: 卖9
  11777. type: number
  11778. ask10:
  11779. description: 卖10
  11780. type: number
  11781. askorderid:
  11782. description: 卖单号1
  11783. type: integer
  11784. askorderid2:
  11785. description: 卖单号2
  11786. type: integer
  11787. askorderid3:
  11788. description: 卖单号3
  11789. type: integer
  11790. askorderid4:
  11791. description: 卖单号4
  11792. type: integer
  11793. askorderid5:
  11794. description: 卖单号5
  11795. type: integer
  11796. askordervolume:
  11797. description: 卖单量1
  11798. type: integer
  11799. askordervolume2:
  11800. description: 卖单量2
  11801. type: integer
  11802. askordervolume3:
  11803. description: 卖单量3
  11804. type: integer
  11805. askordervolume4:
  11806. description: 卖单量4
  11807. type: integer
  11808. askordervolume5:
  11809. description: 卖单量5
  11810. type: integer
  11811. askordervolume6:
  11812. description: 卖单量6
  11813. type: integer
  11814. askordervolume7:
  11815. description: 卖单量7
  11816. type: integer
  11817. askordervolume8:
  11818. description: 卖单量8
  11819. type: integer
  11820. askordervolume9:
  11821. description: 卖单量9
  11822. type: integer
  11823. askordervolume10:
  11824. description: 卖单量10
  11825. type: integer
  11826. askqueueinfo:
  11827. description: 大利市卖港股用
  11828. type: string
  11829. askvolume:
  11830. description: 卖量1
  11831. type: integer
  11832. askvolume2:
  11833. description: 卖量2
  11834. type: integer
  11835. askvolume3:
  11836. description: 卖量3
  11837. type: integer
  11838. askvolume4:
  11839. description: 卖量4
  11840. type: integer
  11841. askvolume5:
  11842. description: 卖量5
  11843. type: integer
  11844. askvolume6:
  11845. description: 卖量6
  11846. type: integer
  11847. askvolume7:
  11848. description: 卖量7
  11849. type: integer
  11850. askvolume8:
  11851. description: 卖量8
  11852. type: integer
  11853. askvolume9:
  11854. description: 卖量9
  11855. type: integer
  11856. askvolume10:
  11857. description: 卖量10
  11858. type: integer
  11859. averageprice:
  11860. description: 均价
  11861. type: number
  11862. bid:
  11863. description: 买1
  11864. type: number
  11865. bid2:
  11866. description: 买2
  11867. type: number
  11868. bid3:
  11869. description: 买3
  11870. type: number
  11871. bid4:
  11872. description: 买4
  11873. type: number
  11874. bid5:
  11875. description: 买5
  11876. type: number
  11877. bid6:
  11878. description: 买6
  11879. type: number
  11880. bid7:
  11881. description: 买7
  11882. type: number
  11883. bid8:
  11884. description: 买8
  11885. type: number
  11886. bid9:
  11887. description: 买9
  11888. type: number
  11889. bid10:
  11890. description: 买10
  11891. type: number
  11892. bidorderid:
  11893. description: 买单号1
  11894. type: integer
  11895. bidorderid2:
  11896. description: 买单号2
  11897. type: integer
  11898. bidorderid3:
  11899. description: 买单号3
  11900. type: integer
  11901. bidorderid4:
  11902. description: 买单号4
  11903. type: integer
  11904. bidorderid5:
  11905. description: 买单号5
  11906. type: integer
  11907. bidordervolume:
  11908. description: 买单量1
  11909. type: integer
  11910. bidordervolume2:
  11911. description: 买单量2
  11912. type: integer
  11913. bidordervolume3:
  11914. description: 买单量3
  11915. type: integer
  11916. bidordervolume4:
  11917. description: 买单量4
  11918. type: integer
  11919. bidordervolume5:
  11920. description: 买单量5
  11921. type: integer
  11922. bidordervolume6:
  11923. description: 买单量6
  11924. type: integer
  11925. bidordervolume7:
  11926. description: 买单量7
  11927. type: integer
  11928. bidordervolume8:
  11929. description: 买单量8
  11930. type: integer
  11931. bidordervolume9:
  11932. description: 买单量9
  11933. type: integer
  11934. bidordervolume10:
  11935. description: 买单量10
  11936. type: integer
  11937. bidqueueinfo:
  11938. description: 大利市买港股用
  11939. type: string
  11940. bidvolume:
  11941. description: 买量1
  11942. type: integer
  11943. bidvolume2:
  11944. description: 买量2
  11945. type: integer
  11946. bidvolume3:
  11947. description: 买量3
  11948. type: integer
  11949. bidvolume4:
  11950. description: 买量4
  11951. type: integer
  11952. bidvolume5:
  11953. description: 买量5
  11954. type: integer
  11955. bidvolume6:
  11956. description: 买量6
  11957. type: integer
  11958. bidvolume7:
  11959. description: 买量7
  11960. type: integer
  11961. bidvolume8:
  11962. description: 买量8
  11963. type: integer
  11964. bidvolume9:
  11965. description: 买量9
  11966. type: integer
  11967. bidvolume10:
  11968. description: 买量10
  11969. type: integer
  11970. calloptionpremiums:
  11971. description: 认购期权1
  11972. type: integer
  11973. calloptionpremiums2:
  11974. description: 认购期权2
  11975. type: integer
  11976. calloptionpremiums3:
  11977. description: 认购期权3
  11978. type: integer
  11979. calloptionpremiums4:
  11980. description: 认购期权4
  11981. type: integer
  11982. calloptionpremiums5:
  11983. description: 认购期权5
  11984. type: integer
  11985. cleartime:
  11986. description: 清盘时间
  11987. type: integer
  11988. exchangecode:
  11989. description: 交易所代码
  11990. type: integer
  11991. exchangedate:
  11992. description: 交易日
  11993. type: integer
  11994. goodscode:
  11995. description: 商品代码
  11996. type: string
  11997. grepmarketprice:
  11998. description: 暗盘价 港股专用
  11999. type: number
  12000. highest:
  12001. description: 最高价
  12002. type: number
  12003. holdincrement:
  12004. description: 单笔持仓
  12005. type: integer
  12006. holdvolume:
  12007. description: 持仓
  12008. type: integer
  12009. iep:
  12010. description: 平衡价 港股专用
  12011. type: number
  12012. iev:
  12013. description: 平衡量 港股专用
  12014. type: number
  12015. inventory:
  12016. description: 库存
  12017. type: integer
  12018. iscleared:
  12019. description: 是否清盘标志
  12020. type: integer
  12021. issettled:
  12022. description: 是否结算标志
  12023. type: integer
  12024. last:
  12025. description: 最新价
  12026. type: number
  12027. lastlot:
  12028. description: 最新成交手数
  12029. type: integer
  12030. lasttime:
  12031. description: 行情时间(只有现价变化行情时间才变化)
  12032. type: string
  12033. lastturnover:
  12034. description: 最新成交金额
  12035. type: number
  12036. lastvolume:
  12037. description: 最新成交量
  12038. type: integer
  12039. limitdown:
  12040. description: 跌停价
  12041. type: number
  12042. limitup:
  12043. description: 涨停价
  12044. type: number
  12045. lowest:
  12046. description: 最低价
  12047. type: number
  12048. nontotalholdervolume:
  12049. description: 非交易持仓量
  12050. type: integer
  12051. nontotallot:
  12052. description: 非交易总手数
  12053. type: integer
  12054. nontotalturnover:
  12055. description: 非交易总金额
  12056. type: integer
  12057. nontotalvolume:
  12058. description: 非交易总量
  12059. type: integer
  12060. opened:
  12061. description: 开盘价
  12062. type: number
  12063. opentime:
  12064. description: 开盘时间
  12065. type: string
  12066. orderid:
  12067. description: 序号
  12068. type: integer
  12069. preclose:
  12070. description: 昨收
  12071. type: number
  12072. preholdvolume:
  12073. description: 昨持仓
  12074. type: integer
  12075. presettle:
  12076. description: 昨结价
  12077. type: number
  12078. publictradetype:
  12079. description: 公共交易标志类型 港股专用
  12080. type: string
  12081. putoptionpremiums:
  12082. description: 认沽期权1
  12083. type: integer
  12084. putoptionpremiums2:
  12085. description: 认沽期权2
  12086. type: integer
  12087. putoptionpremiums3:
  12088. description: 认沽期权3
  12089. type: integer
  12090. putoptionpremiums4:
  12091. description: 认沽期权4
  12092. type: integer
  12093. putoptionpremiums5:
  12094. description: 认沽期权5
  12095. type: integer
  12096. settle:
  12097. description: 结算价
  12098. type: number
  12099. strikeprice:
  12100. description: 发行价
  12101. type: number
  12102. totalaskvolume:
  12103. description: 内盘
  12104. type: integer
  12105. totalbidvolume:
  12106. description: 外盘
  12107. type: integer
  12108. totallot:
  12109. description: 总手数
  12110. type: integer
  12111. totalturnover:
  12112. description: 总金额
  12113. type: number
  12114. totalvolume:
  12115. description: 总量
  12116. type: integer
  12117. utclasttime:
  12118. description: utc的行情时间
  12119. type: string
  12120. type: object
  12121. quote.QueryTSDataRsp:
  12122. properties:
  12123. Count:
  12124. description: 交易日应有数据个数
  12125. type: integer
  12126. decimalPlace:
  12127. description: 小数位
  12128. type: integer
  12129. endTime:
  12130. description: 结束时间
  12131. type: string
  12132. goodsCode:
  12133. description: 商品代码
  12134. type: string
  12135. historyDatas:
  12136. description: 历史数据
  12137. items:
  12138. $ref: '#/definitions/quote.HistoryData'
  12139. type: array
  12140. outGoodsCode:
  12141. description: 外部商品代码
  12142. type: string
  12143. preSettle:
  12144. description: 昨结价
  12145. type: number
  12146. runSteps:
  12147. description: 交易日开休市计划
  12148. items:
  12149. $ref: '#/definitions/quote.TSDataRunStep'
  12150. type: array
  12151. startTime:
  12152. description: 开始时间
  12153. type: string
  12154. tradeDate:
  12155. description: 交易日
  12156. type: string
  12157. type: object
  12158. quote.TSDataRunStep:
  12159. properties:
  12160. end:
  12161. description: 真实结束时间
  12162. type: string
  12163. endflag:
  12164. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12165. type: integer
  12166. endtime:
  12167. description: 结束时间(HH:mm)
  12168. type: string
  12169. endweekday:
  12170. description: 结束周几
  12171. type: integer
  12172. groupid:
  12173. description: 分组ID
  12174. type: integer
  12175. runstep:
  12176. description: 运行阶段 - 2:连续交易
  12177. type: integer
  12178. sectionid:
  12179. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12180. 结束时间=结算时间 结束周几=结算周几
  12181. type: integer
  12182. start:
  12183. description: 真实开始时间
  12184. type: string
  12185. startflag:
  12186. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12187. type: integer
  12188. starttime:
  12189. description: 起始时间(HH:mm)
  12190. type: string
  12191. startweekday:
  12192. description: 起始周几
  12193. type: integer
  12194. tradeweekday:
  12195. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12196. type: integer
  12197. type: object
  12198. szdz.QueryConvertLogRsp:
  12199. properties:
  12200. accountid:
  12201. description: 资金账户ID
  12202. type: integer
  12203. clientticket:
  12204. description: 客户端流水号
  12205. type: string
  12206. converttype:
  12207. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12208. type: integer
  12209. createtime:
  12210. description: 记账时间
  12211. type: string
  12212. daymaxvalue:
  12213. description: 配置当日最大转入限制
  12214. type: number
  12215. daymaxvalue2:
  12216. description: 配置当日最大转入限制(转入)
  12217. type: number
  12218. goodscode:
  12219. description: 商品代码
  12220. type: string
  12221. goodsname:
  12222. description: 商品名称
  12223. type: string
  12224. handlestatus:
  12225. description: 处理状态
  12226. type: integer
  12227. innergoodsid:
  12228. description: 内部商品ID
  12229. type: integer
  12230. inratio:
  12231. description: 配置转入比值
  12232. type: integer
  12233. invalue:
  12234. description: 目标值
  12235. type: number
  12236. logid:
  12237. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12238. type: integer
  12239. mobile:
  12240. description: 手机号码(加密存储)
  12241. type: string
  12242. outergoodscode:
  12243. description: 外部商品代码[JD\PD]
  12244. type: string
  12245. outratio:
  12246. description: 配置转出比值
  12247. type: integer
  12248. outvalue:
  12249. description: 源值
  12250. type: number
  12251. pddecimalplace:
  12252. description: PD小数位
  12253. type: integer
  12254. qty:
  12255. description: 数量
  12256. type: string
  12257. remark:
  12258. description: 备注
  12259. type: string
  12260. sessionid:
  12261. description: 会话ID
  12262. type: integer
  12263. timemaxvalue:
  12264. description: 配置单次最大转入限制
  12265. type: number
  12266. timemaxvalue2:
  12267. description: 配置单次最大转入限制(转入)
  12268. type: number
  12269. timeminvalue:
  12270. description: 配置单次最小数量限制
  12271. type: number
  12272. timeminvalue2:
  12273. description: 配置单次最小数量限制(转入)
  12274. type: number
  12275. tradedate:
  12276. description: 交易日(yyyyMMdd)
  12277. type: string
  12278. userid:
  12279. description: 用户ID
  12280. type: integer
  12281. required:
  12282. - logid
  12283. type: object
  12284. szdz.QueryGoodsPickupRsp:
  12285. properties:
  12286. accountid:
  12287. description: 账户ID
  12288. type: integer
  12289. address:
  12290. description: 提货人详细地址
  12291. type: string
  12292. auditer:
  12293. description: 审核人
  12294. type: integer
  12295. audittime:
  12296. description: 审核时间
  12297. type: string
  12298. cardnum:
  12299. description: 提货人证件号码
  12300. type: string
  12301. cardtypeid:
  12302. description: 提货人证件类型
  12303. type: integer
  12304. checkremark:
  12305. description: 审核备注
  12306. type: string
  12307. goodscode:
  12308. description: 商品代码
  12309. type: string
  12310. goodsid:
  12311. description: 商品ID
  12312. type: integer
  12313. goodsname:
  12314. description: 商品名称
  12315. type: string
  12316. handlestatus:
  12317. description: 处理状态
  12318. type: integer
  12319. marketid:
  12320. description: 市场ID
  12321. type: integer
  12322. phonenum:
  12323. description: 提货人联系方式
  12324. type: string
  12325. qty:
  12326. description: 提货数量
  12327. type: number
  12328. recivername:
  12329. description: 提货人姓名
  12330. type: string
  12331. reqtime:
  12332. description: 更新时间
  12333. type: string
  12334. takemode:
  12335. description: 提货方式 - 2:自提 3:配送
  12336. type: integer
  12337. takeorderid:
  12338. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12339. type: string
  12340. takeorderstatus:
  12341. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12342. type: integer
  12343. takeremark:
  12344. description: 提货备注
  12345. type: string
  12346. tradedate:
  12347. description: 交易日(yyyyMMdd)
  12348. type: string
  12349. userid:
  12350. description: 用户ID
  12351. type: integer
  12352. required:
  12353. - takeorderid
  12354. type: object
  12355. szdz.QueryRecieptOrderRsp:
  12356. properties:
  12357. accountName:
  12358. description: 所属账号名称(已脱敏)
  12359. type: string
  12360. accountid:
  12361. description: 资金账号
  12362. type: integer
  12363. buyorsell:
  12364. description: 方向 - 0:买 1:卖
  12365. type: integer
  12366. enableqty:
  12367. description: 可摘数量
  12368. type: integer
  12369. goodscode:
  12370. description: 商品代码
  12371. type: string
  12372. goodsid:
  12373. description: 商品ID
  12374. type: integer
  12375. goodsname:
  12376. description: 商品名称
  12377. type: string
  12378. orderid:
  12379. description: 委托单号
  12380. type: string
  12381. orderprice:
  12382. description: 委托价格
  12383. type: number
  12384. ordertime:
  12385. description: 委托时间
  12386. type: string
  12387. tradedate:
  12388. description: 交易日(yyyyMMdd)
  12389. type: string
  12390. required:
  12391. - ordertime
  12392. type: object
  12393. szdz.QuerySZDZTradePositionRsp:
  12394. properties:
  12395. accountid:
  12396. description: 账号Id
  12397. type: integer
  12398. agreeunit:
  12399. description: 合约单位
  12400. type: number
  12401. averageprice:
  12402. description: 持仓均价
  12403. type: number
  12404. buyorsell:
  12405. description: 方向 - 0:买 1:卖
  12406. type: integer
  12407. closetotalqty:
  12408. description: 平仓总数量
  12409. type: integer
  12410. curholderamount:
  12411. description: 当前持仓总金额
  12412. type: number
  12413. curpositionqty:
  12414. description: 当前持仓总数量
  12415. type: integer
  12416. currencyid:
  12417. description: 报价货币ID
  12418. type: integer
  12419. curtdposition:
  12420. description: 期末今日头寸
  12421. type: integer
  12422. decimalplace:
  12423. description: 报价小数位
  12424. type: integer
  12425. enableqty:
  12426. description: 可用量
  12427. type: integer
  12428. fretdposition:
  12429. description: 冻结今日头寸
  12430. type: integer
  12431. frozenqty:
  12432. description: 持仓冻结数量
  12433. type: integer
  12434. goodscode:
  12435. description: 商品代码(内部)
  12436. type: string
  12437. goodsid:
  12438. description: 商品Id
  12439. type: integer
  12440. goodsname:
  12441. description: 商品名称
  12442. type: string
  12443. goodunit:
  12444. description: 报价单位
  12445. type: string
  12446. goodunitid:
  12447. description: 报价单位ID
  12448. type: integer
  12449. holderamount:
  12450. description: 期初持仓总金额
  12451. type: number
  12452. marketid:
  12453. description: 市场ID
  12454. type: integer
  12455. openreqqty:
  12456. description: 开仓申请数量
  12457. type: integer
  12458. opentotalqty:
  12459. description: 开仓总数量
  12460. type: integer
  12461. otherfrozenqty:
  12462. description: 持仓其他冻结数量(交割冻结)
  12463. type: integer
  12464. positionqty:
  12465. description: 期初持仓数量
  12466. type: integer
  12467. szdz3freezqty:
  12468. description: 尚志大宗转换冻结总数量
  12469. type: integer
  12470. tnqty:
  12471. description: T+N冻结总量
  12472. type: integer
  12473. tnusedqty:
  12474. description: T+N使用量
  12475. type: integer
  12476. trademode:
  12477. description: 交易模式
  12478. type: integer
  12479. usedmargin:
  12480. description: 占用保证金
  12481. type: number
  12482. type: object
  12483. taaccount.QueryAmountLogRsp:
  12484. properties:
  12485. OPERATETYPENAME:
  12486. description: 资金操作类型名称
  12487. type: string
  12488. accountid:
  12489. description: 资金账户ID
  12490. type: integer
  12491. agoodscode:
  12492. description: 竞拍商品代码
  12493. type: string
  12494. agoodsname:
  12495. description: 竞拍商品名称
  12496. type: string
  12497. amount:
  12498. description: 资金金额
  12499. type: number
  12500. amountadjusttype:
  12501. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12502. type: integer
  12503. autoid:
  12504. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12505. type: integer
  12506. balance:
  12507. description: 期初余额
  12508. type: number
  12509. businesscode:
  12510. description: 业务编号
  12511. type: integer
  12512. createtime:
  12513. description: 发生时间
  12514. type: string
  12515. currencyid:
  12516. description: 币种ID
  12517. type: integer
  12518. currentbalance:
  12519. description: 期末余额(变动后金额)
  12520. type: number
  12521. dgoodscode:
  12522. description: 交割商品代码
  12523. type: string
  12524. dgoodsname:
  12525. description: 交割商品名称
  12526. type: string
  12527. goodscode:
  12528. description: 商品代码
  12529. type: string
  12530. goodsid:
  12531. description: 商品ID
  12532. type: integer
  12533. goodsname:
  12534. description: 商品名称
  12535. type: string
  12536. marketid:
  12537. description: 市场ID
  12538. type: integer
  12539. marketname:
  12540. description: 市场名称
  12541. type: string
  12542. moneyticket:
  12543. description: 资金流水号:银行端流水号
  12544. type: integer
  12545. operatetype:
  12546. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12547. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12548. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12549. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12550. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12551. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12552. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12553. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12554. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12555. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12556. type: integer
  12557. relationorderid:
  12558. description: 关联单号
  12559. type: string
  12560. remark:
  12561. description: 备注
  12562. type: string
  12563. trademode:
  12564. description: 交易模式
  12565. type: integer
  12566. required:
  12567. - accountid
  12568. - amount
  12569. - amountadjusttype
  12570. - autoid
  12571. - balance
  12572. - createtime
  12573. - currentbalance
  12574. - operatetype
  12575. type: object
  12576. taaccount.QueryHisAmountLogRsp:
  12577. properties:
  12578. OPERATETYPENAME:
  12579. description: 资金操作类型名称
  12580. type: string
  12581. accountid:
  12582. description: 资金账户ID
  12583. type: integer
  12584. agoodscode:
  12585. description: 竞拍商品代码
  12586. type: string
  12587. agoodsname:
  12588. description: 竞拍商品名称
  12589. type: string
  12590. amount:
  12591. description: 资金金额
  12592. type: number
  12593. amountadjusttype:
  12594. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12595. type: integer
  12596. autoid:
  12597. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12598. type: integer
  12599. balance:
  12600. description: 期初余额
  12601. type: number
  12602. businesscode:
  12603. description: 业务编号
  12604. type: integer
  12605. createtime:
  12606. description: 发生时间
  12607. type: string
  12608. currencyid:
  12609. description: 币种ID
  12610. type: integer
  12611. currentbalance:
  12612. description: 期末余额(变动后金额)
  12613. type: number
  12614. dgoodscode:
  12615. description: 交割商品代码
  12616. type: string
  12617. dgoodsname:
  12618. description: 交割商品名称
  12619. type: string
  12620. goodscode:
  12621. description: 商品代码
  12622. type: string
  12623. goodsid:
  12624. description: 商品ID
  12625. type: integer
  12626. goodsname:
  12627. description: 商品名称
  12628. type: string
  12629. histradedate:
  12630. description: 历史交易日
  12631. type: string
  12632. isvaliddata:
  12633. description: 是否有效 - 0:无效 1:有效
  12634. type: integer
  12635. marketid:
  12636. description: 市场ID
  12637. type: integer
  12638. marketname:
  12639. description: 市场名称
  12640. type: string
  12641. moneyticket:
  12642. description: 资金流水号:银行端流水号
  12643. type: integer
  12644. operatetype:
  12645. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12646. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12647. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12648. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12649. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12650. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12651. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12652. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12653. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12654. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12655. type: integer
  12656. relationorderid:
  12657. description: 关联单号
  12658. type: string
  12659. remark:
  12660. description: 备注
  12661. type: string
  12662. trademode:
  12663. description: 交易模式
  12664. type: integer
  12665. required:
  12666. - accountid
  12667. - amount
  12668. - amountadjusttype
  12669. - autoid
  12670. - balance
  12671. - createtime
  12672. - currentbalance
  12673. - histradedate
  12674. - operatetype
  12675. type: object
  12676. trade.QueryRecieptOrderRsp:
  12677. properties:
  12678. accountName:
  12679. description: 所属账号名称(已脱敏)
  12680. type: string
  12681. accountid:
  12682. description: 资金账号
  12683. type: integer
  12684. buyorsell:
  12685. description: 方向 - 0:买 1:卖
  12686. type: integer
  12687. enableqty:
  12688. description: 可摘数量
  12689. type: integer
  12690. goodscode:
  12691. description: 商品代码
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. goodsname:
  12697. description: 商品名称
  12698. type: string
  12699. orderid:
  12700. description: 委托单号
  12701. type: string
  12702. orderprice:
  12703. description: 委托价格
  12704. type: number
  12705. ordertime:
  12706. description: 委托时间
  12707. type: string
  12708. tradedate:
  12709. description: 交易日(yyyyMMdd)
  12710. type: string
  12711. required:
  12712. - ordertime
  12713. type: object
  12714. user.LoginQueryRsp:
  12715. properties:
  12716. areaRoles:
  12717. description: 所属角色信息
  12718. items:
  12719. $ref: '#/definitions/models.Arearole'
  12720. type: array
  12721. externalExchanges:
  12722. description: 外部交易所
  12723. items:
  12724. $ref: '#/definitions/models.Externalexchange'
  12725. type: array
  12726. goodsgroups:
  12727. description: 商品组
  12728. items:
  12729. $ref: '#/definitions/models.Goodsgroup'
  12730. type: array
  12731. loginAccount:
  12732. $ref: '#/definitions/models.Loginaccount'
  12733. description: 登录账号
  12734. type: object
  12735. markets:
  12736. description: 市场
  12737. items:
  12738. $ref: '#/definitions/models.Market'
  12739. type: array
  12740. systemParams:
  12741. description: 系统参数
  12742. items:
  12743. $ref: '#/definitions/models.Systemparam'
  12744. type: array
  12745. userAccount:
  12746. $ref: '#/definitions/models.Useraccount'
  12747. description: 用户账号
  12748. type: object
  12749. userInfo:
  12750. $ref: '#/definitions/models.Userinfo'
  12751. description: 用户信息
  12752. type: object
  12753. username:
  12754. description: 用户姓名
  12755. type: string
  12756. type: object
  12757. info:
  12758. contact: {}
  12759. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12760. license: {}
  12761. termsOfService: http://www.muchinfo.cn
  12762. title: MTP2.0 查询服务 API
  12763. version: "1.0"
  12764. paths:
  12765. /CPTrade/QueryCPTradeMyBidInfos:
  12766. get:
  12767. parameters:
  12768. - description: 资金账户
  12769. in: query
  12770. name: accountid
  12771. required: true
  12772. type: integer
  12773. - description: 预售市场ID
  12774. in: query
  12775. name: marketid
  12776. type: integer
  12777. - description: 预售商品ID
  12778. in: query
  12779. name: goodsid
  12780. type: integer
  12781. produces:
  12782. - application/json
  12783. responses:
  12784. "200":
  12785. description: OK
  12786. schema:
  12787. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12788. "500":
  12789. description: Internal Server Error
  12790. schema:
  12791. $ref: '#/definitions/app.Response'
  12792. security:
  12793. - ApiKeyAuth: []
  12794. summary: 查询产能预售我的出价信息
  12795. tags:
  12796. - 产能预售
  12797. /CPTrade/QueryCPTradeOrderDetail:
  12798. get:
  12799. parameters:
  12800. - description: 预售商品ID
  12801. in: query
  12802. name: goodsid
  12803. type: integer
  12804. - description: 预售市场ID
  12805. in: query
  12806. name: marketid
  12807. type: integer
  12808. - description: 预售商品ID列表 - 格式:1,2,3
  12809. in: query
  12810. name: goodsids
  12811. type: string
  12812. produces:
  12813. - application/json
  12814. responses:
  12815. "200":
  12816. description: OK
  12817. schema:
  12818. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12819. "500":
  12820. description: Internal Server Error
  12821. schema:
  12822. $ref: '#/definitions/app.Response'
  12823. security:
  12824. - ApiKeyAuth: []
  12825. summary: 查询产能预售委托单信息
  12826. tags:
  12827. - 产能预售
  12828. /CPTrade/QueryMyCPTradeGoods:
  12829. get:
  12830. parameters:
  12831. - description: 资金账户
  12832. in: query
  12833. name: accountid
  12834. required: true
  12835. type: integer
  12836. produces:
  12837. - application/json
  12838. responses:
  12839. "200":
  12840. description: OK
  12841. schema:
  12842. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12843. "500":
  12844. description: Internal Server Error
  12845. schema:
  12846. $ref: '#/definitions/app.Response'
  12847. security:
  12848. - ApiKeyAuth: []
  12849. summary: 查询我的预售信息
  12850. tags:
  12851. - 产能预售
  12852. /CPTrade/QueryPositionCancel:
  12853. get:
  12854. parameters:
  12855. - description: 账户ID
  12856. in: query
  12857. name: userid
  12858. required: true
  12859. type: integer
  12860. - description: 注销ID
  12861. in: query
  12862. name: cancelid
  12863. type: integer
  12864. - description: 资金账户ID
  12865. in: query
  12866. name: accountid
  12867. type: integer
  12868. produces:
  12869. - application/json
  12870. responses:
  12871. "200":
  12872. description: OK
  12873. schema:
  12874. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12875. "500":
  12876. description: Internal Server Error
  12877. schema:
  12878. $ref: '#/definitions/app.Response'
  12879. security:
  12880. - ApiKeyAuth: []
  12881. summary: 查询远期订单注销申请信息
  12882. tags:
  12883. - 产能预售
  12884. /CPTrade/QueryPreasleApply:
  12885. get:
  12886. parameters:
  12887. - description: 账户ID
  12888. in: query
  12889. name: userid
  12890. required: true
  12891. type: integer
  12892. - description: 申请ID
  12893. in: query
  12894. name: applyid
  12895. type: integer
  12896. - description: 资金账户ID
  12897. in: query
  12898. name: accountid
  12899. type: integer
  12900. produces:
  12901. - application/json
  12902. responses:
  12903. "200":
  12904. description: OK
  12905. schema:
  12906. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12907. "500":
  12908. description: Internal Server Error
  12909. schema:
  12910. $ref: '#/definitions/app.Response'
  12911. security:
  12912. - ApiKeyAuth: []
  12913. summary: 查询产能预售申请信息
  12914. tags:
  12915. - 产能预售
  12916. /CPTrade/QueryPresaleGoodsEx:
  12917. get:
  12918. parameters:
  12919. - description: 预售商品ID
  12920. in: query
  12921. name: goodsid
  12922. type: integer
  12923. - description: 预售市场ID
  12924. in: query
  12925. name: marketid
  12926. type: integer
  12927. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12928. in: query
  12929. name: presalemode
  12930. type: integer
  12931. - description: 预售商品ID列表 - 格式:1,2,3
  12932. in: query
  12933. name: goodsids
  12934. type: string
  12935. - description: 预售商品代码
  12936. in: query
  12937. name: goodscode
  12938. type: string
  12939. produces:
  12940. - application/json
  12941. responses:
  12942. "200":
  12943. description: OK
  12944. schema:
  12945. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12946. "500":
  12947. description: Internal Server Error
  12948. schema:
  12949. $ref: '#/definitions/app.Response'
  12950. security:
  12951. - ApiKeyAuth: []
  12952. summary: 查询产能预售商品扩展信息
  12953. tags:
  12954. - 产能预售
  12955. /CPTrade/QueryUserGoodsData:
  12956. get:
  12957. parameters:
  12958. - description: 资金账户ID
  12959. in: query
  12960. name: accountid
  12961. required: true
  12962. type: integer
  12963. produces:
  12964. - application/json
  12965. responses:
  12966. "200":
  12967. description: OK
  12968. schema:
  12969. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12970. "500":
  12971. description: Internal Server Error
  12972. schema:
  12973. $ref: '#/definitions/app.Response'
  12974. security:
  12975. - ApiKeyAuth: []
  12976. summary: 查询远期订单信息
  12977. tags:
  12978. - 产能预售
  12979. /Common/GetAllEnums:
  12980. get:
  12981. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12982. parameters:
  12983. - description: 起始自增ID
  12984. in: query
  12985. name: autoid
  12986. type: integer
  12987. produces:
  12988. - application/json
  12989. responses:
  12990. "200":
  12991. description: OK
  12992. schema:
  12993. $ref: '#/definitions/models.Enumdicitem'
  12994. "500":
  12995. description: Internal Server Error
  12996. schema:
  12997. $ref: '#/definitions/app.Response'
  12998. summary: 获取所有枚举信息
  12999. tags:
  13000. - 通用服务
  13001. /Common/GetClientMenus:
  13002. get:
  13003. parameters:
  13004. - description: 登录账号
  13005. in: query
  13006. name: loginID
  13007. required: true
  13008. type: integer
  13009. - description: 终端类型,0:PC 1:Mobile
  13010. in: query
  13011. name: clientType
  13012. type: integer
  13013. produces:
  13014. - application/json
  13015. responses:
  13016. "200":
  13017. description: OK
  13018. schema:
  13019. items:
  13020. $ref: '#/definitions/common.ClientMenu'
  13021. type: array
  13022. "500":
  13023. description: Internal Server Error
  13024. schema:
  13025. $ref: '#/definitions/app.Response'
  13026. security:
  13027. - ApiKeyAuth: []
  13028. summary: 获取交易端菜单
  13029. tags:
  13030. - 通用服务
  13031. /Common/GetDivisions:
  13032. get:
  13033. produces:
  13034. - application/json
  13035. responses:
  13036. "200":
  13037. description: OK
  13038. schema:
  13039. $ref: '#/definitions/models.Division'
  13040. "500":
  13041. description: Internal Server Error
  13042. schema:
  13043. $ref: '#/definitions/app.Response'
  13044. summary: 查询区域信息
  13045. tags:
  13046. - 通用服务
  13047. /Common/GetServerTime:
  13048. get:
  13049. produces:
  13050. - application/json
  13051. responses:
  13052. "200":
  13053. description: OK
  13054. schema:
  13055. $ref: '#/definitions/app.Response'
  13056. "500":
  13057. description: Internal Server Error
  13058. schema:
  13059. $ref: '#/definitions/app.Response'
  13060. summary: 获取服务器时间
  13061. tags:
  13062. - 通用服务
  13063. /Common/NoticeReaded:
  13064. post:
  13065. parameters:
  13066. - description: 登录账号
  13067. in: query
  13068. name: loginID
  13069. required: true
  13070. type: integer
  13071. - description: 通知公告ID
  13072. in: query
  13073. name: noticeID
  13074. required: true
  13075. type: integer
  13076. produces:
  13077. - application/json
  13078. responses:
  13079. "200":
  13080. description: OK
  13081. schema:
  13082. $ref: '#/definitions/app.Response'
  13083. "500":
  13084. description: Internal Server Error
  13085. schema:
  13086. $ref: '#/definitions/app.Response'
  13087. security:
  13088. - ApiKeyAuth: []
  13089. summary: 通知公告设置已读请求
  13090. tags:
  13091. - 通用服务
  13092. /Common/QueryErrorInfos:
  13093. get:
  13094. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13095. parameters:
  13096. - description: 起始行号前索引
  13097. in: query
  13098. name: rowNumber
  13099. type: string
  13100. produces:
  13101. - application/json
  13102. responses:
  13103. "200":
  13104. description: OK
  13105. schema:
  13106. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13107. "500":
  13108. description: Internal Server Error
  13109. schema:
  13110. $ref: '#/definitions/app.Response'
  13111. summary: 获取数据库错误信息
  13112. tags:
  13113. - 通用服务
  13114. /Common/QueryImageConfigs:
  13115. get:
  13116. parameters:
  13117. - description: 类型 - 1:App首页轮播 2:我的
  13118. in: query
  13119. name: imageType
  13120. type: integer
  13121. produces:
  13122. - application/json
  13123. responses:
  13124. "200":
  13125. description: OK
  13126. schema:
  13127. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13128. "500":
  13129. description: Internal Server Error
  13130. schema:
  13131. $ref: '#/definitions/app.Response'
  13132. summary: 查询轮播图配置信息
  13133. tags:
  13134. - 通用服务
  13135. /Common/QueryNotice:
  13136. get:
  13137. parameters:
  13138. - description: 页码
  13139. in: query
  13140. name: page
  13141. type: integer
  13142. - description: 每页条数
  13143. in: query
  13144. name: pagesize
  13145. type: integer
  13146. - description: 登录账号
  13147. in: query
  13148. name: loginID
  13149. required: true
  13150. type: integer
  13151. - description: 消息类型 - 1:公告通知 2:系统消息
  13152. in: query
  13153. name: msgType
  13154. type: integer
  13155. - description: 是否只获取未读信息
  13156. in: query
  13157. name: onlyUnRead
  13158. type: boolean
  13159. - description: 自增ID,传入后会返回这个ID后面的记录
  13160. in: query
  13161. name: lastID
  13162. type: integer
  13163. produces:
  13164. - application/json
  13165. responses:
  13166. "200":
  13167. description: OK
  13168. schema:
  13169. $ref: '#/definitions/common.QueryNoticeRsp'
  13170. "500":
  13171. description: Internal Server Error
  13172. schema:
  13173. $ref: '#/definitions/app.Response'
  13174. security:
  13175. - ApiKeyAuth: []
  13176. summary: 通知公告系统消息查询
  13177. tags:
  13178. - 通用服务
  13179. /Common/QueryProvincesAndCities:
  13180. get:
  13181. parameters:
  13182. - description: 省ID
  13183. in: query
  13184. name: provinceID
  13185. type: integer
  13186. produces:
  13187. - application/json
  13188. responses:
  13189. "200":
  13190. description: OK
  13191. schema:
  13192. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13193. "500":
  13194. description: Internal Server Error
  13195. schema:
  13196. $ref: '#/definitions/app.Response'
  13197. summary: 查询省市信息(不包括区)
  13198. tags:
  13199. - 通用服务
  13200. /Common/QueryTableDefine:
  13201. get:
  13202. parameters:
  13203. - description: 表key
  13204. in: query
  13205. name: tableKey
  13206. type: string
  13207. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13208. in: query
  13209. name: tableType
  13210. type: integer
  13211. produces:
  13212. - application/json
  13213. responses:
  13214. "200":
  13215. description: OK
  13216. schema:
  13217. $ref: '#/definitions/common.QueryTableDefineRsp'
  13218. "500":
  13219. description: Internal Server Error
  13220. schema:
  13221. $ref: '#/definitions/app.Response'
  13222. summary: 查询交易端列表头信息
  13223. tags:
  13224. - 通用服务
  13225. /Common/QueryTraderMenu:
  13226. get:
  13227. parameters:
  13228. - description: 登录账号
  13229. in: query
  13230. name: loginid
  13231. required: true
  13232. type: integer
  13233. produces:
  13234. - application/json
  13235. responses:
  13236. "200":
  13237. description: OK
  13238. schema:
  13239. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13240. "500":
  13241. description: Internal Server Error
  13242. schema:
  13243. $ref: '#/definitions/app.Response'
  13244. summary: 查询交易端菜单
  13245. tags:
  13246. - 通用服务
  13247. /Delivery/QueryDeliveryRelation:
  13248. get:
  13249. parameters:
  13250. - description: 商品ID
  13251. in: query
  13252. name: goodsid
  13253. type: integer
  13254. - description: 品种ID
  13255. in: query
  13256. name: deliverygoodsid
  13257. type: integer
  13258. - description: 市场ID
  13259. in: query
  13260. name: marketid
  13261. type: integer
  13262. produces:
  13263. - application/json
  13264. responses:
  13265. "200":
  13266. description: OK
  13267. schema:
  13268. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13269. "500":
  13270. description: Internal Server Error
  13271. schema:
  13272. $ref: '#/definitions/app.Response'
  13273. security:
  13274. - ApiKeyAuth: []
  13275. summary: 查询商品交割关系表
  13276. tags:
  13277. - 交割服务
  13278. /Ermcp/GetErmcpGoods:
  13279. get:
  13280. parameters:
  13281. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13282. in: query
  13283. name: lastUpdateTime
  13284. type: string
  13285. produces:
  13286. - application/json
  13287. responses:
  13288. "200":
  13289. description: OK
  13290. schema:
  13291. $ref: '#/definitions/models.ErmcpGoods'
  13292. "500":
  13293. description: Internal Server Error
  13294. schema:
  13295. $ref: '#/definitions/app.Response'
  13296. security:
  13297. - ApiKeyAuth: []
  13298. summary: 查询企业风管期货商品信息
  13299. tags:
  13300. - 企业风险管理(app)
  13301. /Ermcp/GetErmcpGoodsSortByPosition:
  13302. get:
  13303. parameters:
  13304. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13305. in: query
  13306. name: sortIndex
  13307. type: string
  13308. produces:
  13309. - application/json
  13310. responses:
  13311. "200":
  13312. description: OK
  13313. schema:
  13314. $ref: '#/definitions/models.Goodssortbypreposition'
  13315. "500":
  13316. description: Internal Server Error
  13317. schema:
  13318. $ref: '#/definitions/app.Response'
  13319. security:
  13320. - ApiKeyAuth: []
  13321. summary: 查询企业风管期货主力、次主力商品信息
  13322. tags:
  13323. - 企业风险管理(app)
  13324. /Ermcp/GetErmcpOutAccountStatus:
  13325. get:
  13326. parameters:
  13327. - description: 登录账号
  13328. in: query
  13329. name: loginID
  13330. required: true
  13331. type: integer
  13332. produces:
  13333. - application/json
  13334. responses:
  13335. "200":
  13336. description: OK
  13337. schema:
  13338. $ref: '#/definitions/models.Hedgemarketopenlog'
  13339. "500":
  13340. description: Internal Server Error
  13341. schema:
  13342. $ref: '#/definitions/app.Response'
  13343. security:
  13344. - ApiKeyAuth: []
  13345. summary: 获取目标登录账号当前对冲账号在线状态
  13346. tags:
  13347. - 企业风险管理(app)
  13348. /Ermcp/GetErmcpRoleFuncMenuLists:
  13349. get:
  13350. parameters:
  13351. - description: 登录账号
  13352. in: query
  13353. name: loginID
  13354. required: true
  13355. type: integer
  13356. produces:
  13357. - application/json
  13358. responses:
  13359. "200":
  13360. description: OK
  13361. schema:
  13362. $ref: '#/definitions/models.Funcmenulist'
  13363. "500":
  13364. description: Internal Server Error
  13365. schema:
  13366. $ref: '#/definitions/app.Response'
  13367. security:
  13368. - ApiKeyAuth: []
  13369. summary: 获取企业风管终端权限
  13370. tags:
  13371. - 企业风险管理(app)
  13372. /Ermcp/QueryAccMgrBizGroupSet:
  13373. get:
  13374. parameters:
  13375. - description: 用户ID
  13376. in: query
  13377. name: userid
  13378. required: true
  13379. type: integer
  13380. - description: 现货商品id
  13381. in: query
  13382. name: deliverygoodsid
  13383. type: integer
  13384. produces:
  13385. - application/json
  13386. responses:
  13387. "200":
  13388. description: OK
  13389. schema:
  13390. items:
  13391. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13392. type: array
  13393. "500":
  13394. description: Internal Server Error
  13395. schema:
  13396. $ref: '#/definitions/app.Response'
  13397. security:
  13398. - ApiKeyAuth: []
  13399. summary: 查询业务类型分组(账户管理/账户设置)
  13400. tags:
  13401. - 企业风险管理(app)
  13402. /Ermcp/QueryAccMgrLoginUser:
  13403. get:
  13404. parameters:
  13405. - description: 用户ID
  13406. in: query
  13407. name: userid
  13408. required: true
  13409. type: integer
  13410. - description: 用户类型 2-机构 7-企业成员
  13411. in: query
  13412. name: usertype
  13413. type: integer
  13414. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13415. in: query
  13416. name: querytype
  13417. required: true
  13418. type: integer
  13419. produces:
  13420. - application/json
  13421. responses:
  13422. "200":
  13423. description: OK
  13424. schema:
  13425. items:
  13426. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13427. type: array
  13428. "500":
  13429. description: Internal Server Error
  13430. schema:
  13431. $ref: '#/definitions/app.Response'
  13432. security:
  13433. - ApiKeyAuth: []
  13434. summary: 查询账户管理登录账号(账户管理/登录账号)
  13435. tags:
  13436. - 企业风险管理(app)
  13437. /Ermcp/QueryAccMgrMainAccountInfo:
  13438. get:
  13439. parameters:
  13440. - description: 用户ID
  13441. in: query
  13442. name: userid
  13443. type: integer
  13444. - description: 主账号id
  13445. in: query
  13446. name: accountid
  13447. type: integer
  13448. produces:
  13449. - application/json
  13450. responses:
  13451. "200":
  13452. description: OK
  13453. schema:
  13454. items:
  13455. $ref: '#/definitions/models.MainAccountInfo'
  13456. type: array
  13457. "500":
  13458. description: Internal Server Error
  13459. schema:
  13460. $ref: '#/definitions/app.Response'
  13461. security:
  13462. - ApiKeyAuth: []
  13463. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13464. tags:
  13465. - 企业风险管理(app)
  13466. /Ermcp/QueryAccMgrRole:
  13467. get:
  13468. parameters:
  13469. - description: 用户ID
  13470. in: query
  13471. name: userid
  13472. required: true
  13473. type: integer
  13474. produces:
  13475. - application/json
  13476. responses:
  13477. "200":
  13478. description: OK
  13479. schema:
  13480. items:
  13481. $ref: '#/definitions/models.ErmcpRole'
  13482. type: array
  13483. "500":
  13484. description: Internal Server Error
  13485. schema:
  13486. $ref: '#/definitions/app.Response'
  13487. security:
  13488. - ApiKeyAuth: []
  13489. summary: 查询账户管理角色设置(账户管理/角色设置)
  13490. tags:
  13491. - 企业风险管理(app)
  13492. /Ermcp/QueryAccMgrRoleMenu:
  13493. get:
  13494. parameters:
  13495. - description: 用户ID
  13496. in: query
  13497. name: userid
  13498. required: true
  13499. type: integer
  13500. - description: 角色id(可多个,逗号隔开)
  13501. in: query
  13502. name: roleid
  13503. type: string
  13504. produces:
  13505. - application/json
  13506. responses:
  13507. "200":
  13508. description: OK
  13509. schema:
  13510. items:
  13511. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13512. type: array
  13513. "500":
  13514. description: Internal Server Error
  13515. schema:
  13516. $ref: '#/definitions/app.Response'
  13517. security:
  13518. - ApiKeyAuth: []
  13519. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13520. tags:
  13521. - 企业风险管理(app)
  13522. /Ermcp/QueryAccMgrTaAccountInfo:
  13523. get:
  13524. parameters:
  13525. - description: 用户ID
  13526. in: query
  13527. name: userid
  13528. required: true
  13529. type: integer
  13530. - description: 账号id
  13531. in: query
  13532. name: accountid
  13533. type: integer
  13534. produces:
  13535. - application/json
  13536. responses:
  13537. "200":
  13538. description: OK
  13539. schema:
  13540. items:
  13541. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13542. type: array
  13543. "500":
  13544. description: Internal Server Error
  13545. schema:
  13546. $ref: '#/definitions/app.Response'
  13547. security:
  13548. - ApiKeyAuth: []
  13549. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13550. tags:
  13551. - 企业风险管理(app)
  13552. /Ermcp/QueryAccMgrTaaccount:
  13553. get:
  13554. parameters:
  13555. - description: 用户ID
  13556. in: query
  13557. name: userid
  13558. required: true
  13559. type: integer
  13560. produces:
  13561. - application/json
  13562. responses:
  13563. "200":
  13564. description: OK
  13565. schema:
  13566. items:
  13567. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13568. type: array
  13569. "500":
  13570. description: Internal Server Error
  13571. schema:
  13572. $ref: '#/definitions/app.Response'
  13573. security:
  13574. - ApiKeyAuth: []
  13575. summary: 查询账户管理期货账号(账户管理/期货账号)
  13576. tags:
  13577. - 企业风险管理(app)
  13578. /Ermcp/QueryAvaildGoodsGroup:
  13579. get:
  13580. parameters:
  13581. - description: 所属机构ID
  13582. in: query
  13583. name: userid
  13584. required: true
  13585. type: integer
  13586. produces:
  13587. - application/json
  13588. responses:
  13589. "200":
  13590. description: OK
  13591. schema:
  13592. items:
  13593. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13594. type: array
  13595. "500":
  13596. description: Internal Server Error
  13597. schema:
  13598. $ref: '#/definitions/app.Response'
  13599. security:
  13600. - ApiKeyAuth: []
  13601. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13602. tags:
  13603. - 企业风险管理(app)
  13604. /Ermcp/QueryBusinessDj:
  13605. get:
  13606. parameters:
  13607. - description: 用户ID
  13608. in: query
  13609. name: UserId
  13610. required: true
  13611. type: integer
  13612. - description: 用户类型 2-机构 7-企业成员
  13613. in: query
  13614. name: usertype
  13615. type: integer
  13616. - description: 现货合同ID, 不填则查所有
  13617. in: query
  13618. name: relatedid
  13619. type: string
  13620. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13621. in: query
  13622. name: applystatus
  13623. type: string
  13624. produces:
  13625. - application/json
  13626. responses:
  13627. "200":
  13628. description: OK
  13629. schema:
  13630. items:
  13631. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13632. type: array
  13633. "500":
  13634. description: Internal Server Error
  13635. schema:
  13636. $ref: '#/definitions/app.Response'
  13637. security:
  13638. - ApiKeyAuth: []
  13639. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13640. tags:
  13641. - 企业风险管理(app)
  13642. /Ermcp/QueryBusinessFp:
  13643. get:
  13644. parameters:
  13645. - description: 用户ID
  13646. in: query
  13647. name: UserId
  13648. required: true
  13649. type: integer
  13650. - description: 用户类型 2-机构 7-企业成员
  13651. in: query
  13652. name: usertype
  13653. type: integer
  13654. - description: 现货合同ID, 不填则查所有
  13655. in: query
  13656. name: relatedid
  13657. type: string
  13658. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13659. in: query
  13660. name: applystatus
  13661. type: string
  13662. produces:
  13663. - application/json
  13664. responses:
  13665. "200":
  13666. description: OK
  13667. schema:
  13668. items:
  13669. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13670. type: array
  13671. "500":
  13672. description: Internal Server Error
  13673. schema:
  13674. $ref: '#/definitions/app.Response'
  13675. security:
  13676. - ApiKeyAuth: []
  13677. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13678. tags:
  13679. - 企业风险管理(app)
  13680. /Ermcp/QueryBusinessJs:
  13681. get:
  13682. parameters:
  13683. - description: 用户ID
  13684. in: query
  13685. name: UserId
  13686. required: true
  13687. type: integer
  13688. - description: 用户类型 2-机构 7-企业成员
  13689. in: query
  13690. name: usertype
  13691. type: integer
  13692. - description: 现货合同ID, 不填则查所有
  13693. in: query
  13694. name: relatedid
  13695. type: string
  13696. - description: 操作申请id
  13697. in: query
  13698. name: operateapplyid
  13699. type: string
  13700. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13701. in: query
  13702. name: applystatus
  13703. type: string
  13704. produces:
  13705. - application/json
  13706. responses:
  13707. "200":
  13708. description: OK
  13709. schema:
  13710. items:
  13711. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13712. type: array
  13713. "500":
  13714. description: Internal Server Error
  13715. schema:
  13716. $ref: '#/definitions/app.Response'
  13717. security:
  13718. - ApiKeyAuth: []
  13719. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13720. tags:
  13721. - 企业风险管理(app)
  13722. /Ermcp/QueryBusinessJsEx:
  13723. get:
  13724. parameters:
  13725. - description: 用户ID
  13726. in: query
  13727. name: UserId
  13728. required: true
  13729. type: integer
  13730. - description: 用户类型 2-机构 7-企业成员
  13731. in: query
  13732. name: usertype
  13733. type: integer
  13734. - description: 现货合同ID, 不填则查所有
  13735. in: query
  13736. name: relatedid
  13737. type: string
  13738. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13739. in: query
  13740. name: applystatus
  13741. type: string
  13742. produces:
  13743. - application/json
  13744. responses:
  13745. "200":
  13746. description: OK
  13747. schema:
  13748. items:
  13749. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13750. type: array
  13751. "500":
  13752. description: Internal Server Error
  13753. schema:
  13754. $ref: '#/definitions/app.Response'
  13755. security:
  13756. - ApiKeyAuth: []
  13757. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13758. tags:
  13759. - 企业风险管理(app)
  13760. /Ermcp/QueryBusinessKx:
  13761. get:
  13762. parameters:
  13763. - description: 用户ID
  13764. in: query
  13765. name: UserId
  13766. required: true
  13767. type: integer
  13768. - description: 用户类型 2-机构 7-企业成员
  13769. in: query
  13770. name: usertype
  13771. type: integer
  13772. - description: 现货合同ID, 不填则查所有
  13773. in: query
  13774. name: relatedid
  13775. type: string
  13776. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13777. in: query
  13778. name: applystatus
  13779. type: string
  13780. produces:
  13781. - application/json
  13782. responses:
  13783. "200":
  13784. description: OK
  13785. schema:
  13786. items:
  13787. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13788. type: array
  13789. "500":
  13790. description: Internal Server Error
  13791. schema:
  13792. $ref: '#/definitions/app.Response'
  13793. security:
  13794. - ApiKeyAuth: []
  13795. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13796. tags:
  13797. - 企业风险管理(app)
  13798. /Ermcp/QueryChangeLog:
  13799. get:
  13800. parameters:
  13801. - description: 合同ID
  13802. in: query
  13803. name: RelatedId
  13804. required: true
  13805. type: string
  13806. produces:
  13807. - application/json
  13808. responses:
  13809. "200":
  13810. description: OK
  13811. schema:
  13812. items:
  13813. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13814. type: array
  13815. "500":
  13816. description: Internal Server Error
  13817. schema:
  13818. $ref: '#/definitions/app.Response'
  13819. security:
  13820. - ApiKeyAuth: []
  13821. summary: 查询变更记录
  13822. tags:
  13823. - 企业风险管理(app)
  13824. /Ermcp/QueryErmcpHisOrderDetails:
  13825. get:
  13826. parameters:
  13827. - description: 资金账户ID
  13828. in: query
  13829. name: accountID
  13830. required: true
  13831. type: integer
  13832. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13833. in: query
  13834. name: startDate
  13835. type: string
  13836. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13837. in: query
  13838. name: endDate
  13839. type: string
  13840. produces:
  13841. - application/json
  13842. responses:
  13843. "200":
  13844. description: OK
  13845. schema:
  13846. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13847. "500":
  13848. description: Internal Server Error
  13849. schema:
  13850. $ref: '#/definitions/app.Response'
  13851. security:
  13852. - ApiKeyAuth: []
  13853. summary: 获取企业风管期货历史委托单信息
  13854. tags:
  13855. - 企业风险管理(app)
  13856. /Ermcp/QueryErmcpHisTradeDetails:
  13857. get:
  13858. parameters:
  13859. - description: 资金账户ID
  13860. in: query
  13861. name: accountID
  13862. required: true
  13863. type: integer
  13864. - description: 商品ID
  13865. in: query
  13866. name: goodsID
  13867. type: integer
  13868. - description: 买卖方向,0:买 1:卖
  13869. in: query
  13870. name: buyOrSell
  13871. type: integer
  13872. - description: 关联委托单号
  13873. in: query
  13874. name: orderID
  13875. type: integer
  13876. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13877. in: query
  13878. name: startDate
  13879. type: string
  13880. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13881. in: query
  13882. name: endDate
  13883. type: string
  13884. produces:
  13885. - application/json
  13886. responses:
  13887. "200":
  13888. description: OK
  13889. schema:
  13890. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13891. "500":
  13892. description: Internal Server Error
  13893. schema:
  13894. $ref: '#/definitions/app.Response'
  13895. security:
  13896. - ApiKeyAuth: []
  13897. summary: 获取企业风管期货历史成交单信息
  13898. tags:
  13899. - 企业风险管理(app)
  13900. /Ermcp/QueryErmcpInnerHolderDetails:
  13901. get:
  13902. parameters:
  13903. - description: 资金账户ID
  13904. in: query
  13905. name: accountID
  13906. required: true
  13907. type: integer
  13908. - description: 商品ID
  13909. in: query
  13910. name: goodsID
  13911. type: integer
  13912. - description: 买卖方向,0:买 1:卖
  13913. in: query
  13914. name: buyOrSell
  13915. type: integer
  13916. produces:
  13917. - application/json
  13918. responses:
  13919. "200":
  13920. description: OK
  13921. schema:
  13922. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13923. "500":
  13924. description: Internal Server Error
  13925. schema:
  13926. $ref: '#/definitions/app.Response'
  13927. security:
  13928. - ApiKeyAuth: []
  13929. summary: 获取企业风管期货内部持仓单信息
  13930. tags:
  13931. - 企业风险管理(app)
  13932. /Ermcp/QueryErmcpOrderDetails:
  13933. get:
  13934. parameters:
  13935. - description: 资金账户ID
  13936. in: query
  13937. name: accountID
  13938. required: true
  13939. type: integer
  13940. produces:
  13941. - application/json
  13942. responses:
  13943. "200":
  13944. description: OK
  13945. schema:
  13946. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13947. "500":
  13948. description: Internal Server Error
  13949. schema:
  13950. $ref: '#/definitions/app.Response'
  13951. security:
  13952. - ApiKeyAuth: []
  13953. summary: 获取企业风管期货委托单信息
  13954. tags:
  13955. - 企业风险管理(app)
  13956. /Ermcp/QueryErmcpTradeDetails:
  13957. get:
  13958. parameters:
  13959. - description: 资金账户ID
  13960. in: query
  13961. name: accountID
  13962. required: true
  13963. type: integer
  13964. - description: 商品ID
  13965. in: query
  13966. name: goodsID
  13967. type: integer
  13968. - description: 买卖方向,0:买 1:卖
  13969. in: query
  13970. name: buyOrSell
  13971. type: integer
  13972. - description: 关联委托单号
  13973. in: query
  13974. name: orderID
  13975. type: integer
  13976. produces:
  13977. - application/json
  13978. responses:
  13979. "200":
  13980. description: OK
  13981. schema:
  13982. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13983. "500":
  13984. description: Internal Server Error
  13985. schema:
  13986. $ref: '#/definitions/app.Response'
  13987. security:
  13988. - ApiKeyAuth: []
  13989. summary: 获取企业风管期货成交单信息
  13990. tags:
  13991. - 企业风险管理(app)
  13992. /Ermcp/QueryErmcpTradePosition:
  13993. get:
  13994. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13995. parameters:
  13996. - description: 资金账户ID
  13997. in: query
  13998. name: accountID
  13999. required: true
  14000. type: integer
  14001. - description: 所属市场ID
  14002. in: query
  14003. name: marketID
  14004. type: integer
  14005. produces:
  14006. - application/json
  14007. responses:
  14008. "200":
  14009. description: OK
  14010. schema:
  14011. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14012. "500":
  14013. description: Internal Server Error
  14014. schema:
  14015. $ref: '#/definitions/app.Response'
  14016. security:
  14017. - ApiKeyAuth: []
  14018. summary: 获取企业风管期货持仓头寸信息
  14019. tags:
  14020. - 企业风险管理(app)
  14021. /Ermcp/QueryExposureDetail:
  14022. get:
  14023. parameters:
  14024. - description: 所属机构ID
  14025. in: query
  14026. name: areaUserId
  14027. required: true
  14028. type: integer
  14029. - description: 套保商品
  14030. in: query
  14031. name: middleGoodsId
  14032. required: true
  14033. type: integer
  14034. produces:
  14035. - application/json
  14036. responses:
  14037. "200":
  14038. description: OK
  14039. schema:
  14040. items:
  14041. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14042. type: array
  14043. "500":
  14044. description: Internal Server Error
  14045. schema:
  14046. $ref: '#/definitions/app.Response'
  14047. security:
  14048. - ApiKeyAuth: []
  14049. summary: 查询敞口现货明细
  14050. tags:
  14051. - 企业风险管理(app)
  14052. /Ermcp/QueryExposureHedgePosition:
  14053. get:
  14054. parameters:
  14055. - description: 用户id
  14056. in: query
  14057. name: userid
  14058. required: true
  14059. type: integer
  14060. produces:
  14061. - application/json
  14062. responses:
  14063. "200":
  14064. description: OK
  14065. schema:
  14066. items:
  14067. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14068. type: array
  14069. "500":
  14070. description: Internal Server Error
  14071. schema:
  14072. $ref: '#/definitions/app.Response'
  14073. security:
  14074. - ApiKeyAuth: []
  14075. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14076. tags:
  14077. - 企业风险管理(app)
  14078. /Ermcp/QueryExposureHedgePositionDetail:
  14079. get:
  14080. parameters:
  14081. - description: 所属机构ID
  14082. in: query
  14083. name: userid
  14084. required: true
  14085. type: integer
  14086. - description: 商品id
  14087. in: query
  14088. name: goodsId
  14089. required: true
  14090. type: integer
  14091. produces:
  14092. - application/json
  14093. responses:
  14094. "200":
  14095. description: OK
  14096. schema:
  14097. items:
  14098. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14099. type: array
  14100. "500":
  14101. description: Internal Server Error
  14102. schema:
  14103. $ref: '#/definitions/app.Response'
  14104. security:
  14105. - ApiKeyAuth: []
  14106. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14107. tags:
  14108. - 企业风险管理(app)
  14109. /Ermcp/QueryExposureSpot:
  14110. get:
  14111. parameters:
  14112. - description: 所属机构ID
  14113. in: query
  14114. name: areaUserId
  14115. required: true
  14116. type: integer
  14117. produces:
  14118. - application/json
  14119. responses:
  14120. "200":
  14121. description: OK
  14122. schema:
  14123. items:
  14124. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14125. type: array
  14126. "500":
  14127. description: Internal Server Error
  14128. schema:
  14129. $ref: '#/definitions/app.Response'
  14130. security:
  14131. - ApiKeyAuth: []
  14132. summary: 查询敞口现货头寸(敞口/现货头寸)
  14133. tags:
  14134. - 企业风险管理(app)
  14135. /Ermcp/QueryExposureSpotDetail:
  14136. get:
  14137. parameters:
  14138. - description: 所属机构ID
  14139. in: query
  14140. name: areaUserId
  14141. required: true
  14142. type: integer
  14143. - description: 现货品种ID
  14144. in: query
  14145. name: wrstandardId
  14146. required: true
  14147. type: integer
  14148. produces:
  14149. - application/json
  14150. responses:
  14151. "200":
  14152. description: OK
  14153. schema:
  14154. items:
  14155. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14156. type: array
  14157. "500":
  14158. description: Internal Server Error
  14159. schema:
  14160. $ref: '#/definitions/app.Response'
  14161. security:
  14162. - ApiKeyAuth: []
  14163. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14164. tags:
  14165. - 企业风险管理(app)
  14166. /Ermcp/QueryFuturesCompany:
  14167. get:
  14168. produces:
  14169. - application/json
  14170. responses:
  14171. "200":
  14172. description: OK
  14173. schema:
  14174. items:
  14175. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14176. type: array
  14177. "500":
  14178. description: Internal Server Error
  14179. schema:
  14180. $ref: '#/definitions/app.Response'
  14181. security:
  14182. - ApiKeyAuth: []
  14183. summary: 查询期货公司
  14184. tags:
  14185. - 企业风险管理(app)
  14186. /Ermcp/QueryGGConvertConfig:
  14187. get:
  14188. parameters:
  14189. - description: 品种id(不填则查所有)
  14190. in: query
  14191. name: goodsgroupid
  14192. type: integer
  14193. produces:
  14194. - application/json
  14195. responses:
  14196. "200":
  14197. description: OK
  14198. schema:
  14199. items:
  14200. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14201. type: array
  14202. "500":
  14203. description: Internal Server Error
  14204. schema:
  14205. $ref: '#/definitions/app.Response'
  14206. security:
  14207. - ApiKeyAuth: []
  14208. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14209. tags:
  14210. - 企业风险管理(app)
  14211. /Ermcp/QueryGoodsBrand:
  14212. get:
  14213. parameters:
  14214. - description: 用户ID
  14215. in: query
  14216. name: userid
  14217. required: true
  14218. type: integer
  14219. - description: 现货商品ID
  14220. in: query
  14221. name: wrstandardid
  14222. type: integer
  14223. produces:
  14224. - application/json
  14225. responses:
  14226. "200":
  14227. description: OK
  14228. schema:
  14229. items:
  14230. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14231. type: array
  14232. "500":
  14233. description: Internal Server Error
  14234. schema:
  14235. $ref: '#/definitions/app.Response'
  14236. security:
  14237. - ApiKeyAuth: []
  14238. summary: 查询商品品牌
  14239. tags:
  14240. - 企业风险管理(app)
  14241. /Ermcp/QueryGoodsModel:
  14242. get:
  14243. parameters:
  14244. - description: 用户ID
  14245. in: query
  14246. name: userid
  14247. required: true
  14248. type: integer
  14249. produces:
  14250. - application/json
  14251. responses:
  14252. "200":
  14253. description: OK
  14254. schema:
  14255. items:
  14256. $ref: '#/definitions/models.ErmcpGoodsModel'
  14257. type: array
  14258. "500":
  14259. description: Internal Server Error
  14260. schema:
  14261. $ref: '#/definitions/app.Response'
  14262. security:
  14263. - ApiKeyAuth: []
  14264. summary: 查询商品型号
  14265. tags:
  14266. - 企业风险管理(app)
  14267. /Ermcp/QueryHisExposure:
  14268. get:
  14269. parameters:
  14270. - description: 用户id
  14271. in: query
  14272. name: userid
  14273. required: true
  14274. type: integer
  14275. - description: 每个品种记录数
  14276. in: query
  14277. name: lastNum
  14278. required: true
  14279. type: integer
  14280. produces:
  14281. - application/json
  14282. responses:
  14283. "200":
  14284. description: OK
  14285. schema:
  14286. items:
  14287. $ref: '#/definitions/ermcp.HisExposureRsp'
  14288. type: array
  14289. "500":
  14290. description: Internal Server Error
  14291. schema:
  14292. $ref: '#/definitions/app.Response'
  14293. security:
  14294. - ApiKeyAuth: []
  14295. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14296. tags:
  14297. - 企业风险管理(app)
  14298. /Ermcp/QueryMiddleGoods:
  14299. get:
  14300. parameters:
  14301. - description: 所属机构ID
  14302. in: query
  14303. name: userid
  14304. required: true
  14305. type: integer
  14306. - description: 状态 0-停用 1-正常
  14307. in: query
  14308. name: status
  14309. required: true
  14310. type: integer
  14311. produces:
  14312. - application/json
  14313. responses:
  14314. "200":
  14315. description: OK
  14316. schema:
  14317. items:
  14318. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14319. type: array
  14320. "500":
  14321. description: Internal Server Error
  14322. schema:
  14323. $ref: '#/definitions/app.Response'
  14324. security:
  14325. - ApiKeyAuth: []
  14326. summary: 查询套保品种(菜单:套保品种)
  14327. tags:
  14328. - 企业风险管理(app)
  14329. /Ermcp/QueryMiddleGoodsChangeLog:
  14330. get:
  14331. parameters:
  14332. - description: 所属机构ID
  14333. in: query
  14334. name: userid
  14335. required: true
  14336. type: integer
  14337. - description: 套保品种id
  14338. in: query
  14339. name: middlegoodsid
  14340. required: true
  14341. type: integer
  14342. produces:
  14343. - application/json
  14344. responses:
  14345. "200":
  14346. description: OK
  14347. schema:
  14348. items:
  14349. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14350. type: array
  14351. "500":
  14352. description: Internal Server Error
  14353. schema:
  14354. $ref: '#/definitions/app.Response'
  14355. security:
  14356. - ApiKeyAuth: []
  14357. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14358. tags:
  14359. - 企业风险管理(app)
  14360. /Ermcp/QueryMiddleGoodsDetail:
  14361. get:
  14362. parameters:
  14363. - description: 所属机构ID
  14364. in: query
  14365. name: userid
  14366. required: true
  14367. type: integer
  14368. - description: 套保品种id
  14369. in: query
  14370. name: middlegoodsid
  14371. type: integer
  14372. produces:
  14373. - application/json
  14374. responses:
  14375. "200":
  14376. description: OK
  14377. schema:
  14378. items:
  14379. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14380. type: array
  14381. "500":
  14382. description: Internal Server Error
  14383. schema:
  14384. $ref: '#/definitions/app.Response'
  14385. security:
  14386. - ApiKeyAuth: []
  14387. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14388. tags:
  14389. - 企业风险管理(app)
  14390. /Ermcp/QueryPendingAuditInfo:
  14391. get:
  14392. parameters:
  14393. - description: 用户ID
  14394. in: query
  14395. name: UserId
  14396. required: true
  14397. type: integer
  14398. produces:
  14399. - application/json
  14400. responses:
  14401. "200":
  14402. description: OK
  14403. schema:
  14404. items:
  14405. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14406. type: array
  14407. "500":
  14408. description: Internal Server Error
  14409. schema:
  14410. $ref: '#/definitions/app.Response'
  14411. security:
  14412. - ApiKeyAuth: []
  14413. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14414. tags:
  14415. - 企业风险管理(app)
  14416. /Ermcp/QueryRealtimeExposure:
  14417. get:
  14418. parameters:
  14419. - description: 所属机构ID
  14420. in: query
  14421. name: userid
  14422. required: true
  14423. type: integer
  14424. produces:
  14425. - application/json
  14426. responses:
  14427. "200":
  14428. description: OK
  14429. schema:
  14430. items:
  14431. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14432. type: array
  14433. "500":
  14434. description: Internal Server Error
  14435. schema:
  14436. $ref: '#/definitions/app.Response'
  14437. security:
  14438. - ApiKeyAuth: []
  14439. summary: 查询实时敞口
  14440. tags:
  14441. - 企业风险管理(app)
  14442. /Ermcp/QueryRealtimeExposurePosition:
  14443. get:
  14444. parameters:
  14445. - description: 用户id
  14446. in: query
  14447. name: userid
  14448. required: true
  14449. type: integer
  14450. - description: 套保商品ID
  14451. in: query
  14452. name: middleGoodsId
  14453. required: true
  14454. type: integer
  14455. produces:
  14456. - application/json
  14457. responses:
  14458. "200":
  14459. description: OK
  14460. schema:
  14461. items:
  14462. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14463. type: array
  14464. "500":
  14465. description: Internal Server Error
  14466. schema:
  14467. $ref: '#/definitions/app.Response'
  14468. security:
  14469. - ApiKeyAuth: []
  14470. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14471. tags:
  14472. - 企业风险管理(app)
  14473. /Ermcp/QueryTradeConfigTMP:
  14474. get:
  14475. parameters:
  14476. - description: 所属机构id
  14477. in: query
  14478. name: areauserid
  14479. type: integer
  14480. produces:
  14481. - application/json
  14482. responses:
  14483. "200":
  14484. description: OK
  14485. schema:
  14486. items:
  14487. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14488. type: array
  14489. "500":
  14490. description: Internal Server Error
  14491. schema:
  14492. $ref: '#/definitions/app.Response'
  14493. security:
  14494. - ApiKeyAuth: []
  14495. summary: 查询交易模板配置
  14496. tags:
  14497. - 企业风险管理(app)
  14498. /Ermcp/QueryUserInfo:
  14499. get:
  14500. parameters:
  14501. - description: 所属机构用户ID
  14502. in: query
  14503. name: MemberUserID
  14504. required: true
  14505. type: integer
  14506. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14507. in: query
  14508. name: queryType
  14509. required: true
  14510. type: integer
  14511. produces:
  14512. - application/json
  14513. responses:
  14514. "200":
  14515. description: OK
  14516. schema:
  14517. items:
  14518. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14519. type: array
  14520. "500":
  14521. description: Internal Server Error
  14522. schema:
  14523. $ref: '#/definitions/app.Response'
  14524. security:
  14525. - ApiKeyAuth: []
  14526. summary: 查询客户资料
  14527. tags:
  14528. - 企业风险管理(app)
  14529. /Ermcp/QueryWarehouseInfo:
  14530. get:
  14531. parameters:
  14532. - description: 用户ID
  14533. in: query
  14534. name: userid
  14535. required: true
  14536. type: integer
  14537. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14538. in: query
  14539. name: status
  14540. type: string
  14541. produces:
  14542. - application/json
  14543. responses:
  14544. "200":
  14545. description: OK
  14546. schema:
  14547. items:
  14548. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14549. type: array
  14550. "500":
  14551. description: Internal Server Error
  14552. schema:
  14553. $ref: '#/definitions/app.Response'
  14554. security:
  14555. - ApiKeyAuth: []
  14556. summary: 查询仓库信息
  14557. tags:
  14558. - 企业风险管理(app)
  14559. /Ermcp3/QryAreaExpourseContractDetail:
  14560. get:
  14561. parameters:
  14562. - description: 用户ID
  14563. in: query
  14564. name: userid
  14565. required: true
  14566. type: integer
  14567. - description: 套保商品id
  14568. in: query
  14569. name: middlegoodsid
  14570. required: true
  14571. type: integer
  14572. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14573. in: query
  14574. name: cycletype
  14575. required: true
  14576. type: integer
  14577. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14578. 全(0)【原值】
  14579. in: query
  14580. name: cycletime
  14581. required: true
  14582. type: string
  14583. produces:
  14584. - application/json
  14585. responses:
  14586. "200":
  14587. description: OK
  14588. schema:
  14589. items:
  14590. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  14591. type: array
  14592. "500":
  14593. description: Internal Server Error
  14594. schema:
  14595. $ref: '#/definitions/app.Response'
  14596. security:
  14597. - ApiKeyAuth: []
  14598. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  14599. tags:
  14600. - 企业风险管理v3(app)
  14601. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  14602. get:
  14603. parameters:
  14604. - description: 用户ID
  14605. in: query
  14606. name: userid
  14607. required: true
  14608. type: integer
  14609. - description: 套保商品id
  14610. in: query
  14611. name: middlegoodsid
  14612. required: true
  14613. type: integer
  14614. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14615. in: query
  14616. name: cycletype
  14617. required: true
  14618. type: integer
  14619. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14620. 全(0)【原值】
  14621. in: query
  14622. name: cycletime
  14623. required: true
  14624. type: string
  14625. produces:
  14626. - application/json
  14627. responses:
  14628. "200":
  14629. description: OK
  14630. schema:
  14631. items:
  14632. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  14633. type: array
  14634. "500":
  14635. description: Internal Server Error
  14636. schema:
  14637. $ref: '#/definitions/app.Response'
  14638. security:
  14639. - ApiKeyAuth: []
  14640. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  14641. tags:
  14642. - 企业风险管理v3(app)
  14643. /Ermcp3/QryAreaExpourseReport:
  14644. get:
  14645. parameters:
  14646. - description: 用户ID
  14647. in: query
  14648. name: userid
  14649. required: true
  14650. type: integer
  14651. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  14652. in: query
  14653. name: querytype
  14654. required: true
  14655. type: integer
  14656. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14657. in: query
  14658. name: cycletype
  14659. required: true
  14660. type: integer
  14661. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14662. 全(0)【原值】
  14663. in: query
  14664. name: cycletime
  14665. required: true
  14666. type: string
  14667. produces:
  14668. - application/json
  14669. responses:
  14670. "200":
  14671. description: OK
  14672. schema:
  14673. items:
  14674. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14675. type: array
  14676. "500":
  14677. description: Internal Server Error
  14678. schema:
  14679. $ref: '#/definitions/app.Response'
  14680. security:
  14681. - ApiKeyAuth: []
  14682. summary: 查询敞口报表
  14683. tags:
  14684. - 企业风险管理v3(app)
  14685. /Ermcp3/QryAreaSpotplReport:
  14686. get:
  14687. parameters:
  14688. - description: 用户ID
  14689. in: query
  14690. name: userid
  14691. required: true
  14692. type: integer
  14693. - description: 查询类型 1-报表 2-报表明细
  14694. in: query
  14695. name: querytype
  14696. required: true
  14697. type: integer
  14698. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14699. in: query
  14700. name: cycletype
  14701. required: true
  14702. type: integer
  14703. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14704. 全(0)【原值】
  14705. in: query
  14706. name: cycletime
  14707. required: true
  14708. type: string
  14709. - description: 现货品种id(明细必填)
  14710. in: query
  14711. name: deliverygoodsid
  14712. type: integer
  14713. - description: 币种id(明细必填)
  14714. in: query
  14715. name: currencyid
  14716. type: integer
  14717. produces:
  14718. - application/json
  14719. responses:
  14720. "200":
  14721. description: OK
  14722. schema:
  14723. items:
  14724. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14725. type: array
  14726. "500":
  14727. description: Internal Server Error
  14728. schema:
  14729. $ref: '#/definitions/app.Response'
  14730. security:
  14731. - ApiKeyAuth: []
  14732. summary: 查询现货报表
  14733. tags:
  14734. - 企业风险管理v3(app)
  14735. /Ermcp3/QryAreaStockReport:
  14736. get:
  14737. parameters:
  14738. - description: 用户ID
  14739. in: query
  14740. name: userid
  14741. required: true
  14742. type: integer
  14743. - description: 查询类型 1-报表 2-报表明细
  14744. in: query
  14745. name: querytype
  14746. required: true
  14747. type: integer
  14748. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14749. in: query
  14750. name: cycletype
  14751. required: true
  14752. type: integer
  14753. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14754. 全(0)【原值】
  14755. in: query
  14756. name: cycletime
  14757. required: true
  14758. type: string
  14759. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  14760. in: query
  14761. name: sumfields
  14762. type: string
  14763. - description: 品种ID
  14764. in: query
  14765. name: deliverygoodsid
  14766. type: integer
  14767. - description: 品类ID
  14768. in: query
  14769. name: wrstandardid
  14770. type: integer
  14771. - description: 品牌ID
  14772. in: query
  14773. name: spotgoodsbrandid
  14774. type: integer
  14775. - description: 仓库ID
  14776. in: query
  14777. name: warehouseinfoid
  14778. type: integer
  14779. produces:
  14780. - application/json
  14781. responses:
  14782. "200":
  14783. description: OK
  14784. schema:
  14785. items:
  14786. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  14787. type: array
  14788. "500":
  14789. description: Internal Server Error
  14790. schema:
  14791. $ref: '#/definitions/app.Response'
  14792. security:
  14793. - ApiKeyAuth: []
  14794. summary: 查询库存报表
  14795. tags:
  14796. - 企业风险管理v3(app)
  14797. /Ermcp3/QryAreaSumPL:
  14798. get:
  14799. parameters:
  14800. - description: 用户ID
  14801. in: query
  14802. name: userid
  14803. required: true
  14804. type: integer
  14805. - description: 查询类型 1-报表 2-报表明细
  14806. in: query
  14807. name: querytype
  14808. required: true
  14809. type: integer
  14810. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14811. in: query
  14812. name: cycletype
  14813. required: true
  14814. type: integer
  14815. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14816. 全(0)【原值】
  14817. in: query
  14818. name: cycletime
  14819. required: true
  14820. type: string
  14821. - description: 币种id(明细必填)
  14822. in: query
  14823. name: currencyid
  14824. type: integer
  14825. produces:
  14826. - application/json
  14827. responses:
  14828. "200":
  14829. description: OK
  14830. schema:
  14831. items:
  14832. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  14833. type: array
  14834. "500":
  14835. description: Internal Server Error
  14836. schema:
  14837. $ref: '#/definitions/app.Response'
  14838. security:
  14839. - ApiKeyAuth: []
  14840. summary: 查询汇总损益表
  14841. tags:
  14842. - 企业风险管理v3(app)
  14843. /Ermcp3/QryFinanceReport:
  14844. get:
  14845. parameters:
  14846. - description: 用户ID
  14847. in: query
  14848. name: userid
  14849. required: true
  14850. type: integer
  14851. - description: 查询类型 1-报表 2-报表明细
  14852. in: query
  14853. name: querytype
  14854. required: true
  14855. type: integer
  14856. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14857. in: query
  14858. name: cycletype
  14859. required: true
  14860. type: integer
  14861. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14862. 全(0)【原值】
  14863. in: query
  14864. name: cycletime
  14865. required: true
  14866. type: string
  14867. - description: 币种id(报表明细必填)
  14868. in: query
  14869. name: currencyid
  14870. type: integer
  14871. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  14872. in: query
  14873. name: sumfields
  14874. type: string
  14875. produces:
  14876. - application/json
  14877. responses:
  14878. "200":
  14879. description: OK
  14880. schema:
  14881. items:
  14882. $ref: '#/definitions/models.Ermcp3FinanceReport'
  14883. type: array
  14884. "500":
  14885. description: Internal Server Error
  14886. schema:
  14887. $ref: '#/definitions/app.Response'
  14888. security:
  14889. - ApiKeyAuth: []
  14890. summary: 查询财务报表
  14891. tags:
  14892. - 企业风险管理v3(app)
  14893. /Ermcp3/QueryAreaStock:
  14894. get:
  14895. parameters:
  14896. - description: 用户ID
  14897. in: query
  14898. name: userid
  14899. required: true
  14900. type: integer
  14901. produces:
  14902. - application/json
  14903. responses:
  14904. "200":
  14905. description: OK
  14906. schema:
  14907. items:
  14908. $ref: '#/definitions/models.Ermcp3AreaStock'
  14909. type: array
  14910. "500":
  14911. description: Internal Server Error
  14912. schema:
  14913. $ref: '#/definitions/app.Response'
  14914. security:
  14915. - ApiKeyAuth: []
  14916. summary: 查询机构库存(库存管理/当前库存)
  14917. tags:
  14918. - 企业风险管理v3(app)
  14919. /Ermcp3/QueryAreaStockApply:
  14920. get:
  14921. parameters:
  14922. - description: 用户ID
  14923. in: query
  14924. name: userid
  14925. required: true
  14926. type: integer
  14927. - description: 用户类型 2-机构 7-企业成员
  14928. in: query
  14929. name: usertype
  14930. type: integer
  14931. - description: 现货商品ID
  14932. in: query
  14933. name: deliverygoodsid
  14934. type: integer
  14935. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14936. in: query
  14937. name: inouttype
  14938. type: string
  14939. - description: 合同ID
  14940. in: query
  14941. name: spotcontractid
  14942. type: integer
  14943. - description: 品类ID
  14944. in: query
  14945. name: wrstandardid
  14946. type: integer
  14947. - description: 品牌ID
  14948. in: query
  14949. name: spotgoodsbrandid
  14950. type: integer
  14951. - description: 仓库ID
  14952. in: query
  14953. name: warehouseinfoid
  14954. type: integer
  14955. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14956. in: query
  14957. name: applystatus
  14958. type: string
  14959. produces:
  14960. - application/json
  14961. responses:
  14962. "200":
  14963. description: OK
  14964. schema:
  14965. items:
  14966. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14967. type: array
  14968. "500":
  14969. description: Internal Server Error
  14970. schema:
  14971. $ref: '#/definitions/app.Response'
  14972. security:
  14973. - ApiKeyAuth: []
  14974. summary: 查询库存申请(出入库记录|库存审核)
  14975. tags:
  14976. - 企业风险管理v3(app)
  14977. /Ermcp3/QueryAreaStockApplySum:
  14978. get:
  14979. parameters:
  14980. - description: 合同ID
  14981. in: query
  14982. name: spotcontractid
  14983. type: integer
  14984. produces:
  14985. - application/json
  14986. responses:
  14987. "200":
  14988. description: OK
  14989. schema:
  14990. items:
  14991. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14992. type: array
  14993. "500":
  14994. description: Internal Server Error
  14995. schema:
  14996. $ref: '#/definitions/app.Response'
  14997. security:
  14998. - ApiKeyAuth: []
  14999. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15000. tags:
  15001. - 企业风险管理v3(app)
  15002. /Ermcp3/QueryDGFactoryItem:
  15003. get:
  15004. parameters:
  15005. - description: 用户id
  15006. in: query
  15007. name: userid
  15008. type: integer
  15009. - description: 用户类型 2-机构 7-企业成员
  15010. in: query
  15011. name: usertype
  15012. type: integer
  15013. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15014. in: query
  15015. name: dgfactoryitemid
  15016. type: integer
  15017. - description: 现货品种ID
  15018. in: query
  15019. name: deliverygoodsid
  15020. type: integer
  15021. - description: 要素项类型
  15022. in: query
  15023. name: dgfactoryitemtypeid
  15024. type: integer
  15025. - description: 顺序
  15026. in: query
  15027. name: orderindex
  15028. type: integer
  15029. produces:
  15030. - application/json
  15031. responses:
  15032. "200":
  15033. description: OK
  15034. schema:
  15035. items:
  15036. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15037. type: array
  15038. "500":
  15039. description: Internal Server Error
  15040. schema:
  15041. $ref: '#/definitions/app.Response'
  15042. security:
  15043. - ApiKeyAuth: []
  15044. summary: 查询品种要素定义项
  15045. tags:
  15046. - 企业风险管理v3(app)
  15047. /Ermcp3/QueryDeliveryGoods:
  15048. get:
  15049. parameters:
  15050. - description: 用户id
  15051. in: query
  15052. name: userid
  15053. required: true
  15054. type: integer
  15055. - description: 用户类型 2-机构 7-企业成员
  15056. in: query
  15057. name: usertype
  15058. type: integer
  15059. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15060. in: query
  15061. name: excludecfg
  15062. type: integer
  15063. produces:
  15064. - application/json
  15065. responses:
  15066. "200":
  15067. description: OK
  15068. schema:
  15069. items:
  15070. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15071. type: array
  15072. "500":
  15073. description: Internal Server Error
  15074. schema:
  15075. $ref: '#/definitions/app.Response'
  15076. security:
  15077. - ApiKeyAuth: []
  15078. summary: 查询现货商品
  15079. tags:
  15080. - 企业风险管理v3(app)
  15081. /Ermcp3/QueryDeliveryGoodsDetail:
  15082. get:
  15083. parameters:
  15084. - description: 用户id
  15085. in: query
  15086. name: userid
  15087. required: true
  15088. type: integer
  15089. - description: 用户类型 2-机构 7-企业成员
  15090. in: query
  15091. name: usertype
  15092. type: integer
  15093. - description: 现货商品id
  15094. in: query
  15095. name: deliverygoodsid
  15096. type: integer
  15097. produces:
  15098. - application/json
  15099. responses:
  15100. "200":
  15101. description: OK
  15102. schema:
  15103. items:
  15104. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15105. type: array
  15106. "500":
  15107. description: Internal Server Error
  15108. schema:
  15109. $ref: '#/definitions/app.Response'
  15110. security:
  15111. - ApiKeyAuth: []
  15112. summary: 查询现货商品详情
  15113. tags:
  15114. - 企业风险管理v3(app)
  15115. /Ermcp3/QueryExposureDetail:
  15116. get:
  15117. parameters:
  15118. - description: 用户id
  15119. in: query
  15120. name: userid
  15121. required: true
  15122. type: integer
  15123. - description: 用户类型 2-机构 7-企业成员
  15124. in: query
  15125. name: usertype
  15126. type: integer
  15127. - description: 套保商品
  15128. in: query
  15129. name: middlegoodsid
  15130. required: true
  15131. type: integer
  15132. produces:
  15133. - application/json
  15134. responses:
  15135. "200":
  15136. description: OK
  15137. schema:
  15138. items:
  15139. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15140. type: array
  15141. "500":
  15142. description: Internal Server Error
  15143. schema:
  15144. $ref: '#/definitions/app.Response'
  15145. security:
  15146. - ApiKeyAuth: []
  15147. summary: 查询敞口现货明细
  15148. tags:
  15149. - 企业风险管理v3(app)
  15150. /Ermcp3/QueryExposureSpot:
  15151. get:
  15152. parameters:
  15153. - description: 用户id
  15154. in: query
  15155. name: userid
  15156. required: true
  15157. type: integer
  15158. - description: 用户类型 2-机构 7-企业成员
  15159. in: query
  15160. name: usertype
  15161. type: integer
  15162. produces:
  15163. - application/json
  15164. responses:
  15165. "200":
  15166. description: OK
  15167. schema:
  15168. items:
  15169. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15170. type: array
  15171. "500":
  15172. description: Internal Server Error
  15173. schema:
  15174. $ref: '#/definitions/app.Response'
  15175. security:
  15176. - ApiKeyAuth: []
  15177. summary: 查询敞口现货头寸(敞口/现货头寸)
  15178. tags:
  15179. - 企业风险管理v3(app)
  15180. /Ermcp3/QueryExposureSpotDetail:
  15181. get:
  15182. parameters:
  15183. - description: 用户id
  15184. in: query
  15185. name: userid
  15186. required: true
  15187. type: integer
  15188. - description: 用户类型 2-机构 7-企业成员
  15189. in: query
  15190. name: usertype
  15191. type: integer
  15192. - description: 现货品种ID
  15193. in: query
  15194. name: deliverygoodsid
  15195. required: true
  15196. type: integer
  15197. produces:
  15198. - application/json
  15199. responses:
  15200. "200":
  15201. description: OK
  15202. schema:
  15203. items:
  15204. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15205. type: array
  15206. "500":
  15207. description: Internal Server Error
  15208. schema:
  15209. $ref: '#/definitions/app.Response'
  15210. security:
  15211. - ApiKeyAuth: []
  15212. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15213. tags:
  15214. - 企业风险管理v3(app)
  15215. /Ermcp3/QueryGoodsGroup:
  15216. get:
  15217. parameters:
  15218. - description: 用户id
  15219. in: query
  15220. name: userid
  15221. required: true
  15222. type: integer
  15223. - description: 用户类型 2-机构 7-企业成员
  15224. in: query
  15225. name: usertype
  15226. type: integer
  15227. - description: 排除套保品中已关联的商品组 1-排除
  15228. in: query
  15229. name: excludecfg
  15230. type: integer
  15231. produces:
  15232. - application/json
  15233. responses:
  15234. "200":
  15235. description: OK
  15236. schema:
  15237. items:
  15238. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15239. type: array
  15240. "500":
  15241. description: Internal Server Error
  15242. schema:
  15243. $ref: '#/definitions/app.Response'
  15244. security:
  15245. - ApiKeyAuth: []
  15246. summary: 查询期货商品组
  15247. tags:
  15248. - 企业风险管理v3(app)
  15249. /Ermcp3/QueryGoodsWrstandard:
  15250. get:
  15251. parameters:
  15252. - description: 用户id
  15253. in: query
  15254. name: userid
  15255. required: true
  15256. type: integer
  15257. - description: 用户类型 2-机构 7-企业成员
  15258. in: query
  15259. name: usertype
  15260. type: integer
  15261. - description: 现货商品id
  15262. in: query
  15263. name: deliverygoodsid
  15264. type: integer
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. items:
  15272. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15273. type: array
  15274. "500":
  15275. description: Internal Server Error
  15276. schema:
  15277. $ref: '#/definitions/app.Response'
  15278. security:
  15279. - ApiKeyAuth: []
  15280. summary: 查询商品品类
  15281. tags:
  15282. - 企业风险管理v3(app)
  15283. /Ermcp3/QueryGoodsbrand:
  15284. get:
  15285. parameters:
  15286. - description: 用户id
  15287. in: query
  15288. name: userid
  15289. required: true
  15290. type: integer
  15291. - description: 用户类型 2-机构 7-企业成员
  15292. in: query
  15293. name: usertype
  15294. type: integer
  15295. produces:
  15296. - application/json
  15297. responses:
  15298. "200":
  15299. description: OK
  15300. schema:
  15301. items:
  15302. $ref: '#/definitions/models.Ermcp3Brand'
  15303. type: array
  15304. "500":
  15305. description: Internal Server Error
  15306. schema:
  15307. $ref: '#/definitions/app.Response'
  15308. security:
  15309. - ApiKeyAuth: []
  15310. summary: 查询商品品牌
  15311. tags:
  15312. - 企业风险管理v3(app)
  15313. /Ermcp3/QueryHedgePlan:
  15314. get:
  15315. parameters:
  15316. - description: 用户ID
  15317. in: query
  15318. name: userid
  15319. required: true
  15320. type: integer
  15321. - description: 用户类型 2-机构 7-企业成员
  15322. in: query
  15323. name: usertype
  15324. type: integer
  15325. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15326. in: query
  15327. name: hedgeplanstatus
  15328. required: true
  15329. type: string
  15330. produces:
  15331. - application/json
  15332. responses:
  15333. "200":
  15334. description: OK
  15335. schema:
  15336. items:
  15337. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15338. type: array
  15339. "500":
  15340. description: Internal Server Error
  15341. schema:
  15342. $ref: '#/definitions/app.Response'
  15343. security:
  15344. - ApiKeyAuth: []
  15345. summary: 查询套保计划
  15346. tags:
  15347. - 企业风险管理v3(app)
  15348. /Ermcp3/QueryMiddleGoodsDetail:
  15349. get:
  15350. parameters:
  15351. - description: 用户id
  15352. in: query
  15353. name: userid
  15354. required: true
  15355. type: integer
  15356. - description: 用户类型 2-机构 7-企业成员
  15357. in: query
  15358. name: usertype
  15359. type: integer
  15360. - description: 套保品种id
  15361. in: query
  15362. name: middlegoodsid
  15363. type: integer
  15364. produces:
  15365. - application/json
  15366. responses:
  15367. "200":
  15368. description: OK
  15369. schema:
  15370. items:
  15371. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15372. type: array
  15373. "500":
  15374. description: Internal Server Error
  15375. schema:
  15376. $ref: '#/definitions/app.Response'
  15377. security:
  15378. - ApiKeyAuth: []
  15379. summary: 查询套保品种详情(套保品种/商品详情)
  15380. tags:
  15381. - 企业风险管理v3(app)
  15382. /Ermcp3/QuerySpotContract:
  15383. get:
  15384. parameters:
  15385. - description: 用户id
  15386. in: query
  15387. name: userid
  15388. required: true
  15389. type: integer
  15390. - description: 用户类型 2-机构 7-企业成员
  15391. in: query
  15392. name: usertype
  15393. type: integer
  15394. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15395. in: query
  15396. name: querytype
  15397. required: true
  15398. type: integer
  15399. - description: 合同ID(SpotContractId)
  15400. in: query
  15401. name: contractid
  15402. type: string
  15403. produces:
  15404. - application/json
  15405. responses:
  15406. "200":
  15407. description: OK
  15408. schema:
  15409. items:
  15410. $ref: '#/definitions/models.Ermcp3Contract'
  15411. type: array
  15412. "500":
  15413. description: Internal Server Error
  15414. schema:
  15415. $ref: '#/definitions/app.Response'
  15416. security:
  15417. - ApiKeyAuth: []
  15418. summary: 查询现货合同
  15419. tags:
  15420. - 企业风险管理v3(app)
  15421. /Ermcp3/QuerySpotContractBS:
  15422. get:
  15423. parameters:
  15424. - description: 用户id
  15425. in: query
  15426. name: userid
  15427. required: true
  15428. type: integer
  15429. - description: 用户类型 2-机构 7-企业成员
  15430. in: query
  15431. name: usertype
  15432. type: integer
  15433. - description: 合同类型 1-采购, -1-销售
  15434. in: query
  15435. name: contracttype
  15436. required: true
  15437. type: integer
  15438. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15439. in: query
  15440. name: querytype
  15441. required: true
  15442. type: integer
  15443. - description: 合同ID(SpotContractId)
  15444. in: query
  15445. name: contractid
  15446. type: string
  15447. produces:
  15448. - application/json
  15449. responses:
  15450. "200":
  15451. description: OK
  15452. schema:
  15453. items:
  15454. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15455. type: array
  15456. "500":
  15457. description: Internal Server Error
  15458. schema:
  15459. $ref: '#/definitions/app.Response'
  15460. security:
  15461. - ApiKeyAuth: []
  15462. summary: 查询合同(采购/销售)
  15463. tags:
  15464. - 企业风险管理v3(app)
  15465. /Ermcp3/QuerySpotGoodsPrice:
  15466. get:
  15467. parameters:
  15468. - description: 用户ID
  15469. in: query
  15470. name: userid
  15471. required: true
  15472. type: integer
  15473. produces:
  15474. - application/json
  15475. responses:
  15476. "200":
  15477. description: OK
  15478. schema:
  15479. items:
  15480. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15481. type: array
  15482. "500":
  15483. description: Internal Server Error
  15484. schema:
  15485. $ref: '#/definitions/app.Response'
  15486. security:
  15487. - ApiKeyAuth: []
  15488. summary: 查询现货市价(现货市价)
  15489. tags:
  15490. - 企业风险管理v3(app)
  15491. /Ermcp3/QuerySpotGoodsPriceLog:
  15492. get:
  15493. parameters:
  15494. - description: 用户ID
  15495. in: query
  15496. name: userid
  15497. required: true
  15498. type: integer
  15499. - description: 现货商品ID
  15500. in: query
  15501. name: deliverygoodsid
  15502. required: true
  15503. type: integer
  15504. - description: 品牌ID
  15505. in: query
  15506. name: brandid
  15507. type: integer
  15508. - description: 品类ID
  15509. in: query
  15510. name: wrstandardid
  15511. type: integer
  15512. produces:
  15513. - application/json
  15514. responses:
  15515. "200":
  15516. description: OK
  15517. schema:
  15518. items:
  15519. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15520. type: array
  15521. "500":
  15522. description: Internal Server Error
  15523. schema:
  15524. $ref: '#/definitions/app.Response'
  15525. security:
  15526. - ApiKeyAuth: []
  15527. summary: 查询现货市价详情(现货市价/详情)
  15528. tags:
  15529. - 企业风险管理v3(app)
  15530. /Erms2/QueryArbitrageStrategy:
  15531. get:
  15532. parameters:
  15533. - description: 账户ID
  15534. in: query
  15535. name: userid
  15536. required: true
  15537. type: integer
  15538. - description: 商品组ID(品种ID)
  15539. in: query
  15540. name: goodsgroupid
  15541. type: string
  15542. produces:
  15543. - application/json
  15544. responses:
  15545. "200":
  15546. description: OK
  15547. schema:
  15548. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15549. "500":
  15550. description: Internal Server Error
  15551. schema:
  15552. $ref: '#/definitions/app.Response'
  15553. security:
  15554. - ApiKeyAuth: []
  15555. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15556. tags:
  15557. - 风险管理
  15558. /Erms2/QueryInnerTradeDetail:
  15559. get:
  15560. parameters:
  15561. - description: 资金账户
  15562. in: query
  15563. name: accountid
  15564. required: true
  15565. type: integer
  15566. produces:
  15567. - application/json
  15568. responses:
  15569. "200":
  15570. description: OK
  15571. schema:
  15572. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15573. "500":
  15574. description: Internal Server Error
  15575. schema:
  15576. $ref: '#/definitions/app.Response'
  15577. security:
  15578. - ApiKeyAuth: []
  15579. summary: 查询内部成交单信息
  15580. tags:
  15581. - 风险管理
  15582. /Erms2/QuerySpotContract:
  15583. get:
  15584. parameters:
  15585. - description: 策略申请ID
  15586. in: query
  15587. name: asapplyid
  15588. required: true
  15589. type: integer
  15590. - description: 现货合同ID
  15591. in: query
  15592. name: spotcontractid
  15593. type: integer
  15594. produces:
  15595. - application/json
  15596. responses:
  15597. "200":
  15598. description: OK
  15599. schema:
  15600. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15601. "500":
  15602. description: Internal Server Error
  15603. schema:
  15604. $ref: '#/definitions/app.Response'
  15605. security:
  15606. - ApiKeyAuth: []
  15607. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15608. tags:
  15609. - 风险管理
  15610. /Erms3/AddErms2ASApply:
  15611. post:
  15612. parameters:
  15613. - description: 申请参数
  15614. in: body
  15615. name: jsonBody
  15616. required: true
  15617. schema:
  15618. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15619. produces:
  15620. - application/json
  15621. responses:
  15622. "200":
  15623. description: OK
  15624. schema:
  15625. $ref: '#/definitions/app.Response'
  15626. "500":
  15627. description: Internal Server Error
  15628. schema:
  15629. $ref: '#/definitions/app.Response'
  15630. security:
  15631. - ApiKeyAuth: []
  15632. summary: 新增期现套利业务申请
  15633. tags:
  15634. - 风险管理v3
  15635. /Erms3/AddErms2SpotTradeApply:
  15636. post:
  15637. parameters:
  15638. - description: 申请参数
  15639. in: body
  15640. name: jsonBody
  15641. required: true
  15642. schema:
  15643. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15644. produces:
  15645. - application/json
  15646. responses:
  15647. "200":
  15648. description: OK
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. "500":
  15652. description: Internal Server Error
  15653. schema:
  15654. $ref: '#/definitions/app.Response'
  15655. security:
  15656. - ApiKeyAuth: []
  15657. summary: 新增现货贸易业务申请
  15658. tags:
  15659. - 风险管理v3
  15660. /Erms3/AddSpotContractApply:
  15661. post:
  15662. parameters:
  15663. - description: 申请参数
  15664. in: body
  15665. name: jsonBody
  15666. required: true
  15667. schema:
  15668. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15669. produces:
  15670. - application/json
  15671. responses:
  15672. "200":
  15673. description: OK
  15674. schema:
  15675. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15676. "500":
  15677. description: Internal Server Error
  15678. schema:
  15679. $ref: '#/definitions/app.Response'
  15680. security:
  15681. - ApiKeyAuth: []
  15682. summary: 新增现货合同申请
  15683. tags:
  15684. - 风险管理v3
  15685. /Erms3/AddUserInfoApply:
  15686. post:
  15687. parameters:
  15688. - description: 用户信息
  15689. in: body
  15690. name: jsonBody
  15691. required: true
  15692. schema:
  15693. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15694. produces:
  15695. - application/json
  15696. responses:
  15697. "200":
  15698. description: OK
  15699. schema:
  15700. $ref: '#/definitions/app.Response'
  15701. "500":
  15702. description: Internal Server Error
  15703. schema:
  15704. $ref: '#/definitions/app.Response'
  15705. security:
  15706. - ApiKeyAuth: []
  15707. summary: 新增客户申请
  15708. tags:
  15709. - 风险管理v3
  15710. /Erms3/DeleteUserInfoApply:
  15711. get:
  15712. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15713. parameters:
  15714. - description: 用户ID
  15715. in: query
  15716. name: userID
  15717. required: true
  15718. type: integer
  15719. produces:
  15720. - application/json
  15721. responses:
  15722. "200":
  15723. description: OK
  15724. schema:
  15725. $ref: '#/definitions/app.Response'
  15726. "500":
  15727. description: Internal Server Error
  15728. schema:
  15729. $ref: '#/definitions/app.Response'
  15730. security:
  15731. - ApiKeyAuth: []
  15732. summary: 删除客户申请
  15733. tags:
  15734. - 风险管理v3
  15735. /Erms3/ModifyUserInfoApply:
  15736. post:
  15737. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15738. int, "userstate": 2 }'
  15739. parameters:
  15740. - description: 用户信息
  15741. in: body
  15742. name: jsonBody
  15743. required: true
  15744. schema:
  15745. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15746. produces:
  15747. - application/json
  15748. responses:
  15749. "200":
  15750. description: OK
  15751. schema:
  15752. $ref: '#/definitions/app.Response'
  15753. "500":
  15754. description: Internal Server Error
  15755. schema:
  15756. $ref: '#/definitions/app.Response'
  15757. security:
  15758. - ApiKeyAuth: []
  15759. summary: 修改客户申请
  15760. tags:
  15761. - 风险管理v3
  15762. /Erms3/QueryBusinessInfo:
  15763. get:
  15764. parameters:
  15765. - description: 资金账号ID列表,用逗号分隔
  15766. in: query
  15767. name: accountids
  15768. required: true
  15769. type: string
  15770. - description: 状态,0为未结束 1为已结束
  15771. in: query
  15772. name: status
  15773. required: true
  15774. type: integer
  15775. produces:
  15776. - application/json
  15777. responses:
  15778. "200":
  15779. description: OK
  15780. schema:
  15781. items:
  15782. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15783. type: array
  15784. "500":
  15785. description: Internal Server Error
  15786. schema:
  15787. $ref: '#/definitions/app.Response'
  15788. security:
  15789. - ApiKeyAuth: []
  15790. summary: 查询业务表单数据
  15791. tags:
  15792. - 风险管理v3
  15793. /Erms3/QueryPendingAuditContract:
  15794. get:
  15795. parameters:
  15796. - description: 资金账号ID列表,逗号隔开
  15797. in: query
  15798. name: accountids
  15799. required: true
  15800. type: string
  15801. - description: 合同类型 1-采购 -1-销售
  15802. in: query
  15803. name: contracttype
  15804. required: true
  15805. type: integer
  15806. - description: 合同模式 1-普通 2-回购
  15807. in: query
  15808. name: contractmode
  15809. required: true
  15810. type: integer
  15811. produces:
  15812. - application/json
  15813. responses:
  15814. "200":
  15815. description: OK
  15816. schema:
  15817. items:
  15818. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15819. type: array
  15820. "500":
  15821. description: Internal Server Error
  15822. schema:
  15823. $ref: '#/definitions/app.Response'
  15824. security:
  15825. - ApiKeyAuth: []
  15826. summary: 查询待审核合同
  15827. tags:
  15828. - 风险管理v3
  15829. /Erms3/QueryPendingBusiness:
  15830. get:
  15831. parameters:
  15832. - description: 资金账号ID列表,逗号隔开
  15833. in: query
  15834. name: accountids
  15835. required: true
  15836. type: string
  15837. produces:
  15838. - application/json
  15839. responses:
  15840. "200":
  15841. description: OK
  15842. schema:
  15843. items:
  15844. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15845. type: array
  15846. "500":
  15847. description: Internal Server Error
  15848. schema:
  15849. $ref: '#/definitions/app.Response'
  15850. security:
  15851. - ApiKeyAuth: []
  15852. summary: 查询待审核基差贸易业务
  15853. tags:
  15854. - 风险管理v3
  15855. /Erms3/QuerySpotContractAppleForm:
  15856. get:
  15857. parameters:
  15858. - description: 登录账号
  15859. in: query
  15860. name: loginID
  15861. required: true
  15862. type: integer
  15863. produces:
  15864. - application/json
  15865. responses:
  15866. "200":
  15867. description: OK
  15868. schema:
  15869. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15870. "500":
  15871. description: Internal Server Error
  15872. schema:
  15873. $ref: '#/definitions/app.Response'
  15874. security:
  15875. - ApiKeyAuth: []
  15876. summary: 查询合同申请表单数据
  15877. tags:
  15878. - 风险管理v3
  15879. /Erms3/QuerySpotContractDetail:
  15880. get:
  15881. parameters:
  15882. - description: 资金账号ID列表,用逗号分隔
  15883. in: query
  15884. name: accountids
  15885. required: true
  15886. type: string
  15887. - description: 合同类型,1为采购合同 -1为销售合同
  15888. in: query
  15889. name: contracttype
  15890. required: true
  15891. type: integer
  15892. - description: 合同模式,1为普通合同 2为回购销售合同
  15893. in: query
  15894. name: contractmode
  15895. required: true
  15896. type: integer
  15897. - description: 状态,0为履约中 1为已完成
  15898. in: query
  15899. name: status
  15900. required: true
  15901. type: integer
  15902. produces:
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. items:
  15909. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15910. type: array
  15911. "500":
  15912. description: Internal Server Error
  15913. schema:
  15914. $ref: '#/definitions/app.Response'
  15915. security:
  15916. - ApiKeyAuth: []
  15917. summary: 查询合同详细信息
  15918. tags:
  15919. - 风险管理v3
  15920. /Erms3/QueryUserInfoApplies:
  15921. get:
  15922. parameters:
  15923. - description: 页码
  15924. in: query
  15925. name: page
  15926. type: integer
  15927. - description: 每页条数
  15928. in: query
  15929. name: pagesize
  15930. type: integer
  15931. - description: 客户名称,支持模糊查询
  15932. in: query
  15933. name: userName
  15934. type: string
  15935. produces:
  15936. - application/json
  15937. responses:
  15938. "200":
  15939. description: OK
  15940. schema:
  15941. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15942. "500":
  15943. description: Internal Server Error
  15944. schema:
  15945. $ref: '#/definitions/app.Response'
  15946. security:
  15947. - ApiKeyAuth: []
  15948. summary: 客户申请信息查询
  15949. tags:
  15950. - 风险管理v3
  15951. /Erms3/QueryUserInfos:
  15952. get:
  15953. parameters:
  15954. - description: 页码
  15955. in: query
  15956. name: page
  15957. type: integer
  15958. - description: 每页条数
  15959. in: query
  15960. name: pagesize
  15961. type: integer
  15962. - description: 客户名称,支持模糊查询
  15963. in: query
  15964. name: userName
  15965. type: string
  15966. produces:
  15967. - application/json
  15968. responses:
  15969. "200":
  15970. description: OK
  15971. schema:
  15972. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15973. "500":
  15974. description: Internal Server Error
  15975. schema:
  15976. $ref: '#/definitions/app.Response'
  15977. security:
  15978. - ApiKeyAuth: []
  15979. summary: 客户信息查询
  15980. tags:
  15981. - 风险管理v3
  15982. /HSBY/GetHsbyMyCount:
  15983. get:
  15984. description: 说明: 不包括已完成的数量。
  15985. parameters:
  15986. - description: 资金账户列表,格式:1,2,3
  15987. in: query
  15988. name: accountIDs
  15989. required: true
  15990. type: string
  15991. produces:
  15992. - application/json
  15993. responses:
  15994. "200":
  15995. description: OK
  15996. schema:
  15997. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15998. "500":
  15999. description: Internal Server Error
  16000. schema:
  16001. $ref: '#/definitions/app.Response'
  16002. security:
  16003. - ApiKeyAuth: []
  16004. summary: 获取我的订单与包裹数量
  16005. tags:
  16006. - 定制【海商报业】
  16007. /HSBY/QueryClientFixedADConfigs:
  16008. get:
  16009. produces:
  16010. - application/json
  16011. responses:
  16012. "200":
  16013. description: OK
  16014. schema:
  16015. $ref: '#/definitions/models.Clientfixedadconfig'
  16016. "500":
  16017. description: Internal Server Error
  16018. schema:
  16019. $ref: '#/definitions/app.Response'
  16020. security:
  16021. - ApiKeyAuth: []
  16022. summary: 获取终端固定广告配置
  16023. tags:
  16024. - 定制【海商报业】
  16025. /HSBY/QueryHsbyBuyMyTradeDetail:
  16026. get:
  16027. parameters:
  16028. - description: 页码
  16029. in: query
  16030. name: page
  16031. type: integer
  16032. - description: 每页条数
  16033. in: query
  16034. name: pagesize
  16035. type: integer
  16036. - description: 资金账户列表,格式:1,2,3
  16037. in: query
  16038. name: accountIDs
  16039. required: true
  16040. type: string
  16041. produces:
  16042. - application/json
  16043. responses:
  16044. "200":
  16045. description: OK
  16046. schema:
  16047. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16048. "500":
  16049. description: Internal Server Error
  16050. schema:
  16051. $ref: '#/definitions/app.Response'
  16052. security:
  16053. - ApiKeyAuth: []
  16054. summary: 查询"我的订单 - 已完成"单据信息
  16055. tags:
  16056. - 定制【海商报业】
  16057. /HSBY/QueryHsbyGoodsOrderDetails:
  16058. get:
  16059. description: 说明:查询结果已按委托价格和委托时间排序
  16060. parameters:
  16061. - description: 商品ID
  16062. in: query
  16063. name: goodsID
  16064. required: true
  16065. type: integer
  16066. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16067. in: query
  16068. name: accountIDs
  16069. type: string
  16070. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16071. in: query
  16072. name: buyOrSell
  16073. type: integer
  16074. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16075. in: query
  16076. name: price
  16077. type: number
  16078. - description: 档位,不传则默认为3档
  16079. in: query
  16080. name: speed
  16081. type: integer
  16082. produces:
  16083. - application/json
  16084. responses:
  16085. "200":
  16086. description: OK
  16087. schema:
  16088. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16089. "500":
  16090. description: Internal Server Error
  16091. schema:
  16092. $ref: '#/definitions/app.Response'
  16093. security:
  16094. - ApiKeyAuth: []
  16095. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16096. tags:
  16097. - 定制【海商报业】
  16098. /HSBY/QueryHsbyListingGoodsDetail:
  16099. get:
  16100. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16101. parameters:
  16102. - description: 商品ID
  16103. in: query
  16104. name: goodsID
  16105. required: true
  16106. type: integer
  16107. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16108. in: query
  16109. name: accountID
  16110. type: integer
  16111. produces:
  16112. - application/json
  16113. responses:
  16114. "200":
  16115. description: OK
  16116. schema:
  16117. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16118. "500":
  16119. description: Internal Server Error
  16120. schema:
  16121. $ref: '#/definitions/app.Response'
  16122. security:
  16123. - ApiKeyAuth: []
  16124. summary: 查询二级市场(挂牌点选)商品信息详情
  16125. tags:
  16126. - 定制【海商报业】
  16127. /HSBY/QueryHsbyMarketGoodsDetail:
  16128. get:
  16129. parameters:
  16130. - description: 委托单号
  16131. in: query
  16132. name: orderID
  16133. required: true
  16134. type: integer
  16135. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16136. in: query
  16137. name: accountID
  16138. type: integer
  16139. produces:
  16140. - application/json
  16141. responses:
  16142. "200":
  16143. description: OK
  16144. schema:
  16145. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16146. "500":
  16147. description: Internal Server Error
  16148. schema:
  16149. $ref: '#/definitions/app.Response'
  16150. security:
  16151. - ApiKeyAuth: []
  16152. summary: 查询三级市场(商城)商品信息详情
  16153. tags:
  16154. - 定制【海商报业】
  16155. /HSBY/QueryHsbyMarketGoodses:
  16156. get:
  16157. parameters:
  16158. - description: 页码
  16159. in: query
  16160. name: page
  16161. type: integer
  16162. - description: 每页条数
  16163. in: query
  16164. name: pagesize
  16165. type: integer
  16166. - description: 市场ID列表,格式:1,2,3
  16167. in: query
  16168. name: marketIDs
  16169. required: true
  16170. type: string
  16171. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16172. in: query
  16173. name: accountID
  16174. required: true
  16175. type: integer
  16176. - description: 类别ID
  16177. in: query
  16178. name: categoryID
  16179. type: integer
  16180. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16181. in: query
  16182. name: goodsIDs
  16183. type: string
  16184. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16185. in: query
  16186. name: couponTypeID
  16187. type: integer
  16188. produces:
  16189. - application/json
  16190. responses:
  16191. "200":
  16192. description: OK
  16193. schema:
  16194. $ref: '#/definitions/models.HsbyMarketGoods'
  16195. "500":
  16196. description: Internal Server Error
  16197. schema:
  16198. $ref: '#/definitions/app.Response'
  16199. security:
  16200. - ApiKeyAuth: []
  16201. summary: 查询特卖商品列表(三级商城)
  16202. tags:
  16203. - 定制【海商报业】
  16204. /HSBY/QueryHsbyMarkets:
  16205. get:
  16206. produces:
  16207. - application/json
  16208. responses:
  16209. "200":
  16210. description: OK
  16211. schema:
  16212. $ref: '#/definitions/models.HsbyMarketInfo'
  16213. "500":
  16214. description: Internal Server Error
  16215. schema:
  16216. $ref: '#/definitions/app.Response'
  16217. security:
  16218. - ApiKeyAuth: []
  16219. summary: 查询海商报业相关市场信息
  16220. tags:
  16221. - 定制【海商报业】
  16222. /HSBY/QueryHsbyMyBuyOrderDetails:
  16223. get:
  16224. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16225. parameters:
  16226. - description: 资金账户列表,格式:1,2,3
  16227. in: query
  16228. name: accountIDs
  16229. required: true
  16230. type: string
  16231. produces:
  16232. - application/json
  16233. responses:
  16234. "200":
  16235. description: OK
  16236. schema:
  16237. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16238. "500":
  16239. description: Internal Server Error
  16240. schema:
  16241. $ref: '#/definitions/app.Response'
  16242. security:
  16243. - ApiKeyAuth: []
  16244. summary: 查询“我的订单”信息
  16245. tags:
  16246. - 定制【海商报业】
  16247. /HSBY/QueryHsbyMyGoods:
  16248. get:
  16249. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16250. parameters:
  16251. - description: 资金账户列表,格式:1,2,3
  16252. in: query
  16253. name: accountIDs
  16254. required: true
  16255. type: string
  16256. produces:
  16257. - application/json
  16258. responses:
  16259. "200":
  16260. description: OK
  16261. schema:
  16262. $ref: '#/definitions/models.HsbyMyGoods'
  16263. "500":
  16264. description: Internal Server Error
  16265. schema:
  16266. $ref: '#/definitions/app.Response'
  16267. security:
  16268. - ApiKeyAuth: []
  16269. summary: 查询“我的商品”信息
  16270. tags:
  16271. - 定制【海商报业】
  16272. /HSBY/QueryHsbyMyPackages:
  16273. get:
  16274. parameters:
  16275. - description: 资金账户列表,格式:1,2,3
  16276. in: query
  16277. name: accountIDs
  16278. required: true
  16279. type: string
  16280. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16281. in: query
  16282. name: takeOrderStatus
  16283. type: integer
  16284. produces:
  16285. - application/json
  16286. responses:
  16287. "200":
  16288. description: OK
  16289. schema:
  16290. $ref: '#/definitions/models.HsbyMyPackage'
  16291. "500":
  16292. description: Internal Server Error
  16293. schema:
  16294. $ref: '#/definitions/app.Response'
  16295. security:
  16296. - ApiKeyAuth: []
  16297. summary: 查询我的包裹信息
  16298. tags:
  16299. - 定制【海商报业】
  16300. /HSBY/QueryHsbyPreGoodsDetail:
  16301. get:
  16302. parameters:
  16303. - description: 商品ID
  16304. in: query
  16305. name: goodsID
  16306. required: true
  16307. type: integer
  16308. - description: 资金账户,主要用于获取预售商品购买上限
  16309. in: query
  16310. name: accountID
  16311. type: integer
  16312. produces:
  16313. - application/json
  16314. responses:
  16315. "200":
  16316. description: OK
  16317. schema:
  16318. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16319. "500":
  16320. description: Internal Server Error
  16321. schema:
  16322. $ref: '#/definitions/app.Response'
  16323. security:
  16324. - ApiKeyAuth: []
  16325. summary: 查询一级市场(预售)商品信息详情
  16326. tags:
  16327. - 定制【海商报业】
  16328. /HSBY/QueryHsbyPreGoodses:
  16329. get:
  16330. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16331. parameters:
  16332. - description: 页码
  16333. in: query
  16334. name: page
  16335. type: integer
  16336. - description: 每页条数
  16337. in: query
  16338. name: pagesize
  16339. type: integer
  16340. - description: 市场ID列表,格式:1,2,3
  16341. in: query
  16342. name: marketIDs
  16343. required: true
  16344. type: string
  16345. - description: 目的地(省)ID
  16346. in: query
  16347. name: descProvinceID
  16348. type: integer
  16349. - description: 目的地(市)ID
  16350. in: query
  16351. name: descCityID
  16352. type: integer
  16353. produces:
  16354. - application/json
  16355. responses:
  16356. "200":
  16357. description: OK
  16358. schema:
  16359. $ref: '#/definitions/models.HsbyPreGoods'
  16360. "500":
  16361. description: Internal Server Error
  16362. schema:
  16363. $ref: '#/definitions/app.Response'
  16364. security:
  16365. - ApiKeyAuth: []
  16366. summary: 查询新品上市商品列表(一级市场预售)
  16367. tags:
  16368. - 定制【海商报业】
  16369. /HSBY/QueryHsbySellMyDetails:
  16370. get:
  16371. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16372. parameters:
  16373. - description: 页码
  16374. in: query
  16375. name: page
  16376. type: integer
  16377. - description: 每页条数
  16378. in: query
  16379. name: pagesize
  16380. type: integer
  16381. - description: 资金账户列表,格式:1,2,3
  16382. in: query
  16383. name: accountIDs
  16384. required: true
  16385. type: string
  16386. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16387. in: query
  16388. name: orderType
  16389. type: integer
  16390. produces:
  16391. - application/json
  16392. responses:
  16393. "200":
  16394. description: OK
  16395. schema:
  16396. $ref: '#/definitions/models.HsbySellMyDetail'
  16397. "500":
  16398. description: Internal Server Error
  16399. schema:
  16400. $ref: '#/definitions/app.Response'
  16401. security:
  16402. - ApiKeyAuth: []
  16403. summary: 查询"我的闲置"单据信息
  16404. tags:
  16405. - 定制【海商报业】
  16406. /HSBY/QueryHsbyTopGoodses:
  16407. get:
  16408. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16409. parameters:
  16410. - description: 页码
  16411. in: query
  16412. name: page
  16413. type: integer
  16414. - description: 每页条数
  16415. in: query
  16416. name: pagesize
  16417. type: integer
  16418. - description: 市场ID列表,格式:1,2,3
  16419. in: query
  16420. name: marketIDs
  16421. required: true
  16422. type: string
  16423. - description: 目的地(省)ID
  16424. in: query
  16425. name: descProvinceID
  16426. type: integer
  16427. - description: 目的地(市)ID
  16428. in: query
  16429. name: descCityID
  16430. type: integer
  16431. produces:
  16432. - application/json
  16433. responses:
  16434. "200":
  16435. description: OK
  16436. schema:
  16437. $ref: '#/definitions/models.HsbyTopGoods'
  16438. "500":
  16439. description: Internal Server Error
  16440. schema:
  16441. $ref: '#/definitions/app.Response'
  16442. security:
  16443. - ApiKeyAuth: []
  16444. summary: 查询热卖商品列表(二级市场挂牌点选)
  16445. tags:
  16446. - 定制【海商报业】
  16447. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16448. get:
  16449. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16450. parameters:
  16451. - description: 商品ID
  16452. in: query
  16453. name: goodsID
  16454. required: true
  16455. type: integer
  16456. produces:
  16457. - application/json
  16458. responses:
  16459. "200":
  16460. description: OK
  16461. schema:
  16462. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16463. "500":
  16464. description: Internal Server Error
  16465. schema:
  16466. $ref: '#/definitions/app.Response'
  16467. security:
  16468. - ApiKeyAuth: []
  16469. summary: 查询游客三级市场(商城)商品信息详情
  16470. tags:
  16471. - 定制【海商报业】
  16472. /HSBY/QueryHsbyVisitorMarketGoodses:
  16473. get:
  16474. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16475. parameters:
  16476. - description: 页码
  16477. in: query
  16478. name: page
  16479. type: integer
  16480. - description: 每页条数
  16481. in: query
  16482. name: pagesize
  16483. type: integer
  16484. - description: 市场ID列表,格式:1,2,3
  16485. in: query
  16486. name: marketIDs
  16487. required: true
  16488. type: string
  16489. - description: 类别ID
  16490. in: query
  16491. name: categoryID
  16492. type: integer
  16493. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16494. in: query
  16495. name: goodsIDs
  16496. type: string
  16497. produces:
  16498. - application/json
  16499. responses:
  16500. "200":
  16501. description: OK
  16502. schema:
  16503. $ref: '#/definitions/models.HsbyMarketGoods'
  16504. "500":
  16505. description: Internal Server Error
  16506. schema:
  16507. $ref: '#/definitions/app.Response'
  16508. security:
  16509. - ApiKeyAuth: []
  16510. summary: 查询游客特卖商品列表(三级商城)
  16511. tags:
  16512. - 定制【海商报业】
  16513. /HSBY/QueryMyCollectionOrders:
  16514. get:
  16515. parameters:
  16516. - description: 页码
  16517. in: query
  16518. name: page
  16519. type: integer
  16520. - description: 每页条数
  16521. in: query
  16522. name: pagesize
  16523. type: integer
  16524. - description: 资金账户,格式:1,2,3
  16525. in: query
  16526. name: accountIDs
  16527. required: true
  16528. type: string
  16529. produces:
  16530. - application/json
  16531. responses:
  16532. "200":
  16533. description: OK
  16534. schema:
  16535. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16536. "500":
  16537. description: Internal Server Error
  16538. schema:
  16539. $ref: '#/definitions/app.Response'
  16540. security:
  16541. - ApiKeyAuth: []
  16542. summary: 我的闲置中收款信息查询
  16543. tags:
  16544. - 定制【海商报业】
  16545. /HSBY/QueryMyCouponHolds:
  16546. get:
  16547. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16548. parameters:
  16549. - description: 资金账户列表,格式:1,2,3
  16550. in: query
  16551. name: accountIDs
  16552. required: true
  16553. type: string
  16554. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16555. in: query
  16556. name: holdStatus
  16557. type: string
  16558. produces:
  16559. - application/json
  16560. responses:
  16561. "200":
  16562. description: OK
  16563. schema:
  16564. $ref: '#/definitions/models.MyCouponHold'
  16565. "500":
  16566. description: Internal Server Error
  16567. schema:
  16568. $ref: '#/definitions/app.Response'
  16569. security:
  16570. - ApiKeyAuth: []
  16571. summary: 我的优惠卷持仓查询
  16572. tags:
  16573. - 定制【海商报业】
  16574. /HSBY/QueryMyCoupons:
  16575. get:
  16576. parameters:
  16577. - description: 资金账户列表,格式:1,2,3
  16578. in: query
  16579. name: accountIDs
  16580. required: true
  16581. type: string
  16582. - description: 商品ID, 一般与sellUserID配套传入
  16583. in: query
  16584. name: goodsID
  16585. type: integer
  16586. - description: 卖方UserID
  16587. in: query
  16588. name: sellUserID
  16589. type: integer
  16590. produces:
  16591. - application/json
  16592. responses:
  16593. "200":
  16594. description: OK
  16595. schema:
  16596. $ref: '#/definitions/models.MyCoupon'
  16597. "500":
  16598. description: Internal Server Error
  16599. schema:
  16600. $ref: '#/definitions/app.Response'
  16601. security:
  16602. - ApiKeyAuth: []
  16603. summary: 我的优惠卷查询
  16604. tags:
  16605. - 定制【海商报业】
  16606. /HSBY/QueryMyPayOrders:
  16607. get:
  16608. parameters:
  16609. - description: 页码
  16610. in: query
  16611. name: page
  16612. type: integer
  16613. - description: 每页条数
  16614. in: query
  16615. name: pagesize
  16616. type: integer
  16617. - description: 资金账户列表,格式:1,2,3
  16618. in: query
  16619. name: accountIDs
  16620. required: true
  16621. type: string
  16622. - description: 买方委托单号
  16623. in: query
  16624. name: buyOrderID
  16625. type: integer
  16626. - description: 卖方委托单号
  16627. in: query
  16628. name: sellOrderID
  16629. type: integer
  16630. produces:
  16631. - application/json
  16632. responses:
  16633. "200":
  16634. description: OK
  16635. schema:
  16636. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16637. "500":
  16638. description: Internal Server Error
  16639. schema:
  16640. $ref: '#/definitions/app.Response'
  16641. security:
  16642. - ApiKeyAuth: []
  16643. summary: 获取我的订单中待付款信息
  16644. tags:
  16645. - 定制【海商报业】
  16646. /HSBY/QueryMyUsedCoupon:
  16647. get:
  16648. parameters:
  16649. - description: 资金账户列表,格式:1,2,3
  16650. in: query
  16651. name: accountIDs
  16652. required: true
  16653. type: string
  16654. produces:
  16655. - application/json
  16656. responses:
  16657. "200":
  16658. description: OK
  16659. schema:
  16660. $ref: '#/definitions/models.MyUsedCoupon'
  16661. "500":
  16662. description: Internal Server Error
  16663. schema:
  16664. $ref: '#/definitions/app.Response'
  16665. security:
  16666. - ApiKeyAuth: []
  16667. summary: 已使用优惠卷查询
  16668. tags:
  16669. - 定制【海商报业】
  16670. /HSBY/QueryProvincesAndCities:
  16671. get:
  16672. description: 查询结果只包括二级市场商品已关连的省市信息。
  16673. parameters:
  16674. - description: 省ID
  16675. in: query
  16676. name: provinceID
  16677. type: integer
  16678. produces:
  16679. - application/json
  16680. responses:
  16681. "200":
  16682. description: OK
  16683. schema:
  16684. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16685. "500":
  16686. description: Internal Server Error
  16687. schema:
  16688. $ref: '#/definitions/app.Response'
  16689. security:
  16690. - ApiKeyAuth: []
  16691. summary: 查询省市信息(不包括区)
  16692. tags:
  16693. - 定制【海商报业】
  16694. /HSBY/SetHsbyMyPackagesStatus:
  16695. post:
  16696. parameters:
  16697. - description: 提货单号
  16698. in: query
  16699. name: takeOrderID
  16700. required: true
  16701. type: string
  16702. - description: 资金账号
  16703. in: query
  16704. name: accountID
  16705. required: true
  16706. type: integer
  16707. produces:
  16708. - application/json
  16709. responses:
  16710. "200":
  16711. description: OK
  16712. schema:
  16713. $ref: '#/definitions/app.Response'
  16714. "500":
  16715. description: Internal Server Error
  16716. schema:
  16717. $ref: '#/definitions/app.Response'
  16718. security:
  16719. - ApiKeyAuth: []
  16720. summary: 设置我的包裹已收货状态
  16721. tags:
  16722. - 定制【海商报业】
  16723. /Market/QueryGoodsesByLoginID:
  16724. get:
  16725. parameters:
  16726. - description: 登录账号
  16727. in: query
  16728. name: loginID
  16729. required: true
  16730. type: integer
  16731. - description: 市场ID列表,格式:1,2,3
  16732. in: query
  16733. name: marketIDs
  16734. type: string
  16735. produces:
  16736. - application/json
  16737. responses:
  16738. "200":
  16739. description: OK
  16740. schema:
  16741. $ref: '#/definitions/models.Goods'
  16742. "500":
  16743. description: Internal Server Error
  16744. schema:
  16745. $ref: '#/definitions/app.Response'
  16746. security:
  16747. - ApiKeyAuth: []
  16748. summary: 获取登录账号有权限的商品信息
  16749. tags:
  16750. - 通用市场
  16751. /Market/QueryMarketRun:
  16752. get:
  16753. parameters:
  16754. - description: 市场ID,不传返回所有
  16755. in: query
  16756. name: marketID
  16757. type: integer
  16758. produces:
  16759. - application/json
  16760. responses:
  16761. "200":
  16762. description: OK
  16763. schema:
  16764. $ref: '#/definitions/models.Marketrun'
  16765. "500":
  16766. description: Internal Server Error
  16767. schema:
  16768. $ref: '#/definitions/app.Response'
  16769. security:
  16770. - ApiKeyAuth: []
  16771. summary: 查询市场运行信息
  16772. tags:
  16773. - 通用市场
  16774. /Market/QueryMarketsByLoginID:
  16775. get:
  16776. parameters:
  16777. - description: 登录账号
  16778. in: query
  16779. name: loginID
  16780. required: true
  16781. type: integer
  16782. produces:
  16783. - application/json
  16784. responses:
  16785. "200":
  16786. description: OK
  16787. schema:
  16788. $ref: '#/definitions/models.Market'
  16789. "500":
  16790. description: Internal Server Error
  16791. schema:
  16792. $ref: '#/definitions/app.Response'
  16793. security:
  16794. - ApiKeyAuth: []
  16795. summary: 获取登录账号有权限的市场信息
  16796. tags:
  16797. - 通用市场
  16798. /Order/QueryHisTradeDetail:
  16799. get:
  16800. parameters:
  16801. - description: 资金账户 - 格式:1,2,3
  16802. in: query
  16803. name: accountID
  16804. required: true
  16805. type: string
  16806. - description: 成交单号
  16807. in: query
  16808. name: tradeID
  16809. type: integer
  16810. - description: 委托单号
  16811. in: query
  16812. name: orderID
  16813. type: integer
  16814. - description: 交易模式 - 格式:1,2,3
  16815. in: query
  16816. name: tradeMode
  16817. type: string
  16818. - description: 委托单据类型
  16819. in: query
  16820. name: buildType
  16821. type: integer
  16822. - description: 成交类别 - 格式:1,2,3
  16823. in: query
  16824. name: tradeType
  16825. type: string
  16826. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16827. in: query
  16828. name: startDate
  16829. type: string
  16830. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16831. in: query
  16832. name: endDate
  16833. type: string
  16834. produces:
  16835. - application/json
  16836. responses:
  16837. "200":
  16838. description: OK
  16839. schema:
  16840. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16841. "500":
  16842. description: Internal Server Error
  16843. schema:
  16844. $ref: '#/definitions/app.Response'
  16845. security:
  16846. - ApiKeyAuth: []
  16847. summary: 历史成交单查询(合约市场)
  16848. tags:
  16849. - 通用单据
  16850. /Order/QueryHisTradeOrderDetail:
  16851. get:
  16852. parameters:
  16853. - description: 资金账户 - 格式:1,2,3
  16854. in: query
  16855. name: accountID
  16856. required: true
  16857. type: string
  16858. - description: 交易模式 - 格式:1,2,3
  16859. in: query
  16860. name: tradeMode
  16861. type: string
  16862. - description: 委托状态 - 格式:1,2,3
  16863. in: query
  16864. name: orderStatus
  16865. type: string
  16866. - description: 委托单号
  16867. in: query
  16868. name: orderID
  16869. type: integer
  16870. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16871. in: query
  16872. name: startDate
  16873. type: string
  16874. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16875. in: query
  16876. name: endDate
  16877. type: string
  16878. produces:
  16879. - application/json
  16880. responses:
  16881. "200":
  16882. description: OK
  16883. schema:
  16884. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16885. "500":
  16886. description: Internal Server Error
  16887. schema:
  16888. $ref: '#/definitions/app.Response'
  16889. security:
  16890. - ApiKeyAuth: []
  16891. summary: 历史委托单查询请求(合约市场)
  16892. tags:
  16893. - 通用单据
  16894. /Order/QueryTradeDetail:
  16895. get:
  16896. parameters:
  16897. - description: 资金账户 - 格式:1,2,3
  16898. in: query
  16899. name: accountID
  16900. required: true
  16901. type: string
  16902. - description: 成交单号
  16903. in: query
  16904. name: tradeID
  16905. type: integer
  16906. - description: 委托单号
  16907. in: query
  16908. name: orderID
  16909. type: integer
  16910. - description: 交易模式 - 格式:1,2,3
  16911. in: query
  16912. name: tradeMode
  16913. type: string
  16914. - description: 委托单据类型
  16915. in: query
  16916. name: buildType
  16917. type: integer
  16918. - description: 成交类别 - 格式:1,2,3
  16919. in: query
  16920. name: tradeType
  16921. type: string
  16922. produces:
  16923. - application/json
  16924. responses:
  16925. "200":
  16926. description: OK
  16927. schema:
  16928. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16929. "500":
  16930. description: Internal Server Error
  16931. schema:
  16932. $ref: '#/definitions/app.Response'
  16933. security:
  16934. - ApiKeyAuth: []
  16935. summary: 成交单查询(合约市场)
  16936. tags:
  16937. - 通用单据
  16938. /Order/QueryTradeOrderDetail:
  16939. get:
  16940. parameters:
  16941. - description: 资金账户 - 格式:1,2,3
  16942. in: query
  16943. name: accountID
  16944. required: true
  16945. type: string
  16946. - description: 交易模式 - 格式:1,2,3
  16947. in: query
  16948. name: tradeMode
  16949. type: string
  16950. - description: 委托状态 - 格式:1,2,3
  16951. in: query
  16952. name: orderStatus
  16953. type: string
  16954. - description: 委托单号
  16955. in: query
  16956. name: orderID
  16957. type: integer
  16958. produces:
  16959. - application/json
  16960. responses:
  16961. "200":
  16962. description: OK
  16963. schema:
  16964. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16965. "500":
  16966. description: Internal Server Error
  16967. schema:
  16968. $ref: '#/definitions/app.Response'
  16969. security:
  16970. - ApiKeyAuth: []
  16971. summary: 委托单查询请求(合约市场)
  16972. tags:
  16973. - 通用单据
  16974. /Order/QueryTradePosition:
  16975. get:
  16976. parameters:
  16977. - description: 资金账户 - 格式:1,2,3
  16978. in: query
  16979. name: accountID
  16980. required: true
  16981. type: string
  16982. - description: 交易模式 - 格式:1,2,3
  16983. in: query
  16984. name: tradeMode
  16985. type: string
  16986. produces:
  16987. - application/json
  16988. responses:
  16989. "200":
  16990. description: OK
  16991. schema:
  16992. $ref: '#/definitions/order.QueryTradePositionRsp'
  16993. "500":
  16994. description: Internal Server Error
  16995. schema:
  16996. $ref: '#/definitions/app.Response'
  16997. security:
  16998. - ApiKeyAuth: []
  16999. summary: 持仓汇总查询(合约市场)
  17000. tags:
  17001. - 通用单据
  17002. /Qhj/QueryBankAccountSign:
  17003. get:
  17004. parameters:
  17005. - description: 用户ID
  17006. in: query
  17007. name: userid
  17008. required: true
  17009. type: integer
  17010. produces:
  17011. - application/json
  17012. responses:
  17013. "200":
  17014. description: OK
  17015. schema:
  17016. items:
  17017. $ref: '#/definitions/models.QhjBankAccountSign'
  17018. type: array
  17019. "500":
  17020. description: Internal Server Error
  17021. schema:
  17022. $ref: '#/definitions/app.Response'
  17023. security:
  17024. - ApiKeyAuth: []
  17025. summary: 查询签约银行信息(提现账户管理)
  17026. tags:
  17027. - 大连千海金
  17028. /Qhj/QueryBankInfo:
  17029. get:
  17030. produces:
  17031. - application/json
  17032. responses:
  17033. "200":
  17034. description: OK
  17035. schema:
  17036. items:
  17037. $ref: '#/definitions/models.QhjBankInfo'
  17038. type: array
  17039. "500":
  17040. description: Internal Server Error
  17041. schema:
  17042. $ref: '#/definitions/app.Response'
  17043. security:
  17044. - ApiKeyAuth: []
  17045. summary: 查询开户行
  17046. tags:
  17047. - 大连千海金
  17048. /Qhj/QueryContract:
  17049. get:
  17050. parameters:
  17051. - description: 用户ID
  17052. in: query
  17053. name: userid
  17054. required: true
  17055. type: integer
  17056. - description: scf合同id
  17057. in: query
  17058. name: scfcontractid
  17059. type: integer
  17060. produces:
  17061. - application/json
  17062. responses:
  17063. "200":
  17064. description: OK
  17065. schema:
  17066. items:
  17067. $ref: '#/definitions/models.QhjContract'
  17068. type: array
  17069. "500":
  17070. description: Internal Server Error
  17071. schema:
  17072. $ref: '#/definitions/app.Response'
  17073. security:
  17074. - ApiKeyAuth: []
  17075. summary: 查询融资明细(合同)
  17076. tags:
  17077. - 大连千海金
  17078. /Qhj/QueryContractLog:
  17079. get:
  17080. parameters:
  17081. - description: scf合同id
  17082. in: query
  17083. name: scfcontractid
  17084. required: true
  17085. type: integer
  17086. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17087. in: query
  17088. name: amounttype
  17089. type: string
  17090. produces:
  17091. - application/json
  17092. responses:
  17093. "200":
  17094. description: OK
  17095. schema:
  17096. items:
  17097. $ref: '#/definitions/models.QhjContractLog'
  17098. type: array
  17099. "500":
  17100. description: Internal Server Error
  17101. schema:
  17102. $ref: '#/definitions/app.Response'
  17103. security:
  17104. - ApiKeyAuth: []
  17105. summary: 查询融资明细流水(融资明细详情页中的流水)
  17106. tags:
  17107. - 大连千海金
  17108. /Qhj/QueryCusBankSignBank:
  17109. get:
  17110. produces:
  17111. - application/json
  17112. responses:
  17113. "200":
  17114. description: OK
  17115. schema:
  17116. items:
  17117. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17118. type: array
  17119. "500":
  17120. description: Internal Server Error
  17121. schema:
  17122. $ref: '#/definitions/app.Response'
  17123. security:
  17124. - ApiKeyAuth: []
  17125. summary: 查询托管银行
  17126. tags:
  17127. - 大连千海金
  17128. /Qhj/QueryCustomerInfo:
  17129. get:
  17130. parameters:
  17131. - description: 用户ID
  17132. in: query
  17133. name: userid
  17134. required: true
  17135. type: integer
  17136. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17137. in: query
  17138. name: querytype
  17139. required: true
  17140. type: integer
  17141. - description: 客户类型 1-个人 2-企业
  17142. in: query
  17143. name: userinfotype
  17144. type: integer
  17145. - description: 客户名称(模糊匹配)
  17146. in: query
  17147. name: customername
  17148. type: string
  17149. - description: 昵称(模糊匹配)
  17150. in: query
  17151. name: nickname
  17152. type: string
  17153. - description: 是否包含子级 1-包含
  17154. in: query
  17155. name: includesub
  17156. type: integer
  17157. produces:
  17158. - application/json
  17159. responses:
  17160. "200":
  17161. description: OK
  17162. schema:
  17163. items:
  17164. $ref: '#/definitions/models.QhjCustomer'
  17165. type: array
  17166. "500":
  17167. description: Internal Server Error
  17168. schema:
  17169. $ref: '#/definitions/app.Response'
  17170. security:
  17171. - ApiKeyAuth: []
  17172. summary: 查询客户资料
  17173. tags:
  17174. - 大连千海金
  17175. /Qhj/QueryPickArea:
  17176. get:
  17177. parameters:
  17178. - description: 用户ID
  17179. in: query
  17180. name: userid
  17181. type: integer
  17182. produces:
  17183. - application/json
  17184. responses:
  17185. "200":
  17186. description: OK
  17187. schema:
  17188. items:
  17189. $ref: '#/definitions/models.QhjPickArea'
  17190. type: array
  17191. "500":
  17192. description: Internal Server Error
  17193. schema:
  17194. $ref: '#/definitions/app.Response'
  17195. security:
  17196. - ApiKeyAuth: []
  17197. summary: 查询提货门店
  17198. tags:
  17199. - 大连千海金
  17200. /Qhj/QueryPickGoods:
  17201. get:
  17202. parameters:
  17203. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  17204. in: query
  17205. name: status
  17206. type: string
  17207. produces:
  17208. - application/json
  17209. responses:
  17210. "200":
  17211. description: OK
  17212. schema:
  17213. items:
  17214. $ref: '#/definitions/models.QhjPickGoods'
  17215. type: array
  17216. "500":
  17217. description: Internal Server Error
  17218. schema:
  17219. $ref: '#/definitions/app.Response'
  17220. security:
  17221. - ApiKeyAuth: []
  17222. summary: 查询提货商品
  17223. tags:
  17224. - 大连千海金
  17225. /Qhj/QueryRSTriggerLog:
  17226. get:
  17227. parameters:
  17228. - description: 用户ID
  17229. in: query
  17230. name: userid
  17231. required: true
  17232. type: integer
  17233. - description: 定投策略id
  17234. in: query
  17235. name: regularlystrategyid
  17236. type: integer
  17237. produces:
  17238. - application/json
  17239. responses:
  17240. "200":
  17241. description: OK
  17242. schema:
  17243. items:
  17244. $ref: '#/definitions/models.QhjRSTriggerLog'
  17245. type: array
  17246. "500":
  17247. description: Internal Server Error
  17248. schema:
  17249. $ref: '#/definitions/app.Response'
  17250. security:
  17251. - ApiKeyAuth: []
  17252. summary: 查询定投记录(定投管理/详情/定投记录)
  17253. tags:
  17254. - 大连千海金
  17255. /Qhj/QueryRStrategy:
  17256. get:
  17257. parameters:
  17258. - description: 用户ID
  17259. in: query
  17260. name: userid
  17261. required: true
  17262. type: integer
  17263. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  17264. in: query
  17265. name: status
  17266. type: string
  17267. produces:
  17268. - application/json
  17269. responses:
  17270. "200":
  17271. description: OK
  17272. schema:
  17273. items:
  17274. $ref: '#/definitions/models.QhjRStrategy'
  17275. type: array
  17276. "500":
  17277. description: Internal Server Error
  17278. schema:
  17279. $ref: '#/definitions/app.Response'
  17280. security:
  17281. - ApiKeyAuth: []
  17282. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  17283. tags:
  17284. - 大连千海金
  17285. /Qhj/QueryReckonPriceLog:
  17286. get:
  17287. parameters:
  17288. - description: 商品ID
  17289. in: query
  17290. name: goodsid
  17291. type: integer
  17292. - description: 交易日 格式(yyyymmdd)
  17293. in: query
  17294. name: tradedate
  17295. type: string
  17296. produces:
  17297. - application/json
  17298. responses:
  17299. "200":
  17300. description: OK
  17301. schema:
  17302. items:
  17303. $ref: '#/definitions/models.QhjReckonPriceLog'
  17304. type: array
  17305. "500":
  17306. description: Internal Server Error
  17307. schema:
  17308. $ref: '#/definitions/app.Response'
  17309. security:
  17310. - ApiKeyAuth: []
  17311. summary: 查询定投价(结算价)
  17312. tags:
  17313. - 大连千海金
  17314. /Qhj/QuerySiteColumnDetail:
  17315. get:
  17316. parameters:
  17317. - description: 用户ID
  17318. in: query
  17319. name: userid
  17320. required: true
  17321. type: integer
  17322. produces:
  17323. - application/json
  17324. responses:
  17325. "200":
  17326. description: OK
  17327. schema:
  17328. items:
  17329. $ref: '#/definitions/models.QhjSiteColumnDetail'
  17330. type: array
  17331. "500":
  17332. description: Internal Server Error
  17333. schema:
  17334. $ref: '#/definitions/app.Response'
  17335. security:
  17336. - ApiKeyAuth: []
  17337. summary: 查询资讯
  17338. tags:
  17339. - 大连千海金
  17340. /Qhj/QueryTradeGoodsPickup:
  17341. get:
  17342. parameters:
  17343. - description: 用户ID
  17344. in: query
  17345. name: userid
  17346. required: true
  17347. type: integer
  17348. produces:
  17349. - application/json
  17350. responses:
  17351. "200":
  17352. description: OK
  17353. schema:
  17354. items:
  17355. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  17356. type: array
  17357. "500":
  17358. description: Internal Server Error
  17359. schema:
  17360. $ref: '#/definitions/app.Response'
  17361. security:
  17362. - ApiKeyAuth: []
  17363. summary: 查询提货
  17364. tags:
  17365. - 大连千海金
  17366. /Qhj/QueryUserCollectConfig:
  17367. get:
  17368. parameters:
  17369. - description: 用户ID
  17370. in: query
  17371. name: userid
  17372. required: true
  17373. type: integer
  17374. produces:
  17375. - application/json
  17376. responses:
  17377. "200":
  17378. description: OK
  17379. schema:
  17380. items:
  17381. $ref: '#/definitions/models.UserCollectConfig'
  17382. type: array
  17383. "500":
  17384. description: Internal Server Error
  17385. schema:
  17386. $ref: '#/definitions/app.Response'
  17387. security:
  17388. - ApiKeyAuth: []
  17389. summary: 查询提现账户设置
  17390. tags:
  17391. - 大连千海金
  17392. /Qhj/QueryUserReceiveInfo:
  17393. get:
  17394. parameters:
  17395. - description: 用户ID
  17396. in: query
  17397. name: userid
  17398. required: true
  17399. type: integer
  17400. produces:
  17401. - application/json
  17402. responses:
  17403. "200":
  17404. description: OK
  17405. schema:
  17406. items:
  17407. $ref: '#/definitions/models.UserReceiveInfo'
  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. - 大连千海金
  17418. /Quote/QueryHistoryDatas:
  17419. get:
  17420. parameters:
  17421. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17422. 日线'
  17423. in: query
  17424. name: cycleType
  17425. required: true
  17426. type: integer
  17427. - description: 商品代码
  17428. in: query
  17429. name: goodsCode
  17430. required: true
  17431. type: string
  17432. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17433. in: query
  17434. name: startTime
  17435. type: string
  17436. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17437. in: query
  17438. name: endTime
  17439. type: string
  17440. - description: 条数
  17441. in: query
  17442. name: count
  17443. type: integer
  17444. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17445. in: query
  17446. name: isAsc
  17447. type: boolean
  17448. produces:
  17449. - application/json
  17450. responses:
  17451. "200":
  17452. description: OK
  17453. schema:
  17454. $ref: '#/definitions/quote.HistoryData'
  17455. "500":
  17456. description: Internal Server Error
  17457. schema:
  17458. $ref: '#/definitions/app.Response'
  17459. security:
  17460. - ApiKeyAuth: []
  17461. summary: 查询行情历史数据
  17462. tags:
  17463. - 行情服务
  17464. /Quote/QueryHistoryTikDatas:
  17465. get:
  17466. parameters:
  17467. - description: 商品代码
  17468. in: query
  17469. name: goodsCode
  17470. required: true
  17471. type: string
  17472. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17473. in: query
  17474. name: startTime
  17475. type: string
  17476. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17477. in: query
  17478. name: endTime
  17479. type: string
  17480. - description: 条数
  17481. in: query
  17482. name: count
  17483. type: integer
  17484. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17485. in: query
  17486. name: isAsc
  17487. type: boolean
  17488. produces:
  17489. - application/json
  17490. responses:
  17491. "200":
  17492. description: OK
  17493. schema:
  17494. $ref: '#/definitions/quote.HistoryTikData'
  17495. "500":
  17496. description: Internal Server Error
  17497. schema:
  17498. $ref: '#/definitions/app.Response'
  17499. security:
  17500. - ApiKeyAuth: []
  17501. summary: 查询行情Tik数据
  17502. tags:
  17503. - 行情服务
  17504. /Quote/QueryQuoteDay:
  17505. get:
  17506. parameters:
  17507. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17508. in: query
  17509. name: goodsCodes
  17510. required: true
  17511. type: string
  17512. produces:
  17513. - application/json
  17514. responses:
  17515. "200":
  17516. description: OK
  17517. schema:
  17518. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17519. "500":
  17520. description: Internal Server Error
  17521. schema:
  17522. $ref: '#/definitions/app.Response'
  17523. security:
  17524. - ApiKeyAuth: []
  17525. summary: 获取商品盘面信息
  17526. tags:
  17527. - 行情服务
  17528. /Quote/QueryTSData:
  17529. get:
  17530. parameters:
  17531. - description: 商品代码
  17532. in: query
  17533. name: goodsCode
  17534. required: true
  17535. type: string
  17536. produces:
  17537. - application/json
  17538. responses:
  17539. "200":
  17540. description: OK
  17541. schema:
  17542. $ref: '#/definitions/quote.QueryTSDataRsp'
  17543. "500":
  17544. description: Internal Server Error
  17545. schema:
  17546. $ref: '#/definitions/app.Response'
  17547. security:
  17548. - ApiKeyAuth: []
  17549. summary: 分时图数据查询
  17550. tags:
  17551. - 行情服务
  17552. /SZDZ/QueryConvertConfig:
  17553. get:
  17554. parameters:
  17555. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17556. 6:交易转花生米(不设置)
  17557. in: query
  17558. name: convertType
  17559. type: integer
  17560. - description: 外部商品代码[JD\PD]
  17561. in: query
  17562. name: outerGoodsCode
  17563. type: string
  17564. - description: 内部商品ID列表[交易],格式:1,2,3
  17565. in: query
  17566. name: innerGoodsIDs
  17567. type: string
  17568. produces:
  17569. - application/json
  17570. responses:
  17571. "200":
  17572. description: OK
  17573. schema:
  17574. $ref: '#/definitions/models.Szdz3convertconfig'
  17575. "500":
  17576. description: Internal Server Error
  17577. schema:
  17578. $ref: '#/definitions/app.Response'
  17579. security:
  17580. - ApiKeyAuth: []
  17581. summary: 查询交易系统转换设置
  17582. tags:
  17583. - 定制【尚志大宗】
  17584. /SZDZ/QueryConvertLog:
  17585. get:
  17586. parameters:
  17587. - description: 资金账户 - 格式:1,2,3
  17588. in: query
  17589. name: accountID
  17590. required: true
  17591. type: string
  17592. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17593. in: query
  17594. name: startDate
  17595. type: string
  17596. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17597. in: query
  17598. name: endDate
  17599. type: string
  17600. produces:
  17601. - application/json
  17602. responses:
  17603. "200":
  17604. description: OK
  17605. schema:
  17606. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17607. "500":
  17608. description: Internal Server Error
  17609. schema:
  17610. $ref: '#/definitions/app.Response'
  17611. security:
  17612. - ApiKeyAuth: []
  17613. summary: 交易系统转换流水查询
  17614. tags:
  17615. - 定制【尚志大宗】
  17616. /SZDZ/QueryGoodsPickup:
  17617. get:
  17618. parameters:
  17619. - description: 资金账户 - 格式:1,2,3
  17620. in: query
  17621. name: accountID
  17622. required: true
  17623. type: string
  17624. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17625. in: query
  17626. name: takeOrderStatus
  17627. type: integer
  17628. produces:
  17629. - application/json
  17630. responses:
  17631. "200":
  17632. description: OK
  17633. schema:
  17634. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17635. "500":
  17636. description: Internal Server Error
  17637. schema:
  17638. $ref: '#/definitions/app.Response'
  17639. security:
  17640. - ApiKeyAuth: []
  17641. summary: 商品提货单查询
  17642. tags:
  17643. - 定制【尚志大宗】
  17644. /SZDZ/QueryRecieptOrder:
  17645. get:
  17646. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17647. parameters:
  17648. - description: 页码
  17649. in: query
  17650. name: page
  17651. type: integer
  17652. - description: 每页条数
  17653. in: query
  17654. name: pagesize
  17655. type: integer
  17656. - description: 商品ID
  17657. in: query
  17658. name: goodsID
  17659. required: true
  17660. type: integer
  17661. - description: 所属账户名称
  17662. in: query
  17663. name: accountName
  17664. type: string
  17665. - description: 市场ID
  17666. in: query
  17667. name: marketID
  17668. type: integer
  17669. - description: 方向 - 0:买 1:卖
  17670. in: query
  17671. name: buyorsell
  17672. required: true
  17673. type: integer
  17674. produces:
  17675. - application/json
  17676. responses:
  17677. "200":
  17678. description: OK
  17679. schema:
  17680. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17681. "500":
  17682. description: Internal Server Error
  17683. schema:
  17684. $ref: '#/definitions/app.Response'
  17685. security:
  17686. - ApiKeyAuth: []
  17687. summary: 点选挂牌委托单据查询(摘牌大厅)
  17688. tags:
  17689. - 定制【尚志大宗】
  17690. /SZDZ/QuerySZDZTradePosition:
  17691. get:
  17692. parameters:
  17693. - description: 资金账户
  17694. in: query
  17695. name: accountID
  17696. required: true
  17697. type: integer
  17698. produces:
  17699. - application/json
  17700. responses:
  17701. "200":
  17702. description: OK
  17703. schema:
  17704. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17705. "500":
  17706. description: Internal Server Error
  17707. schema:
  17708. $ref: '#/definitions/app.Response'
  17709. security:
  17710. - ApiKeyAuth: []
  17711. summary: 持仓汇总查询(尚志大宗)
  17712. tags:
  17713. - 定制【尚志大宗】
  17714. /SZDZ/SearchWhite:
  17715. get:
  17716. parameters:
  17717. - description: 用户ID
  17718. in: query
  17719. name: userID
  17720. required: true
  17721. type: integer
  17722. produces:
  17723. - application/json
  17724. responses:
  17725. "200":
  17726. description: OK
  17727. schema:
  17728. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17729. "500":
  17730. description: Internal Server Error
  17731. schema:
  17732. $ref: '#/definitions/app.Response'
  17733. security:
  17734. - ApiKeyAuth: []
  17735. summary: 搜索白名单
  17736. tags:
  17737. - 定制【尚志大宗】
  17738. /Search/SearchGoodses:
  17739. get:
  17740. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17741. parameters:
  17742. - description: 检索内容
  17743. in: query
  17744. name: content
  17745. required: true
  17746. type: string
  17747. - description: 交易模式,格式:1,2,3
  17748. in: query
  17749. name: tradeModes
  17750. type: string
  17751. produces:
  17752. - application/json
  17753. responses:
  17754. "200":
  17755. description: OK
  17756. schema:
  17757. $ref: '#/definitions/models.SearchGoods'
  17758. "500":
  17759. description: Internal Server Error
  17760. schema:
  17761. $ref: '#/definitions/app.Response'
  17762. summary: 检索商品信息
  17763. tags:
  17764. - 检索服务
  17765. /TaAccount/GetTaAccounts:
  17766. get:
  17767. parameters:
  17768. - description: 登录账户
  17769. in: query
  17770. name: loginID
  17771. required: true
  17772. type: integer
  17773. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17774. in: query
  17775. name: taAccountType
  17776. type: integer
  17777. produces:
  17778. - application/json
  17779. responses:
  17780. "200":
  17781. description: OK
  17782. schema:
  17783. $ref: '#/definitions/models.Taaccount'
  17784. "500":
  17785. description: Internal Server Error
  17786. schema:
  17787. $ref: '#/definitions/app.Response'
  17788. security:
  17789. - ApiKeyAuth: []
  17790. summary: 获取资金账户信息
  17791. tags:
  17792. - 资金账户
  17793. /TaAccount/QueryAmountLog:
  17794. get:
  17795. parameters:
  17796. - description: 页码
  17797. in: query
  17798. name: page
  17799. type: integer
  17800. - description: 每页条数
  17801. in: query
  17802. name: pagesize
  17803. type: integer
  17804. - description: 资金账户 - 格式:1,2,3
  17805. in: query
  17806. name: accountID
  17807. required: true
  17808. type: string
  17809. - description: 资金操作类型 - 格式:1,2,3
  17810. in: query
  17811. name: OperateType
  17812. type: string
  17813. produces:
  17814. - application/json
  17815. responses:
  17816. "200":
  17817. description: OK
  17818. schema:
  17819. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17820. "500":
  17821. description: Internal Server Error
  17822. schema:
  17823. $ref: '#/definitions/app.Response'
  17824. security:
  17825. - ApiKeyAuth: []
  17826. summary: 资金流水查询(当前)
  17827. tags:
  17828. - 资金账户
  17829. /TaAccount/QueryHisAmountLog:
  17830. get:
  17831. parameters:
  17832. - description: 页码
  17833. in: query
  17834. name: page
  17835. type: integer
  17836. - description: 每页条数
  17837. in: query
  17838. name: pagesize
  17839. type: integer
  17840. - description: 资金账户 - 格式:1,2,3
  17841. in: query
  17842. name: accountID
  17843. required: true
  17844. type: string
  17845. - description: 资金操作类型 - 格式:1,2,3
  17846. in: query
  17847. name: OperateType
  17848. type: string
  17849. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17850. in: query
  17851. name: startDate
  17852. type: string
  17853. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17854. in: query
  17855. name: endDate
  17856. type: string
  17857. produces:
  17858. - application/json
  17859. responses:
  17860. "200":
  17861. description: OK
  17862. schema:
  17863. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17864. "500":
  17865. description: Internal Server Error
  17866. schema:
  17867. $ref: '#/definitions/app.Response'
  17868. security:
  17869. - ApiKeyAuth: []
  17870. summary: 资金流水查询(历史)
  17871. tags:
  17872. - 资金账户
  17873. /Trade/QueryRecieptOrder:
  17874. get:
  17875. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17876. parameters:
  17877. - description: 页码
  17878. in: query
  17879. name: page
  17880. type: integer
  17881. - description: 每页条数
  17882. in: query
  17883. name: pagesize
  17884. type: integer
  17885. - description: 商品ID
  17886. in: query
  17887. name: goodsID
  17888. required: true
  17889. type: integer
  17890. - description: 所属账户名称
  17891. in: query
  17892. name: accountName
  17893. type: string
  17894. - description: 市场ID
  17895. in: query
  17896. name: marketID
  17897. type: integer
  17898. - description: 方向 - 0:买 1:卖
  17899. in: query
  17900. name: buyorsell
  17901. required: true
  17902. type: integer
  17903. produces:
  17904. - application/json
  17905. responses:
  17906. "200":
  17907. description: OK
  17908. schema:
  17909. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17910. "500":
  17911. description: Internal Server Error
  17912. schema:
  17913. $ref: '#/definitions/app.Response'
  17914. security:
  17915. - ApiKeyAuth: []
  17916. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17917. tags:
  17918. - 通用交易
  17919. /User/AddMessageBoard:
  17920. post:
  17921. parameters:
  17922. - description: 用户ID
  17923. in: query
  17924. name: userID
  17925. required: true
  17926. type: integer
  17927. - description: 留言信息
  17928. in: query
  17929. name: message
  17930. required: true
  17931. type: string
  17932. - description: 联系电话
  17933. in: query
  17934. name: contactNum
  17935. required: true
  17936. type: string
  17937. produces:
  17938. - application/json
  17939. responses:
  17940. "200":
  17941. description: OK
  17942. schema:
  17943. $ref: '#/definitions/app.Response'
  17944. "500":
  17945. description: Internal Server Error
  17946. schema:
  17947. $ref: '#/definitions/app.Response'
  17948. security:
  17949. - ApiKeyAuth: []
  17950. summary: 添加用户留言板信息
  17951. tags:
  17952. - 用户信息
  17953. /User/AddUserFavoriteGoods:
  17954. post:
  17955. parameters:
  17956. - description: 用户ID
  17957. in: query
  17958. name: userID
  17959. required: true
  17960. type: integer
  17961. - description: 商品ID
  17962. in: query
  17963. name: goodsID
  17964. required: true
  17965. type: integer
  17966. produces:
  17967. - application/json
  17968. responses:
  17969. "200":
  17970. description: OK
  17971. schema:
  17972. $ref: '#/definitions/app.Response'
  17973. "500":
  17974. description: Internal Server Error
  17975. schema:
  17976. $ref: '#/definitions/app.Response'
  17977. security:
  17978. - ApiKeyAuth: []
  17979. summary: 添加用户商品收藏信息
  17980. tags:
  17981. - 用户信息
  17982. /User/GetLoginID:
  17983. get:
  17984. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17985. parameters:
  17986. - description: 登录代码
  17987. in: query
  17988. name: username
  17989. required: true
  17990. type: string
  17991. produces:
  17992. - application/json
  17993. responses:
  17994. "200":
  17995. description: OK
  17996. schema:
  17997. $ref: '#/definitions/app.Response'
  17998. "500":
  17999. description: Internal Server Error
  18000. schema:
  18001. $ref: '#/definitions/app.Response'
  18002. summary: 获取登录ID
  18003. tags:
  18004. - 用户信息
  18005. /User/GetUserAccount:
  18006. get:
  18007. parameters:
  18008. - description: 用户ID
  18009. in: query
  18010. name: userID
  18011. required: true
  18012. type: integer
  18013. produces:
  18014. - application/json
  18015. responses:
  18016. "200":
  18017. description: OK
  18018. schema:
  18019. $ref: '#/definitions/models.Useraccount'
  18020. "500":
  18021. description: Internal Server Error
  18022. schema:
  18023. $ref: '#/definitions/app.Response'
  18024. security:
  18025. - ApiKeyAuth: []
  18026. summary: 获取用户账号信息
  18027. tags:
  18028. - 用户信息
  18029. /User/GetUserAuthStatus:
  18030. get:
  18031. parameters:
  18032. - description: 用户ID
  18033. in: query
  18034. name: userID
  18035. required: true
  18036. type: integer
  18037. produces:
  18038. - application/json
  18039. responses:
  18040. "200":
  18041. description: OK
  18042. schema:
  18043. $ref: '#/definitions/app.Response'
  18044. "500":
  18045. description: Internal Server Error
  18046. schema:
  18047. $ref: '#/definitions/app.Response'
  18048. security:
  18049. - ApiKeyAuth: []
  18050. summary: 获取用户实名认证状态
  18051. tags:
  18052. - 用户信息
  18053. /User/LoginQuery:
  18054. get:
  18055. parameters:
  18056. - description: 登录账号
  18057. in: query
  18058. name: loginID
  18059. required: true
  18060. type: integer
  18061. produces:
  18062. - application/json
  18063. responses:
  18064. "200":
  18065. description: OK
  18066. schema:
  18067. $ref: '#/definitions/user.LoginQueryRsp'
  18068. "500":
  18069. description: Internal Server Error
  18070. schema:
  18071. $ref: '#/definitions/app.Response'
  18072. security:
  18073. - ApiKeyAuth: []
  18074. summary: 账户登录后信息查询
  18075. tags:
  18076. - 用户信息
  18077. /User/QueryMessageBoard:
  18078. get:
  18079. parameters:
  18080. - description: 用户ID
  18081. in: query
  18082. name: userID
  18083. required: true
  18084. type: integer
  18085. produces:
  18086. - application/json
  18087. responses:
  18088. "200":
  18089. description: OK
  18090. schema:
  18091. $ref: '#/definitions/models.Messageboard'
  18092. "500":
  18093. description: Internal Server Error
  18094. schema:
  18095. $ref: '#/definitions/app.Response'
  18096. security:
  18097. - ApiKeyAuth: []
  18098. summary: 获取用户留言板信息
  18099. tags:
  18100. - 用户信息
  18101. /User/QueryUserFavoriteGoodses:
  18102. get:
  18103. parameters:
  18104. - description: 用户ID
  18105. in: query
  18106. name: userID
  18107. required: true
  18108. type: integer
  18109. produces:
  18110. - application/json
  18111. responses:
  18112. "200":
  18113. description: OK
  18114. schema:
  18115. $ref: '#/definitions/models.Userfavoritegoods'
  18116. "500":
  18117. description: Internal Server Error
  18118. schema:
  18119. $ref: '#/definitions/app.Response'
  18120. security:
  18121. - ApiKeyAuth: []
  18122. summary: 获取用户商品收藏信息
  18123. tags:
  18124. - 用户信息
  18125. /User/QueryUserInfo:
  18126. get:
  18127. parameters:
  18128. - description: 用户ID
  18129. in: query
  18130. name: userID
  18131. required: true
  18132. type: integer
  18133. - description: 是否解密
  18134. in: query
  18135. name: isDecrypt
  18136. type: boolean
  18137. produces:
  18138. - application/json
  18139. responses:
  18140. "200":
  18141. description: OK
  18142. schema:
  18143. $ref: '#/definitions/models.Userinfo'
  18144. "500":
  18145. description: Internal Server Error
  18146. schema:
  18147. $ref: '#/definitions/app.Response'
  18148. security:
  18149. - ApiKeyAuth: []
  18150. summary: 获取用户信息
  18151. tags:
  18152. - 用户信息
  18153. /User/QueryUserReferNum:
  18154. get:
  18155. parameters:
  18156. - description: 用户ID
  18157. in: query
  18158. name: userID
  18159. required: true
  18160. type: integer
  18161. produces:
  18162. - application/json
  18163. responses:
  18164. "200":
  18165. description: OK
  18166. schema:
  18167. $ref: '#/definitions/app.Response'
  18168. "500":
  18169. description: Internal Server Error
  18170. schema:
  18171. $ref: '#/definitions/app.Response'
  18172. summary: 获取用户邀请码
  18173. tags:
  18174. - 用户信息
  18175. /User/RemoveUserFavoriteGoods:
  18176. post:
  18177. parameters:
  18178. - description: 用户ID
  18179. in: query
  18180. name: userID
  18181. required: true
  18182. type: integer
  18183. - description: 商品ID
  18184. in: query
  18185. name: goodsID
  18186. required: true
  18187. type: integer
  18188. produces:
  18189. - application/json
  18190. responses:
  18191. "200":
  18192. description: OK
  18193. schema:
  18194. $ref: '#/definitions/app.Response'
  18195. "500":
  18196. description: Internal Server Error
  18197. schema:
  18198. $ref: '#/definitions/app.Response'
  18199. security:
  18200. - ApiKeyAuth: []
  18201. summary: 移除用户商品收藏信息
  18202. tags:
  18203. - 用户信息
  18204. /User/UpdateUserAccountStatus:
  18205. post:
  18206. parameters:
  18207. - description: 用户ID
  18208. in: query
  18209. name: userID
  18210. required: true
  18211. type: integer
  18212. - description: 账户状态 - 4:正常 6:注销(停用)
  18213. in: query
  18214. name: accountStatus
  18215. required: true
  18216. type: integer
  18217. produces:
  18218. - application/json
  18219. responses:
  18220. "200":
  18221. description: OK
  18222. schema:
  18223. $ref: '#/definitions/app.Response'
  18224. "500":
  18225. description: Internal Server Error
  18226. schema:
  18227. $ref: '#/definitions/app.Response'
  18228. security:
  18229. - ApiKeyAuth: []
  18230. summary: 更新用户状态
  18231. tags:
  18232. - 用户信息
  18233. /WRTrade/GetAllDeliveryGoods:
  18234. get:
  18235. produces:
  18236. - application/json
  18237. - application/json
  18238. responses:
  18239. "200":
  18240. description: OK
  18241. schema:
  18242. $ref: '#/definitions/app.Response'
  18243. "500":
  18244. description: Internal Server Error
  18245. schema:
  18246. $ref: '#/definitions/app.Response'
  18247. security:
  18248. - ApiKeyAuth: []
  18249. - ApiKeyAuth: []
  18250. summary: 获取带仓单分类的种类信息
  18251. tags:
  18252. - 仓单贸易
  18253. - 仓单贸易
  18254. securityDefinitions:
  18255. ApiKeyAuth:
  18256. in: header
  18257. name: Authorization
  18258. type: apiKey
  18259. swagger: "2.0"