swagger.yaml 488 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739
  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.ErmcpGoodsBrand:
  5487. properties:
  5488. areauserid:
  5489. description: 所属机构
  5490. type: integer
  5491. brandid:
  5492. description: BrandID(SEQ_SPOTGOODSBRAND)
  5493. type: integer
  5494. brandname:
  5495. description: 品牌名称
  5496. type: string
  5497. createtime:
  5498. description: 创建时间
  5499. type: string
  5500. creatorid:
  5501. description: 创建人
  5502. type: integer
  5503. creatorsrc:
  5504. description: 创建人来源 - 1:管理端 2:终端
  5505. type: integer
  5506. deliverygoodsid:
  5507. description: 现货品种ID
  5508. type: integer
  5509. isvalid:
  5510. description: 是否有效 - 0:无效 1:有效
  5511. type: integer
  5512. updatetime:
  5513. description: 更新时间
  5514. type: string
  5515. updatorid:
  5516. description: 更新人
  5517. type: integer
  5518. updatorsrc:
  5519. description: 更新人来源 - 1:管理端 2:终端
  5520. type: integer
  5521. wrstandardid:
  5522. description: 现货商品ID
  5523. type: integer
  5524. type: object
  5525. models.ErmcpGoodsModel:
  5526. properties:
  5527. areauserid:
  5528. description: 所属机构
  5529. type: integer
  5530. convertfactor:
  5531. description: 标仓系数
  5532. type: number
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: integer
  5539. creatorsrc:
  5540. description: 创建人来源 - 1:管理端 2:终端
  5541. type: integer
  5542. deliverygoodsid:
  5543. description: 现货品种ID
  5544. type: integer
  5545. isvalid:
  5546. description: 是否有效 - 0:无效 1:有效
  5547. type: integer
  5548. modelid:
  5549. description: ModelID(SEQ_SPOTGOODSMODEL)
  5550. type: integer
  5551. modelname:
  5552. description: 型号名称
  5553. type: string
  5554. updatetime:
  5555. description: 更新时间
  5556. type: string
  5557. updatorid:
  5558. description: 更新人
  5559. type: integer
  5560. updatorsrc:
  5561. description: 更新人来源 - 1:管理端 2:终端
  5562. type: integer
  5563. wrstandardid:
  5564. description: 现货商品ID
  5565. type: integer
  5566. type: object
  5567. models.ErmcpHedgePosition:
  5568. properties:
  5569. accountid:
  5570. description: 资金账号[外部母账户]
  5571. type: integer
  5572. curbuyposition:
  5573. description: 期末买头寸
  5574. type: integer
  5575. cursellposition:
  5576. description: 期末卖头寸
  5577. type: integer
  5578. curtdbuyposition:
  5579. description: 期末今日买头寸
  5580. type: integer
  5581. curtdsellposition:
  5582. description: 期末今日卖头寸
  5583. type: integer
  5584. curydbuyposition:
  5585. description: 期末上日买头寸
  5586. type: integer
  5587. curydsellposition:
  5588. description: 期末上日卖头寸
  5589. type: integer
  5590. decreaseqty:
  5591. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5592. type: integer
  5593. fretdbuyposition:
  5594. description: 冻结今日买头寸
  5595. type: integer
  5596. fretdsellposition:
  5597. description: 冻结今日卖头寸
  5598. type: integer
  5599. freydbuyposition:
  5600. description: 冻结上日买头寸
  5601. type: integer
  5602. freydsellposition:
  5603. description: 冻结上日卖头寸
  5604. type: integer
  5605. goodscode:
  5606. description: 商品代码
  5607. type: string
  5608. goodsid:
  5609. description: 商品id
  5610. type: integer
  5611. goodsname:
  5612. description: 商品名称
  5613. type: string
  5614. hedgeaccountcode:
  5615. description: 对冲账号
  5616. type: string
  5617. hedgegoodsid:
  5618. description: 对冲合约ID
  5619. type: integer
  5620. increaseqty:
  5621. description: 增加数量 = 期末买头寸 - 期初买头寸
  5622. type: integer
  5623. marketid:
  5624. description: 市场ID
  5625. type: integer
  5626. relateduserid:
  5627. description: 关联用户id
  5628. type: integer
  5629. totalcurqty:
  5630. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5631. type: integer
  5632. totalydqty:
  5633. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5634. type: integer
  5635. tradedate:
  5636. description: 交易日(yyyyMMdd)
  5637. type: string
  5638. ydbuyposition:
  5639. description: 期初买头寸
  5640. type: integer
  5641. ydsellposition:
  5642. description: 期初卖头寸
  5643. type: integer
  5644. type: object
  5645. models.ErmcpHedgePositionDetail:
  5646. properties:
  5647. buyorsell:
  5648. description: 买卖方向 0-买 1-卖
  5649. type: integer
  5650. channelbuildtype:
  5651. description: 开平方向 1-建仓 2-平仓
  5652. type: integer
  5653. goodscode:
  5654. description: 商品代码
  5655. type: string
  5656. goodsname:
  5657. description: 商品名称
  5658. type: string
  5659. hedgegoodsid:
  5660. description: 商品id
  5661. type: integer
  5662. tradeqty:
  5663. description: 数量(成交数量)
  5664. type: integer
  5665. tradetime:
  5666. description: 时间(成交时间)
  5667. type: string
  5668. type: object
  5669. models.ErmcpHisExposure:
  5670. properties:
  5671. needhedgeexposoure:
  5672. description: 应套保敞口
  5673. type: number
  5674. reckondate:
  5675. description: 日照时期(yyyyMMdd)
  5676. type: string
  5677. totalexposure:
  5678. description: 总敞口
  5679. type: number
  5680. type: object
  5681. models.ErmcpHisExposureS:
  5682. properties:
  5683. data:
  5684. description: 历史敞口
  5685. items:
  5686. $ref: '#/definitions/models.ErmcpHisExposure'
  5687. type: array
  5688. enumdicname:
  5689. description: 单位名称
  5690. type: string
  5691. middlegoodscode:
  5692. description: 套保品种代码
  5693. type: string
  5694. middlegoodsid:
  5695. description: 套保品种ID
  5696. type: integer
  5697. middlegoodsname:
  5698. description: 套保品种名称
  5699. type: string
  5700. type: object
  5701. models.ErmcpLoginTaAccount:
  5702. properties:
  5703. accountid:
  5704. description: 账号id
  5705. type: integer
  5706. accountname:
  5707. description: 账号名称
  5708. type: string
  5709. type: object
  5710. models.ErmcpLoginUser:
  5711. properties:
  5712. acclist:
  5713. description: 关联资金账号
  5714. items:
  5715. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5716. type: array
  5717. accountname:
  5718. description: 用户名称
  5719. type: string
  5720. clientroleid:
  5721. description: 角色id(usertype=2)
  5722. type: integer
  5723. createtime:
  5724. description: 创建时间
  5725. type: string
  5726. logincode:
  5727. description: 登录代码
  5728. type: string
  5729. loginid:
  5730. description: 登录id(LOGINID)
  5731. type: integer
  5732. loginname:
  5733. description: 登录名称(loginaccount表中的accountname字段)
  5734. type: string
  5735. loginstatus:
  5736. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5737. type: integer
  5738. memberuserid:
  5739. description: 所属会员id
  5740. type: integer
  5741. mobile:
  5742. description: 手机号
  5743. type: string
  5744. modifytime:
  5745. description: 修改时间
  5746. type: string
  5747. password:
  5748. description: 密码(不可解密)
  5749. type: string
  5750. rolename:
  5751. description: 角色名称
  5752. type: string
  5753. rolestatus:
  5754. description: 角色状态 1-启用 2-停用
  5755. type: integer
  5756. roletype:
  5757. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5758. type: string
  5759. userid:
  5760. description: 用户id
  5761. type: integer
  5762. usertype:
  5763. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5764. type: integer
  5765. type: object
  5766. models.ErmcpLoginUserEx:
  5767. properties:
  5768. accountstatus:
  5769. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5770. type: integer
  5771. mobile:
  5772. description: 手机号
  5773. type: string
  5774. querytype:
  5775. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5776. type: integer
  5777. roleid:
  5778. description: 角色id(交易账户->用户id)
  5779. type: integer
  5780. rolename:
  5781. description: 角色名称(交易账户->用户名称)
  5782. type: string
  5783. userlist:
  5784. description: 用户列表
  5785. items:
  5786. $ref: '#/definitions/models.ErmcpLoginUser'
  5787. type: array
  5788. usertype:
  5789. description: 用户类型 2-机构 7-企业成员(云平台)
  5790. type: integer
  5791. type: object
  5792. models.ErmcpMiddleGoodsChangeLog:
  5793. properties:
  5794. aftervalue:
  5795. description: 变更后
  5796. type: number
  5797. applyid:
  5798. description: 操作人
  5799. type: integer
  5800. applyname:
  5801. description: 操作人名称
  5802. type: string
  5803. applysrc:
  5804. description: 操作来源 - 1:管理端 2:终端
  5805. type: integer
  5806. beforevalue:
  5807. description: 变更前
  5808. type: number
  5809. changelogtype:
  5810. description: 变更流水类型 - 1:套保比率变更
  5811. type: integer
  5812. handlestatus:
  5813. description: 处理状态
  5814. type: integer
  5815. logdatetime:
  5816. description: 流水日期
  5817. type: string
  5818. logid:
  5819. description: 流水ID
  5820. type: integer
  5821. logremark:
  5822. description: 流水备注
  5823. type: string
  5824. middlegoodsid:
  5825. description: 套保品种ID
  5826. type: integer
  5827. tradedate:
  5828. description: 交易日(yyyyMMdd)
  5829. type: string
  5830. updatetime:
  5831. description: 更新时间
  5832. type: string
  5833. type: object
  5834. models.ErmcpMiddleGoodsDetail:
  5835. properties:
  5836. cvList:
  5837. description: 期货品种折算列表
  5838. items:
  5839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5840. type: array
  5841. mg:
  5842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5843. description: 套保品种基本信息
  5844. type: object
  5845. wrcList:
  5846. description: 现货品种列表(现货商品折算配置)
  5847. items:
  5848. $ref: '#/definitions/models.WRSConverTDetail'
  5849. type: array
  5850. type: object
  5851. models.ErmcpMiddleGoodsModel:
  5852. properties:
  5853. areauserid:
  5854. description: 机构用户ID
  5855. type: integer
  5856. createtime:
  5857. description: 修改时间
  5858. type: string
  5859. enumdicname:
  5860. description: 单位名称
  5861. type: string
  5862. evaluateratio:
  5863. description: 估价系数
  5864. type: number
  5865. goodsgroupid:
  5866. description: 关联期货品种ID
  5867. type: integer
  5868. goodsunitid:
  5869. description: 单位ID
  5870. type: integer
  5871. isvalid:
  5872. description: 状态 0-无效(停用) 1-有效(正常)
  5873. type: integer
  5874. middlegoodscode:
  5875. description: 套保品种代码
  5876. type: string
  5877. middlegoodsid:
  5878. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5879. type: integer
  5880. middlegoodsname:
  5881. description: 套保品种名称
  5882. type: string
  5883. modifytime:
  5884. description: 修改时间
  5885. type: string
  5886. needarbitrageratio:
  5887. description: 套利比例
  5888. type: number
  5889. needhedgeratio:
  5890. description: 套保比率
  5891. type: number
  5892. qtydecimalplace:
  5893. description: 数量小数位
  5894. type: integer
  5895. relatedgoodsid:
  5896. description: 关联交易商品ID
  5897. type: integer
  5898. relatedgoodstype:
  5899. description: 关联商品类型 - 1:期货合约 2:现货品种
  5900. type: integer
  5901. remark:
  5902. description: 备注
  5903. type: string
  5904. type: object
  5905. models.ErmcpOPLogModel:
  5906. properties:
  5907. aftervalue:
  5908. description: 变更后
  5909. type: number
  5910. applyid:
  5911. description: 操作人ID
  5912. type: string
  5913. applyname:
  5914. description: 操作人名称
  5915. type: string
  5916. beforevalue:
  5917. description: 变更前
  5918. type: number
  5919. biztype:
  5920. description: 业务类型 - 1:套保计划 2:现货合同
  5921. type: integer
  5922. contracttype:
  5923. description: 现货合同类型 - 1:采购 -1:销售
  5924. type: integer
  5925. logvalue:
  5926. description: 数值
  5927. type: number
  5928. operatelogtype:
  5929. description: 操作流水类型
  5930. type: integer
  5931. operatelogtypedesc:
  5932. description: 操作流水类型名称
  5933. type: string
  5934. relatedid:
  5935. description: 现货合同ID\套保计划
  5936. type: string
  5937. updatetime:
  5938. description: 更新时间
  5939. type: string
  5940. type: object
  5941. models.ErmcpPendingAudit:
  5942. properties:
  5943. areastockqty:
  5944. description: '待审核数量: 库存申请'
  5945. type: integer
  5946. businessdjqty:
  5947. description: '待审核数量: 点价'
  5948. type: integer
  5949. businessfpqty:
  5950. description: '待审核数量: 发票'
  5951. type: integer
  5952. businessjsqty:
  5953. description: '待审核数量: 结算'
  5954. type: integer
  5955. businesskxqty:
  5956. description: '待审核数量: 款项'
  5957. type: integer
  5958. hedgeplanqty:
  5959. description: '待审核数量: 套保计划'
  5960. type: integer
  5961. spotcontractqty:
  5962. description: '待审核数量: 现货合同'
  5963. type: integer
  5964. userqty:
  5965. description: '待审核数量: 用户'
  5966. type: integer
  5967. type: object
  5968. models.ErmcpRealExposureModel:
  5969. properties:
  5970. AreaUserID:
  5971. description: 所属机构
  5972. type: integer
  5973. BuyFutureQty:
  5974. description: 买入期货数量
  5975. type: number
  5976. BuyPlanQty:
  5977. description: 采购计划数量
  5978. type: number
  5979. BuyPricedQty:
  5980. description: 采购合同已定价数量
  5981. type: number
  5982. MiddleGoodsCode:
  5983. description: 套保品种代码
  5984. type: string
  5985. MiddleGoodsHedgeRatio:
  5986. description: 套保比例
  5987. type: number
  5988. MiddleGoodsID:
  5989. description: 套保品种
  5990. type: integer
  5991. MiddleGoodsName:
  5992. description: 套保品种名称
  5993. type: string
  5994. NeedHedgeExposoure:
  5995. description: 应套保敞口(套保敞口)
  5996. type: number
  5997. NeedHedgeRatio:
  5998. description: 应套保敞口比例
  5999. type: number
  6000. OriBuyFutureQty:
  6001. description: 期初买入期货数量
  6002. type: number
  6003. OriBuyPlanQty:
  6004. description: 期初采购计划数量
  6005. type: number
  6006. OriBuyPricedQty:
  6007. description: 期初采购合同已定价数量
  6008. type: number
  6009. OriSellFutureQty:
  6010. description: 期初卖出期货数量
  6011. type: number
  6012. OriSellPlanQty:
  6013. description: 期初销售计划数量
  6014. type: number
  6015. OriSellPricedQty:
  6016. description: 期初销售合同已定价数量
  6017. type: number
  6018. SellFutureQty:
  6019. description: 卖出期货数量
  6020. type: number
  6021. SellPlanQty:
  6022. description: 销售计划数量
  6023. type: number
  6024. SellPricedQty:
  6025. description: 销售合同已定价数量
  6026. type: number
  6027. TotalExposure:
  6028. description: 总敞口
  6029. type: number
  6030. TotalFutureQty:
  6031. description: 期货总量
  6032. type: number
  6033. TotalHedgeRatio:
  6034. description: 敞口比例
  6035. type: number
  6036. TotalNeedHedgeQty:
  6037. description: 应套保总量(现货应套保总量)
  6038. type: number
  6039. TotalSpotQty:
  6040. description: 现货总量
  6041. type: number
  6042. arbitrageqty:
  6043. description: 套利量
  6044. type: number
  6045. diffArbitrageQty:
  6046. description: 套利变动量
  6047. type: number
  6048. diffExposoureQty:
  6049. description: 变动量(套保敞口)
  6050. type: number
  6051. diffFutuQty:
  6052. description: 变动量(期货总量)
  6053. type: number
  6054. diffHedgeQty:
  6055. description: 套保变动量
  6056. type: number
  6057. diffQty:
  6058. description: 变动量(总敞口)
  6059. type: number
  6060. diffSpotHedgeQty:
  6061. description: 变动量(现货应套保总量)
  6062. type: number
  6063. diffSpotQty:
  6064. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6065. type: number
  6066. enumdicname:
  6067. description: 单位名称
  6068. type: string
  6069. hedgeqty:
  6070. description: 套保量
  6071. type: number
  6072. needarbitrageqty:
  6073. description: 应套利量
  6074. type: number
  6075. needarbitrageratio:
  6076. description: 套利比例
  6077. type: number
  6078. needhedgeqty:
  6079. description: 应套保量
  6080. type: number
  6081. oriTotalFutuQty:
  6082. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6083. type: number
  6084. oriTotalSpotQty:
  6085. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6086. type: number
  6087. oriarbitrageqty:
  6088. description: 期初套利量
  6089. type: number
  6090. orihedgeqty:
  6091. description: 期初套保量
  6092. type: number
  6093. orineedhedgeexposoure:
  6094. description: 期初套保敞口
  6095. type: number
  6096. oritotalexposure:
  6097. description: 期初总敞口
  6098. type: number
  6099. oritotalfutureqty:
  6100. description: 期初期货总量
  6101. type: number
  6102. oritotalneedhedgeqty:
  6103. description: 期初现货应套保量
  6104. type: number
  6105. type: object
  6106. models.ErmcpRole:
  6107. properties:
  6108. areauserid:
  6109. description: 所属机构
  6110. type: integer
  6111. autoid:
  6112. description: 角色ID(自增ID)
  6113. type: integer
  6114. modifierid:
  6115. description: 修改人(创建人)
  6116. type: integer
  6117. modifiername:
  6118. description: 修改人名称
  6119. type: string
  6120. modifytime:
  6121. description: 修改时间(创建时间)
  6122. type: string
  6123. rolename:
  6124. description: 角色名称
  6125. type: string
  6126. rolestatus:
  6127. description: 角色状态 - 1:启用 2:停用
  6128. type: integer
  6129. roletype:
  6130. description: 角色类型 - 1- 管理端 2- 交易端
  6131. type: integer
  6132. type: object
  6133. models.ErmcpRoleMenu:
  6134. properties:
  6135. iconame:
  6136. description: 菜单图标
  6137. type: string
  6138. ishadrole:
  6139. description: 是否有权限
  6140. type: boolean
  6141. menutype:
  6142. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6143. type: integer
  6144. parentcode:
  6145. description: 上级资源代码
  6146. type: string
  6147. remark:
  6148. description: 菜单备注
  6149. type: string
  6150. resourcecode:
  6151. description: 菜单代码
  6152. type: string
  6153. resourcelevel:
  6154. description: 级别
  6155. type: integer
  6156. resourcename:
  6157. description: 菜单名称
  6158. type: string
  6159. roleid:
  6160. description: 角色id
  6161. type: integer
  6162. sort:
  6163. description: 排序
  6164. type: integer
  6165. url:
  6166. description: URL
  6167. type: string
  6168. userid:
  6169. description: 用户id
  6170. type: integer
  6171. type: object
  6172. models.ErmcpRoleMenuEx:
  6173. properties:
  6174. menu:
  6175. $ref: '#/definitions/models.ErmcpRoleMenu'
  6176. description: 父级菜单
  6177. type: object
  6178. subMenu:
  6179. description: 子级菜单
  6180. items:
  6181. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6182. type: array
  6183. type: object
  6184. models.ErmcpTaAccount:
  6185. properties:
  6186. accountid:
  6187. description: 账户id
  6188. type: integer
  6189. accountname:
  6190. description: 账户名称
  6191. type: string
  6192. currencyid:
  6193. description: 币种id
  6194. type: integer
  6195. hedgeaccountcode:
  6196. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6197. type: string
  6198. ismain:
  6199. description: 是否主账户 0-否 1-是
  6200. type: integer
  6201. parentaccountid:
  6202. description: 父账户id
  6203. type: integer
  6204. relateduserid:
  6205. description: 关联userid
  6206. type: integer
  6207. tradestatus:
  6208. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6209. type: integer
  6210. userid:
  6211. description: 用户id
  6212. type: integer
  6213. type: object
  6214. models.ErmcpTaAccountEx:
  6215. properties:
  6216. mainAcc:
  6217. $ref: '#/definitions/models.ErmcpTaAccountM'
  6218. description: 主账号
  6219. type: object
  6220. subacclist:
  6221. description: 子账号列表
  6222. items:
  6223. $ref: '#/definitions/models.ErmcpTaAccount'
  6224. type: array
  6225. type: object
  6226. models.ErmcpTaAccountInfo:
  6227. properties:
  6228. accountid:
  6229. description: 资金账户ID
  6230. type: integer
  6231. accountname:
  6232. description: 账户名称
  6233. type: string
  6234. balance:
  6235. description: 期初余额
  6236. type: number
  6237. capitalbalance:
  6238. description: 本金余额[外部子账户实际出入金余额]
  6239. type: number
  6240. closepl:
  6241. description: 今日平仓盈亏
  6242. type: number
  6243. creditdecrease:
  6244. description: 今日授信减少
  6245. type: number
  6246. creditincrease:
  6247. description: 今日授信增加
  6248. type: number
  6249. curdebt:
  6250. description: 期末欠款
  6251. type: number
  6252. currencyid:
  6253. description: 货币ID
  6254. type: integer
  6255. currentbalance:
  6256. description: 期末余额
  6257. type: number
  6258. freezecharge:
  6259. description: 手续费冻结
  6260. type: number
  6261. freezemargin:
  6262. description: 冻结保证金
  6263. type: number
  6264. fromaccountid:
  6265. description: 所属上级账户
  6266. type: integer
  6267. inamount:
  6268. description: 今日入金金额(包括三方入金)
  6269. type: number
  6270. ismain:
  6271. description: 是否母账号 0:不是母账户 1:是母账户
  6272. type: integer
  6273. mortgagecredit:
  6274. description: 授信金额
  6275. type: number
  6276. oridebt:
  6277. description: 期初欠款
  6278. type: number
  6279. orifreezecharge:
  6280. description: 期初手续费冻结
  6281. type: number
  6282. orifreezemargin:
  6283. description: 期初冻结保证金
  6284. type: number
  6285. orimortgagecredit:
  6286. description: 期初授信金额
  6287. type: number
  6288. oriothercredit:
  6289. description: 期初其它授信金额
  6290. type: number
  6291. oriotherfreezemargin:
  6292. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6293. type: number
  6294. orioutamountfreeze:
  6295. description: 期初出金冻结
  6296. type: number
  6297. oriusedmargin:
  6298. description: 期初占用保证金
  6299. type: number
  6300. othercredit:
  6301. description: 其它授信金额
  6302. type: number
  6303. othercreditdecrease:
  6304. description: 今日其它授信减少
  6305. type: number
  6306. othercreditincrease:
  6307. description: 今日其它授信增加
  6308. type: number
  6309. otherfreezemargin:
  6310. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6311. type: number
  6312. outamount:
  6313. description: 今日出金金额(包括三方出金)
  6314. type: number
  6315. outamountfreeze:
  6316. description: 出金冻结
  6317. type: number
  6318. outthreshold:
  6319. description: 出金阈值
  6320. type: number
  6321. parentaccountid:
  6322. description: 所属根账号
  6323. type: integer
  6324. paycharge:
  6325. description: 今日手续费支出
  6326. type: number
  6327. relateduserid:
  6328. description: 关联用户
  6329. type: integer
  6330. signstatus:
  6331. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6332. type: integer
  6333. sublevelpath:
  6334. description: 账号层级路径(逗号分隔,首尾加逗号)
  6335. type: string
  6336. taaccounttype:
  6337. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6338. type: integer
  6339. thirdinamount:
  6340. description: 今日三方入金
  6341. type: number
  6342. thirdoutamount:
  6343. description: 今日三方出金
  6344. type: number
  6345. tradestatus:
  6346. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6347. type: integer
  6348. transferamount:
  6349. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6350. type: number
  6351. usedmargin:
  6352. description: 占用保证金
  6353. type: number
  6354. userid:
  6355. description: 用户ID
  6356. type: integer
  6357. type: object
  6358. models.ErmcpTaAccountM:
  6359. properties:
  6360. accountid:
  6361. description: 账户id
  6362. type: integer
  6363. accountname:
  6364. description: 账户名称
  6365. type: string
  6366. currencyid:
  6367. description: 币种id
  6368. type: integer
  6369. fcid:
  6370. description: 期货公司id
  6371. type: integer
  6372. fcname:
  6373. description: 期货公司代码
  6374. type: string
  6375. hedgeaccountcode:
  6376. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6377. type: string
  6378. ismain:
  6379. description: 是否主账户 0-否 1-是
  6380. type: integer
  6381. parentaccountid:
  6382. description: 父账户id
  6383. type: integer
  6384. relateduserid:
  6385. description: 关联userid
  6386. type: integer
  6387. tradestatus:
  6388. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6389. type: integer
  6390. userid:
  6391. description: 用户id
  6392. type: integer
  6393. type: object
  6394. models.ErmcpTradeConfigTMP:
  6395. properties:
  6396. areauserid:
  6397. description: 所属机构
  6398. type: integer
  6399. basiccurrencyid:
  6400. description: 基本币种ID[汇率] - 目标币种
  6401. type: integer
  6402. mainaccountid:
  6403. description: 主账户ID
  6404. type: integer
  6405. modifierid:
  6406. description: 修改人
  6407. type: integer
  6408. remark:
  6409. description: 备注
  6410. type: string
  6411. tradeconfigtmpid:
  6412. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6413. type: integer
  6414. tradeconfigtmpname:
  6415. description: 交易配置模板名称
  6416. type: string
  6417. tradeconfigtmptype:
  6418. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6419. type: integer
  6420. updatetime:
  6421. description: 更新时间
  6422. type: string
  6423. type: object
  6424. models.ErmcpUserModel:
  6425. properties:
  6426. address:
  6427. description: 通讯地址
  6428. type: string
  6429. attachment1:
  6430. description: 附件1
  6431. type: string
  6432. audittime:
  6433. description: 审核时间
  6434. type: string
  6435. cardbackphotourl:
  6436. description: 证件反面图片地址
  6437. type: string
  6438. cardfrontphotourl:
  6439. description: 证件正面图片地址
  6440. type: string
  6441. cardnum:
  6442. description: 证件号码
  6443. type: string
  6444. cardtype:
  6445. description: 证件类型
  6446. type: integer
  6447. cardtypename:
  6448. description: 证件类型名称
  6449. type: string
  6450. cityid:
  6451. description: 市
  6452. type: integer
  6453. contactname:
  6454. description: 联系人
  6455. type: string
  6456. countryid:
  6457. description: 国家
  6458. type: integer
  6459. createtime:
  6460. description: 创建时间
  6461. type: string
  6462. customername:
  6463. description: 企业名称
  6464. type: string
  6465. districtid:
  6466. description: 区域
  6467. type: integer
  6468. email:
  6469. description: 邮件
  6470. type: string
  6471. legalpersonname:
  6472. description: 法人姓名(企业)
  6473. type: string
  6474. memberuserid:
  6475. description: 所属机构ID
  6476. type: integer
  6477. mobile:
  6478. description: 手机号码
  6479. type: string
  6480. modifytime:
  6481. description: 修改时间
  6482. type: string
  6483. nickname:
  6484. description: 昵称
  6485. type: string
  6486. provinceid:
  6487. description: 省
  6488. type: integer
  6489. remark:
  6490. description: 备注
  6491. type: string
  6492. status:
  6493. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6494. type: integer
  6495. statusdesc:
  6496. description: 账户状态中文描述
  6497. type: string
  6498. taxpayernum:
  6499. description: 纳税人识别号
  6500. type: string
  6501. telphone:
  6502. description: 联系电话
  6503. type: string
  6504. userid:
  6505. description: 用户ID
  6506. type: integer
  6507. userinfotype:
  6508. description: 客户类型
  6509. type: string
  6510. type: object
  6511. models.ErmcpWareHouseInfo:
  6512. properties:
  6513. address:
  6514. description: 详细地址
  6515. type: string
  6516. areauserid:
  6517. description: 所属机构
  6518. type: integer
  6519. autoid:
  6520. description: 自增ID(仓库ID)
  6521. type: integer
  6522. cityid:
  6523. description: 市
  6524. type: integer
  6525. contactname:
  6526. description: 联系人
  6527. type: string
  6528. contactnum:
  6529. description: 联系电话
  6530. type: string
  6531. countryid:
  6532. description: 国家
  6533. type: integer
  6534. createtime:
  6535. description: 创建时间
  6536. type: string
  6537. districtid:
  6538. description: 区
  6539. type: integer
  6540. hasvideo:
  6541. description: 是否有视频 - 0:无 1:有
  6542. type: integer
  6543. provinceid:
  6544. description: 省
  6545. type: integer
  6546. remark:
  6547. description: 审核备注
  6548. type: string
  6549. videourl:
  6550. description: 视频地址
  6551. type: string
  6552. warehousecode:
  6553. description: 仓库代码
  6554. type: string
  6555. warehousename:
  6556. description: 仓库名称
  6557. type: string
  6558. warehousestatus:
  6559. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6560. type: integer
  6561. warehousetype:
  6562. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6563. type: integer
  6564. type: object
  6565. models.Externalexchange:
  6566. properties:
  6567. autoid:
  6568. description: AutoID - SEQ_EXTERNALEXCHANGE
  6569. type: integer
  6570. exchangefullname:
  6571. description: 外部交易所全称
  6572. type: string
  6573. exexchangecode:
  6574. description: 外部交易所代码
  6575. type: string
  6576. exexchangename:
  6577. description: 外部交易所名称(简称)
  6578. type: string
  6579. ismarketprice:
  6580. description: 是否支持市价 - 0:不支持 1:支持
  6581. type: integer
  6582. quotegear:
  6583. description: 行情档位(1-10)
  6584. type: integer
  6585. showbrokerflag:
  6586. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6587. type: integer
  6588. updatetime:
  6589. description: 更新时间
  6590. type: string
  6591. required:
  6592. - autoid
  6593. type: object
  6594. models.Funcmenulist:
  6595. properties:
  6596. iconame:
  6597. description: 菜单图标
  6598. type: string
  6599. menutype:
  6600. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6601. type: integer
  6602. parentcode:
  6603. description: 上级资源代码
  6604. type: string
  6605. remark:
  6606. description: 备注
  6607. type: string
  6608. resourcecode:
  6609. description: 资源代码
  6610. type: string
  6611. resourcelevel:
  6612. description: 级别 1-一级 2-二级 3-三级 4-四级
  6613. type: integer
  6614. resourcename:
  6615. description: 资源名
  6616. type: string
  6617. sort:
  6618. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6619. type: integer
  6620. url:
  6621. description: URL
  6622. type: string
  6623. required:
  6624. - resourcecode
  6625. type: object
  6626. models.Goods:
  6627. properties:
  6628. agreeunit:
  6629. description: 合约单位
  6630. type: number
  6631. auditaccountid:
  6632. description: 审核操作员账号
  6633. type: integer
  6634. audittime:
  6635. description: 审核时间
  6636. type: string
  6637. cancelaccountid:
  6638. description: 注销操作员账号
  6639. type: integer
  6640. canceltime:
  6641. description: 注销时间
  6642. type: string
  6643. closepricemode:
  6644. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6645. type: integer
  6646. closepriceparam:
  6647. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6648. type: number
  6649. createtime:
  6650. description: 创建时间
  6651. type: string
  6652. creatorid:
  6653. description: 创建人
  6654. type: integer
  6655. currencyid:
  6656. description: 报价货币ID
  6657. type: integer
  6658. cutmode:
  6659. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6660. type: integer
  6661. decimalplace:
  6662. description: 报价小数位
  6663. type: integer
  6664. delistingdate:
  6665. description: 商品退市时间(状态:退市) -- 已作废
  6666. type: string
  6667. delistingmode:
  6668. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6669. type: integer
  6670. deliveryflag:
  6671. description: 交割标志 - 0:不可交割 1:可交割
  6672. type: integer
  6673. forceclosemode:
  6674. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6675. type: integer
  6676. forceclosevalue:
  6677. description: 定期强平参数 [收益权]
  6678. type: integer
  6679. goodscode:
  6680. description: 商品代码(内部)
  6681. type: string
  6682. goodscurrencyid:
  6683. description: 合约货币ID
  6684. type: integer
  6685. goodsgroupid:
  6686. description: 所属商品组ID
  6687. type: integer
  6688. goodsid:
  6689. description: 商品ID(自增ID SEQ_GOODS)
  6690. type: integer
  6691. goodsname:
  6692. description: 商品名称
  6693. type: string
  6694. goodsquotetype:
  6695. description: '合约报价类型: 1-直接报价 2-间接报价'
  6696. type: integer
  6697. goodsstatus:
  6698. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6699. type: integer
  6700. goodstradetype:
  6701. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6702. type: integer
  6703. goodunitid:
  6704. description: 报价单位ID
  6705. type: integer
  6706. hasquoter:
  6707. description: 是否有报价商 - 0:无报价商 1:有报价商
  6708. type: integer
  6709. hqprotecttime:
  6710. description: 行情保护时间(秒)
  6711. type: integer
  6712. innerdealmode:
  6713. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6714. type: integer
  6715. isbuylimited:
  6716. description: 是否限制建仓量 - 0:不限制 1:限制
  6717. type: integer
  6718. lasttradedate:
  6719. description: 最后交易日期(状态:待退市)
  6720. type: string
  6721. listingdate:
  6722. description: 交易开始日期
  6723. type: string
  6724. marketid:
  6725. description: 所属市场ID
  6726. type: integer
  6727. modifierid:
  6728. description: 修改人
  6729. type: integer
  6730. modifystatus:
  6731. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6732. type: integer
  6733. modifytime:
  6734. description: 修改时间
  6735. type: string
  6736. outerdealmode:
  6737. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6738. type: integer
  6739. outgoodscode:
  6740. description: 商品代码(外部)
  6741. type: string
  6742. qtydecimalplace:
  6743. description: 成交量小数位
  6744. type: integer
  6745. quotegear:
  6746. description: 行情档位(1-10)
  6747. type: integer
  6748. quoteminunit:
  6749. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6750. type: integer
  6751. quoteshowtype:
  6752. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6753. type: integer
  6754. quoteshowtypeinterval:
  6755. description: 行情报价间隔时间(秒)(成交价时为0)
  6756. type: integer
  6757. remark:
  6758. description: 备注
  6759. type: string
  6760. required:
  6761. - goodscode
  6762. - goodsid
  6763. - goodsname
  6764. - marketid
  6765. type: object
  6766. models.GoodsIDAndName:
  6767. properties:
  6768. goodscode:
  6769. description: 商品代码(内部)
  6770. type: string
  6771. goodsid:
  6772. description: 商品ID(自增ID SEQ_GOODS)
  6773. type: integer
  6774. goodsname:
  6775. description: 商品名称
  6776. type: string
  6777. marketid:
  6778. description: 所属市场ID
  6779. type: integer
  6780. required:
  6781. - goodscode
  6782. - goodsid
  6783. - goodsname
  6784. - marketid
  6785. type: object
  6786. models.Goodsgroup:
  6787. properties:
  6788. agreeunit:
  6789. description: 合约单位
  6790. type: number
  6791. canshort:
  6792. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6793. type: integer
  6794. closepricemode:
  6795. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6796. type: integer
  6797. closepriceparam:
  6798. description: 强平最新价浮动比例 - 方式为2时使用
  6799. type: number
  6800. createtime:
  6801. description: 创建时间
  6802. type: string
  6803. creatorid:
  6804. description: 创建人
  6805. type: integer
  6806. currencyid:
  6807. description: 报价货币ID
  6808. type: integer
  6809. decimalplace:
  6810. description: 报价小数位
  6811. type: integer
  6812. exercisetype:
  6813. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6814. type: integer
  6815. exexchangeid:
  6816. description: 外部交易所ID[通道交易]
  6817. type: integer
  6818. goodsgroupid:
  6819. description: 商品组ID(自增ID)
  6820. type: integer
  6821. goodsgroupname:
  6822. description: 商品组名称
  6823. type: string
  6824. goodsgroupstatus:
  6825. description: 商品组状态 - 1:正常 2:注销
  6826. type: integer
  6827. goodunitid:
  6828. description: 报价单位ID
  6829. type: integer
  6830. innerdealmode:
  6831. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6832. type: integer
  6833. isbuylimited:
  6834. description: 是否限制建仓量 - 0:不限制 1:限制
  6835. type: integer
  6836. marketid:
  6837. description: 所属市场ID
  6838. type: integer
  6839. modifierid:
  6840. description: 修改人
  6841. type: integer
  6842. modifytime:
  6843. description: 修改时间
  6844. type: string
  6845. outerdealmode:
  6846. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6847. type: integer
  6848. outergroupcode:
  6849. description: 外部商品组代码[通道交易]
  6850. type: string
  6851. premiumdecimalplace:
  6852. description: 权利金小数位[场外期权]
  6853. type: integer
  6854. premiumspreadalgorithm:
  6855. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6856. type: integer
  6857. premiumspreadvalue:
  6858. description: 权利金点差值[场外期权]
  6859. type: number
  6860. qtydecimalplace:
  6861. description: 成交量小数位
  6862. type: integer
  6863. quotegear:
  6864. description: 行情档位(1-10)
  6865. type: integer
  6866. quoteminunit:
  6867. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6868. type: integer
  6869. quoterid:
  6870. description: 报价商ID[场外期权]
  6871. type: integer
  6872. quotesourcegroupid:
  6873. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6874. type: integer
  6875. syncgoodsqty:
  6876. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6877. type: integer
  6878. required:
  6879. - goodsgroupid
  6880. - goodsgroupname
  6881. - goodsgroupstatus
  6882. - marketid
  6883. type: object
  6884. models.Goodssortbypreposition:
  6885. properties:
  6886. goodscode:
  6887. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6888. type: string
  6889. goodsgroupcode:
  6890. description: 品种代码
  6891. type: string
  6892. prepositionqty:
  6893. description: 昨持仓量
  6894. type: integer
  6895. sortindex:
  6896. description: 排序
  6897. type: integer
  6898. tradedate:
  6899. description: 交易日
  6900. type: string
  6901. updatetime:
  6902. description: 更新时间
  6903. type: string
  6904. required:
  6905. - goodscode
  6906. - tradedate
  6907. type: object
  6908. models.Hedgeinnerholderdetail:
  6909. properties:
  6910. accountid:
  6911. description: 账号ID
  6912. type: integer
  6913. buyorsell:
  6914. description: 方向 - 0:买 1:卖
  6915. type: integer
  6916. freezeqty:
  6917. description: 冻结数量 - 按单平使用
  6918. type: integer
  6919. goodsid:
  6920. description: 商品ID
  6921. type: integer
  6922. holderamount:
  6923. description: 持仓金额 [商品币种]
  6924. type: number
  6925. holderdays:
  6926. description: 剩余冻结天数
  6927. type: integer
  6928. holderprice:
  6929. description: 持仓价格
  6930. type: number
  6931. holderqty:
  6932. description: 持仓数量
  6933. type: integer
  6934. marketid:
  6935. description: 市场ID
  6936. type: integer
  6937. openprice:
  6938. description: 建仓价格
  6939. type: number
  6940. openqty:
  6941. description: 建仓数量
  6942. type: integer
  6943. parentaccountid:
  6944. description: 所属母账户
  6945. type: integer
  6946. releaseamount:
  6947. description: 释放持仓金额[商品币种]
  6948. type: number
  6949. tradeamount:
  6950. description: 成交金额[账户]
  6951. type: number
  6952. tradedate:
  6953. description: 交易日(yyyyMMdd)
  6954. type: string
  6955. tradeid:
  6956. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6957. type: string
  6958. tradetime:
  6959. description: 交易时间
  6960. type: string
  6961. required:
  6962. - buyorsell
  6963. - tradeid
  6964. type: object
  6965. models.Hedgemarketopenlog:
  6966. properties:
  6967. accountid:
  6968. description: 资金账号[外部母账户]
  6969. type: integer
  6970. fcname:
  6971. description: 期货公司名称
  6972. type: string
  6973. handlestatus:
  6974. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6975. type: integer
  6976. marketid:
  6977. description: 市场ID
  6978. type: integer
  6979. status:
  6980. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6981. type: integer
  6982. tradedate:
  6983. description: 交易日(yyyyMMdd)
  6984. type: string
  6985. updatetime:
  6986. description: 更新时间
  6987. type: string
  6988. required:
  6989. - accountid
  6990. type: object
  6991. models.HsbyBuyMyPayOrder:
  6992. properties:
  6993. agreeunit:
  6994. description: 合约单位
  6995. type: number
  6996. buyaccountid:
  6997. description: 买方账号ID[报价币种]
  6998. type: integer
  6999. buyorderid:
  7000. description: 买方委托单号
  7001. type: string
  7002. createtime:
  7003. description: 创建时间
  7004. type: string
  7005. currencysign:
  7006. description: 货币符号
  7007. type: string
  7008. decimalplace:
  7009. description: 报价小数位
  7010. type: integer
  7011. goodscode:
  7012. description: 商品代码(内部)
  7013. type: string
  7014. goodsid:
  7015. description: 商品ID
  7016. type: integer
  7017. goodsname:
  7018. description: 商品名称
  7019. type: string
  7020. marketid:
  7021. description: 市场ID
  7022. type: integer
  7023. offamount:
  7024. description: 优惠金额
  7025. type: number
  7026. originalamount:
  7027. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7028. type: number
  7029. payamount:
  7030. description: 支付金额 = TradeAmount + TradeCharge
  7031. type: number
  7032. payflag:
  7033. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7034. type: integer
  7035. paylimitedtime:
  7036. description: 支付期限
  7037. type: string
  7038. paytime:
  7039. description: 付款时间
  7040. type: string
  7041. picurls1:
  7042. description: 预售商品介绍图片[多张用逗号分隔]
  7043. type: string
  7044. picurls2:
  7045. description: 挂牌商品介绍图片[多张用逗号分隔]
  7046. type: string
  7047. sellaccountid:
  7048. description: 卖方账号ID[报价币种]
  7049. type: integer
  7050. sellorderid:
  7051. description: 卖方委托单号
  7052. type: string
  7053. tradeamount:
  7054. description: 成交金额
  7055. type: number
  7056. tradecharge:
  7057. description: 成交手续费(买方)
  7058. type: number
  7059. tradedate:
  7060. description: 交易日(yyyyMMdd)
  7061. type: string
  7062. tradeid:
  7063. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7064. type: string
  7065. trademode:
  7066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7067. 21:竞拍-大宗式 22:受托竞价
  7068. type: integer
  7069. tradeprice:
  7070. description: 成交价格
  7071. type: number
  7072. tradeqty:
  7073. description: 成交数量
  7074. type: integer
  7075. vendorname1:
  7076. description: 预售商品供应商名称
  7077. type: string
  7078. vendorname2:
  7079. description: 挂牌商品供应商名称
  7080. type: string
  7081. required:
  7082. - goodscode
  7083. - goodsname
  7084. - tradeid
  7085. - trademode
  7086. type: object
  7087. models.HsbyBuyMyTradeDetail:
  7088. properties:
  7089. accountid:
  7090. description: 账户ID[报价币种]
  7091. type: integer
  7092. agreeunit:
  7093. description: 合约单位
  7094. type: number
  7095. amount:
  7096. description: 金额 = 价格 * 数量 * 合约单位
  7097. type: number
  7098. buyorsell:
  7099. description: 买卖 - 0:买 1:卖
  7100. type: integer
  7101. currencysign:
  7102. description: 货币符号
  7103. type: string
  7104. decimalplace:
  7105. description: 报价小数位
  7106. type: integer
  7107. goodscode:
  7108. description: 商品代码(内部)
  7109. type: string
  7110. goodsid:
  7111. description: 商品ID
  7112. type: integer
  7113. goodsname:
  7114. description: 商品名称
  7115. type: string
  7116. marketid:
  7117. description: 市场ID
  7118. type: integer
  7119. orderamount:
  7120. description: 委托金额
  7121. type: number
  7122. orderid:
  7123. description: 单号(成交单号)
  7124. type: string
  7125. picurls1:
  7126. description: 预售商品介绍图片[多张用逗号分隔]
  7127. type: string
  7128. picurls2:
  7129. description: 挂牌商品介绍图片[多张用逗号分隔]
  7130. type: string
  7131. price:
  7132. description: 价格
  7133. type: number
  7134. qty:
  7135. description: 数量
  7136. type: integer
  7137. time:
  7138. description: 时间
  7139. type: string
  7140. trademode:
  7141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7142. 21:竞拍-大宗式 22:受托竞价
  7143. type: integer
  7144. vendorname1:
  7145. description: 预售商品供应商名称
  7146. type: string
  7147. vendorname2:
  7148. description: 挂牌商品供应商名称
  7149. type: string
  7150. required:
  7151. - accountid
  7152. - buyorsell
  7153. - goodscode
  7154. - goodsid
  7155. - goodsname
  7156. - marketid
  7157. - orderid
  7158. - qty
  7159. - time
  7160. - trademode
  7161. type: object
  7162. models.HsbyGoodsOrderDetail:
  7163. properties:
  7164. buyorsell:
  7165. description: 买卖 - 0:买 1:卖
  7166. type: integer
  7167. currencysign:
  7168. description: 货币符号
  7169. type: string
  7170. customername:
  7171. description: 客户名称(企业名称),已脱敏
  7172. type: string
  7173. enableqty:
  7174. description: 可用数量
  7175. type: integer
  7176. goodunit:
  7177. description: 报价单位
  7178. type: string
  7179. orderid:
  7180. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7181. type: string
  7182. orderprice:
  7183. description: 委托价格
  7184. type: number
  7185. ordertime:
  7186. description: 委托时间
  7187. type: string
  7188. required:
  7189. - buyorsell
  7190. - orderid
  7191. - ordertime
  7192. type: object
  7193. models.HsbyListingGoodsDetail:
  7194. properties:
  7195. agreeunit:
  7196. description: 合约单位
  7197. type: number
  7198. buymaxqty:
  7199. description: 购买上限 [71] - 0为不限
  7200. type: integer
  7201. currency:
  7202. description: 货币
  7203. type: string
  7204. currencysign:
  7205. description: 货币符号
  7206. type: string
  7207. decimalplace:
  7208. description: 报价小数位
  7209. type: integer
  7210. desccityid:
  7211. description: 目的地(市)ID
  7212. type: integer
  7213. descprovinceid:
  7214. description: 目的地(省)ID
  7215. type: integer
  7216. goodscode:
  7217. description: 商品代码(内部)
  7218. type: string
  7219. goodsdesc:
  7220. description: 商品详情
  7221. type: string
  7222. goodsid:
  7223. description: 商品ID(自增ID SEQ_GOODS)
  7224. type: integer
  7225. goodsname:
  7226. description: 商品名称
  7227. type: string
  7228. goodsprice:
  7229. description: 商品价格
  7230. type: number
  7231. hotindex:
  7232. description: 景点热度
  7233. type: integer
  7234. last:
  7235. description: 现价
  7236. type: number
  7237. limitdown:
  7238. description: 跌停价
  7239. type: number
  7240. limitup:
  7241. description: 涨停价
  7242. type: number
  7243. lotsize:
  7244. description: 手数最小变动单位
  7245. type: integer
  7246. marketid:
  7247. description: 所属市场ID
  7248. type: integer
  7249. picurls:
  7250. description: 介绍图片[多张用逗号分隔]
  7251. type: string
  7252. quoteminunit:
  7253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7254. type: integer
  7255. stepvalue:
  7256. description: 价格最小变动单位
  7257. type: number
  7258. trademode:
  7259. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7260. 21:竞拍-大宗式 22:受托竞价
  7261. type: integer
  7262. vendorattr:
  7263. description: 供应商附件(多张,逗号分隔)
  7264. type: string
  7265. vendorname:
  7266. description: 供应商名称
  7267. type: string
  7268. vendorphone:
  7269. description: 供应商客服电话
  7270. type: string
  7271. videourls:
  7272. description: 介绍视频[多张用逗号分隔]
  7273. type: string
  7274. required:
  7275. - goodscode
  7276. - goodsid
  7277. - goodsname
  7278. - marketid
  7279. - trademode
  7280. type: object
  7281. models.HsbyMarketGoods:
  7282. properties:
  7283. accountid:
  7284. description: 账户ID[报价币种]
  7285. type: integer
  7286. agreeunit:
  7287. description: 合约单位
  7288. type: number
  7289. buyorsell:
  7290. description: 买卖 - 0:买 1:卖
  7291. type: integer
  7292. categoryid:
  7293. description: 类别ID(WRCATEGORY)
  7294. type: integer
  7295. currency:
  7296. description: 货币
  7297. type: string
  7298. currencysign:
  7299. description: 货币符号
  7300. type: string
  7301. customername:
  7302. description: 卖家名称
  7303. type: string
  7304. decimalplace:
  7305. description: 报价小数位
  7306. type: integer
  7307. goodscode:
  7308. description: 商品代码(内部)
  7309. type: string
  7310. goodsid:
  7311. description: 商品ID
  7312. type: integer
  7313. goodsname:
  7314. description: 商品名称
  7315. type: string
  7316. goodsprice:
  7317. description: 商品价格
  7318. type: number
  7319. hascoupon:
  7320. description: 是否可用优惠卷
  7321. type: boolean
  7322. hotindex:
  7323. description: 景点热度
  7324. type: integer
  7325. marketid:
  7326. description: 市场ID
  7327. type: integer
  7328. orderid:
  7329. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7330. type: string
  7331. orderprice:
  7332. description: 委托价格
  7333. type: number
  7334. orderstatus:
  7335. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7336. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7337. 16:成交失败违约(荷兰式竞拍专用)
  7338. type: integer
  7339. picurls:
  7340. description: 介绍图片[多张用逗号分隔]
  7341. type: string
  7342. quoteminunit:
  7343. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7344. type: integer
  7345. sellUserID:
  7346. description: 卖方UserID
  7347. type: integer
  7348. trademode:
  7349. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7350. 21:竞拍-大宗式 22:受托竞价
  7351. type: integer
  7352. videourls:
  7353. description: 介绍视频[多张用逗号分隔]
  7354. type: string
  7355. required:
  7356. - accountid
  7357. - buyorsell
  7358. - goodscode
  7359. - goodsid
  7360. - goodsname
  7361. - marketid
  7362. - orderid
  7363. - trademode
  7364. type: object
  7365. models.HsbyMarketGoodsDetail:
  7366. properties:
  7367. accountid:
  7368. description: 账户ID[报价币种]
  7369. type: integer
  7370. agreeunit:
  7371. description: 合约单位
  7372. type: number
  7373. buymaxqty:
  7374. description: 购买上限 [71] - 0为不限
  7375. type: integer
  7376. buyorsell:
  7377. description: 买卖 - 0:买 1:卖
  7378. type: integer
  7379. cancelqty:
  7380. description: 撤单数量
  7381. type: integer
  7382. categoryid:
  7383. description: 类别ID(WRCATEGORY)
  7384. type: integer
  7385. currency:
  7386. description: 货币
  7387. type: string
  7388. currencysign:
  7389. description: 货币符号
  7390. type: string
  7391. customername:
  7392. description: 卖家名称
  7393. type: string
  7394. decimalplace:
  7395. description: 报价小数位
  7396. type: integer
  7397. goodscode:
  7398. description: 商品代码(内部)
  7399. type: string
  7400. goodsdesc:
  7401. description: 商品详情
  7402. type: string
  7403. goodsid:
  7404. description: 商品ID
  7405. type: integer
  7406. goodsname:
  7407. description: 商品名称
  7408. type: string
  7409. goodsprice:
  7410. description: 商品价格
  7411. type: number
  7412. hotindex:
  7413. description: 景点热度
  7414. type: integer
  7415. lotsize:
  7416. description: 手数最小变动单位
  7417. type: integer
  7418. marketid:
  7419. description: 市场ID
  7420. type: integer
  7421. orderid:
  7422. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7423. type: string
  7424. orderprice:
  7425. description: 委托价格
  7426. type: number
  7427. orderqty:
  7428. description: 委托数量
  7429. type: integer
  7430. orderstatus:
  7431. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7432. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7433. 16:成交失败违约(荷兰式竞拍专用)
  7434. type: integer
  7435. picurls:
  7436. description: 介绍图片[多张用逗号分隔]
  7437. type: string
  7438. quoteminunit:
  7439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7440. type: integer
  7441. sellUserID:
  7442. description: 卖方UserID
  7443. type: integer
  7444. trademode:
  7445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7446. 21:竞拍-大宗式 22:受托竞价
  7447. type: integer
  7448. tradeqty:
  7449. description: 成交数量
  7450. type: integer
  7451. vendorattr:
  7452. description: 供应商附件(多张,逗号分隔)
  7453. type: string
  7454. vendorname:
  7455. description: 供应商名称
  7456. type: string
  7457. vendorphone:
  7458. description: 供应商客服电话
  7459. type: string
  7460. videourls:
  7461. description: 介绍视频[多张用逗号分隔]
  7462. type: string
  7463. required:
  7464. - accountid
  7465. - buyorsell
  7466. - goodscode
  7467. - goodsid
  7468. - goodsname
  7469. - marketid
  7470. - orderid
  7471. - orderqty
  7472. - trademode
  7473. type: object
  7474. models.HsbyMarketInfo:
  7475. properties:
  7476. marketid:
  7477. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7478. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7479. type: integer
  7480. marketname:
  7481. description: 市场名称
  7482. type: string
  7483. marketstatus:
  7484. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7485. type: integer
  7486. trademode:
  7487. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7488. 21:竞拍-大宗式 22:受托竞价
  7489. type: integer
  7490. required:
  7491. - marketid
  7492. - marketstatus
  7493. - trademode
  7494. type: object
  7495. models.HsbyMyGoods:
  7496. properties:
  7497. accountid:
  7498. description: 账号Id
  7499. type: integer
  7500. agreeunit:
  7501. description: 合约单位
  7502. type: number
  7503. buyaverageprice:
  7504. description: 持仓均价
  7505. type: number
  7506. buycurholderamount:
  7507. description: 买当前持仓总金额[商品币种]
  7508. type: number
  7509. buycurpositionqty:
  7510. description: 买当前持仓总数量
  7511. type: integer
  7512. buymaxqty:
  7513. description: 购买上限 [71] - 0为不限
  7514. type: integer
  7515. currencysign:
  7516. description: 货币符号
  7517. type: string
  7518. decimalplace:
  7519. description: 报价小数位
  7520. type: integer
  7521. enableqty:
  7522. description: 可用数量
  7523. type: integer
  7524. goodscode:
  7525. description: 商品代码(内部)
  7526. type: string
  7527. goodsid:
  7528. description: 商品Id
  7529. type: integer
  7530. goodsname:
  7531. description: 商品名称
  7532. type: string
  7533. goodsprice:
  7534. description: 商品价格
  7535. type: number
  7536. goodsstatus:
  7537. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7538. type: integer
  7539. last:
  7540. description: 现价(仅使用于挂牌点选)
  7541. type: number
  7542. limitdown:
  7543. description: 跌停价(仅使用于挂牌点选)
  7544. type: number
  7545. limitup:
  7546. description: 涨停价(仅使用于挂牌点选)
  7547. type: number
  7548. lotsize:
  7549. description: 手数最小变动单位
  7550. type: integer
  7551. marketid:
  7552. description: 所属市场ID
  7553. type: integer
  7554. picurls:
  7555. description: 介绍图片[多张用逗号分隔]
  7556. type: string
  7557. quoteminunit:
  7558. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7559. type: integer
  7560. stepvalue:
  7561. description: 价格最小变动单位
  7562. type: number
  7563. trademode:
  7564. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7565. 21:竞拍-大宗式 22:受托竞价
  7566. type: integer
  7567. required:
  7568. - accountid
  7569. - goodscode
  7570. - goodsid
  7571. - goodsname
  7572. - marketid
  7573. - trademode
  7574. type: object
  7575. models.HsbyMyPackage:
  7576. properties:
  7577. accountid:
  7578. description: 账户ID
  7579. type: integer
  7580. address:
  7581. description: 提货人详细地址
  7582. type: string
  7583. agreeunit:
  7584. description: 合约单位
  7585. type: number
  7586. amount:
  7587. description: 提货金额
  7588. type: number
  7589. auditer:
  7590. description: 审核人
  7591. type: integer
  7592. audittime:
  7593. description: 审核时间
  7594. type: string
  7595. averageprice:
  7596. description: 均价
  7597. type: number
  7598. cardnum:
  7599. description: 提货人证件号码
  7600. type: string
  7601. cardtypeid:
  7602. description: 提货人证件类型
  7603. type: integer
  7604. checkremark:
  7605. description: 审核备注
  7606. type: string
  7607. currencysign:
  7608. description: 货币符号
  7609. type: string
  7610. decimalplace:
  7611. description: 报价小数位
  7612. type: integer
  7613. goodscode:
  7614. description: 商品代码(内部)
  7615. type: string
  7616. goodsid:
  7617. description: 商品ID
  7618. type: integer
  7619. goodsname:
  7620. description: 商品名称
  7621. type: string
  7622. handlestatus:
  7623. description: 处理状态
  7624. type: integer
  7625. marketid:
  7626. description: 市场ID
  7627. type: integer
  7628. phonenum:
  7629. description: 提货人联系方式
  7630. type: string
  7631. picurls:
  7632. description: 介绍图片[多张用逗号分隔]
  7633. type: string
  7634. qty:
  7635. description: 提货数量
  7636. type: number
  7637. recivername:
  7638. description: 提货人姓名
  7639. type: string
  7640. reqtime:
  7641. description: 更新时间
  7642. type: string
  7643. takemode:
  7644. description: 提货方式 - 2:自提 3:配送
  7645. type: integer
  7646. takeorderid:
  7647. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7648. type: string
  7649. takeorderstatus:
  7650. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7651. type: integer
  7652. takeremark:
  7653. description: 提货备注
  7654. type: string
  7655. tradedate:
  7656. description: 交易日(yyyyMMdd)
  7657. type: string
  7658. trademode:
  7659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7660. 21:竞拍-大宗式 22:受托竞价
  7661. type: integer
  7662. userid:
  7663. description: 用户ID
  7664. type: integer
  7665. vendorname:
  7666. description: 供应商名称
  7667. type: string
  7668. required:
  7669. - goodscode
  7670. - goodsname
  7671. - takeorderid
  7672. - trademode
  7673. type: object
  7674. models.HsbyPreGoods:
  7675. properties:
  7676. agreeunit:
  7677. description: 合约单位
  7678. type: number
  7679. currency:
  7680. description: 货币
  7681. type: string
  7682. currencysign:
  7683. description: 货币符号
  7684. type: string
  7685. decimalplace:
  7686. description: 报价小数位
  7687. type: integer
  7688. desccityid:
  7689. description: 目的地(市)
  7690. type: integer
  7691. descprovinceid:
  7692. description: 目的地(省)
  7693. type: integer
  7694. enableqty:
  7695. description: 剩余数量
  7696. type: integer
  7697. goodscode:
  7698. description: 商品代码(内部)
  7699. type: string
  7700. goodsid:
  7701. description: 商品ID(自增ID SEQ_GOODS)
  7702. type: integer
  7703. goodsname:
  7704. description: 商品名称
  7705. type: string
  7706. goodsstatus:
  7707. description: 商品状态- 2:未上市 3:上市
  7708. type: integer
  7709. lasttradedate:
  7710. description: 最后交易日期(状态:待退市)
  7711. type: string
  7712. listingdate:
  7713. description: 交易开始日期
  7714. type: string
  7715. marketid:
  7716. description: 所属市场ID
  7717. type: integer
  7718. picurls:
  7719. description: 介绍图片[多张用逗号分隔]
  7720. type: string
  7721. presaledqty:
  7722. description: 已预售量(预售结束时更新)
  7723. type: integer
  7724. presaleqty:
  7725. description: 预售数量
  7726. type: integer
  7727. quoteminunit:
  7728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7729. type: integer
  7730. refprice:
  7731. description: 参考价格[一口价]
  7732. type: number
  7733. relatedgoodsid:
  7734. description: 关联交易合约ID
  7735. type: integer
  7736. trademode:
  7737. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7738. 21:竞拍-大宗式 22:受托竞价
  7739. type: integer
  7740. videourls:
  7741. description: 介绍视频[多张用逗号分隔]
  7742. type: string
  7743. required:
  7744. - goodscode
  7745. - goodsid
  7746. - goodsname
  7747. - marketid
  7748. - trademode
  7749. type: object
  7750. models.HsbyPreGoodsDetail:
  7751. properties:
  7752. agreeunit:
  7753. description: 合约单位
  7754. type: number
  7755. buymaxqty:
  7756. description: 购买上限 [71] - 0为不限
  7757. type: integer
  7758. currency:
  7759. description: 货币
  7760. type: string
  7761. currencysign:
  7762. description: 货币符号
  7763. type: string
  7764. customername:
  7765. description: 发行单位
  7766. type: string
  7767. decimalplace:
  7768. description: 报价小数位
  7769. type: integer
  7770. desccityid:
  7771. description: 目的地(市)ID
  7772. type: integer
  7773. descprovinceid:
  7774. description: 目的地(省)ID
  7775. type: integer
  7776. enableqty:
  7777. description: 剩余数量
  7778. type: integer
  7779. goodscode:
  7780. description: 商品代码(内部)
  7781. type: string
  7782. goodsdesc:
  7783. description: 商品详情
  7784. type: string
  7785. goodsid:
  7786. description: 商品ID(自增ID SEQ_GOODS)
  7787. type: integer
  7788. goodsname:
  7789. description: 商品名称
  7790. type: string
  7791. goodsstatus:
  7792. description: 商品状态- 2:未上市 3:上市
  7793. type: integer
  7794. goodunit:
  7795. description: 报价单位
  7796. type: string
  7797. lasttradedate:
  7798. description: 最后交易日期(状态:待退市)
  7799. type: string
  7800. listingdate:
  7801. description: 交易开始日期
  7802. type: string
  7803. lotsize:
  7804. description: 手数最小变动单位
  7805. type: integer
  7806. marketid:
  7807. description: 所属市场ID
  7808. type: integer
  7809. picurls:
  7810. description: 介绍图片[多张用逗号分隔]
  7811. type: string
  7812. presaledqty:
  7813. description: 已预售量(预售结束时更新)
  7814. type: integer
  7815. presaleqty:
  7816. description: 预售数量
  7817. type: integer
  7818. quoteminunit:
  7819. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7820. type: integer
  7821. refprice:
  7822. description: 参考价格[一口价]
  7823. type: number
  7824. relatedgoodsid:
  7825. description: 关联交易合约ID
  7826. type: integer
  7827. stepvalue:
  7828. description: 价格最小变动单位
  7829. type: number
  7830. trademode:
  7831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7832. 21:竞拍-大宗式 22:受托竞价
  7833. type: integer
  7834. vendorattr:
  7835. description: 供应商附件(多张,逗号分隔)
  7836. type: string
  7837. vendorname:
  7838. description: 供应商名称
  7839. type: string
  7840. vendorphone:
  7841. description: 供应商客服电话
  7842. type: string
  7843. videourls:
  7844. description: 介绍视频[多张用逗号分隔]
  7845. type: string
  7846. required:
  7847. - goodscode
  7848. - goodsid
  7849. - goodsname
  7850. - marketid
  7851. - trademode
  7852. type: object
  7853. models.HsbySellCollectionOrder:
  7854. properties:
  7855. agreeunit:
  7856. description: 合约单位
  7857. type: number
  7858. buyaccountid:
  7859. description: 买方账号ID[报价币种]
  7860. type: integer
  7861. buyorderid:
  7862. description: 买方委托单号
  7863. type: string
  7864. createtime:
  7865. description: 创建时间
  7866. type: string
  7867. currencysign:
  7868. description: 货币符号
  7869. type: string
  7870. decimalplace:
  7871. description: 报价小数位
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsid:
  7877. description: 商品ID
  7878. type: integer
  7879. goodsname:
  7880. description: 商品名称
  7881. type: string
  7882. marketid:
  7883. description: 市场ID
  7884. type: integer
  7885. offamount:
  7886. description: 优惠金额
  7887. type: number
  7888. payamount:
  7889. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7890. type: number
  7891. payflag:
  7892. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7893. type: integer
  7894. paylimitedtime:
  7895. description: 支付期限
  7896. type: string
  7897. paytime:
  7898. description: 付款时间
  7899. type: string
  7900. picurls:
  7901. description: 商品介绍图片[多张用逗号分隔]
  7902. type: string
  7903. sellaccountid:
  7904. description: 卖方账号ID[报价币种]
  7905. type: integer
  7906. sellorderid:
  7907. description: 卖方委托单号
  7908. type: string
  7909. tradeamount:
  7910. description: 成交金额
  7911. type: number
  7912. tradecharge:
  7913. description: 成交手续费(买方)
  7914. type: number
  7915. tradedate:
  7916. description: 交易日(yyyyMMdd)
  7917. type: string
  7918. tradeid:
  7919. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7920. type: string
  7921. trademode:
  7922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7923. 21:竞拍-大宗式 22:受托竞价
  7924. type: integer
  7925. tradeprice:
  7926. description: 成交价格
  7927. type: number
  7928. tradeqty:
  7929. description: 成交数量
  7930. type: integer
  7931. required:
  7932. - goodscode
  7933. - goodsname
  7934. - tradeid
  7935. - trademode
  7936. type: object
  7937. models.HsbySellMyDetail:
  7938. properties:
  7939. accountid:
  7940. description: 账户ID[报价币种]
  7941. type: integer
  7942. agreeunit:
  7943. description: 合约单位
  7944. type: number
  7945. buyorsell:
  7946. description: 买卖 - 0:买 1:卖
  7947. type: integer
  7948. currencysign:
  7949. description: 货币符号
  7950. type: string
  7951. decimalplace:
  7952. description: 报价小数位
  7953. type: integer
  7954. goodscode:
  7955. description: 商品代码(内部)
  7956. type: string
  7957. goodsid:
  7958. description: 商品ID
  7959. type: integer
  7960. goodsname:
  7961. description: 商品名称
  7962. type: string
  7963. marketid:
  7964. description: 市场ID
  7965. type: integer
  7966. orderid:
  7967. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7968. type: string
  7969. ordertype:
  7970. description: 单据类型:0 - 发布中, 1 - 已完成
  7971. type: integer
  7972. picurls:
  7973. description: 介绍图片[多张用逗号分隔]
  7974. type: string
  7975. price:
  7976. description: 价格
  7977. type: number
  7978. qty:
  7979. description: 数量
  7980. type: integer
  7981. time:
  7982. description: 时间
  7983. type: string
  7984. trademode:
  7985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7986. 21:竞拍-大宗式 22:受托竞价
  7987. type: integer
  7988. vendorname:
  7989. description: 供应商名称
  7990. type: string
  7991. required:
  7992. - accountid
  7993. - buyorsell
  7994. - goodscode
  7995. - goodsid
  7996. - goodsname
  7997. - marketid
  7998. - orderid
  7999. - time
  8000. - trademode
  8001. type: object
  8002. models.HsbyTopGoods:
  8003. properties:
  8004. agreeunit:
  8005. description: 合约单位
  8006. type: number
  8007. currency:
  8008. description: 货币
  8009. type: string
  8010. currencysign:
  8011. description: 货币符号
  8012. type: string
  8013. decimalplace:
  8014. description: 报价小数位
  8015. type: integer
  8016. desccityid:
  8017. description: 目的地(市)
  8018. type: integer
  8019. descprovinceid:
  8020. description: 目的地(省)
  8021. type: integer
  8022. goodscode:
  8023. description: 商品代码(内部)
  8024. type: string
  8025. goodsid:
  8026. description: 商品ID(自增ID SEQ_GOODS)
  8027. type: integer
  8028. goodsname:
  8029. description: 商品名称
  8030. type: string
  8031. hotindex:
  8032. description: 景点热度
  8033. type: integer
  8034. last:
  8035. description: 现价
  8036. type: number
  8037. marketid:
  8038. description: 所属市场ID
  8039. type: integer
  8040. picurls:
  8041. description: 介绍图片[多张用逗号分隔]
  8042. type: string
  8043. quoteminunit:
  8044. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8045. type: integer
  8046. trademode:
  8047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8048. 21:竞拍-大宗式 22:受托竞价
  8049. type: integer
  8050. videourls:
  8051. description: 介绍视频[多张用逗号分隔]
  8052. type: string
  8053. required:
  8054. - goodscode
  8055. - goodsid
  8056. - goodsname
  8057. - marketid
  8058. - trademode
  8059. type: object
  8060. models.HybsMyBuyOrderDetail:
  8061. properties:
  8062. accountid:
  8063. description: 账户ID[报价币种]
  8064. type: integer
  8065. agreeunit:
  8066. description: 合约单位
  8067. type: number
  8068. buyorsell:
  8069. description: 买卖 - 0:买 1:卖
  8070. type: integer
  8071. cancelqty:
  8072. description: 撤单数量
  8073. type: integer
  8074. currencysign:
  8075. description: 货币符号
  8076. type: string
  8077. decimalplace:
  8078. description: 报价小数位
  8079. type: integer
  8080. goodscode:
  8081. description: 商品代码(内部)
  8082. type: string
  8083. goodsid:
  8084. description: 商品ID
  8085. type: integer
  8086. goodsname:
  8087. description: 商品名称
  8088. type: string
  8089. listingselecttype:
  8090. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8091. type: integer
  8092. marketid:
  8093. description: 市场ID
  8094. type: integer
  8095. mybuystatus:
  8096. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8097. type: integer
  8098. orderamount:
  8099. description: 委托金额
  8100. type: number
  8101. orderid:
  8102. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8103. type: string
  8104. orderprice:
  8105. description: 委托价格
  8106. type: number
  8107. orderqty:
  8108. description: 委托数量
  8109. type: integer
  8110. orderstatus:
  8111. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8112. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8113. 16:成交失败违约(荷兰式竞拍专用)
  8114. type: integer
  8115. ordertime:
  8116. description: 委托时间
  8117. type: string
  8118. picurls1:
  8119. description: 预售商品介绍图片[多张用逗号分隔]
  8120. type: string
  8121. picurls2:
  8122. description: 挂牌商品介绍图片[多张用逗号分隔]
  8123. type: string
  8124. trademode:
  8125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8126. 21:竞拍-大宗式 22:受托竞价
  8127. type: integer
  8128. tradeqty:
  8129. description: 成交数量
  8130. type: integer
  8131. vendorname1:
  8132. description: 预售商品供应商名称
  8133. type: string
  8134. vendorname2:
  8135. description: 挂牌商品供应商名称
  8136. type: string
  8137. required:
  8138. - accountid
  8139. - buyorsell
  8140. - goodscode
  8141. - goodsid
  8142. - goodsname
  8143. - marketid
  8144. - orderid
  8145. - orderqty
  8146. - ordertime
  8147. - trademode
  8148. type: object
  8149. models.Loginaccount:
  8150. properties:
  8151. canoutin:
  8152. description: 是否可出入金 - 0:不可 1:可
  8153. type: integer
  8154. clientroleid:
  8155. description: 终端角色ID
  8156. type: integer
  8157. haslogined:
  8158. description: 是否已登录 - 0:未登录 1:已登录
  8159. type: integer
  8160. hasupdatedpwd:
  8161. description: 是否已更改密码 - 0:未修改 1:已修改
  8162. type: integer
  8163. lastloginip:
  8164. description: 最新登录地址
  8165. type: string
  8166. lastloginmode:
  8167. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8168. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8169. type: integer
  8170. lastloginremark:
  8171. description: 最新登录描述
  8172. type: string
  8173. lastlogintime:
  8174. description: 最新登录时间
  8175. type: string
  8176. logincode:
  8177. description: 登录代码
  8178. type: string
  8179. loginfailnum:
  8180. description: 连续登录失败次数(登录成功时清零)
  8181. type: integer
  8182. loginid:
  8183. description: 登陆账号
  8184. type: integer
  8185. loginport:
  8186. description: 最新登录端口
  8187. type: integer
  8188. loginstatus:
  8189. description: 登录账号状态 1:正常 2:冻结 3:无效
  8190. type: integer
  8191. loginusertype:
  8192. description: 登录账号类型 - 1:投资者 2:机构交易员
  8193. type: integer
  8194. modifierid:
  8195. description: 修改人
  8196. type: integer
  8197. modifytime:
  8198. description: 修改时间
  8199. type: string
  8200. pwdwrongcount:
  8201. description: 密码错误次数
  8202. type: integer
  8203. taaccountrighttype:
  8204. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8205. type: integer
  8206. unfreezetime:
  8207. description: 账户解冻时间
  8208. type: string
  8209. userid:
  8210. description: 用户ID
  8211. type: integer
  8212. required:
  8213. - loginid
  8214. type: object
  8215. models.MainAccountInfo:
  8216. properties:
  8217. accountid:
  8218. description: 账号id
  8219. type: integer
  8220. accountname:
  8221. description: 账号名称(taaccount表中的名称)
  8222. type: string
  8223. appid:
  8224. description: AppID
  8225. type: string
  8226. authcode:
  8227. description: 授权码
  8228. type: string
  8229. brokerid:
  8230. description: 经纪商id
  8231. type: string
  8232. fcid:
  8233. description: 期货公司id
  8234. type: integer
  8235. fcname:
  8236. description: 期货公司代码
  8237. type: string
  8238. hedgeaccountcode:
  8239. description: 外部账号代码(主账号登录代码)
  8240. type: string
  8241. hedgeaccountpwd:
  8242. description: 密码
  8243. type: string
  8244. ismain:
  8245. description: 是否主账号
  8246. type: integer
  8247. relateduserid:
  8248. description: 关联用户id
  8249. type: integer
  8250. userid:
  8251. description: 关联用户id
  8252. type: integer
  8253. type: object
  8254. models.Market:
  8255. properties:
  8256. auctionwrtype:
  8257. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8258. type: integer
  8259. canacceptquote:
  8260. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8261. type: integer
  8262. cangoodsexercise:
  8263. description: '[期权]是否可现货行权- 0:否 1:是'
  8264. type: integer
  8265. cangoodsexercisetype:
  8266. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8267. type: integer
  8268. canmanualquotestrike:
  8269. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8270. type: integer
  8271. canmutistage:
  8272. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8273. type: integer
  8274. canpreexercise:
  8275. description: '[期权]是否可预申报- 0:否 1:是'
  8276. type: integer
  8277. clearinterval:
  8278. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8279. type: integer
  8280. contracttmp:
  8281. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8282. type: string
  8283. exchareaid:
  8284. description: 所属交易所,可以没有
  8285. type: integer
  8286. goodstype:
  8287. description: 商品类型 - 1:交易商品 2:仓单商品
  8288. type: integer
  8289. hasrebate:
  8290. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8291. type: integer
  8292. hastradecredit:
  8293. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8294. type: integer
  8295. haswr:
  8296. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8297. type: integer
  8298. isdeductmargin:
  8299. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8300. type: integer
  8301. isrecordsource:
  8302. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8303. type: integer
  8304. isreleasemargin:
  8305. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8306. type: integer
  8307. marginformula:
  8308. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8309. type: integer
  8310. marginformula2:
  8311. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8312. type: integer
  8313. marketid:
  8314. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8315. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8316. type: integer
  8317. marketname:
  8318. description: 市场名称
  8319. type: string
  8320. marketserviceid:
  8321. description: 市场服务ID
  8322. type: integer
  8323. marketstatus:
  8324. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8325. type: integer
  8326. markettype:
  8327. description: 市场类型- 1:非交易服务 2:交易服务
  8328. type: integer
  8329. matchermode:
  8330. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8331. type: integer
  8332. openmethod:
  8333. description: 开盘模式 - 0 自动 1手动
  8334. type: integer
  8335. otcuserid:
  8336. description: 场外期权做市商[场外期权]
  8337. type: integer
  8338. outersynctime:
  8339. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8340. type: string
  8341. pendingflag:
  8342. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8343. type: integer
  8344. pendingtime:
  8345. description: 待开市时间[通道交易-对冲](HH:mm)
  8346. type: string
  8347. performancetempid:
  8348. description: 履约计划模板ID - 作废
  8349. type: integer
  8350. premiumquotemode:
  8351. description: 权利金报价方式 - 1:自动 2:手动
  8352. type: integer
  8353. rebateratio:
  8354. description: 返利比率[竞价式]
  8355. type: number
  8356. reckonorder:
  8357. description: 结算顺序
  8358. type: integer
  8359. reckonpricealgorithm:
  8360. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8361. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8362. type: integer
  8363. reckonpriceparam:
  8364. description: 结算价参数
  8365. type: integer
  8366. reckontime:
  8367. description: 结算时间[通道交易-对冲](HH:mm)
  8368. type: string
  8369. roleprioritytype:
  8370. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8371. type: integer
  8372. selllistingauditflag:
  8373. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8374. type: integer
  8375. trademarkettype:
  8376. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8377. type: integer
  8378. trademode:
  8379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8380. 21:竞拍-大宗式 22:受托竞价
  8381. type: integer
  8382. tradeproperty:
  8383. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8384. 8:场外期权
  8385. type: integer
  8386. tradetype:
  8387. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8388. type: integer
  8389. required:
  8390. - marketid
  8391. - marketstatus
  8392. - openmethod
  8393. - reckonpricealgorithm
  8394. - trademode
  8395. - tradeproperty
  8396. type: object
  8397. models.Marketrun:
  8398. properties:
  8399. afternexttradedate:
  8400. description: 下下交易日
  8401. type: string
  8402. clearquoteflag:
  8403. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8404. type: integer
  8405. lastreckondate:
  8406. description: 最新交易日(结算成功)
  8407. type: string
  8408. machinedate:
  8409. description: 机器时间
  8410. type: string
  8411. manualflag:
  8412. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8413. type: integer
  8414. marketid:
  8415. description: 市场ID
  8416. type: integer
  8417. nexttradedate:
  8418. description: 下一交易日
  8419. type: string
  8420. pretradedate:
  8421. description: 上一交易日
  8422. type: string
  8423. reckonflag:
  8424. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8425. type: integer
  8426. runstatus:
  8427. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8428. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8429. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8430. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8431. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8432. 62.今日免清算
  8433. type: integer
  8434. sectionid:
  8435. description: 时间段号[多时段时用]
  8436. type: integer
  8437. tradedate:
  8438. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8439. type: string
  8440. tradedate2:
  8441. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8442. type: string
  8443. updatetime:
  8444. description: 更新时间
  8445. type: string
  8446. required:
  8447. - marketid
  8448. - nexttradedate
  8449. - reckonflag
  8450. - runstatus
  8451. - tradedate
  8452. - tradedate2
  8453. type: object
  8454. models.Messageboard:
  8455. properties:
  8456. contactnum:
  8457. description: 联系电话
  8458. type: string
  8459. createtime:
  8460. description: 创建时间
  8461. type: string
  8462. message:
  8463. description: 留言信息
  8464. type: string
  8465. messageboardid:
  8466. description: 留言簿ID(SEQ_MessageBoard)
  8467. type: integer
  8468. userid:
  8469. description: 用户ID
  8470. type: integer
  8471. required:
  8472. - messageboardid
  8473. type: object
  8474. models.MyCoupon:
  8475. properties:
  8476. accountid:
  8477. description: 资金账户ID
  8478. type: integer
  8479. areauserid:
  8480. description: 所属机构
  8481. type: integer
  8482. conditionvalue:
  8483. description: 条件阈值(可为0)
  8484. type: number
  8485. couponcategroy:
  8486. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8487. type: integer
  8488. couponname:
  8489. description: 优惠券名称
  8490. type: string
  8491. coupontypeid:
  8492. description: 优惠券类型ID
  8493. type: string
  8494. couponvalue:
  8495. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8496. type: number
  8497. curfreezeqty:
  8498. description: 期末冻结数量
  8499. type: integer
  8500. curqty:
  8501. description: 期末数量
  8502. type: integer
  8503. isgeneral:
  8504. description: 是否通用券 - 0:否 1:是
  8505. type: integer
  8506. isunusable:
  8507. description: 是否不可用
  8508. type: boolean
  8509. limitedflag:
  8510. description: 是否指定商品 - 0:不限 1:限制
  8511. type: integer
  8512. limitedgoodsids:
  8513. description: 指定商品IDs[逗号分隔,前后加逗号]
  8514. type: string
  8515. orifreezeqty:
  8516. description: 期初冻结数量
  8517. type: integer
  8518. oriqty:
  8519. description: 期初数量
  8520. type: integer
  8521. reasontype:
  8522. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8523. type: integer
  8524. todaydecrease:
  8525. description: 今日减少
  8526. type: integer
  8527. todayincrease:
  8528. description: 今日增加
  8529. type: integer
  8530. userid:
  8531. description: 用户ID
  8532. type: integer
  8533. userscope:
  8534. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8535. type: string
  8536. required:
  8537. - accountid
  8538. - coupontypeid
  8539. type: object
  8540. models.MyCouponHold:
  8541. properties:
  8542. accountid:
  8543. description: 资金账户ID
  8544. type: integer
  8545. conditionvalue:
  8546. description: 条件阈值(可为0)
  8547. type: number
  8548. couponcategroy:
  8549. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8550. type: integer
  8551. couponholdid:
  8552. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8553. type: string
  8554. couponname:
  8555. description: 优惠券名称
  8556. type: string
  8557. coupontypeid:
  8558. description: 优惠券类型ID - SEQ_COUPONTYPE
  8559. type: string
  8560. couponvalue:
  8561. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8562. type: number
  8563. createtime:
  8564. description: 创建时间
  8565. type: string
  8566. enddate:
  8567. description: 结束日期
  8568. type: string
  8569. giveapplyid:
  8570. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8571. type: integer
  8572. holdstatus:
  8573. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8574. type: integer
  8575. isgeneral:
  8576. description: 是否通用券 - 0:否 1:是
  8577. type: integer
  8578. limitedflag:
  8579. description: 是否指定商品 - 0:不限 1:限制
  8580. type: integer
  8581. limitedgoodsids:
  8582. description: 指定商品IDs[逗号分隔]
  8583. type: string
  8584. qty:
  8585. description: 数量(按1平铺)
  8586. type: integer
  8587. startdate:
  8588. description: 开始日期
  8589. type: string
  8590. userid:
  8591. description: 用户ID
  8592. type: integer
  8593. userscope:
  8594. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8595. type: string
  8596. required:
  8597. - couponholdid
  8598. type: object
  8599. models.MyUsedCoupon:
  8600. properties:
  8601. accountid:
  8602. description: 资金账户ID(买方)
  8603. type: integer
  8604. conditionvalue:
  8605. description: 条件阈值(可为0)
  8606. type: number
  8607. couponcategroy:
  8608. description: 种类 - 1:现金券 2:折扣券
  8609. type: integer
  8610. couponname:
  8611. description: 优惠券名称
  8612. type: string
  8613. coupontypeid:
  8614. description: 优惠券类型ID(买方)
  8615. type: string
  8616. couponvalue:
  8617. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8618. type: number
  8619. createtime:
  8620. description: 创建时间
  8621. type: string
  8622. goodsid:
  8623. description: 商品ID
  8624. type: integer
  8625. handlestatus:
  8626. description: 处理状态
  8627. type: integer
  8628. marketid:
  8629. description: 市场ID
  8630. type: integer
  8631. offamount:
  8632. description: 优惠金额
  8633. type: number
  8634. orderid:
  8635. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8636. type: string
  8637. sellaccountid:
  8638. description: 资金账户ID(卖方)
  8639. type: integer
  8640. tradeamount:
  8641. description: 成交金额
  8642. type: number
  8643. tradeid:
  8644. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8645. type: string
  8646. usedqty:
  8647. description: 使用数量
  8648. type: integer
  8649. required:
  8650. - coupontypeid
  8651. - orderid
  8652. type: object
  8653. models.OperationPrimaryMenu:
  8654. properties:
  8655. Children:
  8656. description: 二级功能菜单
  8657. items:
  8658. $ref: '#/definitions/models.OperationSecondaryMenu'
  8659. type: array
  8660. Key:
  8661. description: 菜单KEY
  8662. type: string
  8663. Label:
  8664. description: 菜单标题
  8665. type: string
  8666. type: object
  8667. models.OperationSecondaryMenu:
  8668. properties:
  8669. Key:
  8670. description: 菜单KEY
  8671. type: string
  8672. Label:
  8673. description: 菜单标题
  8674. type: string
  8675. TabList:
  8676. description: 三级功能菜单
  8677. items:
  8678. $ref: '#/definitions/models.OperationTabMenu'
  8679. type: array
  8680. type: object
  8681. models.OperationTabMenu:
  8682. properties:
  8683. Key:
  8684. description: 菜单KEY
  8685. type: string
  8686. Label:
  8687. description: 菜单标题
  8688. type: string
  8689. type: object
  8690. models.PendingAuditBizModel:
  8691. properties:
  8692. accountid:
  8693. description: 现货账户
  8694. type: string
  8695. areaname:
  8696. description: 所属部门
  8697. type: string
  8698. bizid:
  8699. description: 业务ID
  8700. type: string
  8701. bizname:
  8702. description: 业务名称
  8703. type: string
  8704. status:
  8705. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8706. type: integer
  8707. type:
  8708. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8709. type: integer
  8710. type: object
  8711. models.QhjBankAccountSign:
  8712. properties:
  8713. accountcode:
  8714. description: 资金账号
  8715. type: string
  8716. accountname:
  8717. description: 资金账号对应的账号名(UserName)
  8718. type: string
  8719. accounttype:
  8720. description: 账户类型(UserType)
  8721. type: integer
  8722. applicationtime:
  8723. description: 最后一次更新的时间
  8724. type: string
  8725. applyexchticket:
  8726. description: 申请流水
  8727. type: string
  8728. auditid:
  8729. description: 审核人
  8730. type: integer
  8731. audittime:
  8732. description: 审核时间
  8733. type: string
  8734. bankaccountname:
  8735. description: 签约银行卡账号名
  8736. type: string
  8737. bankaccountno:
  8738. description: 银行卡号
  8739. type: string
  8740. bankaccounttype:
  8741. description: 银行账户类型 - 1-对私; 2-对公
  8742. type: integer
  8743. bankcardtype:
  8744. description: 银行卡类型
  8745. type: integer
  8746. bankchildaccount:
  8747. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  8748. type: string
  8749. bankcity:
  8750. description: 开户行城市
  8751. type: string
  8752. bankid:
  8753. description: 签约银行ID
  8754. type: string
  8755. bankprovince:
  8756. description: 开户行省份
  8757. type: string
  8758. branchbankid:
  8759. description: 签约银行支行号
  8760. type: string
  8761. branchbankname:
  8762. description: 签约银行支行名称
  8763. type: string
  8764. cardno:
  8765. description: 证件号码
  8766. type: string
  8767. cardtype:
  8768. description: 证件类型
  8769. type: string
  8770. currency:
  8771. description: 币种
  8772. type: string
  8773. cusbankid:
  8774. description: 托管银行编号
  8775. type: string
  8776. direct:
  8777. description: 方向(可以判断那方先发起的签约)
  8778. type: integer
  8779. exchticket:
  8780. description: 最后一次签约成功的流水号
  8781. type: string
  8782. extendinfo:
  8783. description: 扩展信息(JSON字符串)
  8784. type: string
  8785. mobilephone:
  8786. description: 手机号
  8787. type: string
  8788. netaddr:
  8789. description: 调转网址
  8790. type: string
  8791. relateduserid:
  8792. description: 关联使用者userid
  8793. type: integer
  8794. signstatus:
  8795. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8796. 10:审核拒绝 11:换签待审核
  8797. type: integer
  8798. updatetime:
  8799. description: 更新时间(签解约更新时间)
  8800. type: string
  8801. type: object
  8802. models.QhjBankInfo:
  8803. properties:
  8804. bankid:
  8805. description: 银行ID
  8806. type: string
  8807. bankname:
  8808. description: 银行名称
  8809. type: string
  8810. clearbankno:
  8811. description: 清算系统银行编号
  8812. type: string
  8813. orderindex:
  8814. description: 排序顺序
  8815. type: integer
  8816. status:
  8817. description: 状态 - 0:正常 1:注销
  8818. type: integer
  8819. type: object
  8820. models.QhjContract:
  8821. properties:
  8822. contractconfirmtime:
  8823. description: 合同确认时间(时间)
  8824. type: string
  8825. enumdicname:
  8826. description: 单位名称
  8827. type: string
  8828. goodscode:
  8829. description: 商品代码
  8830. type: string
  8831. goodsid:
  8832. description: 商品ID [5:融资单]
  8833. type: integer
  8834. goodsname:
  8835. description: 商品名称
  8836. type: string
  8837. goodunitid:
  8838. description: 商品单位id
  8839. type: integer
  8840. initmargin:
  8841. description: 初始保证金(首付款)
  8842. type: number
  8843. lenderamount:
  8844. description: 贷款金额(总额|订单总额)
  8845. type: number
  8846. marginratio:
  8847. description: 保证金比率(首付比例)
  8848. type: number
  8849. payamount:
  8850. description: 已付(已付货款)
  8851. type: number
  8852. recoveredmargin:
  8853. description: 已追缴保证金
  8854. type: number
  8855. remainamount:
  8856. description: 合同剩余金额(融资额)
  8857. type: number
  8858. scfcontractid:
  8859. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8860. type: integer
  8861. scfcontracttype:
  8862. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  8863. type: integer
  8864. totalinterest:
  8865. description: 已计总利息(利息)
  8866. type: number
  8867. tradeprice:
  8868. description: 成交价格(成本价格)
  8869. type: number
  8870. userid:
  8871. description: 用户ID
  8872. type: integer
  8873. username:
  8874. description: 用户名称
  8875. type: string
  8876. wrqty:
  8877. description: 仓单数量(数量)
  8878. type: integer
  8879. type: object
  8880. models.QhjContractLog:
  8881. properties:
  8882. amount:
  8883. description: 支付金额
  8884. type: number
  8885. amounttype:
  8886. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  8887. type: integer
  8888. logid:
  8889. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8890. type: string
  8891. remainamount:
  8892. description: 剩余货款
  8893. type: number
  8894. scfcontractid:
  8895. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8896. type: integer
  8897. updatetime:
  8898. description: 更新时间
  8899. type: string
  8900. type: object
  8901. models.QhjPickArea:
  8902. properties:
  8903. cityid:
  8904. description: 市
  8905. type: integer
  8906. cityname:
  8907. description: 城市名称
  8908. type: string
  8909. countryid:
  8910. description: 国家
  8911. type: integer
  8912. countryname:
  8913. description: 国家名称
  8914. type: string
  8915. districtid:
  8916. description: 地区
  8917. type: integer
  8918. districtname:
  8919. description: 地区名称
  8920. type: string
  8921. fromuserid:
  8922. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  8923. type: integer
  8924. fromusername:
  8925. description: 所属机构名称
  8926. type: string
  8927. provinceid:
  8928. description: 省
  8929. type: integer
  8930. provincename:
  8931. description: 省名称
  8932. type: string
  8933. suborgtype:
  8934. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  8935. type: integer
  8936. userid:
  8937. description: 机构用户ID 其他做市关系,都设置为 1
  8938. type: integer
  8939. username:
  8940. description: 机构用户名称(门店门称)
  8941. type: string
  8942. type: object
  8943. models.QhjPickGoods:
  8944. properties:
  8945. imageaddress:
  8946. description: 图片
  8947. type: string
  8948. modifierid:
  8949. description: 修改人
  8950. type: integer
  8951. modifiername:
  8952. description: 修改人名称
  8953. type: string
  8954. modifysrc:
  8955. description: 修改来源 - 1:管理端 2:终端
  8956. type: integer
  8957. pickupgoodsagreeunit:
  8958. description: 合约乘数
  8959. type: number
  8960. pickupgoodsdesc:
  8961. description: 描述
  8962. type: string
  8963. pickupgoodsid:
  8964. description: 提货商品ID
  8965. type: string
  8966. pickupgoodsname:
  8967. description: 提货商品名称
  8968. type: string
  8969. pickupgoodsstatus:
  8970. description: 状态 - 1:正常 2:停用 3:注销
  8971. type: integer
  8972. pickupgoodsunitid:
  8973. description: 单位ID
  8974. type: integer
  8975. preparedays:
  8976. description: 备货期(天)
  8977. type: integer
  8978. remark:
  8979. description: 备注
  8980. type: string
  8981. updatetime:
  8982. description: 更新时间
  8983. type: string
  8984. type: object
  8985. models.QhjRSTriggerLog:
  8986. properties:
  8987. accountid:
  8988. description: 用户资金账户
  8989. type: integer
  8990. accountname:
  8991. description: 账号名称(ACCOUNTID对应的名称)
  8992. type: string
  8993. currencyid:
  8994. description: 币种id
  8995. type: integer
  8996. currencyname:
  8997. description: 币种名称
  8998. type: string
  8999. enumdicname:
  9000. description: 单位名称
  9001. type: string
  9002. goodscode:
  9003. description: 定投商品代码
  9004. type: string
  9005. goodsid:
  9006. description: 定投商品ID
  9007. type: string
  9008. goodsname:
  9009. description: 定投商品名称
  9010. type: string
  9011. goodunitid:
  9012. description: 定投商品单位id
  9013. type: integer
  9014. logid:
  9015. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9016. type: string
  9017. regularlycycle:
  9018. description: 定投频率 - 1:每周 2:每月
  9019. type: integer
  9020. regularlycyclevalue:
  9021. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9022. type: string
  9023. regularlymode:
  9024. description: 定投方式 - 1:按数量 2:按金额
  9025. type: integer
  9026. regularlymodevalue:
  9027. description: 定投方式值 - 数量或金额
  9028. type: number
  9029. regularlystrategyid:
  9030. description: 定投策略ID
  9031. type: integer
  9032. retcode:
  9033. description: 错误码
  9034. type: string
  9035. tradeid:
  9036. description: 成交单ID
  9037. type: string
  9038. triggeramount:
  9039. description: 触发金额
  9040. type: number
  9041. triggerqty:
  9042. description: 触发数量
  9043. type: number
  9044. triggerstatus:
  9045. description: 触发状态 - 1:成功 2:失败
  9046. type: integer
  9047. triggertime:
  9048. description: 触发时间
  9049. type: string
  9050. triggertradedate:
  9051. description: 触发交易日
  9052. type: string
  9053. userid:
  9054. description: 所属用户ID
  9055. type: integer
  9056. username:
  9057. description: 用户名称(userid对应的名称)
  9058. type: string
  9059. type: object
  9060. models.QhjRStrategy:
  9061. properties:
  9062. accountid:
  9063. description: 用户资金账户
  9064. type: integer
  9065. accountname:
  9066. description: 账号名称(ACCOUNTID对应的名称)
  9067. type: string
  9068. currencyid:
  9069. description: 币种id
  9070. type: integer
  9071. currencyname:
  9072. description: 币种名称
  9073. type: string
  9074. enumdicname:
  9075. description: 单位名称
  9076. type: string
  9077. goodscode:
  9078. description: 定投商品代码
  9079. type: string
  9080. goodsid:
  9081. description: 定投商品ID
  9082. type: string
  9083. goodsname:
  9084. description: 定投商品名称
  9085. type: string
  9086. goodunitid:
  9087. description: 定投商品单位id
  9088. type: integer
  9089. lasteffecttradedate:
  9090. description: 最新生效交易日
  9091. type: string
  9092. laststoptradedate:
  9093. description: 最新暂停交易日
  9094. type: string
  9095. lasttriggertradedate:
  9096. description: 最新触发交易日
  9097. type: string
  9098. nexttriggeramount:
  9099. description: 下次触发金额
  9100. type: number
  9101. nexttriggerdate:
  9102. description: 下次触发日期
  9103. type: string
  9104. nexttriggerqty:
  9105. description: 下次触发数量 [按小数位放大值]
  9106. type: number
  9107. regularlycycle:
  9108. description: 定投频率 - 1:每周 2:每月
  9109. type: integer
  9110. regularlycyclevalue:
  9111. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9112. type: string
  9113. regularlymode:
  9114. description: 定投方式 - 1:按数量 2:按金额
  9115. type: integer
  9116. regularlymodevalue:
  9117. description: 定投方式值 - 数量或金额
  9118. type: number
  9119. regularlystrategyid:
  9120. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9121. type: integer
  9122. regularlystrategystatus:
  9123. description: 策略状态 - 1:正常 2:暂停 3:终止
  9124. type: integer
  9125. remark:
  9126. description: 备注
  9127. type: string
  9128. triggersuccesstimes:
  9129. description: 累计定投成功次数
  9130. type: string
  9131. triggertotalamount:
  9132. description: 累计定投金额(成功)
  9133. type: number
  9134. triggertotalqty:
  9135. description: 累计定投数量(成功) [按小数位放大值]
  9136. type: number
  9137. triggertotaltimes:
  9138. description: 累计定投总次数
  9139. type: string
  9140. updatesrc:
  9141. description: 更新来源 - 1:管理端 2:终端
  9142. type: integer
  9143. updatetime:
  9144. description: 更新时间
  9145. type: string
  9146. updatorid:
  9147. description: 更新人
  9148. type: string
  9149. userid:
  9150. description: 所属用户ID
  9151. type: integer
  9152. username:
  9153. description: 用户名称(userid对应的名称)
  9154. type: string
  9155. type: object
  9156. models.QhjReckonPriceLog:
  9157. properties:
  9158. goodsid:
  9159. description: 商品ID
  9160. type: integer
  9161. lastreckonprice:
  9162. description: 上日结算价
  9163. type: number
  9164. nextdnlimitprice:
  9165. description: 下个交易日跌停价
  9166. type: number
  9167. nexttrade:
  9168. description: 下个交易日
  9169. type: string
  9170. nextuplimitprice:
  9171. description: 下个交易日涨停价
  9172. type: number
  9173. reckonprice:
  9174. description: 今日结算价(定投价)
  9175. type: number
  9176. reckontime:
  9177. description: 结算时间
  9178. type: string
  9179. totalholderqty:
  9180. description: 总持仓数
  9181. type: integer
  9182. totalstock:
  9183. description: 总库存
  9184. type: integer
  9185. tradedate:
  9186. description: 交易日
  9187. type: string
  9188. updowncount:
  9189. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  9190. type: integer
  9191. updownflag:
  9192. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  9193. type: integer
  9194. updownrate:
  9195. description: 今日涨跌幅
  9196. type: number
  9197. updownrate_2d:
  9198. description: 连续两日涨跌幅
  9199. type: number
  9200. updownrate_3d:
  9201. description: 连续三日涨跌幅
  9202. type: number
  9203. type: object
  9204. models.QhjTradeGoodsPickup:
  9205. properties:
  9206. accountid:
  9207. description: 账户ID
  9208. type: integer
  9209. address:
  9210. description: 提货人详细地址
  9211. type: string
  9212. amount:
  9213. description: 提货金额
  9214. type: number
  9215. artradedate:
  9216. description: 自动收货交易日(yyyyMMdd)
  9217. type: string
  9218. auditer:
  9219. description: 审核人
  9220. type: integer
  9221. auditsrc:
  9222. description: 更新来源 - 1:管理端 2:终端
  9223. type: integer
  9224. audittime:
  9225. description: 审核时间(发货时间)
  9226. type: string
  9227. audittradedate:
  9228. description: 审核交易日(yyyyMMdd)
  9229. type: string
  9230. cardnum:
  9231. description: 提货人证件号码
  9232. type: string
  9233. cardtypeid:
  9234. description: 提货人证件类型
  9235. type: integer
  9236. checkremark:
  9237. description: 审核备注
  9238. type: string
  9239. cityid:
  9240. description: 市
  9241. type: integer
  9242. cityname:
  9243. description: 城市名称
  9244. type: string
  9245. countryid:
  9246. description: 国家
  9247. type: integer
  9248. countryname:
  9249. description: 国家名称
  9250. type: string
  9251. districtid:
  9252. description: 地区
  9253. type: integer
  9254. districtname:
  9255. description: 地区名称
  9256. type: string
  9257. enumdicname:
  9258. description: 单位名称(提货商品)
  9259. type: string
  9260. expresscompany:
  9261. description: 物流公司
  9262. type: string
  9263. expressnum:
  9264. description: 物流单号
  9265. type: string
  9266. goodsagreeunit:
  9267. description: 交易商品乘数
  9268. type: number
  9269. goodscode:
  9270. description: 商品代码
  9271. type: string
  9272. goodsid:
  9273. description: 商品ID
  9274. type: integer
  9275. goodsname:
  9276. description: 商品名称
  9277. type: string
  9278. goodsqty:
  9279. description: 交易商品手数(69模式按成交量小数位放大取整)
  9280. type: number
  9281. handlestatus:
  9282. description: 处理状态
  9283. type: integer
  9284. marketid:
  9285. description: 市场ID
  9286. type: integer
  9287. phonenum:
  9288. description: 提货人联系方式
  9289. type: string
  9290. pickupgoodsagreeunit:
  9291. description: 提货商品合约乘数
  9292. type: number
  9293. pickupgoodsid:
  9294. description: 提货商品ID
  9295. type: string
  9296. pickupgoodsname:
  9297. description: 提货商品名称
  9298. type: string
  9299. pickupgoodsqty:
  9300. description: 提货商品手数(数量)
  9301. type: number
  9302. pickupgoodsunitid:
  9303. description: 单位ID(提货商品)
  9304. type: integer
  9305. pickupratio:
  9306. description: 提货系数
  9307. type: number
  9308. preparedays:
  9309. description: 备货期(天)-提货单明细表
  9310. type: integer
  9311. provinceid:
  9312. description: 省
  9313. type: integer
  9314. provincename:
  9315. description: 省名称
  9316. type: string
  9317. qty:
  9318. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  9319. type: number
  9320. recivername:
  9321. description: 提货人姓名
  9322. type: string
  9323. reqtime:
  9324. description: 提货申请时间
  9325. type: string
  9326. storeuserid:
  9327. description: 门店用户ID (千海金)
  9328. type: integer
  9329. storeusername:
  9330. description: 门店用户名称
  9331. type: string
  9332. takemode:
  9333. description: 提货方式 - 2:自提 3:配送(邮寄)
  9334. type: integer
  9335. takeorderid:
  9336. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9337. type: integer
  9338. takeorderstatus:
  9339. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  9340. 7:已拒绝 8:已撤销
  9341. type: integer
  9342. takeremark:
  9343. description: 提货备注
  9344. type: string
  9345. tradedate:
  9346. description: 交易日(yyyyMMdd)
  9347. type: string
  9348. updatetime:
  9349. description: 更新时间
  9350. type: string
  9351. userid:
  9352. description: 用户ID
  9353. type: integer
  9354. username:
  9355. description: 用户名称
  9356. type: string
  9357. type: object
  9358. models.QueryErrorInfosRsp:
  9359. properties:
  9360. description:
  9361. description: 异常描述
  9362. type: string
  9363. errorcode:
  9364. description: 异常代码
  9365. type: string
  9366. errorid:
  9367. description: 异常ID
  9368. type: integer
  9369. modulecode:
  9370. description: 所属模块
  9371. type: string
  9372. operatecode:
  9373. description: 所属操作
  9374. type: string
  9375. rownumber:
  9376. description: 行号
  9377. type: string
  9378. required:
  9379. - errorid
  9380. type: object
  9381. models.QueryHedgeOrderDetailRsp:
  9382. properties:
  9383. accountid:
  9384. description: 账户ID
  9385. type: integer
  9386. buyorsell:
  9387. description: 买卖 - 0:买 1:卖
  9388. type: integer
  9389. cancellogincode:
  9390. description: 撤单人
  9391. type: string
  9392. channelbuildtype:
  9393. description: 开平标志 - 0:无 1:建仓 2:平仓
  9394. type: integer
  9395. channelinnerorderstatus:
  9396. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9397. 9:全部成交
  9398. type: integer
  9399. channeloperatetype:
  9400. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9401. type: integer
  9402. closetype:
  9403. description: 平仓方式 - 0:无 1:平今 2:平昨
  9404. type: integer
  9405. curexchangerate:
  9406. description: 当前汇率
  9407. type: number
  9408. exchangefullname:
  9409. description: 外部交易所全称
  9410. type: string
  9411. goodscode:
  9412. description: 商品代码(内部)
  9413. type: string
  9414. goodsid:
  9415. description: 商品ID
  9416. type: integer
  9417. goodsname:
  9418. description: 商品名称
  9419. type: string
  9420. marketid:
  9421. description: 市场ID
  9422. type: integer
  9423. openfreezemargin:
  9424. description: 冻结保证金(冻结交易金额)
  9425. type: number
  9426. orderid:
  9427. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9428. type: string
  9429. orderlogincode:
  9430. description: 委托人
  9431. type: string
  9432. orderprice:
  9433. description: 委托价格(账户)
  9434. type: number
  9435. orderqty:
  9436. description: 委托数量
  9437. type: integer
  9438. ordertime:
  9439. description: 委托时间
  9440. type: string
  9441. pricemode:
  9442. description: '取价方式 - 1:市价 2: 限价'
  9443. type: integer
  9444. tradedate:
  9445. description: 交易日(yyyyMMdd)
  9446. type: string
  9447. tradeqty:
  9448. description: 成交数量
  9449. type: integer
  9450. type: object
  9451. models.QueryHedgeTradeDetailRsp:
  9452. properties:
  9453. accountid:
  9454. description: 账号ID
  9455. type: integer
  9456. buyorsell:
  9457. description: 方向 - 0:买 1:卖
  9458. type: integer
  9459. channelbuildtype:
  9460. description: 委托单据类型 0:无 1:建仓 2:平仓
  9461. type: integer
  9462. closecharge:
  9463. description: 平仓手续费(账户)
  9464. type: number
  9465. closecharge2:
  9466. description: 平仓手续费(商品)
  9467. type: number
  9468. closepl:
  9469. description: 平仓盈亏(账户)
  9470. type: number
  9471. closepl2:
  9472. description: 平仓盈亏(商品)
  9473. type: number
  9474. closepl3:
  9475. description: 平仓盈亏(账户)(逐笔)
  9476. type: number
  9477. closepl4:
  9478. description: 平仓盈亏(商品)(逐笔)
  9479. type: number
  9480. closetype:
  9481. description: 平仓方式 - 0:无 1:平今 2:平昨
  9482. type: integer
  9483. curexchangerate:
  9484. description: 当前汇率
  9485. type: number
  9486. exchangefullname:
  9487. description: 外部交易所全称
  9488. type: string
  9489. goodscode:
  9490. description: 商品代码(内部)
  9491. type: string
  9492. goodsid:
  9493. description: 商品ID
  9494. type: integer
  9495. goodsname:
  9496. description: 商品名称
  9497. type: string
  9498. marketid:
  9499. description: 市场ID
  9500. type: integer
  9501. opencharge:
  9502. description: 建仓手续费(账户)
  9503. type: number
  9504. opencharge2:
  9505. description: 建仓手续费(商品)
  9506. type: number
  9507. orderid:
  9508. description: 委托单号
  9509. type: string
  9510. orderlogincode:
  9511. description: 委托人
  9512. type: string
  9513. tradeamount:
  9514. description: 成交金额(账户)
  9515. type: number
  9516. tradedate:
  9517. description: 交易日(yyyyMMdd)
  9518. type: string
  9519. tradeid:
  9520. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9521. type: string
  9522. tradeprice:
  9523. description: 成交价格
  9524. type: number
  9525. tradeqty:
  9526. description: 成交数量
  9527. type: integer
  9528. tradetime:
  9529. description: 成交时间
  9530. type: string
  9531. tradetype:
  9532. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9533. type: integer
  9534. type: object
  9535. models.QuotePrimaryMenu:
  9536. properties:
  9537. Index:
  9538. description: 序号
  9539. type: integer
  9540. Key:
  9541. description: 键名
  9542. type: string
  9543. Name:
  9544. description: 菜单名称
  9545. type: string
  9546. SubMenus:
  9547. description: 子菜单
  9548. items:
  9549. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9550. type: array
  9551. SubTitleType:
  9552. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9553. type: integer
  9554. TradeModes:
  9555. description: 包含市场交易类型
  9556. type: string
  9557. type: object
  9558. models.QuoteSecondaryMenu:
  9559. properties:
  9560. ExExchangeCode:
  9561. description: 外部交易所代码
  9562. type: string
  9563. ExExchangeID:
  9564. description: 外部交易所ID
  9565. type: integer
  9566. GoodsGroupIDs:
  9567. description: 商品组ID列表
  9568. items:
  9569. type: integer
  9570. type: array
  9571. Index:
  9572. description: 序号
  9573. type: integer
  9574. MarketID:
  9575. description: 市场ID
  9576. type: integer
  9577. MenuTitle:
  9578. description: 菜单标题(市场名称或外部交易所名称)
  9579. type: string
  9580. TradeMode:
  9581. description: 交易模式
  9582. type: integer
  9583. type: object
  9584. models.SearchGoods:
  9585. properties:
  9586. goodscode:
  9587. description: 商品代码(内部)
  9588. type: string
  9589. goodsid:
  9590. description: 商品ID(自增ID SEQ_GOODS)
  9591. type: integer
  9592. goodsname:
  9593. description: 商品名称
  9594. type: string
  9595. marketid:
  9596. description: 所属市场ID
  9597. type: integer
  9598. marketname:
  9599. description: 市场名称
  9600. type: string
  9601. trademode:
  9602. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9603. 21:竞拍-大宗式 22:受托竞价
  9604. type: integer
  9605. required:
  9606. - goodscode
  9607. - goodsid
  9608. - goodsname
  9609. - marketid
  9610. - trademode
  9611. type: object
  9612. models.Systemparam:
  9613. properties:
  9614. loginid:
  9615. description: 更新用户账号,登录账号
  9616. type: string
  9617. modifyflag:
  9618. description: 修改标志0 不允许修改 1 允许修改
  9619. type: integer
  9620. paramcode:
  9621. description: 参数代码
  9622. type: string
  9623. paramname:
  9624. description: 参数名
  9625. type: string
  9626. paramtype:
  9627. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9628. type: integer
  9629. paramvalue:
  9630. description: 参数值
  9631. type: string
  9632. paramvalue2:
  9633. description: 参数值(CLOB)
  9634. type: string
  9635. regexpress:
  9636. description: 正则表达式
  9637. type: string
  9638. remark:
  9639. description: 备注
  9640. type: string
  9641. serverip:
  9642. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9643. type: string
  9644. showflag:
  9645. description: 是否显示0 不显示 1 显示
  9646. type: integer
  9647. updatetime:
  9648. description: 更新时间
  9649. type: string
  9650. userid:
  9651. description: 更新用户ID
  9652. type: integer
  9653. required:
  9654. - paramcode
  9655. type: object
  9656. models.Szdz3convertconfig:
  9657. properties:
  9658. canin:
  9659. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9660. type: integer
  9661. canout:
  9662. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9663. type: integer
  9664. converttype:
  9665. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9666. 6:交易转花生米(不设置)
  9667. type: integer
  9668. createtime:
  9669. description: 创建时间
  9670. type: string
  9671. creatorid:
  9672. description: 创建人
  9673. type: integer
  9674. daymaxvalue:
  9675. description: 当日最大转入限制
  9676. type: number
  9677. freezedays:
  9678. description: 冻结天数 [5:花生米转交易]
  9679. type: integer
  9680. innergoodsid:
  9681. description: 内部商品ID[交易]
  9682. type: integer
  9683. inratio:
  9684. description: 目标值
  9685. type: integer
  9686. modifierid:
  9687. description: 修改人
  9688. type: integer
  9689. modifytime:
  9690. description: 修改时间
  9691. type: string
  9692. outergoodscode:
  9693. description: 外部商品代码[JD\PD]
  9694. type: string
  9695. outratio:
  9696. description: 源值
  9697. type: integer
  9698. pddecimalplace:
  9699. description: PD小数位
  9700. type: integer
  9701. timemaxvalue:
  9702. description: 单次最大转入限制
  9703. type: number
  9704. timeminvalue:
  9705. description: 单次最小转入限制
  9706. type: number
  9707. required:
  9708. - converttype
  9709. - innergoodsid
  9710. - outergoodscode
  9711. type: object
  9712. models.Szdz3searchwhitelist:
  9713. properties:
  9714. createtime:
  9715. description: 创建时间
  9716. type: string
  9717. creatorid:
  9718. description: 创建人
  9719. type: integer
  9720. modifierid:
  9721. description: 修改人
  9722. type: integer
  9723. modifytime:
  9724. description: 修改时间
  9725. type: string
  9726. userid:
  9727. description: 用户ID
  9728. type: integer
  9729. required:
  9730. - userid
  9731. type: object
  9732. models.Taaccount:
  9733. properties:
  9734. accountflag:
  9735. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9736. type: integer
  9737. accountid:
  9738. description: 资金账户ID
  9739. type: integer
  9740. accountname:
  9741. description: 账户名称
  9742. type: string
  9743. balance:
  9744. description: 期初余额
  9745. type: number
  9746. capitalbalance:
  9747. description: 本金余额[外部子账户实际出入金余额]
  9748. type: number
  9749. changeflag:
  9750. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9751. type: integer
  9752. changetime:
  9753. description: 账户状态变更时间
  9754. type: string
  9755. closepl:
  9756. description: 今日平仓盈亏
  9757. type: number
  9758. creditdecrease:
  9759. description: 今日授信减少
  9760. type: number
  9761. creditincrease:
  9762. description: 今日授信增加
  9763. type: number
  9764. currencyid:
  9765. description: 货币ID
  9766. type: integer
  9767. currentbalance:
  9768. description: 期末余额
  9769. type: number
  9770. freezecharge:
  9771. description: 手续费冻结
  9772. type: number
  9773. freezemargin:
  9774. description: 冻结保证金
  9775. type: number
  9776. fromaccountid:
  9777. description: 所属上级账户
  9778. type: integer
  9779. inamount:
  9780. description: 今日入金金额(包括三方入金)
  9781. type: number
  9782. ismain:
  9783. description: 是否母账号 0:不是母账户 1:是母账户
  9784. type: integer
  9785. ismarketaccount:
  9786. description: 是否机构接单账号 0:不是 1:是
  9787. type: integer
  9788. isreckonaccount:
  9789. description: 是否机构分润账号 0:不是 1:是
  9790. type: integer
  9791. mortgagecredit:
  9792. description: 授信金额
  9793. type: number
  9794. orifreezecharge:
  9795. description: 期初手续费冻结
  9796. type: number
  9797. orifreezemargin:
  9798. description: 期初冻结保证金
  9799. type: number
  9800. orimortgagecredit:
  9801. description: 期初授信金额
  9802. type: number
  9803. oriothercredit:
  9804. description: 期初其它授信金额
  9805. type: number
  9806. oriotherfreezemargin:
  9807. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9808. type: number
  9809. orioutamountfreeze:
  9810. description: 期初出金冻结
  9811. type: number
  9812. oriusedmargin:
  9813. description: 期初占用保证金
  9814. type: number
  9815. othercredit:
  9816. description: 其它授信金额
  9817. type: number
  9818. othercreditdecrease:
  9819. description: 今日其它授信减少
  9820. type: number
  9821. othercreditincrease:
  9822. description: 今日其它授信增加
  9823. type: number
  9824. otherfreezemargin:
  9825. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9826. type: number
  9827. otherincome:
  9828. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9829. type: number
  9830. otherpay:
  9831. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9832. type: number
  9833. outamount:
  9834. description: 今日出金金额(包括三方出金)
  9835. type: number
  9836. outamountfreeze:
  9837. description: 出金冻结
  9838. type: number
  9839. outthreshold:
  9840. description: 出金阈值
  9841. type: number
  9842. parentaccountid:
  9843. description: 所属根账号
  9844. type: integer
  9845. paycharge:
  9846. description: 今日手续费支出
  9847. type: number
  9848. relatedaccountstatus:
  9849. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9850. type: integer
  9851. relateduserid:
  9852. description: 关联用户
  9853. type: integer
  9854. serivcegroup:
  9855. description: 服务分组
  9856. type: integer
  9857. signstatus:
  9858. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9859. type: integer
  9860. sublevelpath:
  9861. description: 账号层级路径(逗号分隔,首尾加逗号)
  9862. type: string
  9863. taaccounttype:
  9864. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9865. type: integer
  9866. thirdinamount:
  9867. description: 今日三方入金
  9868. type: number
  9869. thirdoutamount:
  9870. description: 今日三方出金
  9871. type: number
  9872. tradestatus:
  9873. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9874. type: integer
  9875. tradestatuschangetime:
  9876. description: 激活时间
  9877. type: string
  9878. transferamount:
  9879. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9880. type: number
  9881. usedmargin:
  9882. description: 占用保证金
  9883. type: number
  9884. userid:
  9885. description: 用户ID
  9886. type: integer
  9887. required:
  9888. - accountid
  9889. - userid
  9890. type: object
  9891. models.Tablecolumnconfig:
  9892. properties:
  9893. aligntype:
  9894. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9895. type: integer
  9896. autoid:
  9897. description: AutoID
  9898. type: integer
  9899. columnfield:
  9900. description: 列字段
  9901. type: string
  9902. columntitle:
  9903. description: 列Title
  9904. type: string
  9905. columnwidth:
  9906. description: 列宽
  9907. type: string
  9908. formatterstring:
  9909. description: 格式化字符
  9910. type: string
  9911. formattertype:
  9912. description: 格式化类型
  9913. type: string
  9914. groupname:
  9915. description: 表头分组名称
  9916. type: string
  9917. isshow:
  9918. description: 是否显示 - 0:不显示 1:显示
  9919. type: integer
  9920. needsummary:
  9921. description: 是否需要汇总 - 0:不需要 1:需要
  9922. type: integer
  9923. orderindex:
  9924. description: 顺序
  9925. type: integer
  9926. remark:
  9927. description: 备注
  9928. type: string
  9929. summarytype:
  9930. description: 汇总类型 - 1:加总 2:最后一个
  9931. type: integer
  9932. tablekey:
  9933. description: 列表Key
  9934. type: string
  9935. required:
  9936. - autoid
  9937. type: object
  9938. models.UserCollectConfig:
  9939. properties:
  9940. accountstatus:
  9941. description: 账户状态 - 1:正常 2:停用 3:注销
  9942. type: integer
  9943. collectaccountname:
  9944. description: 收款人账户名称
  9945. type: string
  9946. collectaccountno:
  9947. description: 收款人账户
  9948. type: string
  9949. collectbankname:
  9950. description: 收款人开户行
  9951. type: string
  9952. collectbranchbankname:
  9953. description: 收款人开户支行
  9954. type: string
  9955. collectconfigid:
  9956. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  9957. type: string
  9958. remark:
  9959. description: 备注
  9960. type: string
  9961. userid:
  9962. description: 收款人用户ID
  9963. type: integer
  9964. type: object
  9965. models.UserReceiveInfo:
  9966. properties:
  9967. address:
  9968. description: 提货人详细地址
  9969. type: string
  9970. autoid:
  9971. description: AutoID
  9972. type: integer
  9973. cardnum:
  9974. description: 证件号码(加密存储)
  9975. type: string
  9976. cardtypeid:
  9977. description: 证件类型
  9978. type: integer
  9979. cityid:
  9980. description: 市
  9981. type: integer
  9982. cityname:
  9983. description: 城市名称
  9984. type: string
  9985. countryid:
  9986. description: 国家
  9987. type: integer
  9988. countryname:
  9989. description: 国家名称
  9990. type: string
  9991. districtid:
  9992. description: 地区
  9993. type: integer
  9994. districtname:
  9995. description: 地区名称
  9996. type: string
  9997. hasencrypt:
  9998. description: 数据是否已加密 - 0:未加密 1:已加密
  9999. type: integer
  10000. isdefault:
  10001. description: 是否默认地址 - 0:否 1:是
  10002. type: integer
  10003. phonenum:
  10004. description: 提货人联系方式(加密存储)
  10005. type: string
  10006. provinceid:
  10007. description: 省
  10008. type: integer
  10009. provincename:
  10010. description: 省名称
  10011. type: string
  10012. receivername:
  10013. description: 提货人姓名
  10014. type: string
  10015. takeremark:
  10016. description: 提货备注
  10017. type: string
  10018. userid:
  10019. description: 用户ID
  10020. type: integer
  10021. type: object
  10022. models.Useraccount:
  10023. properties:
  10024. accountname:
  10025. description: 账户名称(机构名称)
  10026. type: string
  10027. accountstatus:
  10028. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10029. type: integer
  10030. applysrc:
  10031. description: 申请来源 - 1:管理端 2:终端
  10032. type: integer
  10033. auditremark:
  10034. description: 审核备注
  10035. type: string
  10036. auditsrc:
  10037. description: 审核来源 - 1:管理端 2:终端
  10038. type: integer
  10039. audittime:
  10040. description: 审核时间
  10041. type: string
  10042. audituserid:
  10043. description: 审核人
  10044. type: integer
  10045. broker:
  10046. description: 所属经纪人ID
  10047. type: integer
  10048. canceltime:
  10049. description: 销户时间
  10050. type: string
  10051. canceluserid:
  10052. description: 销户人
  10053. type: integer
  10054. canrecommend:
  10055. description: 是否可推荐 - 0:不可 1;可
  10056. type: integer
  10057. createtime:
  10058. description: 创建时间
  10059. type: string
  10060. creatorid:
  10061. description: 创建人
  10062. type: integer
  10063. hasauth:
  10064. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10065. type: integer
  10066. isanonymous:
  10067. description: 是否匿名下单 - 0:否 1:是
  10068. type: integer
  10069. maxinvestornum:
  10070. description: 最大用户数(经纪会员下投资者个数)
  10071. type: integer
  10072. memberuserid:
  10073. description: 所属会员ID
  10074. type: integer
  10075. modifierid:
  10076. description: 修改人
  10077. type: integer
  10078. modifyremark:
  10079. description: 变更备注
  10080. type: string
  10081. modifystatus:
  10082. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10083. type: integer
  10084. modifytime:
  10085. description: 修改时间
  10086. type: string
  10087. parenttopuser:
  10088. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10089. type: string
  10090. parentuserid:
  10091. description: 所属机构ID
  10092. type: integer
  10093. reckonaccountid:
  10094. description: 默认结算资金账号ID(机构分润使用) 作废
  10095. type: integer
  10096. refercount:
  10097. description: 推荐总人数
  10098. type: integer
  10099. refereeuserid:
  10100. description: 推荐人ID
  10101. type: integer
  10102. refernum:
  10103. description: 推荐码
  10104. type: string
  10105. rootuserid:
  10106. description: 根用户ID
  10107. type: integer
  10108. subaccountlevel:
  10109. description: 子账户层数
  10110. type: integer
  10111. subarealevelpath:
  10112. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10113. type: string
  10114. userid:
  10115. description: 用户ID
  10116. type: integer
  10117. usertype:
  10118. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10119. type: integer
  10120. required:
  10121. - userid
  10122. type: object
  10123. models.Userfavoritegoods:
  10124. properties:
  10125. goodsid:
  10126. description: 商品ID
  10127. type: integer
  10128. required:
  10129. - goodsid
  10130. type: object
  10131. models.Userinfo:
  10132. properties:
  10133. address:
  10134. description: 地址
  10135. type: string
  10136. attachment1:
  10137. description: 附件1
  10138. type: string
  10139. attachment2:
  10140. description: 附件2
  10141. type: string
  10142. bankaccount:
  10143. description: 银行帐号 (加密存储)
  10144. type: string
  10145. bankaccountname:
  10146. description: 收款人名称
  10147. type: string
  10148. bankcardfrontphotourl:
  10149. description: 银行卡正面照地址
  10150. type: string
  10151. bankid:
  10152. description: 银行编码
  10153. type: string
  10154. bankname:
  10155. description: 银行名称
  10156. type: string
  10157. biznature:
  10158. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10159. type: integer
  10160. bizscope:
  10161. description: 企业经营范围(企业)
  10162. type: string
  10163. cardbackphotourl:
  10164. description: 证件背面图片地址
  10165. type: string
  10166. cardfrontphotourl:
  10167. description: 证件正面图片地址
  10168. type: string
  10169. cardnum:
  10170. description: 证件号码(加密存储)
  10171. type: string
  10172. cardtypeid:
  10173. description: 证件类型ID
  10174. type: integer
  10175. cityid:
  10176. description: 市
  10177. type: integer
  10178. company:
  10179. description: 公司(个人)
  10180. type: string
  10181. contactname:
  10182. description: 联系人
  10183. type: string
  10184. countryid:
  10185. description: 国家
  10186. type: integer
  10187. createtime:
  10188. description: 创建时间
  10189. type: string
  10190. creatorid:
  10191. description: 创建人
  10192. type: integer
  10193. customername:
  10194. description: 客户名称(企业名称)
  10195. type: string
  10196. districtid:
  10197. description: 地区
  10198. type: integer
  10199. email:
  10200. description: 邮件(加密存储)
  10201. type: string
  10202. fax:
  10203. description: 传真(加密存储)
  10204. type: string
  10205. halfbodyphotourl:
  10206. description: 半身照地址
  10207. type: string
  10208. hasencrypt:
  10209. description: 数据是否已加密 - 0:未加密 1:已加密
  10210. type: integer
  10211. headurl:
  10212. description: 头像地址
  10213. type: string
  10214. legalcardbackphotourl:
  10215. description: 法人身份证背面照地址
  10216. type: string
  10217. legalcardfrontphotourl:
  10218. description: 法人身份证正面照地址
  10219. type: string
  10220. legalpersonname:
  10221. description: 法人姓名(企业)
  10222. type: string
  10223. mobile:
  10224. description: 手机号码(加密存储)
  10225. type: string
  10226. mobile2:
  10227. description: 手机号码[明文-尚志]
  10228. type: string
  10229. modifierid:
  10230. description: 修改人
  10231. type: integer
  10232. modifiertime:
  10233. description: 修改时间
  10234. type: string
  10235. needinvoice:
  10236. description: 是否需要发票 - 0:不需要 1:需要
  10237. type: integer
  10238. nickname:
  10239. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10240. type: string
  10241. openmode:
  10242. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10243. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10244. type: integer
  10245. otherurl:
  10246. description: 其它图片地址[使用分号分隔]
  10247. type: string
  10248. postalcode:
  10249. description: 邮政编码
  10250. type: string
  10251. provinceid:
  10252. description: 省
  10253. type: integer
  10254. qq:
  10255. description: QQ(加密存储
  10256. type: string
  10257. remark:
  10258. description: 备注
  10259. type: string
  10260. sex:
  10261. description: '用户性别 0: 女 1: 男'
  10262. type: integer
  10263. signpdfurl:
  10264. description: 签约pdf文件
  10265. type: string
  10266. telphone:
  10267. description: 联系电话(加密存储)
  10268. type: string
  10269. userid:
  10270. description: 用户ID
  10271. type: integer
  10272. userinfotype:
  10273. description: 用户信息类型 - 1:个人 2:企业
  10274. type: integer
  10275. userstatus:
  10276. description: 用户状态 - 1:正常 2:注销
  10277. type: integer
  10278. usertype:
  10279. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10280. type: integer
  10281. wechat:
  10282. description: 微信(加密存储)
  10283. type: string
  10284. wskhinfo:
  10285. description: 开户申请信息(JSON)
  10286. type: string
  10287. required:
  10288. - userid
  10289. type: object
  10290. models.WRSConverTDetail:
  10291. properties:
  10292. convertratio:
  10293. description: 套保系数
  10294. type: number
  10295. deliverygoodscode:
  10296. description: 现货商品代码
  10297. type: string
  10298. deliverygoodsid:
  10299. description: 现货品种ID
  10300. type: integer
  10301. deliverygoodsname:
  10302. description: 现货商品名称
  10303. type: string
  10304. enumdicname:
  10305. description: 单位名称
  10306. type: string
  10307. goodsunitid:
  10308. description: 套保品种单位id
  10309. type: integer
  10310. middlegoodscode:
  10311. description: 套保品种代码
  10312. type: string
  10313. middlegoodsid:
  10314. description: 套保品种ID
  10315. type: integer
  10316. middlegoodsname:
  10317. description: 套保品种名称
  10318. type: string
  10319. modifytime:
  10320. description: 修改时间
  10321. type: string
  10322. wrstandardid:
  10323. description: 品类ID
  10324. type: integer
  10325. type: object
  10326. models.WRStandardInfo:
  10327. properties:
  10328. areauserid:
  10329. description: 所属机构
  10330. type: integer
  10331. convertfactor:
  10332. description: 标仓系数
  10333. type: number
  10334. createtime:
  10335. description: 创建时间
  10336. type: string
  10337. creatorid:
  10338. description: 创建人
  10339. type: integer
  10340. deliverygoodsid:
  10341. description: 品种ID
  10342. type: integer
  10343. deliverygoodsname:
  10344. description: 交割商品名称
  10345. type: string
  10346. factoryitemjson:
  10347. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10348. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10349. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10350. 逗号分隔'
  10351. type: string
  10352. isvalid:
  10353. description: 是否有效 - 0:无效 1:有效
  10354. type: integer
  10355. minivalue:
  10356. description: 最小变动值
  10357. type: integer
  10358. minivaluedp:
  10359. description: 最小变动值小数位
  10360. type: integer
  10361. realminivalue:
  10362. description: 实际最小变动值
  10363. type: integer
  10364. realminivaluedp:
  10365. description: 实际最小变动值小数位
  10366. type: integer
  10367. remark:
  10368. description: 备注
  10369. type: string
  10370. unitid:
  10371. description: 单位ID
  10372. type: integer
  10373. unitname:
  10374. description: 单位
  10375. type: string
  10376. updatetime:
  10377. description: 更新时间
  10378. type: string
  10379. updatorid:
  10380. description: 更新人
  10381. type: integer
  10382. wrsstatus:
  10383. description: 状态 - 作废 - 0:未激活 1:正常
  10384. type: integer
  10385. wrstandardcode:
  10386. description: 现货品类代码
  10387. type: string
  10388. wrstandardid:
  10389. description: 现货品类ID(SEQ_WRSTANDARD)
  10390. type: integer
  10391. wrstandardname:
  10392. description: 现货品类名称
  10393. type: string
  10394. required:
  10395. - wrstandardid
  10396. type: object
  10397. models.Warehouseinfo:
  10398. properties:
  10399. address:
  10400. description: 详细地址
  10401. type: string
  10402. areauserid:
  10403. description: 所属机构
  10404. type: integer
  10405. autoid:
  10406. description: 自增ID
  10407. type: integer
  10408. cityid:
  10409. description: 市
  10410. type: integer
  10411. contactname:
  10412. description: 联系人
  10413. type: string
  10414. contactnum:
  10415. description: 联系电话
  10416. type: string
  10417. countryid:
  10418. description: 国家
  10419. type: integer
  10420. createtime:
  10421. description: 创建时间
  10422. type: string
  10423. districtid:
  10424. description: 区
  10425. type: integer
  10426. hasvideo:
  10427. description: 是否有视频 - 0:无 1:有
  10428. type: integer
  10429. provinceid:
  10430. description: 省
  10431. type: integer
  10432. remark:
  10433. description: 审核备注
  10434. type: string
  10435. videourl:
  10436. description: 视频地址
  10437. type: string
  10438. warehousecode:
  10439. description: 仓库代码
  10440. type: string
  10441. warehousename:
  10442. description: 仓库名称
  10443. type: string
  10444. warehousestatus:
  10445. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10446. type: integer
  10447. warehousetype:
  10448. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10449. type: integer
  10450. required:
  10451. - autoid
  10452. - warehousecode
  10453. type: object
  10454. order.QueryHisTradeDetailRsp:
  10455. properties:
  10456. accountid:
  10457. description: 账户ID[报价币种]
  10458. type: integer
  10459. buildtype:
  10460. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10461. type: integer
  10462. buyorsell:
  10463. description: 方向 - 0:买 1:卖
  10464. type: integer
  10465. charge:
  10466. description: 手续费
  10467. type: number
  10468. closecharge:
  10469. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10470. type: number
  10471. closeexchagechargevalue:
  10472. description: 平仓交易所手续费设置值
  10473. type: number
  10474. closefeealgorithm:
  10475. description: 平仓手续费收取方式 1:比率 2:固定
  10476. type: integer
  10477. closememberchargevalue:
  10478. description: 平仓会员手续费设置值
  10479. type: number
  10480. closepl:
  10481. description: 平仓盈亏
  10482. type: number
  10483. closepl2:
  10484. description: 平仓盈亏[逐笔]
  10485. type: number
  10486. closeqty:
  10487. description: 平仓数量(先建后平操作 需要记录)
  10488. type: integer
  10489. creditamount:
  10490. description: 授信金额
  10491. type: number
  10492. gcaccountid:
  10493. description: 账户ID[合约币种]
  10494. type: integer
  10495. goodscode:
  10496. description: 商品代码
  10497. type: string
  10498. goodsid:
  10499. description: 商品ID
  10500. type: integer
  10501. goodsname:
  10502. description: 商品名称
  10503. type: string
  10504. histradedate:
  10505. description: 历史交易日
  10506. type: string
  10507. intclosepl:
  10508. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10509. type: integer
  10510. isconfirmexercise:
  10511. description: 是否确认行权- 0:否 1:是
  10512. type: integer
  10513. ismain:
  10514. description: 是否主单 - 0:不是 1:是
  10515. type: integer
  10516. ispreexercise:
  10517. description: 是否预申报- 0:否 1:是
  10518. type: integer
  10519. isreckoned:
  10520. description: 是否结算 - 0:未结算 1:已结算
  10521. type: integer
  10522. isvaliddata:
  10523. description: 是否有效 - 0:无效 1:有效
  10524. type: integer
  10525. listingselecttype:
  10526. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10527. type: integer
  10528. marketid:
  10529. description: 市场ID
  10530. type: integer
  10531. marketname:
  10532. description: 市场名称
  10533. type: string
  10534. matchaccountid:
  10535. description: 对手账号id
  10536. type: integer
  10537. memberuserid:
  10538. description: 会员id 个人投资者 需要填写
  10539. type: integer
  10540. opencharge:
  10541. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10542. type: number
  10543. openexchagechargevalue:
  10544. description: 建仓交易所手续费设置值
  10545. type: number
  10546. openfeealgorithm:
  10547. description: 建仓手续费收取方式 1:比率 2:固定
  10548. type: integer
  10549. openmemberchargevalue:
  10550. description: 建仓会员手续费设置值
  10551. type: number
  10552. openqty:
  10553. description: 开仓数量(先建后平操作 需要记录)
  10554. type: integer
  10555. optiontype:
  10556. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10557. type: integer
  10558. orderid:
  10559. description: 委托单号
  10560. type: string
  10561. performanceplanid:
  10562. description: 履约计划ID[期权]
  10563. type: integer
  10564. performancestatus:
  10565. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10566. type: integer
  10567. preexerciseprice:
  10568. description: 预申报价格
  10569. type: number
  10570. premium:
  10571. description: 权利金 - [持仓单的权利金]
  10572. type: number
  10573. relatedouttradeid:
  10574. description: 关联外部成交单ID
  10575. type: integer
  10576. status:
  10577. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10578. type: integer
  10579. tradeamount:
  10580. description: 成交金额[账户币种,用于所有权]
  10581. type: number
  10582. tradedate:
  10583. description: 交易日(yyyyMMdd)
  10584. type: string
  10585. tradeid:
  10586. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10587. type: string
  10588. trademode:
  10589. description: 交易模式
  10590. type: integer
  10591. tradeprice:
  10592. description: 成交价格
  10593. type: number
  10594. tradeproperty:
  10595. description: 交易属性
  10596. type: integer
  10597. tradeqty:
  10598. description: 成交数量
  10599. type: integer
  10600. tradetime:
  10601. description: 成交时间
  10602. type: string
  10603. tradetype:
  10604. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10605. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10606. type: integer
  10607. required:
  10608. - accountid
  10609. - buyorsell
  10610. - goodsid
  10611. - histradedate
  10612. - marketid
  10613. - memberuserid
  10614. - orderid
  10615. - tradeamount
  10616. - tradedate
  10617. - tradeid
  10618. - tradeprice
  10619. - tradeqty
  10620. - tradetime
  10621. type: object
  10622. order.QueryHisTradeOrderDetailRsp:
  10623. properties:
  10624. accountid:
  10625. description: 账户ID[报价币种]
  10626. type: integer
  10627. buildtype:
  10628. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10629. type: integer
  10630. buyorsell:
  10631. description: 买卖 - 0:买 1:卖
  10632. type: integer
  10633. cancelorderid:
  10634. description: 撤单单号(撤单时填写)
  10635. type: string
  10636. cancelqty:
  10637. description: 撤单数量
  10638. type: integer
  10639. clientordertime:
  10640. description: 客户端委托时间
  10641. type: string
  10642. clientticket:
  10643. description: 客户端流水号
  10644. type: string
  10645. clienttype:
  10646. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10647. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10648. type: integer
  10649. closeexchagechargevalue:
  10650. description: 平仓交易所手续费设置值
  10651. type: number
  10652. closefeealgorithm:
  10653. description: 平仓手续费收取方式 1:比率 2:固定
  10654. type: integer
  10655. closefreezecharge:
  10656. description: 平仓冻结手续费(先建后平操作,需要记录)
  10657. type: number
  10658. closememberchargevalue:
  10659. description: 平仓会员手续费设置值
  10660. type: number
  10661. closeqty:
  10662. description: 平仓数量(先建后平操作 需要记录)
  10663. type: integer
  10664. closetradeqty:
  10665. description: 平仓成交数量(先建后平操作,需要记录)
  10666. type: integer
  10667. closeunfreezecharge:
  10668. description: 平仓解冻手续费(先建后平操作,需要记录)
  10669. type: number
  10670. delistingtype:
  10671. description: 摘牌类型 - 1:价格最优 2:点选成交
  10672. type: integer
  10673. freezecharge:
  10674. description: 冻结手续费
  10675. type: number
  10676. freezemargin:
  10677. description: 冻结保证金(冻结交易金额)
  10678. type: number
  10679. gcaccountid:
  10680. description: 账户ID[合约币种]
  10681. type: integer
  10682. goodscode:
  10683. description: 商品代码
  10684. type: string
  10685. goodsid:
  10686. description: 商品ID
  10687. type: integer
  10688. goodsname:
  10689. description: 商品名称
  10690. type: string
  10691. histradedate:
  10692. description: 历史交易日
  10693. type: string
  10694. isconfirmexercise:
  10695. description: 是否确认行权- 0:否 1:是
  10696. type: integer
  10697. ispreexercise:
  10698. description: 是否预申报- 0:否 1:是
  10699. type: integer
  10700. isvaliddata:
  10701. description: 是否有效 - 0:无效 1:有效
  10702. type: integer
  10703. listingselecttype:
  10704. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10705. type: integer
  10706. marginalgorithm:
  10707. description: 保证金收取方式 1:比率 2:固定
  10708. type: integer
  10709. marginvalue:
  10710. description: 即市保证金设置值
  10711. type: number
  10712. marketid:
  10713. description: 市场ID
  10714. type: integer
  10715. marketmaxsub:
  10716. description: 市价最大偏移范围
  10717. type: number
  10718. marketname:
  10719. description: 市场名称
  10720. type: string
  10721. memberuserid:
  10722. description: 所属会员UserID
  10723. type: integer
  10724. openexchagechargevalue:
  10725. description: 建仓交易所手续费设置值
  10726. type: number
  10727. openfeealgorithm:
  10728. description: 建仓手续费收取方式 1:比率 2:固定
  10729. type: integer
  10730. openfreezecharge:
  10731. description: 开仓冻结手续费(先建后平操作,需要记录)
  10732. type: number
  10733. openmemberchargevalue:
  10734. description: 建仓会员手续费设置值
  10735. type: number
  10736. openqty:
  10737. description: 开仓数量(先建后平操作,需要记录)
  10738. type: integer
  10739. opentradeqty:
  10740. description: 开仓成交数量(先建后平操作,需要记录)
  10741. type: integer
  10742. openunfreezecharge:
  10743. description: 开仓解冻手续费(先建后平操作,需要记录)
  10744. type: number
  10745. operatetype:
  10746. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10747. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10748. 15:管理端协议转让
  10749. type: integer
  10750. operatorid:
  10751. description: 登录账号(LoginID)
  10752. type: integer
  10753. optiontype:
  10754. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10755. type: integer
  10756. orderid:
  10757. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10758. type: string
  10759. orderprice:
  10760. description: 委托价格
  10761. type: number
  10762. orderqty:
  10763. description: 委托数量
  10764. type: integer
  10765. ordersrc:
  10766. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10767. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10768. type: integer
  10769. orderstatus:
  10770. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10771. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10772. 16:成交失败违约(荷兰式竞拍专用)
  10773. type: integer
  10774. ordertime:
  10775. description: 委托时间
  10776. type: string
  10777. preexerciseprice:
  10778. description: 预申报价格
  10779. type: number
  10780. premium:
  10781. description: 权利金
  10782. type: number
  10783. preorderid:
  10784. description: 关联预埋单号(止盈止损单时填写)
  10785. type: string
  10786. pricemode:
  10787. description: '取价方式 - 1:市价 2: 限价'
  10788. type: integer
  10789. quoteid:
  10790. description: 报价单ID
  10791. type: integer
  10792. relatedid:
  10793. description: 关联单号(交割单)
  10794. type: string
  10795. retcode:
  10796. description: 错误代码
  10797. type: integer
  10798. sessionid:
  10799. description: 会话ID
  10800. type: integer
  10801. tradedate:
  10802. description: 交易日(yyyyMMdd)
  10803. type: string
  10804. trademode:
  10805. description: 交易模式
  10806. type: integer
  10807. tradeproperty:
  10808. description: 交易属性
  10809. type: integer
  10810. tradeqty:
  10811. description: 成交数量
  10812. type: integer
  10813. unfreezecharge:
  10814. description: 解冻手续费
  10815. type: number
  10816. unfreezemargin:
  10817. description: 解冻保证金
  10818. type: number
  10819. updatetime:
  10820. description: 更新时间
  10821. type: string
  10822. uuid:
  10823. description: 发起端唯一id
  10824. type: string
  10825. validtime:
  10826. description: 有效期限
  10827. type: string
  10828. validtype:
  10829. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10830. type: integer
  10831. volumetype:
  10832. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10833. type: integer
  10834. required:
  10835. - accountid
  10836. - buildtype
  10837. - buyorsell
  10838. - goodsid
  10839. - histradedate
  10840. - marketid
  10841. - memberuserid
  10842. - operatetype
  10843. - orderid
  10844. - orderqty
  10845. - ordertime
  10846. - pricemode
  10847. - tradedate
  10848. - validtype
  10849. type: object
  10850. order.QueryTradeDetailRsp:
  10851. properties:
  10852. accountid:
  10853. description: 账户ID[报价币种]
  10854. type: integer
  10855. buildtype:
  10856. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10857. type: integer
  10858. buyorsell:
  10859. description: 方向 - 0:买 1:卖
  10860. type: integer
  10861. charge:
  10862. description: 手续费
  10863. type: number
  10864. closecharge:
  10865. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10866. type: number
  10867. closeexchagechargevalue:
  10868. description: 平仓交易所手续费设置值
  10869. type: number
  10870. closefeealgorithm:
  10871. description: 平仓手续费收取方式 1:比率 2:固定
  10872. type: integer
  10873. closememberchargevalue:
  10874. description: 平仓会员手续费设置值
  10875. type: number
  10876. closepl:
  10877. description: 平仓盈亏
  10878. type: number
  10879. closepl2:
  10880. description: 平仓盈亏[逐笔]
  10881. type: number
  10882. closeqty:
  10883. description: 平仓数量(先建后平操作 需要记录)
  10884. type: integer
  10885. creditamount:
  10886. description: 授信金额
  10887. type: number
  10888. gcaccountid:
  10889. description: 账户ID[合约币种]
  10890. type: integer
  10891. goodscode:
  10892. description: 商品代码
  10893. type: string
  10894. goodsid:
  10895. description: 商品ID
  10896. type: integer
  10897. goodsname:
  10898. description: 商品名称
  10899. type: string
  10900. intclosepl:
  10901. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10902. type: integer
  10903. isconfirmexercise:
  10904. description: 是否确认行权- 0:否 1:是
  10905. type: integer
  10906. ismain:
  10907. description: 是否主单 - 0:不是 1:是
  10908. type: integer
  10909. ispreexercise:
  10910. description: 是否预申报- 0:否 1:是
  10911. type: integer
  10912. isreckoned:
  10913. description: 是否结算 - 0:未结算 1:已结算
  10914. type: integer
  10915. listingselecttype:
  10916. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10917. type: integer
  10918. marketid:
  10919. description: 市场ID
  10920. type: integer
  10921. marketname:
  10922. description: 市场名称
  10923. type: string
  10924. matchaccountid:
  10925. description: 对手账号id
  10926. type: integer
  10927. memberuserid:
  10928. description: 会员id 个人投资者 需要填写
  10929. type: integer
  10930. opencharge:
  10931. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10932. type: number
  10933. openexchagechargevalue:
  10934. description: 建仓交易所手续费设置值
  10935. type: number
  10936. openfeealgorithm:
  10937. description: 建仓手续费收取方式 1:比率 2:固定
  10938. type: integer
  10939. openmemberchargevalue:
  10940. description: 建仓会员手续费设置值
  10941. type: number
  10942. openqty:
  10943. description: 开仓数量(先建后平操作 需要记录)
  10944. type: integer
  10945. optiontype:
  10946. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10947. type: integer
  10948. orderid:
  10949. description: 委托单号
  10950. type: string
  10951. performanceplanid:
  10952. description: 履约计划ID[期权]
  10953. type: integer
  10954. performancestatus:
  10955. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10956. type: integer
  10957. preexerciseprice:
  10958. description: 预申报价格
  10959. type: number
  10960. premium:
  10961. description: 权利金 - [持仓单的权利金]
  10962. type: number
  10963. relatedouttradeid:
  10964. description: 关联外部成交单ID
  10965. type: integer
  10966. status:
  10967. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10968. type: integer
  10969. tradeamount:
  10970. description: 成交金额[账户币种,用于所有权]
  10971. type: number
  10972. tradedate:
  10973. description: 交易日(yyyyMMdd)
  10974. type: string
  10975. tradeid:
  10976. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10977. type: string
  10978. trademode:
  10979. description: 交易模式
  10980. type: integer
  10981. tradeprice:
  10982. description: 成交价格
  10983. type: number
  10984. tradeproperty:
  10985. description: 交易属性
  10986. type: integer
  10987. tradeqty:
  10988. description: 成交数量
  10989. type: integer
  10990. tradetime:
  10991. description: 成交时间
  10992. type: string
  10993. tradetype:
  10994. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10995. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10996. type: integer
  10997. required:
  10998. - accountid
  10999. - buyorsell
  11000. - goodsid
  11001. - marketid
  11002. - memberuserid
  11003. - orderid
  11004. - tradeamount
  11005. - tradedate
  11006. - tradeid
  11007. - tradeprice
  11008. - tradeqty
  11009. - tradetime
  11010. type: object
  11011. order.QueryTradeOrderDetailRsp:
  11012. properties:
  11013. accountid:
  11014. description: 账户ID[报价币种]
  11015. type: integer
  11016. buildtype:
  11017. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11018. type: integer
  11019. buyorsell:
  11020. description: 买卖 - 0:买 1:卖
  11021. type: integer
  11022. cancelorderid:
  11023. description: 撤单单号(撤单时填写)
  11024. type: string
  11025. cancelqty:
  11026. description: 撤单数量
  11027. type: integer
  11028. clienttype:
  11029. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11030. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11031. type: integer
  11032. closefreezecharge:
  11033. description: 平仓冻结手续费(先建后平操作,需要记录)
  11034. type: number
  11035. closeqty:
  11036. description: 平仓数量(先建后平操作 需要记录)
  11037. type: integer
  11038. closetradeqty:
  11039. description: 平仓成交数量(先建后平操作,需要记录)
  11040. type: integer
  11041. closeunfreezecharge:
  11042. description: 平仓解冻手续费(先建后平操作,需要记录)
  11043. type: number
  11044. delistingtype:
  11045. description: 摘牌类型 - 1:价格最优 2:点选成交
  11046. type: integer
  11047. enableqty:
  11048. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11049. type: integer
  11050. freezecharge:
  11051. description: 冻结手续费
  11052. type: number
  11053. freezemargin:
  11054. description: 冻结保证金(冻结交易金额)
  11055. type: number
  11056. goodscode:
  11057. description: 商品代码
  11058. type: string
  11059. goodsid:
  11060. description: 商品ID
  11061. type: integer
  11062. goodsname:
  11063. description: 商品名称
  11064. type: string
  11065. listingselecttype:
  11066. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11067. type: integer
  11068. marketid:
  11069. description: 市场ID
  11070. type: integer
  11071. marketname:
  11072. description: 市场名称
  11073. type: string
  11074. openfreezecharge:
  11075. description: 开仓冻结手续费(先建后平操作,需要记录)
  11076. type: number
  11077. openqty:
  11078. description: 开仓数量(先建后平操作,需要记录)
  11079. type: integer
  11080. opentradeqty:
  11081. description: 开仓成交数量(先建后平操作,需要记录)
  11082. type: integer
  11083. openunfreezecharge:
  11084. description: 开仓解冻手续费(先建后平操作,需要记录)
  11085. type: number
  11086. operatetype:
  11087. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11088. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11089. 15:管理端协议转让
  11090. type: integer
  11091. operatorid:
  11092. description: 登录账号(LoginID)
  11093. type: integer
  11094. orderid:
  11095. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11096. type: string
  11097. orderprice:
  11098. description: 委托价格
  11099. type: number
  11100. orderqty:
  11101. description: 委托数量
  11102. type: integer
  11103. ordersrc:
  11104. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11105. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11106. type: integer
  11107. orderstatus:
  11108. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11109. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11110. 16:成交失败违约(荷兰式竞拍专用)
  11111. type: integer
  11112. ordertime:
  11113. description: 委托时间
  11114. type: string
  11115. preorderid:
  11116. description: 关联预埋单号(止盈止损单时填写)
  11117. type: string
  11118. pricemode:
  11119. description: '取价方式 - 1:市价 2: 限价'
  11120. type: integer
  11121. relatedid:
  11122. description: 关联单号(交割单)
  11123. type: string
  11124. tradedate:
  11125. description: 交易日(yyyyMMdd)
  11126. type: string
  11127. trademode:
  11128. description: 交易模式
  11129. type: integer
  11130. tradeqty:
  11131. description: 成交数量
  11132. type: integer
  11133. unfreezecharge:
  11134. description: 解冻手续费
  11135. type: number
  11136. unfreezemargin:
  11137. description: 解冻保证金
  11138. type: number
  11139. validtime:
  11140. description: 有效期限
  11141. type: string
  11142. validtype:
  11143. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11144. type: integer
  11145. volumetype:
  11146. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11147. type: integer
  11148. required:
  11149. - accountid
  11150. - buildtype
  11151. - buyorsell
  11152. - goodsid
  11153. - marketid
  11154. - operatetype
  11155. - orderqty
  11156. - ordertime
  11157. - pricemode
  11158. - tradedate
  11159. - validtype
  11160. type: object
  11161. order.QueryTradePositionRsp:
  11162. properties:
  11163. accountid:
  11164. description: 资金账户
  11165. type: integer
  11166. agreeunit:
  11167. description: 合约单位
  11168. type: number
  11169. averageprice:
  11170. description: 持仓均价
  11171. type: number
  11172. buyorsell:
  11173. description: 方向 - 0:买 1:卖
  11174. type: integer
  11175. closetotalqty:
  11176. description: 平仓总数量
  11177. type: integer
  11178. curholderamount:
  11179. description: 当前持仓总金额[商品币种]
  11180. type: number
  11181. curpositionqty:
  11182. description: 当前持仓总数量
  11183. type: integer
  11184. currencyid:
  11185. description: 报价货币ID
  11186. type: integer
  11187. curtdposition:
  11188. description: 期末今日头寸
  11189. type: integer
  11190. decimalplace:
  11191. description: 报价小数位
  11192. type: integer
  11193. enableqty:
  11194. description: 可用量
  11195. type: integer
  11196. fretdposition:
  11197. description: 冻结今日头寸
  11198. type: integer
  11199. frozenqty:
  11200. description: 持仓冻结数量
  11201. type: integer
  11202. goodscode:
  11203. description: 商品代码
  11204. type: string
  11205. goodsid:
  11206. description: 商品Id
  11207. type: integer
  11208. goodsname:
  11209. description: 商品名称
  11210. type: string
  11211. goodunit:
  11212. description: 报价单位
  11213. type: string
  11214. goodunitid:
  11215. description: 报价单位ID
  11216. type: integer
  11217. holderamount:
  11218. description: 期初持仓总金额[商品币种]
  11219. type: number
  11220. marketid:
  11221. description: 所属市场ID
  11222. type: integer
  11223. openreqqty:
  11224. description: 开仓申请数量(用于比较最大持仓数量)
  11225. type: integer
  11226. opentotalqty:
  11227. description: 开仓总数量
  11228. type: integer
  11229. otherfrozenqty:
  11230. description: 持仓其他冻结数量(交割冻结)
  11231. type: integer
  11232. positionqty:
  11233. description: 期初持仓数量
  11234. type: integer
  11235. tnqty:
  11236. description: T+N冻结总量
  11237. type: integer
  11238. tnusedqty:
  11239. description: T+N使用量(可以使用T+N的冻结数量)
  11240. type: integer
  11241. trademode:
  11242. description: 交易模式
  11243. type: integer
  11244. usedmargin:
  11245. description: 占用保证金[商品币种]
  11246. type: number
  11247. required:
  11248. - goodsid
  11249. type: object
  11250. quote.HistoryData:
  11251. properties:
  11252. c:
  11253. description: 收盘价
  11254. type: number
  11255. f:
  11256. description: 是否补充数据
  11257. type: boolean
  11258. h:
  11259. description: 最高价
  11260. type: number
  11261. hv:
  11262. description: 持仓量
  11263. type: integer
  11264. l:
  11265. description: 最低价
  11266. type: number
  11267. o:
  11268. description: 开盘价
  11269. type: number
  11270. s:
  11271. description: 结算价,日线周期(包括)以上才有
  11272. type: number
  11273. ts:
  11274. description: 时间
  11275. type: string
  11276. tt:
  11277. description: 总金额
  11278. type: number
  11279. tv:
  11280. description: 总量
  11281. type: integer
  11282. type: object
  11283. quote.HistoryTikData:
  11284. properties:
  11285. AV:
  11286. description: 卖量
  11287. type: integer
  11288. Ask:
  11289. description: 卖价
  11290. type: number
  11291. BV:
  11292. description: 买量
  11293. type: integer
  11294. Bid:
  11295. description: 买价
  11296. type: number
  11297. HI:
  11298. description: 单笔持仓
  11299. type: integer
  11300. HV:
  11301. description: 持仓量
  11302. type: integer
  11303. PE:
  11304. description: 现价
  11305. type: number
  11306. TDR:
  11307. description: 交易方向,0:买 1:卖
  11308. type: integer
  11309. TK:
  11310. description: 交易类型
  11311. type: integer
  11312. TS:
  11313. description: 行情时间文本
  11314. type: string
  11315. TT:
  11316. description: 现金额
  11317. type: number
  11318. Vol:
  11319. description: 现量
  11320. type: integer
  11321. type: object
  11322. quote.QueryQuoteDayRsp:
  11323. properties:
  11324. ask:
  11325. description: 卖1
  11326. type: number
  11327. ask2:
  11328. description: 卖2
  11329. type: number
  11330. ask3:
  11331. description: 卖3
  11332. type: number
  11333. ask4:
  11334. description: 卖4
  11335. type: number
  11336. ask5:
  11337. description: 卖5
  11338. type: number
  11339. ask6:
  11340. description: 卖6
  11341. type: number
  11342. ask7:
  11343. description: 卖7
  11344. type: number
  11345. ask8:
  11346. description: 卖8
  11347. type: number
  11348. ask9:
  11349. description: 卖9
  11350. type: number
  11351. ask10:
  11352. description: 卖10
  11353. type: number
  11354. askorderid:
  11355. description: 卖单号1
  11356. type: integer
  11357. askorderid2:
  11358. description: 卖单号2
  11359. type: integer
  11360. askorderid3:
  11361. description: 卖单号3
  11362. type: integer
  11363. askorderid4:
  11364. description: 卖单号4
  11365. type: integer
  11366. askorderid5:
  11367. description: 卖单号5
  11368. type: integer
  11369. askordervolume:
  11370. description: 卖单量1
  11371. type: integer
  11372. askordervolume2:
  11373. description: 卖单量2
  11374. type: integer
  11375. askordervolume3:
  11376. description: 卖单量3
  11377. type: integer
  11378. askordervolume4:
  11379. description: 卖单量4
  11380. type: integer
  11381. askordervolume5:
  11382. description: 卖单量5
  11383. type: integer
  11384. askordervolume6:
  11385. description: 卖单量6
  11386. type: integer
  11387. askordervolume7:
  11388. description: 卖单量7
  11389. type: integer
  11390. askordervolume8:
  11391. description: 卖单量8
  11392. type: integer
  11393. askordervolume9:
  11394. description: 卖单量9
  11395. type: integer
  11396. askordervolume10:
  11397. description: 卖单量10
  11398. type: integer
  11399. askqueueinfo:
  11400. description: 大利市卖港股用
  11401. type: string
  11402. askvolume:
  11403. description: 卖量1
  11404. type: integer
  11405. askvolume2:
  11406. description: 卖量2
  11407. type: integer
  11408. askvolume3:
  11409. description: 卖量3
  11410. type: integer
  11411. askvolume4:
  11412. description: 卖量4
  11413. type: integer
  11414. askvolume5:
  11415. description: 卖量5
  11416. type: integer
  11417. askvolume6:
  11418. description: 卖量6
  11419. type: integer
  11420. askvolume7:
  11421. description: 卖量7
  11422. type: integer
  11423. askvolume8:
  11424. description: 卖量8
  11425. type: integer
  11426. askvolume9:
  11427. description: 卖量9
  11428. type: integer
  11429. askvolume10:
  11430. description: 卖量10
  11431. type: integer
  11432. averageprice:
  11433. description: 均价
  11434. type: number
  11435. bid:
  11436. description: 买1
  11437. type: number
  11438. bid2:
  11439. description: 买2
  11440. type: number
  11441. bid3:
  11442. description: 买3
  11443. type: number
  11444. bid4:
  11445. description: 买4
  11446. type: number
  11447. bid5:
  11448. description: 买5
  11449. type: number
  11450. bid6:
  11451. description: 买6
  11452. type: number
  11453. bid7:
  11454. description: 买7
  11455. type: number
  11456. bid8:
  11457. description: 买8
  11458. type: number
  11459. bid9:
  11460. description: 买9
  11461. type: number
  11462. bid10:
  11463. description: 买10
  11464. type: number
  11465. bidorderid:
  11466. description: 买单号1
  11467. type: integer
  11468. bidorderid2:
  11469. description: 买单号2
  11470. type: integer
  11471. bidorderid3:
  11472. description: 买单号3
  11473. type: integer
  11474. bidorderid4:
  11475. description: 买单号4
  11476. type: integer
  11477. bidorderid5:
  11478. description: 买单号5
  11479. type: integer
  11480. bidordervolume:
  11481. description: 买单量1
  11482. type: integer
  11483. bidordervolume2:
  11484. description: 买单量2
  11485. type: integer
  11486. bidordervolume3:
  11487. description: 买单量3
  11488. type: integer
  11489. bidordervolume4:
  11490. description: 买单量4
  11491. type: integer
  11492. bidordervolume5:
  11493. description: 买单量5
  11494. type: integer
  11495. bidordervolume6:
  11496. description: 买单量6
  11497. type: integer
  11498. bidordervolume7:
  11499. description: 买单量7
  11500. type: integer
  11501. bidordervolume8:
  11502. description: 买单量8
  11503. type: integer
  11504. bidordervolume9:
  11505. description: 买单量9
  11506. type: integer
  11507. bidordervolume10:
  11508. description: 买单量10
  11509. type: integer
  11510. bidqueueinfo:
  11511. description: 大利市买港股用
  11512. type: string
  11513. bidvolume:
  11514. description: 买量1
  11515. type: integer
  11516. bidvolume2:
  11517. description: 买量2
  11518. type: integer
  11519. bidvolume3:
  11520. description: 买量3
  11521. type: integer
  11522. bidvolume4:
  11523. description: 买量4
  11524. type: integer
  11525. bidvolume5:
  11526. description: 买量5
  11527. type: integer
  11528. bidvolume6:
  11529. description: 买量6
  11530. type: integer
  11531. bidvolume7:
  11532. description: 买量7
  11533. type: integer
  11534. bidvolume8:
  11535. description: 买量8
  11536. type: integer
  11537. bidvolume9:
  11538. description: 买量9
  11539. type: integer
  11540. bidvolume10:
  11541. description: 买量10
  11542. type: integer
  11543. calloptionpremiums:
  11544. description: 认购期权1
  11545. type: integer
  11546. calloptionpremiums2:
  11547. description: 认购期权2
  11548. type: integer
  11549. calloptionpremiums3:
  11550. description: 认购期权3
  11551. type: integer
  11552. calloptionpremiums4:
  11553. description: 认购期权4
  11554. type: integer
  11555. calloptionpremiums5:
  11556. description: 认购期权5
  11557. type: integer
  11558. cleartime:
  11559. description: 清盘时间
  11560. type: integer
  11561. exchangecode:
  11562. description: 交易所代码
  11563. type: integer
  11564. exchangedate:
  11565. description: 交易日
  11566. type: integer
  11567. goodscode:
  11568. description: 商品代码
  11569. type: string
  11570. grepmarketprice:
  11571. description: 暗盘价 港股专用
  11572. type: number
  11573. highest:
  11574. description: 最高价
  11575. type: number
  11576. holdincrement:
  11577. description: 单笔持仓
  11578. type: integer
  11579. holdvolume:
  11580. description: 持仓
  11581. type: integer
  11582. iep:
  11583. description: 平衡价 港股专用
  11584. type: number
  11585. iev:
  11586. description: 平衡量 港股专用
  11587. type: number
  11588. inventory:
  11589. description: 库存
  11590. type: integer
  11591. iscleared:
  11592. description: 是否清盘标志
  11593. type: integer
  11594. issettled:
  11595. description: 是否结算标志
  11596. type: integer
  11597. last:
  11598. description: 最新价
  11599. type: number
  11600. lastlot:
  11601. description: 最新成交手数
  11602. type: integer
  11603. lasttime:
  11604. description: 行情时间(只有现价变化行情时间才变化)
  11605. type: string
  11606. lastturnover:
  11607. description: 最新成交金额
  11608. type: number
  11609. lastvolume:
  11610. description: 最新成交量
  11611. type: integer
  11612. limitdown:
  11613. description: 跌停价
  11614. type: number
  11615. limitup:
  11616. description: 涨停价
  11617. type: number
  11618. lowest:
  11619. description: 最低价
  11620. type: number
  11621. nontotalholdervolume:
  11622. description: 非交易持仓量
  11623. type: integer
  11624. nontotallot:
  11625. description: 非交易总手数
  11626. type: integer
  11627. nontotalturnover:
  11628. description: 非交易总金额
  11629. type: integer
  11630. nontotalvolume:
  11631. description: 非交易总量
  11632. type: integer
  11633. opened:
  11634. description: 开盘价
  11635. type: number
  11636. opentime:
  11637. description: 开盘时间
  11638. type: string
  11639. orderid:
  11640. description: 序号
  11641. type: integer
  11642. preclose:
  11643. description: 昨收
  11644. type: number
  11645. preholdvolume:
  11646. description: 昨持仓
  11647. type: integer
  11648. presettle:
  11649. description: 昨结价
  11650. type: number
  11651. publictradetype:
  11652. description: 公共交易标志类型 港股专用
  11653. type: string
  11654. putoptionpremiums:
  11655. description: 认沽期权1
  11656. type: integer
  11657. putoptionpremiums2:
  11658. description: 认沽期权2
  11659. type: integer
  11660. putoptionpremiums3:
  11661. description: 认沽期权3
  11662. type: integer
  11663. putoptionpremiums4:
  11664. description: 认沽期权4
  11665. type: integer
  11666. putoptionpremiums5:
  11667. description: 认沽期权5
  11668. type: integer
  11669. settle:
  11670. description: 结算价
  11671. type: number
  11672. strikeprice:
  11673. description: 发行价
  11674. type: number
  11675. totalaskvolume:
  11676. description: 内盘
  11677. type: integer
  11678. totalbidvolume:
  11679. description: 外盘
  11680. type: integer
  11681. totallot:
  11682. description: 总手数
  11683. type: integer
  11684. totalturnover:
  11685. description: 总金额
  11686. type: number
  11687. totalvolume:
  11688. description: 总量
  11689. type: integer
  11690. utclasttime:
  11691. description: utc的行情时间
  11692. type: string
  11693. type: object
  11694. quote.QueryTSDataRsp:
  11695. properties:
  11696. Count:
  11697. description: 交易日应有数据个数
  11698. type: integer
  11699. decimalPlace:
  11700. description: 小数位
  11701. type: integer
  11702. endTime:
  11703. description: 结束时间
  11704. type: string
  11705. goodsCode:
  11706. description: 商品代码
  11707. type: string
  11708. historyDatas:
  11709. description: 历史数据
  11710. items:
  11711. $ref: '#/definitions/quote.HistoryData'
  11712. type: array
  11713. outGoodsCode:
  11714. description: 外部商品代码
  11715. type: string
  11716. preSettle:
  11717. description: 昨结价
  11718. type: number
  11719. runSteps:
  11720. description: 交易日开休市计划
  11721. items:
  11722. $ref: '#/definitions/quote.TSDataRunStep'
  11723. type: array
  11724. startTime:
  11725. description: 开始时间
  11726. type: string
  11727. tradeDate:
  11728. description: 交易日
  11729. type: string
  11730. type: object
  11731. quote.TSDataRunStep:
  11732. properties:
  11733. end:
  11734. description: 真实结束时间
  11735. type: string
  11736. endflag:
  11737. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11738. type: integer
  11739. endtime:
  11740. description: 结束时间(HH:mm)
  11741. type: string
  11742. endweekday:
  11743. description: 结束周几
  11744. type: integer
  11745. groupid:
  11746. description: 分组ID
  11747. type: integer
  11748. runstep:
  11749. description: 运行阶段 - 2:连续交易
  11750. type: integer
  11751. sectionid:
  11752. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11753. 结束时间=结算时间 结束周几=结算周几
  11754. type: integer
  11755. start:
  11756. description: 真实开始时间
  11757. type: string
  11758. startflag:
  11759. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11760. type: integer
  11761. starttime:
  11762. description: 起始时间(HH:mm)
  11763. type: string
  11764. startweekday:
  11765. description: 起始周几
  11766. type: integer
  11767. tradeweekday:
  11768. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11769. type: integer
  11770. type: object
  11771. szdz.QueryConvertLogRsp:
  11772. properties:
  11773. accountid:
  11774. description: 资金账户ID
  11775. type: integer
  11776. clientticket:
  11777. description: 客户端流水号
  11778. type: string
  11779. converttype:
  11780. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11781. type: integer
  11782. createtime:
  11783. description: 记账时间
  11784. type: string
  11785. daymaxvalue:
  11786. description: 配置当日最大转入限制
  11787. type: number
  11788. daymaxvalue2:
  11789. description: 配置当日最大转入限制(转入)
  11790. type: number
  11791. goodscode:
  11792. description: 商品代码
  11793. type: string
  11794. goodsname:
  11795. description: 商品名称
  11796. type: string
  11797. handlestatus:
  11798. description: 处理状态
  11799. type: integer
  11800. innergoodsid:
  11801. description: 内部商品ID
  11802. type: integer
  11803. inratio:
  11804. description: 配置转入比值
  11805. type: integer
  11806. invalue:
  11807. description: 目标值
  11808. type: number
  11809. logid:
  11810. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11811. type: integer
  11812. mobile:
  11813. description: 手机号码(加密存储)
  11814. type: string
  11815. outergoodscode:
  11816. description: 外部商品代码[JD\PD]
  11817. type: string
  11818. outratio:
  11819. description: 配置转出比值
  11820. type: integer
  11821. outvalue:
  11822. description: 源值
  11823. type: number
  11824. pddecimalplace:
  11825. description: PD小数位
  11826. type: integer
  11827. qty:
  11828. description: 数量
  11829. type: string
  11830. remark:
  11831. description: 备注
  11832. type: string
  11833. sessionid:
  11834. description: 会话ID
  11835. type: integer
  11836. timemaxvalue:
  11837. description: 配置单次最大转入限制
  11838. type: number
  11839. timemaxvalue2:
  11840. description: 配置单次最大转入限制(转入)
  11841. type: number
  11842. timeminvalue:
  11843. description: 配置单次最小数量限制
  11844. type: number
  11845. timeminvalue2:
  11846. description: 配置单次最小数量限制(转入)
  11847. type: number
  11848. tradedate:
  11849. description: 交易日(yyyyMMdd)
  11850. type: string
  11851. userid:
  11852. description: 用户ID
  11853. type: integer
  11854. required:
  11855. - logid
  11856. type: object
  11857. szdz.QueryGoodsPickupRsp:
  11858. properties:
  11859. accountid:
  11860. description: 账户ID
  11861. type: integer
  11862. address:
  11863. description: 提货人详细地址
  11864. type: string
  11865. auditer:
  11866. description: 审核人
  11867. type: integer
  11868. audittime:
  11869. description: 审核时间
  11870. type: string
  11871. cardnum:
  11872. description: 提货人证件号码
  11873. type: string
  11874. cardtypeid:
  11875. description: 提货人证件类型
  11876. type: integer
  11877. checkremark:
  11878. description: 审核备注
  11879. type: string
  11880. goodscode:
  11881. description: 商品代码
  11882. type: string
  11883. goodsid:
  11884. description: 商品ID
  11885. type: integer
  11886. goodsname:
  11887. description: 商品名称
  11888. type: string
  11889. handlestatus:
  11890. description: 处理状态
  11891. type: integer
  11892. marketid:
  11893. description: 市场ID
  11894. type: integer
  11895. phonenum:
  11896. description: 提货人联系方式
  11897. type: string
  11898. qty:
  11899. description: 提货数量
  11900. type: number
  11901. recivername:
  11902. description: 提货人姓名
  11903. type: string
  11904. reqtime:
  11905. description: 更新时间
  11906. type: string
  11907. takemode:
  11908. description: 提货方式 - 2:自提 3:配送
  11909. type: integer
  11910. takeorderid:
  11911. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11912. type: string
  11913. takeorderstatus:
  11914. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11915. type: integer
  11916. takeremark:
  11917. description: 提货备注
  11918. type: string
  11919. tradedate:
  11920. description: 交易日(yyyyMMdd)
  11921. type: string
  11922. userid:
  11923. description: 用户ID
  11924. type: integer
  11925. required:
  11926. - takeorderid
  11927. type: object
  11928. szdz.QueryRecieptOrderRsp:
  11929. properties:
  11930. accountName:
  11931. description: 所属账号名称(已脱敏)
  11932. type: string
  11933. accountid:
  11934. description: 资金账号
  11935. type: integer
  11936. buyorsell:
  11937. description: 方向 - 0:买 1:卖
  11938. type: integer
  11939. enableqty:
  11940. description: 可摘数量
  11941. type: integer
  11942. goodscode:
  11943. description: 商品代码
  11944. type: string
  11945. goodsid:
  11946. description: 商品ID
  11947. type: integer
  11948. goodsname:
  11949. description: 商品名称
  11950. type: string
  11951. orderid:
  11952. description: 委托单号
  11953. type: string
  11954. orderprice:
  11955. description: 委托价格
  11956. type: number
  11957. ordertime:
  11958. description: 委托时间
  11959. type: string
  11960. tradedate:
  11961. description: 交易日(yyyyMMdd)
  11962. type: string
  11963. required:
  11964. - ordertime
  11965. type: object
  11966. szdz.QuerySZDZTradePositionRsp:
  11967. properties:
  11968. accountid:
  11969. description: 账号Id
  11970. type: integer
  11971. agreeunit:
  11972. description: 合约单位
  11973. type: number
  11974. averageprice:
  11975. description: 持仓均价
  11976. type: number
  11977. buyorsell:
  11978. description: 方向 - 0:买 1:卖
  11979. type: integer
  11980. closetotalqty:
  11981. description: 平仓总数量
  11982. type: integer
  11983. curholderamount:
  11984. description: 当前持仓总金额
  11985. type: number
  11986. curpositionqty:
  11987. description: 当前持仓总数量
  11988. type: integer
  11989. currencyid:
  11990. description: 报价货币ID
  11991. type: integer
  11992. curtdposition:
  11993. description: 期末今日头寸
  11994. type: integer
  11995. decimalplace:
  11996. description: 报价小数位
  11997. type: integer
  11998. enableqty:
  11999. description: 可用量
  12000. type: integer
  12001. fretdposition:
  12002. description: 冻结今日头寸
  12003. type: integer
  12004. frozenqty:
  12005. description: 持仓冻结数量
  12006. type: integer
  12007. goodscode:
  12008. description: 商品代码(内部)
  12009. type: string
  12010. goodsid:
  12011. description: 商品Id
  12012. type: integer
  12013. goodsname:
  12014. description: 商品名称
  12015. type: string
  12016. goodunit:
  12017. description: 报价单位
  12018. type: string
  12019. goodunitid:
  12020. description: 报价单位ID
  12021. type: integer
  12022. holderamount:
  12023. description: 期初持仓总金额
  12024. type: number
  12025. marketid:
  12026. description: 市场ID
  12027. type: integer
  12028. openreqqty:
  12029. description: 开仓申请数量
  12030. type: integer
  12031. opentotalqty:
  12032. description: 开仓总数量
  12033. type: integer
  12034. otherfrozenqty:
  12035. description: 持仓其他冻结数量(交割冻结)
  12036. type: integer
  12037. positionqty:
  12038. description: 期初持仓数量
  12039. type: integer
  12040. szdz3freezqty:
  12041. description: 尚志大宗转换冻结总数量
  12042. type: integer
  12043. tnqty:
  12044. description: T+N冻结总量
  12045. type: integer
  12046. tnusedqty:
  12047. description: T+N使用量
  12048. type: integer
  12049. trademode:
  12050. description: 交易模式
  12051. type: integer
  12052. usedmargin:
  12053. description: 占用保证金
  12054. type: number
  12055. type: object
  12056. taaccount.QueryAmountLogRsp:
  12057. properties:
  12058. OPERATETYPENAME:
  12059. description: 资金操作类型名称
  12060. type: string
  12061. accountid:
  12062. description: 资金账户ID
  12063. type: integer
  12064. agoodscode:
  12065. description: 竞拍商品代码
  12066. type: string
  12067. agoodsname:
  12068. description: 竞拍商品名称
  12069. type: string
  12070. amount:
  12071. description: 资金金额
  12072. type: number
  12073. amountadjusttype:
  12074. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12075. type: integer
  12076. autoid:
  12077. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12078. type: integer
  12079. balance:
  12080. description: 期初余额
  12081. type: number
  12082. businesscode:
  12083. description: 业务编号
  12084. type: integer
  12085. createtime:
  12086. description: 发生时间
  12087. type: string
  12088. currencyid:
  12089. description: 币种ID
  12090. type: integer
  12091. currentbalance:
  12092. description: 期末余额(变动后金额)
  12093. type: number
  12094. dgoodscode:
  12095. description: 交割商品代码
  12096. type: string
  12097. dgoodsname:
  12098. description: 交割商品名称
  12099. type: string
  12100. goodscode:
  12101. description: 商品代码
  12102. type: string
  12103. goodsid:
  12104. description: 商品ID
  12105. type: integer
  12106. goodsname:
  12107. description: 商品名称
  12108. type: string
  12109. marketid:
  12110. description: 市场ID
  12111. type: integer
  12112. marketname:
  12113. description: 市场名称
  12114. type: string
  12115. moneyticket:
  12116. description: 资金流水号:银行端流水号
  12117. type: integer
  12118. operatetype:
  12119. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12120. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12121. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12122. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12123. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12124. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12125. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12126. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12127. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12128. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12129. type: integer
  12130. relationorderid:
  12131. description: 关联单号
  12132. type: string
  12133. remark:
  12134. description: 备注
  12135. type: string
  12136. trademode:
  12137. description: 交易模式
  12138. type: integer
  12139. required:
  12140. - accountid
  12141. - amount
  12142. - amountadjusttype
  12143. - autoid
  12144. - balance
  12145. - createtime
  12146. - currentbalance
  12147. - operatetype
  12148. type: object
  12149. taaccount.QueryHisAmountLogRsp:
  12150. properties:
  12151. OPERATETYPENAME:
  12152. description: 资金操作类型名称
  12153. type: string
  12154. accountid:
  12155. description: 资金账户ID
  12156. type: integer
  12157. agoodscode:
  12158. description: 竞拍商品代码
  12159. type: string
  12160. agoodsname:
  12161. description: 竞拍商品名称
  12162. type: string
  12163. amount:
  12164. description: 资金金额
  12165. type: number
  12166. amountadjusttype:
  12167. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12168. type: integer
  12169. autoid:
  12170. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12171. type: integer
  12172. balance:
  12173. description: 期初余额
  12174. type: number
  12175. businesscode:
  12176. description: 业务编号
  12177. type: integer
  12178. createtime:
  12179. description: 发生时间
  12180. type: string
  12181. currencyid:
  12182. description: 币种ID
  12183. type: integer
  12184. currentbalance:
  12185. description: 期末余额(变动后金额)
  12186. type: number
  12187. dgoodscode:
  12188. description: 交割商品代码
  12189. type: string
  12190. dgoodsname:
  12191. description: 交割商品名称
  12192. type: string
  12193. goodscode:
  12194. description: 商品代码
  12195. type: string
  12196. goodsid:
  12197. description: 商品ID
  12198. type: integer
  12199. goodsname:
  12200. description: 商品名称
  12201. type: string
  12202. histradedate:
  12203. description: 历史交易日
  12204. type: string
  12205. isvaliddata:
  12206. description: 是否有效 - 0:无效 1:有效
  12207. type: integer
  12208. marketid:
  12209. description: 市场ID
  12210. type: integer
  12211. marketname:
  12212. description: 市场名称
  12213. type: string
  12214. moneyticket:
  12215. description: 资金流水号:银行端流水号
  12216. type: integer
  12217. operatetype:
  12218. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12219. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12220. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12221. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12222. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12223. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12224. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12225. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12226. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12227. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12228. type: integer
  12229. relationorderid:
  12230. description: 关联单号
  12231. type: string
  12232. remark:
  12233. description: 备注
  12234. type: string
  12235. trademode:
  12236. description: 交易模式
  12237. type: integer
  12238. required:
  12239. - accountid
  12240. - amount
  12241. - amountadjusttype
  12242. - autoid
  12243. - balance
  12244. - createtime
  12245. - currentbalance
  12246. - histradedate
  12247. - operatetype
  12248. type: object
  12249. trade.QueryRecieptOrderRsp:
  12250. properties:
  12251. accountName:
  12252. description: 所属账号名称(已脱敏)
  12253. type: string
  12254. accountid:
  12255. description: 资金账号
  12256. type: integer
  12257. buyorsell:
  12258. description: 方向 - 0:买 1:卖
  12259. type: integer
  12260. enableqty:
  12261. description: 可摘数量
  12262. type: integer
  12263. goodscode:
  12264. description: 商品代码
  12265. type: string
  12266. goodsid:
  12267. description: 商品ID
  12268. type: integer
  12269. goodsname:
  12270. description: 商品名称
  12271. type: string
  12272. orderid:
  12273. description: 委托单号
  12274. type: string
  12275. orderprice:
  12276. description: 委托价格
  12277. type: number
  12278. ordertime:
  12279. description: 委托时间
  12280. type: string
  12281. tradedate:
  12282. description: 交易日(yyyyMMdd)
  12283. type: string
  12284. required:
  12285. - ordertime
  12286. type: object
  12287. user.LoginQueryRsp:
  12288. properties:
  12289. areaRoles:
  12290. description: 所属角色信息
  12291. items:
  12292. $ref: '#/definitions/models.Arearole'
  12293. type: array
  12294. externalExchanges:
  12295. description: 外部交易所
  12296. items:
  12297. $ref: '#/definitions/models.Externalexchange'
  12298. type: array
  12299. goodsgroups:
  12300. description: 商品组
  12301. items:
  12302. $ref: '#/definitions/models.Goodsgroup'
  12303. type: array
  12304. loginAccount:
  12305. $ref: '#/definitions/models.Loginaccount'
  12306. description: 登录账号
  12307. type: object
  12308. markets:
  12309. description: 市场
  12310. items:
  12311. $ref: '#/definitions/models.Market'
  12312. type: array
  12313. systemParams:
  12314. description: 系统参数
  12315. items:
  12316. $ref: '#/definitions/models.Systemparam'
  12317. type: array
  12318. userAccount:
  12319. $ref: '#/definitions/models.Useraccount'
  12320. description: 用户账号
  12321. type: object
  12322. userInfo:
  12323. $ref: '#/definitions/models.Userinfo'
  12324. description: 用户信息
  12325. type: object
  12326. username:
  12327. description: 用户姓名
  12328. type: string
  12329. type: object
  12330. info:
  12331. contact: {}
  12332. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12333. license: {}
  12334. termsOfService: http://www.muchinfo.cn
  12335. title: MTP2.0 查询服务 API
  12336. version: "1.0"
  12337. paths:
  12338. /CPTrade/QueryCPTradeMyBidInfos:
  12339. get:
  12340. parameters:
  12341. - description: 资金账户
  12342. in: query
  12343. name: accountid
  12344. required: true
  12345. type: integer
  12346. - description: 预售市场ID
  12347. in: query
  12348. name: marketid
  12349. type: integer
  12350. - description: 预售商品ID
  12351. in: query
  12352. name: goodsid
  12353. type: integer
  12354. produces:
  12355. - application/json
  12356. responses:
  12357. "200":
  12358. description: OK
  12359. schema:
  12360. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12361. "500":
  12362. description: Internal Server Error
  12363. schema:
  12364. $ref: '#/definitions/app.Response'
  12365. security:
  12366. - ApiKeyAuth: []
  12367. summary: 查询产能预售我的出价信息
  12368. tags:
  12369. - 产能预售
  12370. /CPTrade/QueryCPTradeOrderDetail:
  12371. get:
  12372. parameters:
  12373. - description: 预售商品ID
  12374. in: query
  12375. name: goodsid
  12376. type: integer
  12377. - description: 预售市场ID
  12378. in: query
  12379. name: marketid
  12380. type: integer
  12381. - description: 预售商品ID列表 - 格式:1,2,3
  12382. in: query
  12383. name: goodsids
  12384. type: string
  12385. produces:
  12386. - application/json
  12387. responses:
  12388. "200":
  12389. description: OK
  12390. schema:
  12391. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12392. "500":
  12393. description: Internal Server Error
  12394. schema:
  12395. $ref: '#/definitions/app.Response'
  12396. security:
  12397. - ApiKeyAuth: []
  12398. summary: 查询产能预售委托单信息
  12399. tags:
  12400. - 产能预售
  12401. /CPTrade/QueryMyCPTradeGoods:
  12402. get:
  12403. parameters:
  12404. - description: 资金账户
  12405. in: query
  12406. name: accountid
  12407. required: true
  12408. type: integer
  12409. produces:
  12410. - application/json
  12411. responses:
  12412. "200":
  12413. description: OK
  12414. schema:
  12415. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12416. "500":
  12417. description: Internal Server Error
  12418. schema:
  12419. $ref: '#/definitions/app.Response'
  12420. security:
  12421. - ApiKeyAuth: []
  12422. summary: 查询我的预售信息
  12423. tags:
  12424. - 产能预售
  12425. /CPTrade/QueryPositionCancel:
  12426. get:
  12427. parameters:
  12428. - description: 账户ID
  12429. in: query
  12430. name: userid
  12431. required: true
  12432. type: integer
  12433. - description: 注销ID
  12434. in: query
  12435. name: cancelid
  12436. type: integer
  12437. - description: 资金账户ID
  12438. in: query
  12439. name: accountid
  12440. type: integer
  12441. produces:
  12442. - application/json
  12443. responses:
  12444. "200":
  12445. description: OK
  12446. schema:
  12447. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12448. "500":
  12449. description: Internal Server Error
  12450. schema:
  12451. $ref: '#/definitions/app.Response'
  12452. security:
  12453. - ApiKeyAuth: []
  12454. summary: 查询远期订单注销申请信息
  12455. tags:
  12456. - 产能预售
  12457. /CPTrade/QueryPreasleApply:
  12458. get:
  12459. parameters:
  12460. - description: 账户ID
  12461. in: query
  12462. name: userid
  12463. required: true
  12464. type: integer
  12465. - description: 申请ID
  12466. in: query
  12467. name: applyid
  12468. type: integer
  12469. - description: 资金账户ID
  12470. in: query
  12471. name: accountid
  12472. type: integer
  12473. produces:
  12474. - application/json
  12475. responses:
  12476. "200":
  12477. description: OK
  12478. schema:
  12479. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12480. "500":
  12481. description: Internal Server Error
  12482. schema:
  12483. $ref: '#/definitions/app.Response'
  12484. security:
  12485. - ApiKeyAuth: []
  12486. summary: 查询产能预售申请信息
  12487. tags:
  12488. - 产能预售
  12489. /CPTrade/QueryPresaleGoodsEx:
  12490. get:
  12491. parameters:
  12492. - description: 预售商品ID
  12493. in: query
  12494. name: goodsid
  12495. type: integer
  12496. - description: 预售市场ID
  12497. in: query
  12498. name: marketid
  12499. type: integer
  12500. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12501. in: query
  12502. name: presalemode
  12503. type: integer
  12504. - description: 预售商品ID列表 - 格式:1,2,3
  12505. in: query
  12506. name: goodsids
  12507. type: string
  12508. - description: 预售商品代码
  12509. in: query
  12510. name: goodscode
  12511. type: string
  12512. produces:
  12513. - application/json
  12514. responses:
  12515. "200":
  12516. description: OK
  12517. schema:
  12518. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12519. "500":
  12520. description: Internal Server Error
  12521. schema:
  12522. $ref: '#/definitions/app.Response'
  12523. security:
  12524. - ApiKeyAuth: []
  12525. summary: 查询产能预售商品扩展信息
  12526. tags:
  12527. - 产能预售
  12528. /CPTrade/QueryUserGoodsData:
  12529. get:
  12530. parameters:
  12531. - description: 资金账户ID
  12532. in: query
  12533. name: accountid
  12534. required: true
  12535. type: integer
  12536. produces:
  12537. - application/json
  12538. responses:
  12539. "200":
  12540. description: OK
  12541. schema:
  12542. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12543. "500":
  12544. description: Internal Server Error
  12545. schema:
  12546. $ref: '#/definitions/app.Response'
  12547. security:
  12548. - ApiKeyAuth: []
  12549. summary: 查询远期订单信息
  12550. tags:
  12551. - 产能预售
  12552. /Common/GetAllEnums:
  12553. get:
  12554. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12555. parameters:
  12556. - description: 起始自增ID
  12557. in: query
  12558. name: autoid
  12559. type: integer
  12560. produces:
  12561. - application/json
  12562. responses:
  12563. "200":
  12564. description: OK
  12565. schema:
  12566. $ref: '#/definitions/models.Enumdicitem'
  12567. "500":
  12568. description: Internal Server Error
  12569. schema:
  12570. $ref: '#/definitions/app.Response'
  12571. summary: 获取所有枚举信息
  12572. tags:
  12573. - 通用服务
  12574. /Common/GetClientMenus:
  12575. get:
  12576. parameters:
  12577. - description: 登录账号
  12578. in: query
  12579. name: loginID
  12580. required: true
  12581. type: integer
  12582. - description: 终端类型,0:PC 1:Mobile
  12583. in: query
  12584. name: clientType
  12585. type: integer
  12586. produces:
  12587. - application/json
  12588. responses:
  12589. "200":
  12590. description: OK
  12591. schema:
  12592. items:
  12593. $ref: '#/definitions/common.ClientMenu'
  12594. type: array
  12595. "500":
  12596. description: Internal Server Error
  12597. schema:
  12598. $ref: '#/definitions/app.Response'
  12599. security:
  12600. - ApiKeyAuth: []
  12601. summary: 获取交易端菜单
  12602. tags:
  12603. - 通用服务
  12604. /Common/GetDivisions:
  12605. get:
  12606. produces:
  12607. - application/json
  12608. responses:
  12609. "200":
  12610. description: OK
  12611. schema:
  12612. $ref: '#/definitions/models.Division'
  12613. "500":
  12614. description: Internal Server Error
  12615. schema:
  12616. $ref: '#/definitions/app.Response'
  12617. summary: 查询区域信息
  12618. tags:
  12619. - 通用服务
  12620. /Common/GetServerTime:
  12621. get:
  12622. produces:
  12623. - application/json
  12624. responses:
  12625. "200":
  12626. description: OK
  12627. schema:
  12628. $ref: '#/definitions/app.Response'
  12629. "500":
  12630. description: Internal Server Error
  12631. schema:
  12632. $ref: '#/definitions/app.Response'
  12633. summary: 获取服务器时间
  12634. tags:
  12635. - 通用服务
  12636. /Common/NoticeReaded:
  12637. post:
  12638. parameters:
  12639. - description: 登录账号
  12640. in: query
  12641. name: loginID
  12642. required: true
  12643. type: integer
  12644. - description: 通知公告ID
  12645. in: query
  12646. name: noticeID
  12647. required: true
  12648. type: integer
  12649. produces:
  12650. - application/json
  12651. responses:
  12652. "200":
  12653. description: OK
  12654. schema:
  12655. $ref: '#/definitions/app.Response'
  12656. "500":
  12657. description: Internal Server Error
  12658. schema:
  12659. $ref: '#/definitions/app.Response'
  12660. security:
  12661. - ApiKeyAuth: []
  12662. summary: 通知公告设置已读请求
  12663. tags:
  12664. - 通用服务
  12665. /Common/QueryErrorInfos:
  12666. get:
  12667. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12668. parameters:
  12669. - description: 起始行号前索引
  12670. in: query
  12671. name: rowNumber
  12672. type: string
  12673. produces:
  12674. - application/json
  12675. responses:
  12676. "200":
  12677. description: OK
  12678. schema:
  12679. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12680. "500":
  12681. description: Internal Server Error
  12682. schema:
  12683. $ref: '#/definitions/app.Response'
  12684. summary: 获取数据库错误信息
  12685. tags:
  12686. - 通用服务
  12687. /Common/QueryImageConfigs:
  12688. get:
  12689. parameters:
  12690. - description: 类型 - 1:App首页轮播 2:我的
  12691. in: query
  12692. name: imageType
  12693. type: integer
  12694. produces:
  12695. - application/json
  12696. responses:
  12697. "200":
  12698. description: OK
  12699. schema:
  12700. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12701. "500":
  12702. description: Internal Server Error
  12703. schema:
  12704. $ref: '#/definitions/app.Response'
  12705. summary: 查询轮播图配置信息
  12706. tags:
  12707. - 通用服务
  12708. /Common/QueryNotice:
  12709. get:
  12710. parameters:
  12711. - description: 页码
  12712. in: query
  12713. name: page
  12714. type: integer
  12715. - description: 每页条数
  12716. in: query
  12717. name: pagesize
  12718. type: integer
  12719. - description: 登录账号
  12720. in: query
  12721. name: loginID
  12722. required: true
  12723. type: integer
  12724. - description: 消息类型 - 1:公告通知 2:系统消息
  12725. in: query
  12726. name: msgType
  12727. type: integer
  12728. - description: 是否只获取未读信息
  12729. in: query
  12730. name: onlyUnRead
  12731. type: boolean
  12732. - description: 自增ID,传入后会返回这个ID后面的记录
  12733. in: query
  12734. name: lastID
  12735. type: integer
  12736. produces:
  12737. - application/json
  12738. responses:
  12739. "200":
  12740. description: OK
  12741. schema:
  12742. $ref: '#/definitions/common.QueryNoticeRsp'
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. security:
  12748. - ApiKeyAuth: []
  12749. summary: 通知公告系统消息查询
  12750. tags:
  12751. - 通用服务
  12752. /Common/QueryProvincesAndCities:
  12753. get:
  12754. parameters:
  12755. - description: 省ID
  12756. in: query
  12757. name: provinceID
  12758. type: integer
  12759. produces:
  12760. - application/json
  12761. responses:
  12762. "200":
  12763. description: OK
  12764. schema:
  12765. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12766. "500":
  12767. description: Internal Server Error
  12768. schema:
  12769. $ref: '#/definitions/app.Response'
  12770. summary: 查询省市信息(不包括区)
  12771. tags:
  12772. - 通用服务
  12773. /Common/QueryTableDefine:
  12774. get:
  12775. parameters:
  12776. - description: 表key
  12777. in: query
  12778. name: tableKey
  12779. type: string
  12780. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12781. in: query
  12782. name: tableType
  12783. type: integer
  12784. produces:
  12785. - application/json
  12786. responses:
  12787. "200":
  12788. description: OK
  12789. schema:
  12790. $ref: '#/definitions/common.QueryTableDefineRsp'
  12791. "500":
  12792. description: Internal Server Error
  12793. schema:
  12794. $ref: '#/definitions/app.Response'
  12795. summary: 查询交易端列表头信息
  12796. tags:
  12797. - 通用服务
  12798. /Common/QueryTraderMenu:
  12799. get:
  12800. parameters:
  12801. - description: 登录账号
  12802. in: query
  12803. name: loginid
  12804. required: true
  12805. type: integer
  12806. produces:
  12807. - application/json
  12808. responses:
  12809. "200":
  12810. description: OK
  12811. schema:
  12812. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12813. "500":
  12814. description: Internal Server Error
  12815. schema:
  12816. $ref: '#/definitions/app.Response'
  12817. summary: 查询交易端菜单
  12818. tags:
  12819. - 通用服务
  12820. /Delivery/QueryDeliveryRelation:
  12821. get:
  12822. parameters:
  12823. - description: 商品ID
  12824. in: query
  12825. name: goodsid
  12826. type: integer
  12827. - description: 品种ID
  12828. in: query
  12829. name: deliverygoodsid
  12830. type: integer
  12831. - description: 市场ID
  12832. in: query
  12833. name: marketid
  12834. type: integer
  12835. produces:
  12836. - application/json
  12837. responses:
  12838. "200":
  12839. description: OK
  12840. schema:
  12841. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12842. "500":
  12843. description: Internal Server Error
  12844. schema:
  12845. $ref: '#/definitions/app.Response'
  12846. security:
  12847. - ApiKeyAuth: []
  12848. summary: 查询商品交割关系表
  12849. tags:
  12850. - 交割服务
  12851. /Ermcp/GetErmcpGoods:
  12852. get:
  12853. parameters:
  12854. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12855. in: query
  12856. name: lastUpdateTime
  12857. type: string
  12858. produces:
  12859. - application/json
  12860. responses:
  12861. "200":
  12862. description: OK
  12863. schema:
  12864. $ref: '#/definitions/models.Goods'
  12865. "500":
  12866. description: Internal Server Error
  12867. schema:
  12868. $ref: '#/definitions/app.Response'
  12869. security:
  12870. - ApiKeyAuth: []
  12871. summary: 查询企业风管期货商品信息
  12872. tags:
  12873. - 企业风险管理(app)
  12874. /Ermcp/GetErmcpGoodsSortByPosition:
  12875. get:
  12876. parameters:
  12877. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12878. in: query
  12879. name: sortIndex
  12880. type: string
  12881. produces:
  12882. - application/json
  12883. responses:
  12884. "200":
  12885. description: OK
  12886. schema:
  12887. $ref: '#/definitions/models.Goodssortbypreposition'
  12888. "500":
  12889. description: Internal Server Error
  12890. schema:
  12891. $ref: '#/definitions/app.Response'
  12892. security:
  12893. - ApiKeyAuth: []
  12894. summary: 查询企业风管期货主力、次主力商品信息
  12895. tags:
  12896. - 企业风险管理(app)
  12897. /Ermcp/GetErmcpOutAccountStatus:
  12898. get:
  12899. parameters:
  12900. - description: 登录账号
  12901. in: query
  12902. name: loginID
  12903. required: true
  12904. type: integer
  12905. produces:
  12906. - application/json
  12907. responses:
  12908. "200":
  12909. description: OK
  12910. schema:
  12911. $ref: '#/definitions/models.Hedgemarketopenlog'
  12912. "500":
  12913. description: Internal Server Error
  12914. schema:
  12915. $ref: '#/definitions/app.Response'
  12916. security:
  12917. - ApiKeyAuth: []
  12918. summary: 获取目标登录账号当前对冲账号在线状态
  12919. tags:
  12920. - 企业风险管理(app)
  12921. /Ermcp/GetErmcpRoleFuncMenuLists:
  12922. get:
  12923. parameters:
  12924. - description: 登录账号
  12925. in: query
  12926. name: loginID
  12927. required: true
  12928. type: integer
  12929. produces:
  12930. - application/json
  12931. responses:
  12932. "200":
  12933. description: OK
  12934. schema:
  12935. $ref: '#/definitions/models.Funcmenulist'
  12936. "500":
  12937. description: Internal Server Error
  12938. schema:
  12939. $ref: '#/definitions/app.Response'
  12940. security:
  12941. - ApiKeyAuth: []
  12942. summary: 获取企业风管终端权限
  12943. tags:
  12944. - 企业风险管理(app)
  12945. /Ermcp/QueryAccMgrBizGroupSet:
  12946. get:
  12947. parameters:
  12948. - description: 用户ID
  12949. in: query
  12950. name: userid
  12951. required: true
  12952. type: integer
  12953. - description: 现货商品id
  12954. in: query
  12955. name: deliverygoodsid
  12956. type: integer
  12957. produces:
  12958. - application/json
  12959. responses:
  12960. "200":
  12961. description: OK
  12962. schema:
  12963. items:
  12964. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12965. type: array
  12966. "500":
  12967. description: Internal Server Error
  12968. schema:
  12969. $ref: '#/definitions/app.Response'
  12970. security:
  12971. - ApiKeyAuth: []
  12972. summary: 查询业务类型分组(账户管理/账户设置)
  12973. tags:
  12974. - 企业风险管理(app)
  12975. /Ermcp/QueryAccMgrLoginUser:
  12976. get:
  12977. parameters:
  12978. - description: 用户ID
  12979. in: query
  12980. name: userid
  12981. required: true
  12982. type: integer
  12983. - description: 用户类型 2-机构 7-企业成员
  12984. in: query
  12985. name: usertype
  12986. type: integer
  12987. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12988. in: query
  12989. name: querytype
  12990. required: true
  12991. type: integer
  12992. produces:
  12993. - application/json
  12994. responses:
  12995. "200":
  12996. description: OK
  12997. schema:
  12998. items:
  12999. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13000. type: array
  13001. "500":
  13002. description: Internal Server Error
  13003. schema:
  13004. $ref: '#/definitions/app.Response'
  13005. security:
  13006. - ApiKeyAuth: []
  13007. summary: 查询账户管理登录账号(账户管理/登录账号)
  13008. tags:
  13009. - 企业风险管理(app)
  13010. /Ermcp/QueryAccMgrMainAccountInfo:
  13011. get:
  13012. parameters:
  13013. - description: 用户ID
  13014. in: query
  13015. name: userid
  13016. type: integer
  13017. - description: 主账号id
  13018. in: query
  13019. name: accountid
  13020. type: integer
  13021. produces:
  13022. - application/json
  13023. responses:
  13024. "200":
  13025. description: OK
  13026. schema:
  13027. items:
  13028. $ref: '#/definitions/models.MainAccountInfo'
  13029. type: array
  13030. "500":
  13031. description: Internal Server Error
  13032. schema:
  13033. $ref: '#/definitions/app.Response'
  13034. security:
  13035. - ApiKeyAuth: []
  13036. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13037. tags:
  13038. - 企业风险管理(app)
  13039. /Ermcp/QueryAccMgrRole:
  13040. get:
  13041. parameters:
  13042. - description: 用户ID
  13043. in: query
  13044. name: userid
  13045. required: true
  13046. type: integer
  13047. produces:
  13048. - application/json
  13049. responses:
  13050. "200":
  13051. description: OK
  13052. schema:
  13053. items:
  13054. $ref: '#/definitions/models.ErmcpRole'
  13055. type: array
  13056. "500":
  13057. description: Internal Server Error
  13058. schema:
  13059. $ref: '#/definitions/app.Response'
  13060. security:
  13061. - ApiKeyAuth: []
  13062. summary: 查询账户管理角色设置(账户管理/角色设置)
  13063. tags:
  13064. - 企业风险管理(app)
  13065. /Ermcp/QueryAccMgrRoleMenu:
  13066. get:
  13067. parameters:
  13068. - description: 用户ID
  13069. in: query
  13070. name: userid
  13071. required: true
  13072. type: integer
  13073. - description: 角色id(可多个,逗号隔开)
  13074. in: query
  13075. name: roleid
  13076. type: string
  13077. produces:
  13078. - application/json
  13079. responses:
  13080. "200":
  13081. description: OK
  13082. schema:
  13083. items:
  13084. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13085. type: array
  13086. "500":
  13087. description: Internal Server Error
  13088. schema:
  13089. $ref: '#/definitions/app.Response'
  13090. security:
  13091. - ApiKeyAuth: []
  13092. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13093. tags:
  13094. - 企业风险管理(app)
  13095. /Ermcp/QueryAccMgrTaAccountInfo:
  13096. get:
  13097. parameters:
  13098. - description: 用户ID
  13099. in: query
  13100. name: userid
  13101. required: true
  13102. type: integer
  13103. - description: 账号id
  13104. in: query
  13105. name: accountid
  13106. type: integer
  13107. produces:
  13108. - application/json
  13109. responses:
  13110. "200":
  13111. description: OK
  13112. schema:
  13113. items:
  13114. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13115. type: array
  13116. "500":
  13117. description: Internal Server Error
  13118. schema:
  13119. $ref: '#/definitions/app.Response'
  13120. security:
  13121. - ApiKeyAuth: []
  13122. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13123. tags:
  13124. - 企业风险管理(app)
  13125. /Ermcp/QueryAccMgrTaaccount:
  13126. get:
  13127. parameters:
  13128. - description: 用户ID
  13129. in: query
  13130. name: userid
  13131. required: true
  13132. type: integer
  13133. produces:
  13134. - application/json
  13135. responses:
  13136. "200":
  13137. description: OK
  13138. schema:
  13139. items:
  13140. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13141. type: array
  13142. "500":
  13143. description: Internal Server Error
  13144. schema:
  13145. $ref: '#/definitions/app.Response'
  13146. security:
  13147. - ApiKeyAuth: []
  13148. summary: 查询账户管理期货账号(账户管理/期货账号)
  13149. tags:
  13150. - 企业风险管理(app)
  13151. /Ermcp/QueryAvaildGoodsGroup:
  13152. get:
  13153. parameters:
  13154. - description: 所属机构ID
  13155. in: query
  13156. name: userid
  13157. required: true
  13158. type: integer
  13159. produces:
  13160. - application/json
  13161. responses:
  13162. "200":
  13163. description: OK
  13164. schema:
  13165. items:
  13166. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13167. type: array
  13168. "500":
  13169. description: Internal Server Error
  13170. schema:
  13171. $ref: '#/definitions/app.Response'
  13172. security:
  13173. - ApiKeyAuth: []
  13174. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13175. tags:
  13176. - 企业风险管理(app)
  13177. /Ermcp/QueryBusinessDj:
  13178. get:
  13179. parameters:
  13180. - description: 用户ID
  13181. in: query
  13182. name: UserId
  13183. required: true
  13184. type: integer
  13185. - description: 用户类型 2-机构 7-企业成员
  13186. in: query
  13187. name: usertype
  13188. type: integer
  13189. - description: 现货合同ID, 不填则查所有
  13190. in: query
  13191. name: relatedid
  13192. type: string
  13193. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13194. in: query
  13195. name: applystatus
  13196. type: string
  13197. produces:
  13198. - application/json
  13199. responses:
  13200. "200":
  13201. description: OK
  13202. schema:
  13203. items:
  13204. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13205. type: array
  13206. "500":
  13207. description: Internal Server Error
  13208. schema:
  13209. $ref: '#/definitions/app.Response'
  13210. security:
  13211. - ApiKeyAuth: []
  13212. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13213. tags:
  13214. - 企业风险管理(app)
  13215. /Ermcp/QueryBusinessFp:
  13216. get:
  13217. parameters:
  13218. - description: 用户ID
  13219. in: query
  13220. name: UserId
  13221. required: true
  13222. type: integer
  13223. - description: 用户类型 2-机构 7-企业成员
  13224. in: query
  13225. name: usertype
  13226. type: integer
  13227. - description: 现货合同ID, 不填则查所有
  13228. in: query
  13229. name: relatedid
  13230. type: string
  13231. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13232. in: query
  13233. name: applystatus
  13234. type: string
  13235. produces:
  13236. - application/json
  13237. responses:
  13238. "200":
  13239. description: OK
  13240. schema:
  13241. items:
  13242. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13243. type: array
  13244. "500":
  13245. description: Internal Server Error
  13246. schema:
  13247. $ref: '#/definitions/app.Response'
  13248. security:
  13249. - ApiKeyAuth: []
  13250. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13251. tags:
  13252. - 企业风险管理(app)
  13253. /Ermcp/QueryBusinessJs:
  13254. get:
  13255. parameters:
  13256. - description: 用户ID
  13257. in: query
  13258. name: UserId
  13259. required: true
  13260. type: integer
  13261. - description: 用户类型 2-机构 7-企业成员
  13262. in: query
  13263. name: usertype
  13264. type: integer
  13265. - description: 现货合同ID, 不填则查所有
  13266. in: query
  13267. name: relatedid
  13268. type: string
  13269. - description: 操作申请id
  13270. in: query
  13271. name: operateapplyid
  13272. type: string
  13273. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13274. in: query
  13275. name: applystatus
  13276. type: string
  13277. produces:
  13278. - application/json
  13279. responses:
  13280. "200":
  13281. description: OK
  13282. schema:
  13283. items:
  13284. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13285. type: array
  13286. "500":
  13287. description: Internal Server Error
  13288. schema:
  13289. $ref: '#/definitions/app.Response'
  13290. security:
  13291. - ApiKeyAuth: []
  13292. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13293. tags:
  13294. - 企业风险管理(app)
  13295. /Ermcp/QueryBusinessJsEx:
  13296. get:
  13297. parameters:
  13298. - description: 用户ID
  13299. in: query
  13300. name: UserId
  13301. required: true
  13302. type: integer
  13303. - description: 用户类型 2-机构 7-企业成员
  13304. in: query
  13305. name: usertype
  13306. type: integer
  13307. - description: 现货合同ID, 不填则查所有
  13308. in: query
  13309. name: relatedid
  13310. type: string
  13311. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13312. in: query
  13313. name: applystatus
  13314. type: string
  13315. produces:
  13316. - application/json
  13317. responses:
  13318. "200":
  13319. description: OK
  13320. schema:
  13321. items:
  13322. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13323. type: array
  13324. "500":
  13325. description: Internal Server Error
  13326. schema:
  13327. $ref: '#/definitions/app.Response'
  13328. security:
  13329. - ApiKeyAuth: []
  13330. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13331. tags:
  13332. - 企业风险管理(app)
  13333. /Ermcp/QueryBusinessKx:
  13334. get:
  13335. parameters:
  13336. - description: 用户ID
  13337. in: query
  13338. name: UserId
  13339. required: true
  13340. type: integer
  13341. - description: 用户类型 2-机构 7-企业成员
  13342. in: query
  13343. name: usertype
  13344. type: integer
  13345. - description: 现货合同ID, 不填则查所有
  13346. in: query
  13347. name: relatedid
  13348. type: string
  13349. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13350. in: query
  13351. name: applystatus
  13352. type: string
  13353. produces:
  13354. - application/json
  13355. responses:
  13356. "200":
  13357. description: OK
  13358. schema:
  13359. items:
  13360. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13361. type: array
  13362. "500":
  13363. description: Internal Server Error
  13364. schema:
  13365. $ref: '#/definitions/app.Response'
  13366. security:
  13367. - ApiKeyAuth: []
  13368. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13369. tags:
  13370. - 企业风险管理(app)
  13371. /Ermcp/QueryChangeLog:
  13372. get:
  13373. parameters:
  13374. - description: 合同ID
  13375. in: query
  13376. name: RelatedId
  13377. required: true
  13378. type: string
  13379. produces:
  13380. - application/json
  13381. responses:
  13382. "200":
  13383. description: OK
  13384. schema:
  13385. items:
  13386. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13387. type: array
  13388. "500":
  13389. description: Internal Server Error
  13390. schema:
  13391. $ref: '#/definitions/app.Response'
  13392. security:
  13393. - ApiKeyAuth: []
  13394. summary: 查询变更记录
  13395. tags:
  13396. - 企业风险管理(app)
  13397. /Ermcp/QueryErmcpHisOrderDetails:
  13398. get:
  13399. parameters:
  13400. - description: 资金账户ID
  13401. in: query
  13402. name: accountID
  13403. required: true
  13404. type: integer
  13405. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13406. in: query
  13407. name: startDate
  13408. type: string
  13409. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13410. in: query
  13411. name: endDate
  13412. type: string
  13413. produces:
  13414. - application/json
  13415. responses:
  13416. "200":
  13417. description: OK
  13418. schema:
  13419. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13420. "500":
  13421. description: Internal Server Error
  13422. schema:
  13423. $ref: '#/definitions/app.Response'
  13424. security:
  13425. - ApiKeyAuth: []
  13426. summary: 获取企业风管期货历史委托单信息
  13427. tags:
  13428. - 企业风险管理(app)
  13429. /Ermcp/QueryErmcpHisTradeDetails:
  13430. get:
  13431. parameters:
  13432. - description: 资金账户ID
  13433. in: query
  13434. name: accountID
  13435. required: true
  13436. type: integer
  13437. - description: 商品ID
  13438. in: query
  13439. name: goodsID
  13440. type: integer
  13441. - description: 买卖方向,0:买 1:卖
  13442. in: query
  13443. name: buyOrSell
  13444. type: integer
  13445. - description: 关联委托单号
  13446. in: query
  13447. name: orderID
  13448. type: integer
  13449. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13450. in: query
  13451. name: startDate
  13452. type: string
  13453. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13454. in: query
  13455. name: endDate
  13456. type: string
  13457. produces:
  13458. - application/json
  13459. responses:
  13460. "200":
  13461. description: OK
  13462. schema:
  13463. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13464. "500":
  13465. description: Internal Server Error
  13466. schema:
  13467. $ref: '#/definitions/app.Response'
  13468. security:
  13469. - ApiKeyAuth: []
  13470. summary: 获取企业风管期货历史成交单信息
  13471. tags:
  13472. - 企业风险管理(app)
  13473. /Ermcp/QueryErmcpInnerHolderDetails:
  13474. get:
  13475. parameters:
  13476. - description: 资金账户ID
  13477. in: query
  13478. name: accountID
  13479. required: true
  13480. type: integer
  13481. - description: 商品ID
  13482. in: query
  13483. name: goodsID
  13484. type: integer
  13485. - description: 买卖方向,0:买 1:卖
  13486. in: query
  13487. name: buyOrSell
  13488. type: integer
  13489. produces:
  13490. - application/json
  13491. responses:
  13492. "200":
  13493. description: OK
  13494. schema:
  13495. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13496. "500":
  13497. description: Internal Server Error
  13498. schema:
  13499. $ref: '#/definitions/app.Response'
  13500. security:
  13501. - ApiKeyAuth: []
  13502. summary: 获取企业风管期货内部持仓单信息
  13503. tags:
  13504. - 企业风险管理(app)
  13505. /Ermcp/QueryErmcpOrderDetails:
  13506. get:
  13507. parameters:
  13508. - description: 资金账户ID
  13509. in: query
  13510. name: accountID
  13511. required: true
  13512. type: integer
  13513. produces:
  13514. - application/json
  13515. responses:
  13516. "200":
  13517. description: OK
  13518. schema:
  13519. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13520. "500":
  13521. description: Internal Server Error
  13522. schema:
  13523. $ref: '#/definitions/app.Response'
  13524. security:
  13525. - ApiKeyAuth: []
  13526. summary: 获取企业风管期货委托单信息
  13527. tags:
  13528. - 企业风险管理(app)
  13529. /Ermcp/QueryErmcpTradeDetails:
  13530. get:
  13531. parameters:
  13532. - description: 资金账户ID
  13533. in: query
  13534. name: accountID
  13535. required: true
  13536. type: integer
  13537. - description: 商品ID
  13538. in: query
  13539. name: goodsID
  13540. type: integer
  13541. - description: 买卖方向,0:买 1:卖
  13542. in: query
  13543. name: buyOrSell
  13544. type: integer
  13545. - description: 关联委托单号
  13546. in: query
  13547. name: orderID
  13548. type: integer
  13549. produces:
  13550. - application/json
  13551. responses:
  13552. "200":
  13553. description: OK
  13554. schema:
  13555. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13556. "500":
  13557. description: Internal Server Error
  13558. schema:
  13559. $ref: '#/definitions/app.Response'
  13560. security:
  13561. - ApiKeyAuth: []
  13562. summary: 获取企业风管期货成交单信息
  13563. tags:
  13564. - 企业风险管理(app)
  13565. /Ermcp/QueryErmcpTradePosition:
  13566. get:
  13567. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13568. parameters:
  13569. - description: 资金账户ID
  13570. in: query
  13571. name: accountID
  13572. required: true
  13573. type: integer
  13574. - description: 所属市场ID
  13575. in: query
  13576. name: marketID
  13577. type: integer
  13578. produces:
  13579. - application/json
  13580. responses:
  13581. "200":
  13582. description: OK
  13583. schema:
  13584. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13585. "500":
  13586. description: Internal Server Error
  13587. schema:
  13588. $ref: '#/definitions/app.Response'
  13589. security:
  13590. - ApiKeyAuth: []
  13591. summary: 获取企业风管期货持仓头寸信息
  13592. tags:
  13593. - 企业风险管理(app)
  13594. /Ermcp/QueryExposureDetail:
  13595. get:
  13596. parameters:
  13597. - description: 所属机构ID
  13598. in: query
  13599. name: areaUserId
  13600. required: true
  13601. type: integer
  13602. - description: 套保商品
  13603. in: query
  13604. name: middleGoodsId
  13605. required: true
  13606. type: integer
  13607. produces:
  13608. - application/json
  13609. responses:
  13610. "200":
  13611. description: OK
  13612. schema:
  13613. items:
  13614. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13615. type: array
  13616. "500":
  13617. description: Internal Server Error
  13618. schema:
  13619. $ref: '#/definitions/app.Response'
  13620. security:
  13621. - ApiKeyAuth: []
  13622. summary: 查询敞口现货明细
  13623. tags:
  13624. - 企业风险管理(app)
  13625. /Ermcp/QueryExposureHedgePosition:
  13626. get:
  13627. parameters:
  13628. - description: 用户id
  13629. in: query
  13630. name: userid
  13631. required: true
  13632. type: integer
  13633. produces:
  13634. - application/json
  13635. responses:
  13636. "200":
  13637. description: OK
  13638. schema:
  13639. items:
  13640. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13641. type: array
  13642. "500":
  13643. description: Internal Server Error
  13644. schema:
  13645. $ref: '#/definitions/app.Response'
  13646. security:
  13647. - ApiKeyAuth: []
  13648. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13649. tags:
  13650. - 企业风险管理(app)
  13651. /Ermcp/QueryExposureHedgePositionDetail:
  13652. get:
  13653. parameters:
  13654. - description: 所属机构ID
  13655. in: query
  13656. name: userid
  13657. required: true
  13658. type: integer
  13659. - description: 商品id
  13660. in: query
  13661. name: goodsId
  13662. required: true
  13663. type: integer
  13664. produces:
  13665. - application/json
  13666. responses:
  13667. "200":
  13668. description: OK
  13669. schema:
  13670. items:
  13671. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13672. type: array
  13673. "500":
  13674. description: Internal Server Error
  13675. schema:
  13676. $ref: '#/definitions/app.Response'
  13677. security:
  13678. - ApiKeyAuth: []
  13679. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13680. tags:
  13681. - 企业风险管理(app)
  13682. /Ermcp/QueryExposureSpot:
  13683. get:
  13684. parameters:
  13685. - description: 所属机构ID
  13686. in: query
  13687. name: areaUserId
  13688. required: true
  13689. type: integer
  13690. produces:
  13691. - application/json
  13692. responses:
  13693. "200":
  13694. description: OK
  13695. schema:
  13696. items:
  13697. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13698. type: array
  13699. "500":
  13700. description: Internal Server Error
  13701. schema:
  13702. $ref: '#/definitions/app.Response'
  13703. security:
  13704. - ApiKeyAuth: []
  13705. summary: 查询敞口现货头寸(敞口/现货头寸)
  13706. tags:
  13707. - 企业风险管理(app)
  13708. /Ermcp/QueryExposureSpotDetail:
  13709. get:
  13710. parameters:
  13711. - description: 所属机构ID
  13712. in: query
  13713. name: areaUserId
  13714. required: true
  13715. type: integer
  13716. - description: 现货品种ID
  13717. in: query
  13718. name: wrstandardId
  13719. required: true
  13720. type: integer
  13721. produces:
  13722. - application/json
  13723. responses:
  13724. "200":
  13725. description: OK
  13726. schema:
  13727. items:
  13728. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13729. type: array
  13730. "500":
  13731. description: Internal Server Error
  13732. schema:
  13733. $ref: '#/definitions/app.Response'
  13734. security:
  13735. - ApiKeyAuth: []
  13736. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13737. tags:
  13738. - 企业风险管理(app)
  13739. /Ermcp/QueryFuturesCompany:
  13740. get:
  13741. produces:
  13742. - application/json
  13743. responses:
  13744. "200":
  13745. description: OK
  13746. schema:
  13747. items:
  13748. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13749. type: array
  13750. "500":
  13751. description: Internal Server Error
  13752. schema:
  13753. $ref: '#/definitions/app.Response'
  13754. security:
  13755. - ApiKeyAuth: []
  13756. summary: 查询期货公司
  13757. tags:
  13758. - 企业风险管理(app)
  13759. /Ermcp/QueryGGConvertConfig:
  13760. get:
  13761. parameters:
  13762. - description: 品种id(不填则查所有)
  13763. in: query
  13764. name: goodsgroupid
  13765. type: integer
  13766. produces:
  13767. - application/json
  13768. responses:
  13769. "200":
  13770. description: OK
  13771. schema:
  13772. items:
  13773. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13774. type: array
  13775. "500":
  13776. description: Internal Server Error
  13777. schema:
  13778. $ref: '#/definitions/app.Response'
  13779. security:
  13780. - ApiKeyAuth: []
  13781. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13782. tags:
  13783. - 企业风险管理(app)
  13784. /Ermcp/QueryGoodsBrand:
  13785. get:
  13786. parameters:
  13787. - description: 用户ID
  13788. in: query
  13789. name: userid
  13790. required: true
  13791. type: integer
  13792. - description: 现货商品ID
  13793. in: query
  13794. name: wrstandardid
  13795. type: integer
  13796. produces:
  13797. - application/json
  13798. responses:
  13799. "200":
  13800. description: OK
  13801. schema:
  13802. items:
  13803. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13804. type: array
  13805. "500":
  13806. description: Internal Server Error
  13807. schema:
  13808. $ref: '#/definitions/app.Response'
  13809. security:
  13810. - ApiKeyAuth: []
  13811. summary: 查询商品品牌
  13812. tags:
  13813. - 企业风险管理(app)
  13814. /Ermcp/QueryGoodsModel:
  13815. get:
  13816. parameters:
  13817. - description: 用户ID
  13818. in: query
  13819. name: userid
  13820. required: true
  13821. type: integer
  13822. produces:
  13823. - application/json
  13824. responses:
  13825. "200":
  13826. description: OK
  13827. schema:
  13828. items:
  13829. $ref: '#/definitions/models.ErmcpGoodsModel'
  13830. type: array
  13831. "500":
  13832. description: Internal Server Error
  13833. schema:
  13834. $ref: '#/definitions/app.Response'
  13835. security:
  13836. - ApiKeyAuth: []
  13837. summary: 查询商品型号
  13838. tags:
  13839. - 企业风险管理(app)
  13840. /Ermcp/QueryHisExposure:
  13841. get:
  13842. parameters:
  13843. - description: 用户id
  13844. in: query
  13845. name: userid
  13846. required: true
  13847. type: integer
  13848. - description: 每个品种记录数
  13849. in: query
  13850. name: lastNum
  13851. required: true
  13852. type: integer
  13853. produces:
  13854. - application/json
  13855. responses:
  13856. "200":
  13857. description: OK
  13858. schema:
  13859. items:
  13860. $ref: '#/definitions/ermcp.HisExposureRsp'
  13861. type: array
  13862. "500":
  13863. description: Internal Server Error
  13864. schema:
  13865. $ref: '#/definitions/app.Response'
  13866. security:
  13867. - ApiKeyAuth: []
  13868. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13869. tags:
  13870. - 企业风险管理(app)
  13871. /Ermcp/QueryMiddleGoods:
  13872. get:
  13873. parameters:
  13874. - description: 所属机构ID
  13875. in: query
  13876. name: userid
  13877. required: true
  13878. type: integer
  13879. - description: 状态 0-停用 1-正常
  13880. in: query
  13881. name: status
  13882. required: true
  13883. type: integer
  13884. produces:
  13885. - application/json
  13886. responses:
  13887. "200":
  13888. description: OK
  13889. schema:
  13890. items:
  13891. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13892. type: array
  13893. "500":
  13894. description: Internal Server Error
  13895. schema:
  13896. $ref: '#/definitions/app.Response'
  13897. security:
  13898. - ApiKeyAuth: []
  13899. summary: 查询套保品种(菜单:套保品种)
  13900. tags:
  13901. - 企业风险管理(app)
  13902. /Ermcp/QueryMiddleGoodsChangeLog:
  13903. get:
  13904. parameters:
  13905. - description: 所属机构ID
  13906. in: query
  13907. name: userid
  13908. required: true
  13909. type: integer
  13910. - description: 套保品种id
  13911. in: query
  13912. name: middlegoodsid
  13913. required: true
  13914. type: integer
  13915. produces:
  13916. - application/json
  13917. responses:
  13918. "200":
  13919. description: OK
  13920. schema:
  13921. items:
  13922. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13923. type: array
  13924. "500":
  13925. description: Internal Server Error
  13926. schema:
  13927. $ref: '#/definitions/app.Response'
  13928. security:
  13929. - ApiKeyAuth: []
  13930. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13931. tags:
  13932. - 企业风险管理(app)
  13933. /Ermcp/QueryMiddleGoodsDetail:
  13934. get:
  13935. parameters:
  13936. - description: 所属机构ID
  13937. in: query
  13938. name: userid
  13939. required: true
  13940. type: integer
  13941. - description: 套保品种id
  13942. in: query
  13943. name: middlegoodsid
  13944. type: integer
  13945. produces:
  13946. - application/json
  13947. responses:
  13948. "200":
  13949. description: OK
  13950. schema:
  13951. items:
  13952. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13953. type: array
  13954. "500":
  13955. description: Internal Server Error
  13956. schema:
  13957. $ref: '#/definitions/app.Response'
  13958. security:
  13959. - ApiKeyAuth: []
  13960. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13961. tags:
  13962. - 企业风险管理(app)
  13963. /Ermcp/QueryPendingAuditInfo:
  13964. get:
  13965. parameters:
  13966. - description: 用户ID
  13967. in: query
  13968. name: UserId
  13969. required: true
  13970. type: integer
  13971. produces:
  13972. - application/json
  13973. responses:
  13974. "200":
  13975. description: OK
  13976. schema:
  13977. items:
  13978. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13979. type: array
  13980. "500":
  13981. description: Internal Server Error
  13982. schema:
  13983. $ref: '#/definitions/app.Response'
  13984. security:
  13985. - ApiKeyAuth: []
  13986. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13987. tags:
  13988. - 企业风险管理(app)
  13989. /Ermcp/QueryRealtimeExposure:
  13990. get:
  13991. parameters:
  13992. - description: 所属机构ID
  13993. in: query
  13994. name: userid
  13995. required: true
  13996. type: integer
  13997. produces:
  13998. - application/json
  13999. responses:
  14000. "200":
  14001. description: OK
  14002. schema:
  14003. items:
  14004. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14005. type: array
  14006. "500":
  14007. description: Internal Server Error
  14008. schema:
  14009. $ref: '#/definitions/app.Response'
  14010. security:
  14011. - ApiKeyAuth: []
  14012. summary: 查询实时敞口
  14013. tags:
  14014. - 企业风险管理(app)
  14015. /Ermcp/QueryRealtimeExposurePosition:
  14016. get:
  14017. parameters:
  14018. - description: 用户id
  14019. in: query
  14020. name: userid
  14021. required: true
  14022. type: integer
  14023. - description: 套保商品ID
  14024. in: query
  14025. name: middleGoodsId
  14026. required: true
  14027. type: integer
  14028. produces:
  14029. - application/json
  14030. responses:
  14031. "200":
  14032. description: OK
  14033. schema:
  14034. items:
  14035. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14036. type: array
  14037. "500":
  14038. description: Internal Server Error
  14039. schema:
  14040. $ref: '#/definitions/app.Response'
  14041. security:
  14042. - ApiKeyAuth: []
  14043. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14044. tags:
  14045. - 企业风险管理(app)
  14046. /Ermcp/QueryTradeConfigTMP:
  14047. get:
  14048. parameters:
  14049. - description: 所属机构id
  14050. in: query
  14051. name: areauserid
  14052. type: integer
  14053. produces:
  14054. - application/json
  14055. responses:
  14056. "200":
  14057. description: OK
  14058. schema:
  14059. items:
  14060. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14061. type: array
  14062. "500":
  14063. description: Internal Server Error
  14064. schema:
  14065. $ref: '#/definitions/app.Response'
  14066. security:
  14067. - ApiKeyAuth: []
  14068. summary: 查询交易模板配置
  14069. tags:
  14070. - 企业风险管理(app)
  14071. /Ermcp/QueryUserInfo:
  14072. get:
  14073. parameters:
  14074. - description: 所属机构用户ID
  14075. in: query
  14076. name: MemberUserID
  14077. required: true
  14078. type: integer
  14079. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14080. in: query
  14081. name: queryType
  14082. required: true
  14083. type: integer
  14084. produces:
  14085. - application/json
  14086. responses:
  14087. "200":
  14088. description: OK
  14089. schema:
  14090. items:
  14091. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14092. type: array
  14093. "500":
  14094. description: Internal Server Error
  14095. schema:
  14096. $ref: '#/definitions/app.Response'
  14097. security:
  14098. - ApiKeyAuth: []
  14099. summary: 查询客户资料
  14100. tags:
  14101. - 企业风险管理(app)
  14102. /Ermcp/QueryWarehouseInfo:
  14103. get:
  14104. parameters:
  14105. - description: 用户ID
  14106. in: query
  14107. name: userid
  14108. required: true
  14109. type: integer
  14110. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14111. in: query
  14112. name: status
  14113. type: string
  14114. produces:
  14115. - application/json
  14116. responses:
  14117. "200":
  14118. description: OK
  14119. schema:
  14120. items:
  14121. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14122. type: array
  14123. "500":
  14124. description: Internal Server Error
  14125. schema:
  14126. $ref: '#/definitions/app.Response'
  14127. security:
  14128. - ApiKeyAuth: []
  14129. summary: 查询仓库信息
  14130. tags:
  14131. - 企业风险管理(app)
  14132. /Ermcp3/QryAreaExpourseContractDetail:
  14133. get:
  14134. parameters:
  14135. - description: 用户ID
  14136. in: query
  14137. name: userid
  14138. required: true
  14139. type: integer
  14140. - description: 套保商品id
  14141. in: query
  14142. name: middlegoodsid
  14143. required: true
  14144. type: integer
  14145. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14146. in: query
  14147. name: cycletype
  14148. required: true
  14149. type: integer
  14150. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14151. 全(0)【原值】
  14152. in: query
  14153. name: cycletime
  14154. required: true
  14155. type: string
  14156. produces:
  14157. - application/json
  14158. responses:
  14159. "200":
  14160. description: OK
  14161. schema:
  14162. items:
  14163. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  14164. type: array
  14165. "500":
  14166. description: Internal Server Error
  14167. schema:
  14168. $ref: '#/definitions/app.Response'
  14169. security:
  14170. - ApiKeyAuth: []
  14171. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  14172. tags:
  14173. - 企业风险管理v3(app)
  14174. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  14175. get:
  14176. parameters:
  14177. - description: 用户ID
  14178. in: query
  14179. name: userid
  14180. required: true
  14181. type: integer
  14182. - description: 套保商品id
  14183. in: query
  14184. name: middlegoodsid
  14185. required: true
  14186. type: integer
  14187. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14188. in: query
  14189. name: cycletype
  14190. required: true
  14191. type: integer
  14192. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14193. 全(0)【原值】
  14194. in: query
  14195. name: cycletime
  14196. required: true
  14197. type: string
  14198. produces:
  14199. - application/json
  14200. responses:
  14201. "200":
  14202. description: OK
  14203. schema:
  14204. items:
  14205. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  14206. type: array
  14207. "500":
  14208. description: Internal Server Error
  14209. schema:
  14210. $ref: '#/definitions/app.Response'
  14211. security:
  14212. - ApiKeyAuth: []
  14213. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  14214. tags:
  14215. - 企业风险管理v3(app)
  14216. /Ermcp3/QryAreaExpourseReport:
  14217. get:
  14218. parameters:
  14219. - description: 用户ID
  14220. in: query
  14221. name: userid
  14222. required: true
  14223. type: integer
  14224. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  14225. in: query
  14226. name: querytype
  14227. required: true
  14228. type: integer
  14229. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14230. in: query
  14231. name: cycletype
  14232. required: true
  14233. type: integer
  14234. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14235. 全(0)【原值】
  14236. in: query
  14237. name: cycletime
  14238. required: true
  14239. type: string
  14240. produces:
  14241. - application/json
  14242. responses:
  14243. "200":
  14244. description: OK
  14245. schema:
  14246. items:
  14247. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14248. type: array
  14249. "500":
  14250. description: Internal Server Error
  14251. schema:
  14252. $ref: '#/definitions/app.Response'
  14253. security:
  14254. - ApiKeyAuth: []
  14255. summary: 查询敞口报表
  14256. tags:
  14257. - 企业风险管理v3(app)
  14258. /Ermcp3/QryAreaSpotplReport:
  14259. get:
  14260. parameters:
  14261. - description: 用户ID
  14262. in: query
  14263. name: userid
  14264. required: true
  14265. type: integer
  14266. - description: 查询类型 1-报表 2-报表明细
  14267. in: query
  14268. name: querytype
  14269. required: true
  14270. type: integer
  14271. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14272. in: query
  14273. name: cycletype
  14274. required: true
  14275. type: integer
  14276. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14277. 全(0)【原值】
  14278. in: query
  14279. name: cycletime
  14280. required: true
  14281. type: string
  14282. - description: 现货品种id(明细必填)
  14283. in: query
  14284. name: deliverygoodsid
  14285. type: integer
  14286. - description: 币种id(明细必填)
  14287. in: query
  14288. name: currencyid
  14289. type: integer
  14290. produces:
  14291. - application/json
  14292. responses:
  14293. "200":
  14294. description: OK
  14295. schema:
  14296. items:
  14297. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14298. type: array
  14299. "500":
  14300. description: Internal Server Error
  14301. schema:
  14302. $ref: '#/definitions/app.Response'
  14303. security:
  14304. - ApiKeyAuth: []
  14305. summary: 查询现货报表
  14306. tags:
  14307. - 企业风险管理v3(app)
  14308. /Ermcp3/QryAreaStockReport:
  14309. get:
  14310. parameters:
  14311. - description: 用户ID
  14312. in: query
  14313. name: userid
  14314. required: true
  14315. type: integer
  14316. - description: 查询类型 1-报表 2-报表明细
  14317. in: query
  14318. name: querytype
  14319. required: true
  14320. type: integer
  14321. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14322. in: query
  14323. name: cycletype
  14324. required: true
  14325. type: integer
  14326. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14327. 全(0)【原值】
  14328. in: query
  14329. name: cycletime
  14330. required: true
  14331. type: string
  14332. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  14333. in: query
  14334. name: sumfields
  14335. type: string
  14336. - description: 品种ID
  14337. in: query
  14338. name: deliverygoodsid
  14339. type: integer
  14340. - description: 品类ID
  14341. in: query
  14342. name: wrstandardid
  14343. type: integer
  14344. - description: 品牌ID
  14345. in: query
  14346. name: spotgoodsbrandid
  14347. type: integer
  14348. - description: 仓库ID
  14349. in: query
  14350. name: warehouseinfoid
  14351. type: integer
  14352. produces:
  14353. - application/json
  14354. responses:
  14355. "200":
  14356. description: OK
  14357. schema:
  14358. items:
  14359. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  14360. type: array
  14361. "500":
  14362. description: Internal Server Error
  14363. schema:
  14364. $ref: '#/definitions/app.Response'
  14365. security:
  14366. - ApiKeyAuth: []
  14367. summary: 查询库存报表
  14368. tags:
  14369. - 企业风险管理v3(app)
  14370. /Ermcp3/QryAreaSumPL:
  14371. get:
  14372. parameters:
  14373. - description: 用户ID
  14374. in: query
  14375. name: userid
  14376. required: true
  14377. type: integer
  14378. - description: 查询类型 1-报表 2-报表明细
  14379. in: query
  14380. name: querytype
  14381. required: true
  14382. type: integer
  14383. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14384. in: query
  14385. name: cycletype
  14386. required: true
  14387. type: integer
  14388. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14389. 全(0)【原值】
  14390. in: query
  14391. name: cycletime
  14392. required: true
  14393. type: string
  14394. - description: 币种id(明细必填)
  14395. in: query
  14396. name: currencyid
  14397. type: integer
  14398. produces:
  14399. - application/json
  14400. responses:
  14401. "200":
  14402. description: OK
  14403. schema:
  14404. items:
  14405. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  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. - 企业风险管理v3(app)
  14416. /Ermcp3/QryFinanceReport:
  14417. get:
  14418. parameters:
  14419. - description: 用户ID
  14420. in: query
  14421. name: userid
  14422. required: true
  14423. type: integer
  14424. - description: 查询类型 1-报表 2-报表明细
  14425. in: query
  14426. name: querytype
  14427. required: true
  14428. type: integer
  14429. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14430. in: query
  14431. name: cycletype
  14432. required: true
  14433. type: integer
  14434. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14435. 全(0)【原值】
  14436. in: query
  14437. name: cycletime
  14438. required: true
  14439. type: string
  14440. - description: 币种id(报表明细必填)
  14441. in: query
  14442. name: currencyid
  14443. type: integer
  14444. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  14445. in: query
  14446. name: sumfields
  14447. type: string
  14448. produces:
  14449. - application/json
  14450. responses:
  14451. "200":
  14452. description: OK
  14453. schema:
  14454. items:
  14455. $ref: '#/definitions/models.Ermcp3FinanceReport'
  14456. type: array
  14457. "500":
  14458. description: Internal Server Error
  14459. schema:
  14460. $ref: '#/definitions/app.Response'
  14461. security:
  14462. - ApiKeyAuth: []
  14463. summary: 查询财务报表
  14464. tags:
  14465. - 企业风险管理v3(app)
  14466. /Ermcp3/QueryAreaStock:
  14467. get:
  14468. parameters:
  14469. - description: 用户ID
  14470. in: query
  14471. name: userid
  14472. required: true
  14473. type: integer
  14474. produces:
  14475. - application/json
  14476. responses:
  14477. "200":
  14478. description: OK
  14479. schema:
  14480. items:
  14481. $ref: '#/definitions/models.Ermcp3AreaStock'
  14482. type: array
  14483. "500":
  14484. description: Internal Server Error
  14485. schema:
  14486. $ref: '#/definitions/app.Response'
  14487. security:
  14488. - ApiKeyAuth: []
  14489. summary: 查询机构库存(库存管理/当前库存)
  14490. tags:
  14491. - 企业风险管理v3(app)
  14492. /Ermcp3/QueryAreaStockApply:
  14493. get:
  14494. parameters:
  14495. - description: 用户ID
  14496. in: query
  14497. name: userid
  14498. required: true
  14499. type: integer
  14500. - description: 用户类型 2-机构 7-企业成员
  14501. in: query
  14502. name: usertype
  14503. type: integer
  14504. - description: 现货商品ID
  14505. in: query
  14506. name: deliverygoodsid
  14507. type: integer
  14508. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14509. in: query
  14510. name: inouttype
  14511. type: string
  14512. - description: 合同ID
  14513. in: query
  14514. name: spotcontractid
  14515. type: integer
  14516. - description: 品类ID
  14517. in: query
  14518. name: wrstandardid
  14519. type: integer
  14520. - description: 品牌ID
  14521. in: query
  14522. name: spotgoodsbrandid
  14523. type: integer
  14524. - description: 仓库ID
  14525. in: query
  14526. name: warehouseinfoid
  14527. type: integer
  14528. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14529. in: query
  14530. name: applystatus
  14531. type: string
  14532. produces:
  14533. - application/json
  14534. responses:
  14535. "200":
  14536. description: OK
  14537. schema:
  14538. items:
  14539. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14540. type: array
  14541. "500":
  14542. description: Internal Server Error
  14543. schema:
  14544. $ref: '#/definitions/app.Response'
  14545. security:
  14546. - ApiKeyAuth: []
  14547. summary: 查询库存申请(出入库记录|库存审核)
  14548. tags:
  14549. - 企业风险管理v3(app)
  14550. /Ermcp3/QueryAreaStockApplySum:
  14551. get:
  14552. parameters:
  14553. - description: 合同ID
  14554. in: query
  14555. name: spotcontractid
  14556. type: integer
  14557. produces:
  14558. - application/json
  14559. responses:
  14560. "200":
  14561. description: OK
  14562. schema:
  14563. items:
  14564. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14565. type: array
  14566. "500":
  14567. description: Internal Server Error
  14568. schema:
  14569. $ref: '#/definitions/app.Response'
  14570. security:
  14571. - ApiKeyAuth: []
  14572. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14573. tags:
  14574. - 企业风险管理v3(app)
  14575. /Ermcp3/QueryDGFactoryItem:
  14576. get:
  14577. parameters:
  14578. - description: 用户id
  14579. in: query
  14580. name: userid
  14581. type: integer
  14582. - description: 用户类型 2-机构 7-企业成员
  14583. in: query
  14584. name: usertype
  14585. type: integer
  14586. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14587. in: query
  14588. name: dgfactoryitemid
  14589. type: integer
  14590. - description: 现货品种ID
  14591. in: query
  14592. name: deliverygoodsid
  14593. type: integer
  14594. - description: 要素项类型
  14595. in: query
  14596. name: dgfactoryitemtypeid
  14597. type: integer
  14598. - description: 顺序
  14599. in: query
  14600. name: orderindex
  14601. type: integer
  14602. produces:
  14603. - application/json
  14604. responses:
  14605. "200":
  14606. description: OK
  14607. schema:
  14608. items:
  14609. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14610. type: array
  14611. "500":
  14612. description: Internal Server Error
  14613. schema:
  14614. $ref: '#/definitions/app.Response'
  14615. security:
  14616. - ApiKeyAuth: []
  14617. summary: 查询品种要素定义项
  14618. tags:
  14619. - 企业风险管理v3(app)
  14620. /Ermcp3/QueryDeliveryGoods:
  14621. get:
  14622. parameters:
  14623. - description: 用户id
  14624. in: query
  14625. name: userid
  14626. required: true
  14627. type: integer
  14628. - description: 用户类型 2-机构 7-企业成员
  14629. in: query
  14630. name: usertype
  14631. type: integer
  14632. - description: 排除已配置的业务类型商品 1-套保 2-套利
  14633. in: query
  14634. name: excludecfg
  14635. type: integer
  14636. produces:
  14637. - application/json
  14638. responses:
  14639. "200":
  14640. description: OK
  14641. schema:
  14642. items:
  14643. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14644. type: array
  14645. "500":
  14646. description: Internal Server Error
  14647. schema:
  14648. $ref: '#/definitions/app.Response'
  14649. security:
  14650. - ApiKeyAuth: []
  14651. summary: 查询现货商品
  14652. tags:
  14653. - 企业风险管理v3(app)
  14654. /Ermcp3/QueryDeliveryGoodsDetail:
  14655. get:
  14656. parameters:
  14657. - description: 用户id
  14658. in: query
  14659. name: userid
  14660. required: true
  14661. type: integer
  14662. - description: 用户类型 2-机构 7-企业成员
  14663. in: query
  14664. name: usertype
  14665. type: integer
  14666. - description: 现货商品id
  14667. in: query
  14668. name: deliverygoodsid
  14669. type: integer
  14670. produces:
  14671. - application/json
  14672. responses:
  14673. "200":
  14674. description: OK
  14675. schema:
  14676. items:
  14677. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14678. type: array
  14679. "500":
  14680. description: Internal Server Error
  14681. schema:
  14682. $ref: '#/definitions/app.Response'
  14683. security:
  14684. - ApiKeyAuth: []
  14685. summary: 查询现货商品详情
  14686. tags:
  14687. - 企业风险管理v3(app)
  14688. /Ermcp3/QueryExposureDetail:
  14689. get:
  14690. parameters:
  14691. - description: 用户id
  14692. in: query
  14693. name: userid
  14694. required: true
  14695. type: integer
  14696. - description: 用户类型 2-机构 7-企业成员
  14697. in: query
  14698. name: usertype
  14699. type: integer
  14700. - description: 套保商品
  14701. in: query
  14702. name: middlegoodsid
  14703. required: true
  14704. type: integer
  14705. produces:
  14706. - application/json
  14707. responses:
  14708. "200":
  14709. description: OK
  14710. schema:
  14711. items:
  14712. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14713. type: array
  14714. "500":
  14715. description: Internal Server Error
  14716. schema:
  14717. $ref: '#/definitions/app.Response'
  14718. security:
  14719. - ApiKeyAuth: []
  14720. summary: 查询敞口现货明细
  14721. tags:
  14722. - 企业风险管理v3(app)
  14723. /Ermcp3/QueryExposureSpot:
  14724. get:
  14725. parameters:
  14726. - description: 用户id
  14727. in: query
  14728. name: userid
  14729. required: true
  14730. type: integer
  14731. - description: 用户类型 2-机构 7-企业成员
  14732. in: query
  14733. name: usertype
  14734. type: integer
  14735. produces:
  14736. - application/json
  14737. responses:
  14738. "200":
  14739. description: OK
  14740. schema:
  14741. items:
  14742. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14743. type: array
  14744. "500":
  14745. description: Internal Server Error
  14746. schema:
  14747. $ref: '#/definitions/app.Response'
  14748. security:
  14749. - ApiKeyAuth: []
  14750. summary: 查询敞口现货头寸(敞口/现货头寸)
  14751. tags:
  14752. - 企业风险管理v3(app)
  14753. /Ermcp3/QueryExposureSpotDetail:
  14754. get:
  14755. parameters:
  14756. - description: 用户id
  14757. in: query
  14758. name: userid
  14759. required: true
  14760. type: integer
  14761. - description: 用户类型 2-机构 7-企业成员
  14762. in: query
  14763. name: usertype
  14764. type: integer
  14765. - description: 现货品种ID
  14766. in: query
  14767. name: deliverygoodsid
  14768. required: true
  14769. type: integer
  14770. produces:
  14771. - application/json
  14772. responses:
  14773. "200":
  14774. description: OK
  14775. schema:
  14776. items:
  14777. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14778. type: array
  14779. "500":
  14780. description: Internal Server Error
  14781. schema:
  14782. $ref: '#/definitions/app.Response'
  14783. security:
  14784. - ApiKeyAuth: []
  14785. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14786. tags:
  14787. - 企业风险管理v3(app)
  14788. /Ermcp3/QueryGoodsGroup:
  14789. get:
  14790. parameters:
  14791. - description: 用户id
  14792. in: query
  14793. name: userid
  14794. required: true
  14795. type: integer
  14796. - description: 用户类型 2-机构 7-企业成员
  14797. in: query
  14798. name: usertype
  14799. type: integer
  14800. - description: 排除套保品中已关联的商品组 1-排除
  14801. in: query
  14802. name: excludecfg
  14803. type: integer
  14804. produces:
  14805. - application/json
  14806. responses:
  14807. "200":
  14808. description: OK
  14809. schema:
  14810. items:
  14811. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14812. type: array
  14813. "500":
  14814. description: Internal Server Error
  14815. schema:
  14816. $ref: '#/definitions/app.Response'
  14817. security:
  14818. - ApiKeyAuth: []
  14819. summary: 查询期货商品组
  14820. tags:
  14821. - 企业风险管理v3(app)
  14822. /Ermcp3/QueryGoodsWrstandard:
  14823. get:
  14824. parameters:
  14825. - description: 用户id
  14826. in: query
  14827. name: userid
  14828. required: true
  14829. type: integer
  14830. - description: 用户类型 2-机构 7-企业成员
  14831. in: query
  14832. name: usertype
  14833. type: integer
  14834. - description: 现货商品id
  14835. in: query
  14836. name: deliverygoodsid
  14837. type: integer
  14838. produces:
  14839. - application/json
  14840. responses:
  14841. "200":
  14842. description: OK
  14843. schema:
  14844. items:
  14845. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14846. type: array
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 查询商品品类
  14854. tags:
  14855. - 企业风险管理v3(app)
  14856. /Ermcp3/QueryGoodsbrand:
  14857. get:
  14858. parameters:
  14859. - description: 用户id
  14860. in: query
  14861. name: userid
  14862. required: true
  14863. type: integer
  14864. - description: 用户类型 2-机构 7-企业成员
  14865. in: query
  14866. name: usertype
  14867. type: integer
  14868. produces:
  14869. - application/json
  14870. responses:
  14871. "200":
  14872. description: OK
  14873. schema:
  14874. items:
  14875. $ref: '#/definitions/models.Ermcp3Brand'
  14876. type: array
  14877. "500":
  14878. description: Internal Server Error
  14879. schema:
  14880. $ref: '#/definitions/app.Response'
  14881. security:
  14882. - ApiKeyAuth: []
  14883. summary: 查询商品品牌
  14884. tags:
  14885. - 企业风险管理v3(app)
  14886. /Ermcp3/QueryHedgePlan:
  14887. get:
  14888. parameters:
  14889. - description: 用户ID
  14890. in: query
  14891. name: userid
  14892. required: true
  14893. type: integer
  14894. - description: 用户类型 2-机构 7-企业成员
  14895. in: query
  14896. name: usertype
  14897. type: integer
  14898. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14899. in: query
  14900. name: hedgeplanstatus
  14901. required: true
  14902. type: string
  14903. produces:
  14904. - application/json
  14905. responses:
  14906. "200":
  14907. description: OK
  14908. schema:
  14909. items:
  14910. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14911. type: array
  14912. "500":
  14913. description: Internal Server Error
  14914. schema:
  14915. $ref: '#/definitions/app.Response'
  14916. security:
  14917. - ApiKeyAuth: []
  14918. summary: 查询套保计划
  14919. tags:
  14920. - 企业风险管理v3(app)
  14921. /Ermcp3/QueryMiddleGoodsDetail:
  14922. get:
  14923. parameters:
  14924. - description: 用户id
  14925. in: query
  14926. name: userid
  14927. required: true
  14928. type: integer
  14929. - description: 用户类型 2-机构 7-企业成员
  14930. in: query
  14931. name: usertype
  14932. type: integer
  14933. - description: 套保品种id
  14934. in: query
  14935. name: middlegoodsid
  14936. type: integer
  14937. produces:
  14938. - application/json
  14939. responses:
  14940. "200":
  14941. description: OK
  14942. schema:
  14943. items:
  14944. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14945. type: array
  14946. "500":
  14947. description: Internal Server Error
  14948. schema:
  14949. $ref: '#/definitions/app.Response'
  14950. security:
  14951. - ApiKeyAuth: []
  14952. summary: 查询套保品种详情(套保品种/商品详情)
  14953. tags:
  14954. - 企业风险管理v3(app)
  14955. /Ermcp3/QuerySpotContract:
  14956. get:
  14957. parameters:
  14958. - description: 用户id
  14959. in: query
  14960. name: userid
  14961. required: true
  14962. type: integer
  14963. - description: 用户类型 2-机构 7-企业成员
  14964. in: query
  14965. name: usertype
  14966. type: integer
  14967. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14968. in: query
  14969. name: querytype
  14970. required: true
  14971. type: integer
  14972. - description: 合同ID(SpotContractId)
  14973. in: query
  14974. name: contractid
  14975. type: string
  14976. produces:
  14977. - application/json
  14978. responses:
  14979. "200":
  14980. description: OK
  14981. schema:
  14982. items:
  14983. $ref: '#/definitions/models.Ermcp3Contract'
  14984. type: array
  14985. "500":
  14986. description: Internal Server Error
  14987. schema:
  14988. $ref: '#/definitions/app.Response'
  14989. security:
  14990. - ApiKeyAuth: []
  14991. summary: 查询现货合同
  14992. tags:
  14993. - 企业风险管理v3(app)
  14994. /Ermcp3/QuerySpotContractBS:
  14995. get:
  14996. parameters:
  14997. - description: 用户id
  14998. in: query
  14999. name: userid
  15000. required: true
  15001. type: integer
  15002. - description: 用户类型 2-机构 7-企业成员
  15003. in: query
  15004. name: usertype
  15005. type: integer
  15006. - description: 合同类型 1-采购, -1-销售
  15007. in: query
  15008. name: contracttype
  15009. required: true
  15010. type: integer
  15011. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15012. in: query
  15013. name: querytype
  15014. required: true
  15015. type: integer
  15016. - description: 合同ID(SpotContractId)
  15017. in: query
  15018. name: contractid
  15019. type: string
  15020. produces:
  15021. - application/json
  15022. responses:
  15023. "200":
  15024. description: OK
  15025. schema:
  15026. items:
  15027. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15028. type: array
  15029. "500":
  15030. description: Internal Server Error
  15031. schema:
  15032. $ref: '#/definitions/app.Response'
  15033. security:
  15034. - ApiKeyAuth: []
  15035. summary: 查询合同(采购/销售)
  15036. tags:
  15037. - 企业风险管理v3(app)
  15038. /Ermcp3/QuerySpotGoodsPrice:
  15039. get:
  15040. parameters:
  15041. - description: 用户ID
  15042. in: query
  15043. name: userid
  15044. required: true
  15045. type: integer
  15046. produces:
  15047. - application/json
  15048. responses:
  15049. "200":
  15050. description: OK
  15051. schema:
  15052. items:
  15053. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15054. type: array
  15055. "500":
  15056. description: Internal Server Error
  15057. schema:
  15058. $ref: '#/definitions/app.Response'
  15059. security:
  15060. - ApiKeyAuth: []
  15061. summary: 查询现货市价(现货市价)
  15062. tags:
  15063. - 企业风险管理v3(app)
  15064. /Ermcp3/QuerySpotGoodsPriceLog:
  15065. get:
  15066. parameters:
  15067. - description: 用户ID
  15068. in: query
  15069. name: userid
  15070. required: true
  15071. type: integer
  15072. - description: 现货商品ID
  15073. in: query
  15074. name: deliverygoodsid
  15075. required: true
  15076. type: integer
  15077. - description: 品牌ID
  15078. in: query
  15079. name: brandid
  15080. type: integer
  15081. - description: 品类ID
  15082. in: query
  15083. name: wrstandardid
  15084. type: integer
  15085. produces:
  15086. - application/json
  15087. responses:
  15088. "200":
  15089. description: OK
  15090. schema:
  15091. items:
  15092. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15093. type: array
  15094. "500":
  15095. description: Internal Server Error
  15096. schema:
  15097. $ref: '#/definitions/app.Response'
  15098. security:
  15099. - ApiKeyAuth: []
  15100. summary: 查询现货市价详情(现货市价/详情)
  15101. tags:
  15102. - 企业风险管理v3(app)
  15103. /Erms2/QueryArbitrageStrategy:
  15104. get:
  15105. parameters:
  15106. - description: 账户ID
  15107. in: query
  15108. name: userid
  15109. required: true
  15110. type: integer
  15111. - description: 商品组ID(品种ID)
  15112. in: query
  15113. name: goodsgroupid
  15114. type: string
  15115. produces:
  15116. - application/json
  15117. responses:
  15118. "200":
  15119. description: OK
  15120. schema:
  15121. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15122. "500":
  15123. description: Internal Server Error
  15124. schema:
  15125. $ref: '#/definitions/app.Response'
  15126. security:
  15127. - ApiKeyAuth: []
  15128. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15129. tags:
  15130. - 风险管理
  15131. /Erms2/QueryInnerTradeDetail:
  15132. get:
  15133. parameters:
  15134. - description: 资金账户
  15135. in: query
  15136. name: accountid
  15137. required: true
  15138. type: integer
  15139. produces:
  15140. - application/json
  15141. responses:
  15142. "200":
  15143. description: OK
  15144. schema:
  15145. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询内部成交单信息
  15153. tags:
  15154. - 风险管理
  15155. /Erms2/QuerySpotContract:
  15156. get:
  15157. parameters:
  15158. - description: 策略申请ID
  15159. in: query
  15160. name: asapplyid
  15161. required: true
  15162. type: integer
  15163. - description: 现货合同ID
  15164. in: query
  15165. name: spotcontractid
  15166. type: integer
  15167. produces:
  15168. - application/json
  15169. responses:
  15170. "200":
  15171. description: OK
  15172. schema:
  15173. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15174. "500":
  15175. description: Internal Server Error
  15176. schema:
  15177. $ref: '#/definitions/app.Response'
  15178. security:
  15179. - ApiKeyAuth: []
  15180. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15181. tags:
  15182. - 风险管理
  15183. /Erms3/AddErms2ASApply:
  15184. post:
  15185. parameters:
  15186. - description: 申请参数
  15187. in: body
  15188. name: jsonBody
  15189. required: true
  15190. schema:
  15191. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15192. produces:
  15193. - application/json
  15194. responses:
  15195. "200":
  15196. description: OK
  15197. schema:
  15198. $ref: '#/definitions/app.Response'
  15199. "500":
  15200. description: Internal Server Error
  15201. schema:
  15202. $ref: '#/definitions/app.Response'
  15203. security:
  15204. - ApiKeyAuth: []
  15205. summary: 新增期现套利业务申请
  15206. tags:
  15207. - 风险管理v3
  15208. /Erms3/AddErms2SpotTradeApply:
  15209. post:
  15210. parameters:
  15211. - description: 申请参数
  15212. in: body
  15213. name: jsonBody
  15214. required: true
  15215. schema:
  15216. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15217. produces:
  15218. - application/json
  15219. responses:
  15220. "200":
  15221. description: OK
  15222. schema:
  15223. $ref: '#/definitions/app.Response'
  15224. "500":
  15225. description: Internal Server Error
  15226. schema:
  15227. $ref: '#/definitions/app.Response'
  15228. security:
  15229. - ApiKeyAuth: []
  15230. summary: 新增现货贸易业务申请
  15231. tags:
  15232. - 风险管理v3
  15233. /Erms3/AddSpotContractApply:
  15234. post:
  15235. parameters:
  15236. - description: 申请参数
  15237. in: body
  15238. name: jsonBody
  15239. required: true
  15240. schema:
  15241. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15242. produces:
  15243. - application/json
  15244. responses:
  15245. "200":
  15246. description: OK
  15247. schema:
  15248. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15249. "500":
  15250. description: Internal Server Error
  15251. schema:
  15252. $ref: '#/definitions/app.Response'
  15253. security:
  15254. - ApiKeyAuth: []
  15255. summary: 新增现货合同申请
  15256. tags:
  15257. - 风险管理v3
  15258. /Erms3/AddUserInfoApply:
  15259. post:
  15260. parameters:
  15261. - description: 用户信息
  15262. in: body
  15263. name: jsonBody
  15264. required: true
  15265. schema:
  15266. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15267. produces:
  15268. - application/json
  15269. responses:
  15270. "200":
  15271. description: OK
  15272. schema:
  15273. $ref: '#/definitions/app.Response'
  15274. "500":
  15275. description: Internal Server Error
  15276. schema:
  15277. $ref: '#/definitions/app.Response'
  15278. security:
  15279. - ApiKeyAuth: []
  15280. summary: 新增客户申请
  15281. tags:
  15282. - 风险管理v3
  15283. /Erms3/DeleteUserInfoApply:
  15284. get:
  15285. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15286. parameters:
  15287. - description: 用户ID
  15288. in: query
  15289. name: userID
  15290. required: true
  15291. type: integer
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. $ref: '#/definitions/app.Response'
  15299. "500":
  15300. description: Internal Server Error
  15301. schema:
  15302. $ref: '#/definitions/app.Response'
  15303. security:
  15304. - ApiKeyAuth: []
  15305. summary: 删除客户申请
  15306. tags:
  15307. - 风险管理v3
  15308. /Erms3/ModifyUserInfoApply:
  15309. post:
  15310. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15311. int, "userstate": 2 }'
  15312. parameters:
  15313. - description: 用户信息
  15314. in: body
  15315. name: jsonBody
  15316. required: true
  15317. schema:
  15318. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15319. produces:
  15320. - application/json
  15321. responses:
  15322. "200":
  15323. description: OK
  15324. schema:
  15325. $ref: '#/definitions/app.Response'
  15326. "500":
  15327. description: Internal Server Error
  15328. schema:
  15329. $ref: '#/definitions/app.Response'
  15330. security:
  15331. - ApiKeyAuth: []
  15332. summary: 修改客户申请
  15333. tags:
  15334. - 风险管理v3
  15335. /Erms3/QueryBusinessInfo:
  15336. get:
  15337. parameters:
  15338. - description: 资金账号ID列表,用逗号分隔
  15339. in: query
  15340. name: accountids
  15341. required: true
  15342. type: string
  15343. - description: 状态,0为未结束 1为已结束
  15344. in: query
  15345. name: status
  15346. required: true
  15347. type: integer
  15348. produces:
  15349. - application/json
  15350. responses:
  15351. "200":
  15352. description: OK
  15353. schema:
  15354. items:
  15355. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15356. type: array
  15357. "500":
  15358. description: Internal Server Error
  15359. schema:
  15360. $ref: '#/definitions/app.Response'
  15361. security:
  15362. - ApiKeyAuth: []
  15363. summary: 查询业务表单数据
  15364. tags:
  15365. - 风险管理v3
  15366. /Erms3/QueryPendingAuditContract:
  15367. get:
  15368. parameters:
  15369. - description: 资金账号ID列表,逗号隔开
  15370. in: query
  15371. name: accountids
  15372. required: true
  15373. type: string
  15374. - description: 合同类型 1-采购 -1-销售
  15375. in: query
  15376. name: contracttype
  15377. required: true
  15378. type: integer
  15379. - description: 合同模式 1-普通 2-回购
  15380. in: query
  15381. name: contractmode
  15382. required: true
  15383. type: integer
  15384. produces:
  15385. - application/json
  15386. responses:
  15387. "200":
  15388. description: OK
  15389. schema:
  15390. items:
  15391. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15392. type: array
  15393. "500":
  15394. description: Internal Server Error
  15395. schema:
  15396. $ref: '#/definitions/app.Response'
  15397. security:
  15398. - ApiKeyAuth: []
  15399. summary: 查询待审核合同
  15400. tags:
  15401. - 风险管理v3
  15402. /Erms3/QueryPendingBusiness:
  15403. get:
  15404. parameters:
  15405. - description: 资金账号ID列表,逗号隔开
  15406. in: query
  15407. name: accountids
  15408. required: true
  15409. type: string
  15410. produces:
  15411. - application/json
  15412. responses:
  15413. "200":
  15414. description: OK
  15415. schema:
  15416. items:
  15417. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15418. type: array
  15419. "500":
  15420. description: Internal Server Error
  15421. schema:
  15422. $ref: '#/definitions/app.Response'
  15423. security:
  15424. - ApiKeyAuth: []
  15425. summary: 查询待审核基差贸易业务
  15426. tags:
  15427. - 风险管理v3
  15428. /Erms3/QuerySpotContractAppleForm:
  15429. get:
  15430. parameters:
  15431. - description: 登录账号
  15432. in: query
  15433. name: loginID
  15434. required: true
  15435. type: integer
  15436. produces:
  15437. - application/json
  15438. responses:
  15439. "200":
  15440. description: OK
  15441. schema:
  15442. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15443. "500":
  15444. description: Internal Server Error
  15445. schema:
  15446. $ref: '#/definitions/app.Response'
  15447. security:
  15448. - ApiKeyAuth: []
  15449. summary: 查询合同申请表单数据
  15450. tags:
  15451. - 风险管理v3
  15452. /Erms3/QuerySpotContractDetail:
  15453. get:
  15454. parameters:
  15455. - description: 资金账号ID列表,用逗号分隔
  15456. in: query
  15457. name: accountids
  15458. required: true
  15459. type: string
  15460. - description: 合同类型,1为采购合同 -1为销售合同
  15461. in: query
  15462. name: contracttype
  15463. required: true
  15464. type: integer
  15465. - description: 合同模式,1为普通合同 2为回购销售合同
  15466. in: query
  15467. name: contractmode
  15468. required: true
  15469. type: integer
  15470. - description: 状态,0为履约中 1为已完成
  15471. in: query
  15472. name: status
  15473. required: true
  15474. type: integer
  15475. produces:
  15476. - application/json
  15477. responses:
  15478. "200":
  15479. description: OK
  15480. schema:
  15481. items:
  15482. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15483. type: array
  15484. "500":
  15485. description: Internal Server Error
  15486. schema:
  15487. $ref: '#/definitions/app.Response'
  15488. security:
  15489. - ApiKeyAuth: []
  15490. summary: 查询合同详细信息
  15491. tags:
  15492. - 风险管理v3
  15493. /Erms3/QueryUserInfoApplies:
  15494. get:
  15495. parameters:
  15496. - description: 页码
  15497. in: query
  15498. name: page
  15499. type: integer
  15500. - description: 每页条数
  15501. in: query
  15502. name: pagesize
  15503. type: integer
  15504. - description: 客户名称,支持模糊查询
  15505. in: query
  15506. name: userName
  15507. type: string
  15508. produces:
  15509. - application/json
  15510. responses:
  15511. "200":
  15512. description: OK
  15513. schema:
  15514. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15515. "500":
  15516. description: Internal Server Error
  15517. schema:
  15518. $ref: '#/definitions/app.Response'
  15519. security:
  15520. - ApiKeyAuth: []
  15521. summary: 客户申请信息查询
  15522. tags:
  15523. - 风险管理v3
  15524. /Erms3/QueryUserInfos:
  15525. get:
  15526. parameters:
  15527. - description: 页码
  15528. in: query
  15529. name: page
  15530. type: integer
  15531. - description: 每页条数
  15532. in: query
  15533. name: pagesize
  15534. type: integer
  15535. - description: 客户名称,支持模糊查询
  15536. in: query
  15537. name: userName
  15538. type: string
  15539. produces:
  15540. - application/json
  15541. responses:
  15542. "200":
  15543. description: OK
  15544. schema:
  15545. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15546. "500":
  15547. description: Internal Server Error
  15548. schema:
  15549. $ref: '#/definitions/app.Response'
  15550. security:
  15551. - ApiKeyAuth: []
  15552. summary: 客户信息查询
  15553. tags:
  15554. - 风险管理v3
  15555. /HSBY/GetHsbyMyCount:
  15556. get:
  15557. description: 说明: 不包括已完成的数量。
  15558. parameters:
  15559. - description: 资金账户列表,格式:1,2,3
  15560. in: query
  15561. name: accountIDs
  15562. required: true
  15563. type: string
  15564. produces:
  15565. - application/json
  15566. responses:
  15567. "200":
  15568. description: OK
  15569. schema:
  15570. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15571. "500":
  15572. description: Internal Server Error
  15573. schema:
  15574. $ref: '#/definitions/app.Response'
  15575. security:
  15576. - ApiKeyAuth: []
  15577. summary: 获取我的订单与包裹数量
  15578. tags:
  15579. - 定制【海商报业】
  15580. /HSBY/QueryClientFixedADConfigs:
  15581. get:
  15582. produces:
  15583. - application/json
  15584. responses:
  15585. "200":
  15586. description: OK
  15587. schema:
  15588. $ref: '#/definitions/models.Clientfixedadconfig'
  15589. "500":
  15590. description: Internal Server Error
  15591. schema:
  15592. $ref: '#/definitions/app.Response'
  15593. security:
  15594. - ApiKeyAuth: []
  15595. summary: 获取终端固定广告配置
  15596. tags:
  15597. - 定制【海商报业】
  15598. /HSBY/QueryHsbyBuyMyTradeDetail:
  15599. get:
  15600. parameters:
  15601. - description: 页码
  15602. in: query
  15603. name: page
  15604. type: integer
  15605. - description: 每页条数
  15606. in: query
  15607. name: pagesize
  15608. type: integer
  15609. - description: 资金账户列表,格式:1,2,3
  15610. in: query
  15611. name: accountIDs
  15612. required: true
  15613. type: string
  15614. produces:
  15615. - application/json
  15616. responses:
  15617. "200":
  15618. description: OK
  15619. schema:
  15620. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15621. "500":
  15622. description: Internal Server Error
  15623. schema:
  15624. $ref: '#/definitions/app.Response'
  15625. security:
  15626. - ApiKeyAuth: []
  15627. summary: 查询"我的订单 - 已完成"单据信息
  15628. tags:
  15629. - 定制【海商报业】
  15630. /HSBY/QueryHsbyGoodsOrderDetails:
  15631. get:
  15632. description: 说明:查询结果已按委托价格和委托时间排序
  15633. parameters:
  15634. - description: 商品ID
  15635. in: query
  15636. name: goodsID
  15637. required: true
  15638. type: integer
  15639. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15640. in: query
  15641. name: accountIDs
  15642. type: string
  15643. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15644. in: query
  15645. name: buyOrSell
  15646. type: integer
  15647. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15648. in: query
  15649. name: price
  15650. type: number
  15651. - description: 档位,不传则默认为3档
  15652. in: query
  15653. name: speed
  15654. type: integer
  15655. produces:
  15656. - application/json
  15657. responses:
  15658. "200":
  15659. description: OK
  15660. schema:
  15661. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15662. "500":
  15663. description: Internal Server Error
  15664. schema:
  15665. $ref: '#/definitions/app.Response'
  15666. security:
  15667. - ApiKeyAuth: []
  15668. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15669. tags:
  15670. - 定制【海商报业】
  15671. /HSBY/QueryHsbyListingGoodsDetail:
  15672. get:
  15673. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15674. parameters:
  15675. - description: 商品ID
  15676. in: query
  15677. name: goodsID
  15678. required: true
  15679. type: integer
  15680. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15681. in: query
  15682. name: accountID
  15683. type: integer
  15684. produces:
  15685. - application/json
  15686. responses:
  15687. "200":
  15688. description: OK
  15689. schema:
  15690. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15691. "500":
  15692. description: Internal Server Error
  15693. schema:
  15694. $ref: '#/definitions/app.Response'
  15695. security:
  15696. - ApiKeyAuth: []
  15697. summary: 查询二级市场(挂牌点选)商品信息详情
  15698. tags:
  15699. - 定制【海商报业】
  15700. /HSBY/QueryHsbyMarketGoodsDetail:
  15701. get:
  15702. parameters:
  15703. - description: 委托单号
  15704. in: query
  15705. name: orderID
  15706. required: true
  15707. type: integer
  15708. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15709. in: query
  15710. name: accountID
  15711. type: integer
  15712. produces:
  15713. - application/json
  15714. responses:
  15715. "200":
  15716. description: OK
  15717. schema:
  15718. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15719. "500":
  15720. description: Internal Server Error
  15721. schema:
  15722. $ref: '#/definitions/app.Response'
  15723. security:
  15724. - ApiKeyAuth: []
  15725. summary: 查询三级市场(商城)商品信息详情
  15726. tags:
  15727. - 定制【海商报业】
  15728. /HSBY/QueryHsbyMarketGoodses:
  15729. get:
  15730. parameters:
  15731. - description: 页码
  15732. in: query
  15733. name: page
  15734. type: integer
  15735. - description: 每页条数
  15736. in: query
  15737. name: pagesize
  15738. type: integer
  15739. - description: 市场ID列表,格式:1,2,3
  15740. in: query
  15741. name: marketIDs
  15742. required: true
  15743. type: string
  15744. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15745. in: query
  15746. name: accountID
  15747. required: true
  15748. type: integer
  15749. - description: 类别ID
  15750. in: query
  15751. name: categoryID
  15752. type: integer
  15753. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15754. in: query
  15755. name: goodsIDs
  15756. type: string
  15757. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15758. in: query
  15759. name: couponTypeID
  15760. type: integer
  15761. produces:
  15762. - application/json
  15763. responses:
  15764. "200":
  15765. description: OK
  15766. schema:
  15767. $ref: '#/definitions/models.HsbyMarketGoods'
  15768. "500":
  15769. description: Internal Server Error
  15770. schema:
  15771. $ref: '#/definitions/app.Response'
  15772. security:
  15773. - ApiKeyAuth: []
  15774. summary: 查询特卖商品列表(三级商城)
  15775. tags:
  15776. - 定制【海商报业】
  15777. /HSBY/QueryHsbyMarkets:
  15778. get:
  15779. produces:
  15780. - application/json
  15781. responses:
  15782. "200":
  15783. description: OK
  15784. schema:
  15785. $ref: '#/definitions/models.HsbyMarketInfo'
  15786. "500":
  15787. description: Internal Server Error
  15788. schema:
  15789. $ref: '#/definitions/app.Response'
  15790. security:
  15791. - ApiKeyAuth: []
  15792. summary: 查询海商报业相关市场信息
  15793. tags:
  15794. - 定制【海商报业】
  15795. /HSBY/QueryHsbyMyBuyOrderDetails:
  15796. get:
  15797. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15798. parameters:
  15799. - description: 资金账户列表,格式:1,2,3
  15800. in: query
  15801. name: accountIDs
  15802. required: true
  15803. type: string
  15804. produces:
  15805. - application/json
  15806. responses:
  15807. "200":
  15808. description: OK
  15809. schema:
  15810. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15811. "500":
  15812. description: Internal Server Error
  15813. schema:
  15814. $ref: '#/definitions/app.Response'
  15815. security:
  15816. - ApiKeyAuth: []
  15817. summary: 查询“我的订单”信息
  15818. tags:
  15819. - 定制【海商报业】
  15820. /HSBY/QueryHsbyMyGoods:
  15821. get:
  15822. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15823. parameters:
  15824. - description: 资金账户列表,格式:1,2,3
  15825. in: query
  15826. name: accountIDs
  15827. required: true
  15828. type: string
  15829. produces:
  15830. - application/json
  15831. responses:
  15832. "200":
  15833. description: OK
  15834. schema:
  15835. $ref: '#/definitions/models.HsbyMyGoods'
  15836. "500":
  15837. description: Internal Server Error
  15838. schema:
  15839. $ref: '#/definitions/app.Response'
  15840. security:
  15841. - ApiKeyAuth: []
  15842. summary: 查询“我的商品”信息
  15843. tags:
  15844. - 定制【海商报业】
  15845. /HSBY/QueryHsbyMyPackages:
  15846. get:
  15847. parameters:
  15848. - description: 资金账户列表,格式:1,2,3
  15849. in: query
  15850. name: accountIDs
  15851. required: true
  15852. type: string
  15853. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15854. in: query
  15855. name: takeOrderStatus
  15856. type: integer
  15857. produces:
  15858. - application/json
  15859. responses:
  15860. "200":
  15861. description: OK
  15862. schema:
  15863. $ref: '#/definitions/models.HsbyMyPackage'
  15864. "500":
  15865. description: Internal Server Error
  15866. schema:
  15867. $ref: '#/definitions/app.Response'
  15868. security:
  15869. - ApiKeyAuth: []
  15870. summary: 查询我的包裹信息
  15871. tags:
  15872. - 定制【海商报业】
  15873. /HSBY/QueryHsbyPreGoodsDetail:
  15874. get:
  15875. parameters:
  15876. - description: 商品ID
  15877. in: query
  15878. name: goodsID
  15879. required: true
  15880. type: integer
  15881. - description: 资金账户,主要用于获取预售商品购买上限
  15882. in: query
  15883. name: accountID
  15884. type: integer
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15892. "500":
  15893. description: Internal Server Error
  15894. schema:
  15895. $ref: '#/definitions/app.Response'
  15896. security:
  15897. - ApiKeyAuth: []
  15898. summary: 查询一级市场(预售)商品信息详情
  15899. tags:
  15900. - 定制【海商报业】
  15901. /HSBY/QueryHsbyPreGoodses:
  15902. get:
  15903. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15904. parameters:
  15905. - description: 页码
  15906. in: query
  15907. name: page
  15908. type: integer
  15909. - description: 每页条数
  15910. in: query
  15911. name: pagesize
  15912. type: integer
  15913. - description: 市场ID列表,格式:1,2,3
  15914. in: query
  15915. name: marketIDs
  15916. required: true
  15917. type: string
  15918. - description: 目的地(省)ID
  15919. in: query
  15920. name: descProvinceID
  15921. type: integer
  15922. - description: 目的地(市)ID
  15923. in: query
  15924. name: descCityID
  15925. type: integer
  15926. produces:
  15927. - application/json
  15928. responses:
  15929. "200":
  15930. description: OK
  15931. schema:
  15932. $ref: '#/definitions/models.HsbyPreGoods'
  15933. "500":
  15934. description: Internal Server Error
  15935. schema:
  15936. $ref: '#/definitions/app.Response'
  15937. security:
  15938. - ApiKeyAuth: []
  15939. summary: 查询新品上市商品列表(一级市场预售)
  15940. tags:
  15941. - 定制【海商报业】
  15942. /HSBY/QueryHsbySellMyDetails:
  15943. get:
  15944. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15945. parameters:
  15946. - description: 页码
  15947. in: query
  15948. name: page
  15949. type: integer
  15950. - description: 每页条数
  15951. in: query
  15952. name: pagesize
  15953. type: integer
  15954. - description: 资金账户列表,格式:1,2,3
  15955. in: query
  15956. name: accountIDs
  15957. required: true
  15958. type: string
  15959. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15960. in: query
  15961. name: orderType
  15962. type: integer
  15963. produces:
  15964. - application/json
  15965. responses:
  15966. "200":
  15967. description: OK
  15968. schema:
  15969. $ref: '#/definitions/models.HsbySellMyDetail'
  15970. "500":
  15971. description: Internal Server Error
  15972. schema:
  15973. $ref: '#/definitions/app.Response'
  15974. security:
  15975. - ApiKeyAuth: []
  15976. summary: 查询"我的闲置"单据信息
  15977. tags:
  15978. - 定制【海商报业】
  15979. /HSBY/QueryHsbyTopGoodses:
  15980. get:
  15981. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15982. parameters:
  15983. - description: 页码
  15984. in: query
  15985. name: page
  15986. type: integer
  15987. - description: 每页条数
  15988. in: query
  15989. name: pagesize
  15990. type: integer
  15991. - description: 市场ID列表,格式:1,2,3
  15992. in: query
  15993. name: marketIDs
  15994. required: true
  15995. type: string
  15996. - description: 目的地(省)ID
  15997. in: query
  15998. name: descProvinceID
  15999. type: integer
  16000. - description: 目的地(市)ID
  16001. in: query
  16002. name: descCityID
  16003. type: integer
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. $ref: '#/definitions/models.HsbyTopGoods'
  16011. "500":
  16012. description: Internal Server Error
  16013. schema:
  16014. $ref: '#/definitions/app.Response'
  16015. security:
  16016. - ApiKeyAuth: []
  16017. summary: 查询热卖商品列表(二级市场挂牌点选)
  16018. tags:
  16019. - 定制【海商报业】
  16020. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16021. get:
  16022. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16023. parameters:
  16024. - description: 商品ID
  16025. in: query
  16026. name: goodsID
  16027. required: true
  16028. type: integer
  16029. produces:
  16030. - application/json
  16031. responses:
  16032. "200":
  16033. description: OK
  16034. schema:
  16035. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16036. "500":
  16037. description: Internal Server Error
  16038. schema:
  16039. $ref: '#/definitions/app.Response'
  16040. security:
  16041. - ApiKeyAuth: []
  16042. summary: 查询游客三级市场(商城)商品信息详情
  16043. tags:
  16044. - 定制【海商报业】
  16045. /HSBY/QueryHsbyVisitorMarketGoodses:
  16046. get:
  16047. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16048. parameters:
  16049. - description: 页码
  16050. in: query
  16051. name: page
  16052. type: integer
  16053. - description: 每页条数
  16054. in: query
  16055. name: pagesize
  16056. type: integer
  16057. - description: 市场ID列表,格式:1,2,3
  16058. in: query
  16059. name: marketIDs
  16060. required: true
  16061. type: string
  16062. - description: 类别ID
  16063. in: query
  16064. name: categoryID
  16065. type: integer
  16066. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16067. in: query
  16068. name: goodsIDs
  16069. type: string
  16070. produces:
  16071. - application/json
  16072. responses:
  16073. "200":
  16074. description: OK
  16075. schema:
  16076. $ref: '#/definitions/models.HsbyMarketGoods'
  16077. "500":
  16078. description: Internal Server Error
  16079. schema:
  16080. $ref: '#/definitions/app.Response'
  16081. security:
  16082. - ApiKeyAuth: []
  16083. summary: 查询游客特卖商品列表(三级商城)
  16084. tags:
  16085. - 定制【海商报业】
  16086. /HSBY/QueryMyCollectionOrders:
  16087. get:
  16088. parameters:
  16089. - description: 页码
  16090. in: query
  16091. name: page
  16092. type: integer
  16093. - description: 每页条数
  16094. in: query
  16095. name: pagesize
  16096. type: integer
  16097. - description: 资金账户,格式:1,2,3
  16098. in: query
  16099. name: accountIDs
  16100. required: true
  16101. type: string
  16102. produces:
  16103. - application/json
  16104. responses:
  16105. "200":
  16106. description: OK
  16107. schema:
  16108. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16109. "500":
  16110. description: Internal Server Error
  16111. schema:
  16112. $ref: '#/definitions/app.Response'
  16113. security:
  16114. - ApiKeyAuth: []
  16115. summary: 我的闲置中收款信息查询
  16116. tags:
  16117. - 定制【海商报业】
  16118. /HSBY/QueryMyCouponHolds:
  16119. get:
  16120. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16121. parameters:
  16122. - description: 资金账户列表,格式:1,2,3
  16123. in: query
  16124. name: accountIDs
  16125. required: true
  16126. type: string
  16127. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16128. in: query
  16129. name: holdStatus
  16130. type: string
  16131. produces:
  16132. - application/json
  16133. responses:
  16134. "200":
  16135. description: OK
  16136. schema:
  16137. $ref: '#/definitions/models.MyCouponHold'
  16138. "500":
  16139. description: Internal Server Error
  16140. schema:
  16141. $ref: '#/definitions/app.Response'
  16142. security:
  16143. - ApiKeyAuth: []
  16144. summary: 我的优惠卷持仓查询
  16145. tags:
  16146. - 定制【海商报业】
  16147. /HSBY/QueryMyCoupons:
  16148. get:
  16149. parameters:
  16150. - description: 资金账户列表,格式:1,2,3
  16151. in: query
  16152. name: accountIDs
  16153. required: true
  16154. type: string
  16155. - description: 商品ID, 一般与sellUserID配套传入
  16156. in: query
  16157. name: goodsID
  16158. type: integer
  16159. - description: 卖方UserID
  16160. in: query
  16161. name: sellUserID
  16162. type: integer
  16163. produces:
  16164. - application/json
  16165. responses:
  16166. "200":
  16167. description: OK
  16168. schema:
  16169. $ref: '#/definitions/models.MyCoupon'
  16170. "500":
  16171. description: Internal Server Error
  16172. schema:
  16173. $ref: '#/definitions/app.Response'
  16174. security:
  16175. - ApiKeyAuth: []
  16176. summary: 我的优惠卷查询
  16177. tags:
  16178. - 定制【海商报业】
  16179. /HSBY/QueryMyPayOrders:
  16180. get:
  16181. parameters:
  16182. - description: 页码
  16183. in: query
  16184. name: page
  16185. type: integer
  16186. - description: 每页条数
  16187. in: query
  16188. name: pagesize
  16189. type: integer
  16190. - description: 资金账户列表,格式:1,2,3
  16191. in: query
  16192. name: accountIDs
  16193. required: true
  16194. type: string
  16195. - description: 买方委托单号
  16196. in: query
  16197. name: buyOrderID
  16198. type: integer
  16199. - description: 卖方委托单号
  16200. in: query
  16201. name: sellOrderID
  16202. type: integer
  16203. produces:
  16204. - application/json
  16205. responses:
  16206. "200":
  16207. description: OK
  16208. schema:
  16209. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16210. "500":
  16211. description: Internal Server Error
  16212. schema:
  16213. $ref: '#/definitions/app.Response'
  16214. security:
  16215. - ApiKeyAuth: []
  16216. summary: 获取我的订单中待付款信息
  16217. tags:
  16218. - 定制【海商报业】
  16219. /HSBY/QueryMyUsedCoupon:
  16220. get:
  16221. parameters:
  16222. - description: 资金账户列表,格式:1,2,3
  16223. in: query
  16224. name: accountIDs
  16225. required: true
  16226. type: string
  16227. produces:
  16228. - application/json
  16229. responses:
  16230. "200":
  16231. description: OK
  16232. schema:
  16233. $ref: '#/definitions/models.MyUsedCoupon'
  16234. "500":
  16235. description: Internal Server Error
  16236. schema:
  16237. $ref: '#/definitions/app.Response'
  16238. security:
  16239. - ApiKeyAuth: []
  16240. summary: 已使用优惠卷查询
  16241. tags:
  16242. - 定制【海商报业】
  16243. /HSBY/QueryProvincesAndCities:
  16244. get:
  16245. description: 查询结果只包括二级市场商品已关连的省市信息。
  16246. parameters:
  16247. - description: 省ID
  16248. in: query
  16249. name: provinceID
  16250. type: integer
  16251. produces:
  16252. - application/json
  16253. responses:
  16254. "200":
  16255. description: OK
  16256. schema:
  16257. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16258. "500":
  16259. description: Internal Server Error
  16260. schema:
  16261. $ref: '#/definitions/app.Response'
  16262. security:
  16263. - ApiKeyAuth: []
  16264. summary: 查询省市信息(不包括区)
  16265. tags:
  16266. - 定制【海商报业】
  16267. /HSBY/SetHsbyMyPackagesStatus:
  16268. post:
  16269. parameters:
  16270. - description: 提货单号
  16271. in: query
  16272. name: takeOrderID
  16273. required: true
  16274. type: string
  16275. - description: 资金账号
  16276. in: query
  16277. name: accountID
  16278. required: true
  16279. type: integer
  16280. produces:
  16281. - application/json
  16282. responses:
  16283. "200":
  16284. description: OK
  16285. schema:
  16286. $ref: '#/definitions/app.Response'
  16287. "500":
  16288. description: Internal Server Error
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. security:
  16292. - ApiKeyAuth: []
  16293. summary: 设置我的包裹已收货状态
  16294. tags:
  16295. - 定制【海商报业】
  16296. /Market/QueryGoodsesByLoginID:
  16297. get:
  16298. parameters:
  16299. - description: 登录账号
  16300. in: query
  16301. name: loginID
  16302. required: true
  16303. type: integer
  16304. - description: 市场ID列表,格式:1,2,3
  16305. in: query
  16306. name: marketIDs
  16307. type: string
  16308. produces:
  16309. - application/json
  16310. responses:
  16311. "200":
  16312. description: OK
  16313. schema:
  16314. $ref: '#/definitions/models.Goods'
  16315. "500":
  16316. description: Internal Server Error
  16317. schema:
  16318. $ref: '#/definitions/app.Response'
  16319. security:
  16320. - ApiKeyAuth: []
  16321. summary: 获取登录账号有权限的商品信息
  16322. tags:
  16323. - 通用市场
  16324. /Market/QueryMarketRun:
  16325. get:
  16326. parameters:
  16327. - description: 市场ID,不传返回所有
  16328. in: query
  16329. name: marketID
  16330. type: integer
  16331. produces:
  16332. - application/json
  16333. responses:
  16334. "200":
  16335. description: OK
  16336. schema:
  16337. $ref: '#/definitions/models.Marketrun'
  16338. "500":
  16339. description: Internal Server Error
  16340. schema:
  16341. $ref: '#/definitions/app.Response'
  16342. security:
  16343. - ApiKeyAuth: []
  16344. summary: 查询市场运行信息
  16345. tags:
  16346. - 通用市场
  16347. /Market/QueryMarketsByLoginID:
  16348. get:
  16349. parameters:
  16350. - description: 登录账号
  16351. in: query
  16352. name: loginID
  16353. required: true
  16354. type: integer
  16355. produces:
  16356. - application/json
  16357. responses:
  16358. "200":
  16359. description: OK
  16360. schema:
  16361. $ref: '#/definitions/models.Market'
  16362. "500":
  16363. description: Internal Server Error
  16364. schema:
  16365. $ref: '#/definitions/app.Response'
  16366. security:
  16367. - ApiKeyAuth: []
  16368. summary: 获取登录账号有权限的市场信息
  16369. tags:
  16370. - 通用市场
  16371. /Order/QueryHisTradeDetail:
  16372. get:
  16373. parameters:
  16374. - description: 资金账户 - 格式:1,2,3
  16375. in: query
  16376. name: accountID
  16377. required: true
  16378. type: string
  16379. - description: 成交单号
  16380. in: query
  16381. name: tradeID
  16382. type: integer
  16383. - description: 委托单号
  16384. in: query
  16385. name: orderID
  16386. type: integer
  16387. - description: 交易模式 - 格式:1,2,3
  16388. in: query
  16389. name: tradeMode
  16390. type: string
  16391. - description: 委托单据类型
  16392. in: query
  16393. name: buildType
  16394. type: integer
  16395. - description: 成交类别 - 格式:1,2,3
  16396. in: query
  16397. name: tradeType
  16398. type: string
  16399. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16400. in: query
  16401. name: startDate
  16402. type: string
  16403. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16404. in: query
  16405. name: endDate
  16406. type: string
  16407. produces:
  16408. - application/json
  16409. responses:
  16410. "200":
  16411. description: OK
  16412. schema:
  16413. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16414. "500":
  16415. description: Internal Server Error
  16416. schema:
  16417. $ref: '#/definitions/app.Response'
  16418. security:
  16419. - ApiKeyAuth: []
  16420. summary: 历史成交单查询(合约市场)
  16421. tags:
  16422. - 通用单据
  16423. /Order/QueryHisTradeOrderDetail:
  16424. get:
  16425. parameters:
  16426. - description: 资金账户 - 格式:1,2,3
  16427. in: query
  16428. name: accountID
  16429. required: true
  16430. type: string
  16431. - description: 交易模式 - 格式:1,2,3
  16432. in: query
  16433. name: tradeMode
  16434. type: string
  16435. - description: 委托状态 - 格式:1,2,3
  16436. in: query
  16437. name: orderStatus
  16438. type: string
  16439. - description: 委托单号
  16440. in: query
  16441. name: orderID
  16442. type: integer
  16443. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16444. in: query
  16445. name: startDate
  16446. type: string
  16447. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16448. in: query
  16449. name: endDate
  16450. type: string
  16451. produces:
  16452. - application/json
  16453. responses:
  16454. "200":
  16455. description: OK
  16456. schema:
  16457. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16458. "500":
  16459. description: Internal Server Error
  16460. schema:
  16461. $ref: '#/definitions/app.Response'
  16462. security:
  16463. - ApiKeyAuth: []
  16464. summary: 历史委托单查询请求(合约市场)
  16465. tags:
  16466. - 通用单据
  16467. /Order/QueryTradeDetail:
  16468. get:
  16469. parameters:
  16470. - description: 资金账户 - 格式:1,2,3
  16471. in: query
  16472. name: accountID
  16473. required: true
  16474. type: string
  16475. - description: 成交单号
  16476. in: query
  16477. name: tradeID
  16478. type: integer
  16479. - description: 委托单号
  16480. in: query
  16481. name: orderID
  16482. type: integer
  16483. - description: 交易模式 - 格式:1,2,3
  16484. in: query
  16485. name: tradeMode
  16486. type: string
  16487. - description: 委托单据类型
  16488. in: query
  16489. name: buildType
  16490. type: integer
  16491. - description: 成交类别 - 格式:1,2,3
  16492. in: query
  16493. name: tradeType
  16494. type: string
  16495. produces:
  16496. - application/json
  16497. responses:
  16498. "200":
  16499. description: OK
  16500. schema:
  16501. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16502. "500":
  16503. description: Internal Server Error
  16504. schema:
  16505. $ref: '#/definitions/app.Response'
  16506. security:
  16507. - ApiKeyAuth: []
  16508. summary: 成交单查询(合约市场)
  16509. tags:
  16510. - 通用单据
  16511. /Order/QueryTradeOrderDetail:
  16512. get:
  16513. parameters:
  16514. - description: 资金账户 - 格式:1,2,3
  16515. in: query
  16516. name: accountID
  16517. required: true
  16518. type: string
  16519. - description: 交易模式 - 格式:1,2,3
  16520. in: query
  16521. name: tradeMode
  16522. type: string
  16523. - description: 委托状态 - 格式:1,2,3
  16524. in: query
  16525. name: orderStatus
  16526. type: string
  16527. - description: 委托单号
  16528. in: query
  16529. name: orderID
  16530. type: integer
  16531. produces:
  16532. - application/json
  16533. responses:
  16534. "200":
  16535. description: OK
  16536. schema:
  16537. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16538. "500":
  16539. description: Internal Server Error
  16540. schema:
  16541. $ref: '#/definitions/app.Response'
  16542. security:
  16543. - ApiKeyAuth: []
  16544. summary: 委托单查询请求(合约市场)
  16545. tags:
  16546. - 通用单据
  16547. /Order/QueryTradePosition:
  16548. get:
  16549. parameters:
  16550. - description: 资金账户 - 格式:1,2,3
  16551. in: query
  16552. name: accountID
  16553. required: true
  16554. type: string
  16555. - description: 交易模式 - 格式:1,2,3
  16556. in: query
  16557. name: tradeMode
  16558. type: string
  16559. produces:
  16560. - application/json
  16561. responses:
  16562. "200":
  16563. description: OK
  16564. schema:
  16565. $ref: '#/definitions/order.QueryTradePositionRsp'
  16566. "500":
  16567. description: Internal Server Error
  16568. schema:
  16569. $ref: '#/definitions/app.Response'
  16570. security:
  16571. - ApiKeyAuth: []
  16572. summary: 持仓汇总查询(合约市场)
  16573. tags:
  16574. - 通用单据
  16575. /Qhj/QueryBankAccountSign:
  16576. get:
  16577. parameters:
  16578. - description: 用户ID
  16579. in: query
  16580. name: userid
  16581. required: true
  16582. type: integer
  16583. produces:
  16584. - application/json
  16585. responses:
  16586. "200":
  16587. description: OK
  16588. schema:
  16589. items:
  16590. $ref: '#/definitions/models.QhjBankAccountSign'
  16591. type: array
  16592. "500":
  16593. description: Internal Server Error
  16594. schema:
  16595. $ref: '#/definitions/app.Response'
  16596. security:
  16597. - ApiKeyAuth: []
  16598. summary: 查询签约银行信息(提现账户管理)
  16599. tags:
  16600. - 大连千海金
  16601. /Qhj/QueryBankInfo:
  16602. get:
  16603. produces:
  16604. - application/json
  16605. responses:
  16606. "200":
  16607. description: OK
  16608. schema:
  16609. items:
  16610. $ref: '#/definitions/models.QhjBankInfo'
  16611. type: array
  16612. "500":
  16613. description: Internal Server Error
  16614. schema:
  16615. $ref: '#/definitions/app.Response'
  16616. security:
  16617. - ApiKeyAuth: []
  16618. summary: 查询开户行
  16619. tags:
  16620. - 大连千海金
  16621. /Qhj/QueryContract:
  16622. get:
  16623. parameters:
  16624. - description: 用户ID
  16625. in: query
  16626. name: userid
  16627. required: true
  16628. type: integer
  16629. - description: scf合同id
  16630. in: query
  16631. name: scfcontractid
  16632. type: integer
  16633. produces:
  16634. - application/json
  16635. responses:
  16636. "200":
  16637. description: OK
  16638. schema:
  16639. items:
  16640. $ref: '#/definitions/models.QhjContract'
  16641. type: array
  16642. "500":
  16643. description: Internal Server Error
  16644. schema:
  16645. $ref: '#/definitions/app.Response'
  16646. security:
  16647. - ApiKeyAuth: []
  16648. summary: 查询融资明细(合同)
  16649. tags:
  16650. - 大连千海金
  16651. /Qhj/QueryContractLog:
  16652. get:
  16653. parameters:
  16654. - description: scf合同id
  16655. in: query
  16656. name: scfcontractid
  16657. required: true
  16658. type: integer
  16659. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  16660. in: query
  16661. name: amounttype
  16662. type: string
  16663. produces:
  16664. - application/json
  16665. responses:
  16666. "200":
  16667. description: OK
  16668. schema:
  16669. items:
  16670. $ref: '#/definitions/models.QhjContractLog'
  16671. type: array
  16672. "500":
  16673. description: Internal Server Error
  16674. schema:
  16675. $ref: '#/definitions/app.Response'
  16676. security:
  16677. - ApiKeyAuth: []
  16678. summary: 查询融资明细流水(融资明细详情页中的流水)
  16679. tags:
  16680. - 大连千海金
  16681. /Qhj/QueryPickArea:
  16682. get:
  16683. parameters:
  16684. - description: 用户ID
  16685. in: query
  16686. name: userid
  16687. type: integer
  16688. produces:
  16689. - application/json
  16690. responses:
  16691. "200":
  16692. description: OK
  16693. schema:
  16694. items:
  16695. $ref: '#/definitions/models.QhjPickArea'
  16696. type: array
  16697. "500":
  16698. description: Internal Server Error
  16699. schema:
  16700. $ref: '#/definitions/app.Response'
  16701. security:
  16702. - ApiKeyAuth: []
  16703. summary: 查询提货门店
  16704. tags:
  16705. - 大连千海金
  16706. /Qhj/QueryPickGoods:
  16707. get:
  16708. parameters:
  16709. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  16710. in: query
  16711. name: status
  16712. type: string
  16713. produces:
  16714. - application/json
  16715. responses:
  16716. "200":
  16717. description: OK
  16718. schema:
  16719. items:
  16720. $ref: '#/definitions/models.QhjPickGoods'
  16721. type: array
  16722. "500":
  16723. description: Internal Server Error
  16724. schema:
  16725. $ref: '#/definitions/app.Response'
  16726. security:
  16727. - ApiKeyAuth: []
  16728. summary: 查询提货商品
  16729. tags:
  16730. - 大连千海金
  16731. /Qhj/QueryRSTriggerLog:
  16732. get:
  16733. parameters:
  16734. - description: 用户ID
  16735. in: query
  16736. name: userid
  16737. required: true
  16738. type: integer
  16739. - description: 定投策略id
  16740. in: query
  16741. name: regularlystrategyid
  16742. type: integer
  16743. produces:
  16744. - application/json
  16745. responses:
  16746. "200":
  16747. description: OK
  16748. schema:
  16749. items:
  16750. $ref: '#/definitions/models.QhjRSTriggerLog'
  16751. type: array
  16752. "500":
  16753. description: Internal Server Error
  16754. schema:
  16755. $ref: '#/definitions/app.Response'
  16756. security:
  16757. - ApiKeyAuth: []
  16758. summary: 查询定投记录(定投管理/详情/定投记录)
  16759. tags:
  16760. - 大连千海金
  16761. /Qhj/QueryRStrategy:
  16762. get:
  16763. parameters:
  16764. - description: 用户ID
  16765. in: query
  16766. name: userid
  16767. required: true
  16768. type: integer
  16769. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  16770. in: query
  16771. name: status
  16772. type: string
  16773. produces:
  16774. - application/json
  16775. responses:
  16776. "200":
  16777. description: OK
  16778. schema:
  16779. items:
  16780. $ref: '#/definitions/models.QhjRStrategy'
  16781. type: array
  16782. "500":
  16783. description: Internal Server Error
  16784. schema:
  16785. $ref: '#/definitions/app.Response'
  16786. security:
  16787. - ApiKeyAuth: []
  16788. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  16789. tags:
  16790. - 大连千海金
  16791. /Qhj/QueryReckonPriceLog:
  16792. get:
  16793. parameters:
  16794. - description: 商品ID
  16795. in: query
  16796. name: goodsid
  16797. type: integer
  16798. - description: 交易日 格式(yyyymmdd)
  16799. in: query
  16800. name: tradedate
  16801. type: string
  16802. produces:
  16803. - application/json
  16804. responses:
  16805. "200":
  16806. description: OK
  16807. schema:
  16808. items:
  16809. $ref: '#/definitions/models.QhjReckonPriceLog'
  16810. type: array
  16811. "500":
  16812. description: Internal Server Error
  16813. schema:
  16814. $ref: '#/definitions/app.Response'
  16815. security:
  16816. - ApiKeyAuth: []
  16817. summary: 查询定投价(结算价)
  16818. tags:
  16819. - 大连千海金
  16820. /Qhj/QueryTradeGoodsPickup:
  16821. get:
  16822. parameters:
  16823. - description: 用户ID
  16824. in: query
  16825. name: userid
  16826. required: true
  16827. type: integer
  16828. produces:
  16829. - application/json
  16830. responses:
  16831. "200":
  16832. description: OK
  16833. schema:
  16834. items:
  16835. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  16836. type: array
  16837. "500":
  16838. description: Internal Server Error
  16839. schema:
  16840. $ref: '#/definitions/app.Response'
  16841. security:
  16842. - ApiKeyAuth: []
  16843. summary: 查询提货
  16844. tags:
  16845. - 大连千海金
  16846. /Qhj/QueryUserCollectConfig:
  16847. get:
  16848. parameters:
  16849. - description: 用户ID
  16850. in: query
  16851. name: userid
  16852. required: true
  16853. type: integer
  16854. produces:
  16855. - application/json
  16856. responses:
  16857. "200":
  16858. description: OK
  16859. schema:
  16860. items:
  16861. $ref: '#/definitions/models.UserCollectConfig'
  16862. type: array
  16863. "500":
  16864. description: Internal Server Error
  16865. schema:
  16866. $ref: '#/definitions/app.Response'
  16867. security:
  16868. - ApiKeyAuth: []
  16869. summary: 查询提现账户设置
  16870. tags:
  16871. - 大连千海金
  16872. /Qhj/QueryUserReceiveInfo:
  16873. get:
  16874. parameters:
  16875. - description: 用户ID
  16876. in: query
  16877. name: userid
  16878. required: true
  16879. type: integer
  16880. produces:
  16881. - application/json
  16882. responses:
  16883. "200":
  16884. description: OK
  16885. schema:
  16886. items:
  16887. $ref: '#/definitions/models.UserReceiveInfo'
  16888. type: array
  16889. "500":
  16890. description: Internal Server Error
  16891. schema:
  16892. $ref: '#/definitions/app.Response'
  16893. security:
  16894. - ApiKeyAuth: []
  16895. summary: 查询收货地址信息
  16896. tags:
  16897. - 大连千海金
  16898. /Quote/QueryHistoryDatas:
  16899. get:
  16900. parameters:
  16901. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16902. 日线'
  16903. in: query
  16904. name: cycleType
  16905. required: true
  16906. type: integer
  16907. - description: 商品代码
  16908. in: query
  16909. name: goodsCode
  16910. required: true
  16911. type: string
  16912. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16913. in: query
  16914. name: startTime
  16915. type: string
  16916. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16917. in: query
  16918. name: endTime
  16919. type: string
  16920. - description: 条数
  16921. in: query
  16922. name: count
  16923. type: integer
  16924. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16925. in: query
  16926. name: isAsc
  16927. type: boolean
  16928. produces:
  16929. - application/json
  16930. responses:
  16931. "200":
  16932. description: OK
  16933. schema:
  16934. $ref: '#/definitions/quote.HistoryData'
  16935. "500":
  16936. description: Internal Server Error
  16937. schema:
  16938. $ref: '#/definitions/app.Response'
  16939. security:
  16940. - ApiKeyAuth: []
  16941. summary: 查询行情历史数据
  16942. tags:
  16943. - 行情服务
  16944. /Quote/QueryHistoryTikDatas:
  16945. get:
  16946. parameters:
  16947. - description: 商品代码
  16948. in: query
  16949. name: goodsCode
  16950. required: true
  16951. type: string
  16952. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16953. in: query
  16954. name: startTime
  16955. type: string
  16956. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16957. in: query
  16958. name: endTime
  16959. type: string
  16960. - description: 条数
  16961. in: query
  16962. name: count
  16963. type: integer
  16964. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16965. in: query
  16966. name: isAsc
  16967. type: boolean
  16968. produces:
  16969. - application/json
  16970. responses:
  16971. "200":
  16972. description: OK
  16973. schema:
  16974. $ref: '#/definitions/quote.HistoryTikData'
  16975. "500":
  16976. description: Internal Server Error
  16977. schema:
  16978. $ref: '#/definitions/app.Response'
  16979. security:
  16980. - ApiKeyAuth: []
  16981. summary: 查询行情Tik数据
  16982. tags:
  16983. - 行情服务
  16984. /Quote/QueryQuoteDay:
  16985. get:
  16986. parameters:
  16987. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16988. in: query
  16989. name: goodsCodes
  16990. required: true
  16991. type: string
  16992. produces:
  16993. - application/json
  16994. responses:
  16995. "200":
  16996. description: OK
  16997. schema:
  16998. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16999. "500":
  17000. description: Internal Server Error
  17001. schema:
  17002. $ref: '#/definitions/app.Response'
  17003. security:
  17004. - ApiKeyAuth: []
  17005. summary: 获取商品盘面信息
  17006. tags:
  17007. - 行情服务
  17008. /Quote/QueryTSData:
  17009. get:
  17010. parameters:
  17011. - description: 商品代码
  17012. in: query
  17013. name: goodsCode
  17014. required: true
  17015. type: string
  17016. produces:
  17017. - application/json
  17018. responses:
  17019. "200":
  17020. description: OK
  17021. schema:
  17022. $ref: '#/definitions/quote.QueryTSDataRsp'
  17023. "500":
  17024. description: Internal Server Error
  17025. schema:
  17026. $ref: '#/definitions/app.Response'
  17027. security:
  17028. - ApiKeyAuth: []
  17029. summary: 分时图数据查询
  17030. tags:
  17031. - 行情服务
  17032. /SZDZ/QueryConvertConfig:
  17033. get:
  17034. parameters:
  17035. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17036. 6:交易转花生米(不设置)
  17037. in: query
  17038. name: convertType
  17039. type: integer
  17040. - description: 外部商品代码[JD\PD]
  17041. in: query
  17042. name: outerGoodsCode
  17043. type: string
  17044. - description: 内部商品ID列表[交易],格式:1,2,3
  17045. in: query
  17046. name: innerGoodsIDs
  17047. type: string
  17048. produces:
  17049. - application/json
  17050. responses:
  17051. "200":
  17052. description: OK
  17053. schema:
  17054. $ref: '#/definitions/models.Szdz3convertconfig'
  17055. "500":
  17056. description: Internal Server Error
  17057. schema:
  17058. $ref: '#/definitions/app.Response'
  17059. security:
  17060. - ApiKeyAuth: []
  17061. summary: 查询交易系统转换设置
  17062. tags:
  17063. - 定制【尚志大宗】
  17064. /SZDZ/QueryConvertLog:
  17065. get:
  17066. parameters:
  17067. - description: 资金账户 - 格式:1,2,3
  17068. in: query
  17069. name: accountID
  17070. required: true
  17071. type: string
  17072. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17073. in: query
  17074. name: startDate
  17075. type: string
  17076. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17077. in: query
  17078. name: endDate
  17079. type: string
  17080. produces:
  17081. - application/json
  17082. responses:
  17083. "200":
  17084. description: OK
  17085. schema:
  17086. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17087. "500":
  17088. description: Internal Server Error
  17089. schema:
  17090. $ref: '#/definitions/app.Response'
  17091. security:
  17092. - ApiKeyAuth: []
  17093. summary: 交易系统转换流水查询
  17094. tags:
  17095. - 定制【尚志大宗】
  17096. /SZDZ/QueryGoodsPickup:
  17097. get:
  17098. parameters:
  17099. - description: 资金账户 - 格式:1,2,3
  17100. in: query
  17101. name: accountID
  17102. required: true
  17103. type: string
  17104. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17105. in: query
  17106. name: takeOrderStatus
  17107. type: integer
  17108. produces:
  17109. - application/json
  17110. responses:
  17111. "200":
  17112. description: OK
  17113. schema:
  17114. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17115. "500":
  17116. description: Internal Server Error
  17117. schema:
  17118. $ref: '#/definitions/app.Response'
  17119. security:
  17120. - ApiKeyAuth: []
  17121. summary: 商品提货单查询
  17122. tags:
  17123. - 定制【尚志大宗】
  17124. /SZDZ/QueryRecieptOrder:
  17125. get:
  17126. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17127. parameters:
  17128. - description: 页码
  17129. in: query
  17130. name: page
  17131. type: integer
  17132. - description: 每页条数
  17133. in: query
  17134. name: pagesize
  17135. type: integer
  17136. - description: 商品ID
  17137. in: query
  17138. name: goodsID
  17139. required: true
  17140. type: integer
  17141. - description: 所属账户名称
  17142. in: query
  17143. name: accountName
  17144. type: string
  17145. - description: 市场ID
  17146. in: query
  17147. name: marketID
  17148. type: integer
  17149. - description: 方向 - 0:买 1:卖
  17150. in: query
  17151. name: buyorsell
  17152. required: true
  17153. type: integer
  17154. produces:
  17155. - application/json
  17156. responses:
  17157. "200":
  17158. description: OK
  17159. schema:
  17160. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17161. "500":
  17162. description: Internal Server Error
  17163. schema:
  17164. $ref: '#/definitions/app.Response'
  17165. security:
  17166. - ApiKeyAuth: []
  17167. summary: 点选挂牌委托单据查询(摘牌大厅)
  17168. tags:
  17169. - 定制【尚志大宗】
  17170. /SZDZ/QuerySZDZTradePosition:
  17171. get:
  17172. parameters:
  17173. - description: 资金账户
  17174. in: query
  17175. name: accountID
  17176. required: true
  17177. type: integer
  17178. produces:
  17179. - application/json
  17180. responses:
  17181. "200":
  17182. description: OK
  17183. schema:
  17184. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17185. "500":
  17186. description: Internal Server Error
  17187. schema:
  17188. $ref: '#/definitions/app.Response'
  17189. security:
  17190. - ApiKeyAuth: []
  17191. summary: 持仓汇总查询(尚志大宗)
  17192. tags:
  17193. - 定制【尚志大宗】
  17194. /SZDZ/SearchWhite:
  17195. get:
  17196. parameters:
  17197. - description: 用户ID
  17198. in: query
  17199. name: userID
  17200. required: true
  17201. type: integer
  17202. produces:
  17203. - application/json
  17204. responses:
  17205. "200":
  17206. description: OK
  17207. schema:
  17208. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17209. "500":
  17210. description: Internal Server Error
  17211. schema:
  17212. $ref: '#/definitions/app.Response'
  17213. security:
  17214. - ApiKeyAuth: []
  17215. summary: 搜索白名单
  17216. tags:
  17217. - 定制【尚志大宗】
  17218. /Search/SearchGoodses:
  17219. get:
  17220. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17221. parameters:
  17222. - description: 检索内容
  17223. in: query
  17224. name: content
  17225. required: true
  17226. type: string
  17227. - description: 交易模式,格式:1,2,3
  17228. in: query
  17229. name: tradeModes
  17230. type: string
  17231. produces:
  17232. - application/json
  17233. responses:
  17234. "200":
  17235. description: OK
  17236. schema:
  17237. $ref: '#/definitions/models.SearchGoods'
  17238. "500":
  17239. description: Internal Server Error
  17240. schema:
  17241. $ref: '#/definitions/app.Response'
  17242. summary: 检索商品信息
  17243. tags:
  17244. - 检索服务
  17245. /TaAccount/GetTaAccounts:
  17246. get:
  17247. parameters:
  17248. - description: 登录账户
  17249. in: query
  17250. name: loginID
  17251. required: true
  17252. type: integer
  17253. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17254. in: query
  17255. name: taAccountType
  17256. type: integer
  17257. produces:
  17258. - application/json
  17259. responses:
  17260. "200":
  17261. description: OK
  17262. schema:
  17263. $ref: '#/definitions/models.Taaccount'
  17264. "500":
  17265. description: Internal Server Error
  17266. schema:
  17267. $ref: '#/definitions/app.Response'
  17268. security:
  17269. - ApiKeyAuth: []
  17270. summary: 获取资金账户信息
  17271. tags:
  17272. - 资金账户
  17273. /TaAccount/QueryAmountLog:
  17274. get:
  17275. parameters:
  17276. - description: 页码
  17277. in: query
  17278. name: page
  17279. type: integer
  17280. - description: 每页条数
  17281. in: query
  17282. name: pagesize
  17283. type: integer
  17284. - description: 资金账户 - 格式:1,2,3
  17285. in: query
  17286. name: accountID
  17287. required: true
  17288. type: string
  17289. - description: 资金操作类型 - 格式:1,2,3
  17290. in: query
  17291. name: OperateType
  17292. type: string
  17293. produces:
  17294. - application/json
  17295. responses:
  17296. "200":
  17297. description: OK
  17298. schema:
  17299. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17300. "500":
  17301. description: Internal Server Error
  17302. schema:
  17303. $ref: '#/definitions/app.Response'
  17304. security:
  17305. - ApiKeyAuth: []
  17306. summary: 资金流水查询(当前)
  17307. tags:
  17308. - 资金账户
  17309. /TaAccount/QueryHisAmountLog:
  17310. get:
  17311. parameters:
  17312. - description: 页码
  17313. in: query
  17314. name: page
  17315. type: integer
  17316. - description: 每页条数
  17317. in: query
  17318. name: pagesize
  17319. type: integer
  17320. - description: 资金账户 - 格式:1,2,3
  17321. in: query
  17322. name: accountID
  17323. required: true
  17324. type: string
  17325. - description: 资金操作类型 - 格式:1,2,3
  17326. in: query
  17327. name: OperateType
  17328. type: string
  17329. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17330. in: query
  17331. name: startDate
  17332. type: string
  17333. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17334. in: query
  17335. name: endDate
  17336. type: string
  17337. produces:
  17338. - application/json
  17339. responses:
  17340. "200":
  17341. description: OK
  17342. schema:
  17343. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17344. "500":
  17345. description: Internal Server Error
  17346. schema:
  17347. $ref: '#/definitions/app.Response'
  17348. security:
  17349. - ApiKeyAuth: []
  17350. summary: 资金流水查询(历史)
  17351. tags:
  17352. - 资金账户
  17353. /Trade/QueryRecieptOrder:
  17354. get:
  17355. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17356. parameters:
  17357. - description: 页码
  17358. in: query
  17359. name: page
  17360. type: integer
  17361. - description: 每页条数
  17362. in: query
  17363. name: pagesize
  17364. type: integer
  17365. - description: 商品ID
  17366. in: query
  17367. name: goodsID
  17368. required: true
  17369. type: integer
  17370. - description: 所属账户名称
  17371. in: query
  17372. name: accountName
  17373. type: string
  17374. - description: 市场ID
  17375. in: query
  17376. name: marketID
  17377. type: integer
  17378. - description: 方向 - 0:买 1:卖
  17379. in: query
  17380. name: buyorsell
  17381. required: true
  17382. type: integer
  17383. produces:
  17384. - application/json
  17385. responses:
  17386. "200":
  17387. description: OK
  17388. schema:
  17389. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17390. "500":
  17391. description: Internal Server Error
  17392. schema:
  17393. $ref: '#/definitions/app.Response'
  17394. security:
  17395. - ApiKeyAuth: []
  17396. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17397. tags:
  17398. - 通用交易
  17399. /User/AddMessageBoard:
  17400. post:
  17401. parameters:
  17402. - description: 用户ID
  17403. in: query
  17404. name: userID
  17405. required: true
  17406. type: integer
  17407. - description: 留言信息
  17408. in: query
  17409. name: message
  17410. required: true
  17411. type: string
  17412. - description: 联系电话
  17413. in: query
  17414. name: contactNum
  17415. required: true
  17416. type: string
  17417. produces:
  17418. - application/json
  17419. responses:
  17420. "200":
  17421. description: OK
  17422. schema:
  17423. $ref: '#/definitions/app.Response'
  17424. "500":
  17425. description: Internal Server Error
  17426. schema:
  17427. $ref: '#/definitions/app.Response'
  17428. security:
  17429. - ApiKeyAuth: []
  17430. summary: 添加用户留言板信息
  17431. tags:
  17432. - 用户信息
  17433. /User/AddUserFavoriteGoods:
  17434. post:
  17435. parameters:
  17436. - description: 用户ID
  17437. in: query
  17438. name: userID
  17439. required: true
  17440. type: integer
  17441. - description: 商品ID
  17442. in: query
  17443. name: goodsID
  17444. required: true
  17445. type: integer
  17446. produces:
  17447. - application/json
  17448. responses:
  17449. "200":
  17450. description: OK
  17451. schema:
  17452. $ref: '#/definitions/app.Response'
  17453. "500":
  17454. description: Internal Server Error
  17455. schema:
  17456. $ref: '#/definitions/app.Response'
  17457. security:
  17458. - ApiKeyAuth: []
  17459. summary: 添加用户商品收藏信息
  17460. tags:
  17461. - 用户信息
  17462. /User/GetLoginID:
  17463. get:
  17464. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17465. parameters:
  17466. - description: 登录代码
  17467. in: query
  17468. name: username
  17469. required: true
  17470. type: string
  17471. produces:
  17472. - application/json
  17473. responses:
  17474. "200":
  17475. description: OK
  17476. schema:
  17477. $ref: '#/definitions/app.Response'
  17478. "500":
  17479. description: Internal Server Error
  17480. schema:
  17481. $ref: '#/definitions/app.Response'
  17482. summary: 获取登录ID
  17483. tags:
  17484. - 用户信息
  17485. /User/GetUserAccount:
  17486. get:
  17487. parameters:
  17488. - description: 用户ID
  17489. in: query
  17490. name: userID
  17491. required: true
  17492. type: integer
  17493. produces:
  17494. - application/json
  17495. responses:
  17496. "200":
  17497. description: OK
  17498. schema:
  17499. $ref: '#/definitions/models.Useraccount'
  17500. "500":
  17501. description: Internal Server Error
  17502. schema:
  17503. $ref: '#/definitions/app.Response'
  17504. security:
  17505. - ApiKeyAuth: []
  17506. summary: 获取用户账号信息
  17507. tags:
  17508. - 用户信息
  17509. /User/GetUserAuthStatus:
  17510. get:
  17511. parameters:
  17512. - description: 用户ID
  17513. in: query
  17514. name: userID
  17515. required: true
  17516. type: integer
  17517. produces:
  17518. - application/json
  17519. responses:
  17520. "200":
  17521. description: OK
  17522. schema:
  17523. $ref: '#/definitions/app.Response'
  17524. "500":
  17525. description: Internal Server Error
  17526. schema:
  17527. $ref: '#/definitions/app.Response'
  17528. security:
  17529. - ApiKeyAuth: []
  17530. summary: 获取用户实名认证状态
  17531. tags:
  17532. - 用户信息
  17533. /User/LoginQuery:
  17534. get:
  17535. parameters:
  17536. - description: 登录账号
  17537. in: query
  17538. name: loginID
  17539. required: true
  17540. type: integer
  17541. produces:
  17542. - application/json
  17543. responses:
  17544. "200":
  17545. description: OK
  17546. schema:
  17547. $ref: '#/definitions/user.LoginQueryRsp'
  17548. "500":
  17549. description: Internal Server Error
  17550. schema:
  17551. $ref: '#/definitions/app.Response'
  17552. security:
  17553. - ApiKeyAuth: []
  17554. summary: 账户登录后信息查询
  17555. tags:
  17556. - 用户信息
  17557. /User/QueryMessageBoard:
  17558. get:
  17559. parameters:
  17560. - description: 用户ID
  17561. in: query
  17562. name: userID
  17563. required: true
  17564. type: integer
  17565. produces:
  17566. - application/json
  17567. responses:
  17568. "200":
  17569. description: OK
  17570. schema:
  17571. $ref: '#/definitions/models.Messageboard'
  17572. "500":
  17573. description: Internal Server Error
  17574. schema:
  17575. $ref: '#/definitions/app.Response'
  17576. security:
  17577. - ApiKeyAuth: []
  17578. summary: 获取用户留言板信息
  17579. tags:
  17580. - 用户信息
  17581. /User/QueryUserFavoriteGoodses:
  17582. get:
  17583. parameters:
  17584. - description: 用户ID
  17585. in: query
  17586. name: userID
  17587. required: true
  17588. type: integer
  17589. produces:
  17590. - application/json
  17591. responses:
  17592. "200":
  17593. description: OK
  17594. schema:
  17595. $ref: '#/definitions/models.Userfavoritegoods'
  17596. "500":
  17597. description: Internal Server Error
  17598. schema:
  17599. $ref: '#/definitions/app.Response'
  17600. security:
  17601. - ApiKeyAuth: []
  17602. summary: 获取用户商品收藏信息
  17603. tags:
  17604. - 用户信息
  17605. /User/QueryUserInfo:
  17606. get:
  17607. parameters:
  17608. - description: 用户ID
  17609. in: query
  17610. name: userID
  17611. required: true
  17612. type: integer
  17613. - description: 是否解密
  17614. in: query
  17615. name: isDecrypt
  17616. type: boolean
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. $ref: '#/definitions/models.Userinfo'
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 获取用户信息
  17631. tags:
  17632. - 用户信息
  17633. /User/QueryUserReferNum:
  17634. get:
  17635. parameters:
  17636. - description: 用户ID
  17637. in: query
  17638. name: userID
  17639. required: true
  17640. type: integer
  17641. produces:
  17642. - application/json
  17643. responses:
  17644. "200":
  17645. description: OK
  17646. schema:
  17647. $ref: '#/definitions/app.Response'
  17648. "500":
  17649. description: Internal Server Error
  17650. schema:
  17651. $ref: '#/definitions/app.Response'
  17652. summary: 获取用户邀请码
  17653. tags:
  17654. - 用户信息
  17655. /User/RemoveUserFavoriteGoods:
  17656. post:
  17657. parameters:
  17658. - description: 用户ID
  17659. in: query
  17660. name: userID
  17661. required: true
  17662. type: integer
  17663. - description: 商品ID
  17664. in: query
  17665. name: goodsID
  17666. required: true
  17667. type: integer
  17668. produces:
  17669. - application/json
  17670. responses:
  17671. "200":
  17672. description: OK
  17673. schema:
  17674. $ref: '#/definitions/app.Response'
  17675. "500":
  17676. description: Internal Server Error
  17677. schema:
  17678. $ref: '#/definitions/app.Response'
  17679. security:
  17680. - ApiKeyAuth: []
  17681. summary: 移除用户商品收藏信息
  17682. tags:
  17683. - 用户信息
  17684. /User/UpdateUserAccountStatus:
  17685. post:
  17686. parameters:
  17687. - description: 用户ID
  17688. in: query
  17689. name: userID
  17690. required: true
  17691. type: integer
  17692. - description: 账户状态 - 4:正常 6:注销(停用)
  17693. in: query
  17694. name: accountStatus
  17695. required: true
  17696. type: integer
  17697. produces:
  17698. - application/json
  17699. responses:
  17700. "200":
  17701. description: OK
  17702. schema:
  17703. $ref: '#/definitions/app.Response'
  17704. "500":
  17705. description: Internal Server Error
  17706. schema:
  17707. $ref: '#/definitions/app.Response'
  17708. security:
  17709. - ApiKeyAuth: []
  17710. summary: 更新用户状态
  17711. tags:
  17712. - 用户信息
  17713. /WRTrade/GetAllDeliveryGoods:
  17714. get:
  17715. produces:
  17716. - application/json
  17717. - application/json
  17718. responses:
  17719. "200":
  17720. description: OK
  17721. schema:
  17722. $ref: '#/definitions/app.Response'
  17723. "500":
  17724. description: Internal Server Error
  17725. schema:
  17726. $ref: '#/definitions/app.Response'
  17727. security:
  17728. - ApiKeyAuth: []
  17729. - ApiKeyAuth: []
  17730. summary: 获取带仓单分类的种类信息
  17731. tags:
  17732. - 仓单贸易
  17733. - 仓单贸易
  17734. securityDefinitions:
  17735. ApiKeyAuth:
  17736. in: header
  17737. name: Authorization
  17738. type: apiKey
  17739. swagger: "2.0"