swagger.yaml 481 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493
  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.QhjContract:
  8712. properties:
  8713. contractconfirmtime:
  8714. description: 合同确认时间(时间)
  8715. type: string
  8716. enumdicname:
  8717. description: 单位名称
  8718. type: string
  8719. goodscode:
  8720. description: 商品代码
  8721. type: string
  8722. goodsid:
  8723. description: 商品ID [5:融资单]
  8724. type: integer
  8725. goodsname:
  8726. description: 商品名称
  8727. type: string
  8728. goodunitid:
  8729. description: 商品单位id
  8730. type: integer
  8731. initmargin:
  8732. description: 初始保证金(首付款)
  8733. type: number
  8734. lenderamount:
  8735. description: 贷款金额(总额|订单总额)
  8736. type: number
  8737. marginratio:
  8738. description: 保证金比率(首付比例)
  8739. type: number
  8740. payamount:
  8741. description: 已付(已付货款)
  8742. type: number
  8743. recoveredmargin:
  8744. description: 已追缴保证金
  8745. type: number
  8746. remainamount:
  8747. description: 合同剩余金额(融资额)
  8748. type: number
  8749. scfcontractid:
  8750. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8751. type: integer
  8752. scfcontracttype:
  8753. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  8754. type: integer
  8755. totalinterest:
  8756. description: 已计总利息(利息)
  8757. type: number
  8758. tradeprice:
  8759. description: 成交价格(成本价格)
  8760. type: number
  8761. userid:
  8762. description: 用户ID
  8763. type: integer
  8764. username:
  8765. description: 用户名称
  8766. type: string
  8767. wrqty:
  8768. description: 仓单数量(数量)
  8769. type: integer
  8770. type: object
  8771. models.QhjContractLog:
  8772. properties:
  8773. amount:
  8774. description: 支付金额
  8775. type: number
  8776. amounttype:
  8777. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  8778. type: integer
  8779. logid:
  8780. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. remainamount:
  8783. description: 剩余货款
  8784. type: number
  8785. scfcontractid:
  8786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8787. type: integer
  8788. updatetime:
  8789. description: 更新时间
  8790. type: string
  8791. type: object
  8792. models.QhjPickArea:
  8793. properties:
  8794. cityid:
  8795. description: 市
  8796. type: integer
  8797. cityname:
  8798. description: 城市名称
  8799. type: string
  8800. countryid:
  8801. description: 国家
  8802. type: integer
  8803. countryname:
  8804. description: 国家名称
  8805. type: string
  8806. districtid:
  8807. description: 地区
  8808. type: integer
  8809. districtname:
  8810. description: 地区名称
  8811. type: string
  8812. fromuserid:
  8813. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  8814. type: integer
  8815. fromusername:
  8816. description: 所属机构名称
  8817. type: string
  8818. provinceid:
  8819. description: 省
  8820. type: integer
  8821. provincename:
  8822. description: 省名称
  8823. type: string
  8824. suborgtype:
  8825. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  8826. type: integer
  8827. userid:
  8828. description: 机构用户ID 其他做市关系,都设置为 1
  8829. type: integer
  8830. username:
  8831. description: 机构用户名称(门店门称)
  8832. type: string
  8833. type: object
  8834. models.QhjPickGoods:
  8835. properties:
  8836. imageaddress:
  8837. description: 图片
  8838. type: string
  8839. modifierid:
  8840. description: 修改人
  8841. type: integer
  8842. modifiername:
  8843. description: 修改人名称
  8844. type: string
  8845. modifysrc:
  8846. description: 修改来源 - 1:管理端 2:终端
  8847. type: integer
  8848. pickupgoodsagreeunit:
  8849. description: 合约乘数
  8850. type: number
  8851. pickupgoodsdesc:
  8852. description: 描述
  8853. type: string
  8854. pickupgoodsid:
  8855. description: 提货商品ID
  8856. type: string
  8857. pickupgoodsname:
  8858. description: 提货商品名称
  8859. type: string
  8860. pickupgoodsstatus:
  8861. description: 状态 - 1:正常 2:停用 3:注销
  8862. type: integer
  8863. pickupgoodsunitid:
  8864. description: 单位ID
  8865. type: integer
  8866. preparedays:
  8867. description: 备货期(天)
  8868. type: integer
  8869. remark:
  8870. description: 备注
  8871. type: string
  8872. updatetime:
  8873. description: 更新时间
  8874. type: string
  8875. type: object
  8876. models.QhjRSTriggerLog:
  8877. properties:
  8878. accountid:
  8879. description: 用户资金账户
  8880. type: integer
  8881. accountname:
  8882. description: 账号名称(ACCOUNTID对应的名称)
  8883. type: string
  8884. currencyid:
  8885. description: 币种id
  8886. type: integer
  8887. currencyname:
  8888. description: 币种名称
  8889. type: string
  8890. enumdicname:
  8891. description: 单位名称
  8892. type: string
  8893. goodscode:
  8894. description: 定投商品代码
  8895. type: string
  8896. goodsid:
  8897. description: 定投商品ID
  8898. type: string
  8899. goodsname:
  8900. description: 定投商品名称
  8901. type: string
  8902. goodunitid:
  8903. description: 定投商品单位id
  8904. type: integer
  8905. logid:
  8906. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  8907. type: string
  8908. regularlycycle:
  8909. description: 定投频率 - 1:每周 2:每月
  8910. type: integer
  8911. regularlycyclevalue:
  8912. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  8913. type: string
  8914. regularlymode:
  8915. description: 定投方式 - 1:按数量 2:按金额
  8916. type: integer
  8917. regularlymodevalue:
  8918. description: 定投方式值 - 数量或金额
  8919. type: number
  8920. regularlystrategyid:
  8921. description: 定投策略ID
  8922. type: integer
  8923. retcode:
  8924. description: 错误码
  8925. type: string
  8926. tradeid:
  8927. description: 成交单ID
  8928. type: string
  8929. triggeramount:
  8930. description: 触发金额
  8931. type: number
  8932. triggerqty:
  8933. description: 触发数量
  8934. type: number
  8935. triggerstatus:
  8936. description: 触发状态 - 1:成功 2:失败
  8937. type: integer
  8938. triggertime:
  8939. description: 触发时间
  8940. type: string
  8941. triggertradedate:
  8942. description: 触发交易日
  8943. type: string
  8944. userid:
  8945. description: 所属用户ID
  8946. type: integer
  8947. username:
  8948. description: 用户名称(userid对应的名称)
  8949. type: string
  8950. type: object
  8951. models.QhjRStrategy:
  8952. properties:
  8953. accountid:
  8954. description: 用户资金账户
  8955. type: integer
  8956. accountname:
  8957. description: 账号名称(ACCOUNTID对应的名称)
  8958. type: string
  8959. currencyid:
  8960. description: 币种id
  8961. type: integer
  8962. currencyname:
  8963. description: 币种名称
  8964. type: string
  8965. enumdicname:
  8966. description: 单位名称
  8967. type: string
  8968. goodscode:
  8969. description: 定投商品代码
  8970. type: string
  8971. goodsid:
  8972. description: 定投商品ID
  8973. type: string
  8974. goodsname:
  8975. description: 定投商品名称
  8976. type: string
  8977. goodunitid:
  8978. description: 定投商品单位id
  8979. type: integer
  8980. lasteffecttradedate:
  8981. description: 最新生效交易日
  8982. type: string
  8983. laststoptradedate:
  8984. description: 最新暂停交易日
  8985. type: string
  8986. lasttriggertradedate:
  8987. description: 最新触发交易日
  8988. type: string
  8989. nexttriggeramount:
  8990. description: 下次触发金额
  8991. type: number
  8992. nexttriggerdate:
  8993. description: 下次触发日期
  8994. type: string
  8995. nexttriggerqty:
  8996. description: 下次触发数量 [按小数位放大值]
  8997. type: number
  8998. regularlycycle:
  8999. description: 定投频率 - 1:每周 2:每月
  9000. type: integer
  9001. regularlycyclevalue:
  9002. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9003. type: string
  9004. regularlymode:
  9005. description: 定投方式 - 1:按数量 2:按金额
  9006. type: integer
  9007. regularlymodevalue:
  9008. description: 定投方式值 - 数量或金额
  9009. type: number
  9010. regularlystrategyid:
  9011. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9012. type: integer
  9013. regularlystrategystatus:
  9014. description: 策略状态 - 1:正常 2:暂停 3:终止
  9015. type: integer
  9016. remark:
  9017. description: 备注
  9018. type: string
  9019. triggersuccesstimes:
  9020. description: 累计定投成功次数
  9021. type: string
  9022. triggertotalamount:
  9023. description: 累计定投金额(成功)
  9024. type: number
  9025. triggertotalqty:
  9026. description: 累计定投数量(成功) [按小数位放大值]
  9027. type: number
  9028. triggertotaltimes:
  9029. description: 累计定投总次数
  9030. type: string
  9031. updatesrc:
  9032. description: 更新来源 - 1:管理端 2:终端
  9033. type: integer
  9034. updatetime:
  9035. description: 更新时间
  9036. type: string
  9037. updatorid:
  9038. description: 更新人
  9039. type: string
  9040. userid:
  9041. description: 所属用户ID
  9042. type: integer
  9043. username:
  9044. description: 用户名称(userid对应的名称)
  9045. type: string
  9046. type: object
  9047. models.QhjTradeGoodsPickup:
  9048. properties:
  9049. accountid:
  9050. description: 账户ID
  9051. type: integer
  9052. address:
  9053. description: 提货人详细地址
  9054. type: string
  9055. amount:
  9056. description: 提货金额
  9057. type: number
  9058. artradedate:
  9059. description: 自动收货交易日(yyyyMMdd)
  9060. type: string
  9061. auditer:
  9062. description: 审核人
  9063. type: integer
  9064. auditsrc:
  9065. description: 更新来源 - 1:管理端 2:终端
  9066. type: integer
  9067. audittime:
  9068. description: 审核时间(发货时间)
  9069. type: string
  9070. audittradedate:
  9071. description: 审核交易日(yyyyMMdd)
  9072. type: string
  9073. cardnum:
  9074. description: 提货人证件号码
  9075. type: string
  9076. cardtypeid:
  9077. description: 提货人证件类型
  9078. type: integer
  9079. checkremark:
  9080. description: 审核备注
  9081. type: string
  9082. cityid:
  9083. description: 市
  9084. type: integer
  9085. cityname:
  9086. description: 城市名称
  9087. type: string
  9088. countryid:
  9089. description: 国家
  9090. type: integer
  9091. countryname:
  9092. description: 国家名称
  9093. type: string
  9094. districtid:
  9095. description: 地区
  9096. type: integer
  9097. districtname:
  9098. description: 地区名称
  9099. type: string
  9100. enumdicname:
  9101. description: 单位名称(提货商品)
  9102. type: string
  9103. expresscompany:
  9104. description: 物流公司
  9105. type: string
  9106. expressnum:
  9107. description: 物流单号
  9108. type: string
  9109. goodsagreeunit:
  9110. description: 交易商品乘数
  9111. type: number
  9112. goodscode:
  9113. description: 商品代码
  9114. type: string
  9115. goodsid:
  9116. description: 商品ID
  9117. type: integer
  9118. goodsname:
  9119. description: 商品名称
  9120. type: string
  9121. goodsqty:
  9122. description: 交易商品手数(69模式按成交量小数位放大取整)
  9123. type: number
  9124. handlestatus:
  9125. description: 处理状态
  9126. type: integer
  9127. marketid:
  9128. description: 市场ID
  9129. type: integer
  9130. phonenum:
  9131. description: 提货人联系方式
  9132. type: string
  9133. pickupgoodsagreeunit:
  9134. description: 提货商品合约乘数
  9135. type: number
  9136. pickupgoodsid:
  9137. description: 提货商品ID
  9138. type: string
  9139. pickupgoodsname:
  9140. description: 提货商品名称
  9141. type: string
  9142. pickupgoodsqty:
  9143. description: 提货商品手数(数量)
  9144. type: number
  9145. pickupgoodsunitid:
  9146. description: 单位ID(提货商品)
  9147. type: integer
  9148. pickupratio:
  9149. description: 提货系数
  9150. type: number
  9151. preparedays:
  9152. description: 备货期(天)-提货单明细表
  9153. type: integer
  9154. provinceid:
  9155. description: 省
  9156. type: integer
  9157. provincename:
  9158. description: 省名称
  9159. type: string
  9160. qty:
  9161. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  9162. type: number
  9163. recivername:
  9164. description: 提货人姓名
  9165. type: string
  9166. reqtime:
  9167. description: 提货申请时间
  9168. type: string
  9169. storeuserid:
  9170. description: 门店用户ID (千海金)
  9171. type: integer
  9172. storeusername:
  9173. description: 门店用户名称
  9174. type: string
  9175. takemode:
  9176. description: 提货方式 - 2:自提 3:配送(邮寄)
  9177. type: integer
  9178. takeorderid:
  9179. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9180. type: integer
  9181. takeorderstatus:
  9182. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  9183. 7:已拒绝 8:已撤销
  9184. type: integer
  9185. takeremark:
  9186. description: 提货备注
  9187. type: string
  9188. tradedate:
  9189. description: 交易日(yyyyMMdd)
  9190. type: string
  9191. updatetime:
  9192. description: 更新时间
  9193. type: string
  9194. userid:
  9195. description: 用户ID
  9196. type: integer
  9197. username:
  9198. description: 用户名称
  9199. type: string
  9200. type: object
  9201. models.QueryErrorInfosRsp:
  9202. properties:
  9203. description:
  9204. description: 异常描述
  9205. type: string
  9206. errorcode:
  9207. description: 异常代码
  9208. type: string
  9209. errorid:
  9210. description: 异常ID
  9211. type: integer
  9212. modulecode:
  9213. description: 所属模块
  9214. type: string
  9215. operatecode:
  9216. description: 所属操作
  9217. type: string
  9218. rownumber:
  9219. description: 行号
  9220. type: string
  9221. required:
  9222. - errorid
  9223. type: object
  9224. models.QueryHedgeOrderDetailRsp:
  9225. properties:
  9226. accountid:
  9227. description: 账户ID
  9228. type: integer
  9229. buyorsell:
  9230. description: 买卖 - 0:买 1:卖
  9231. type: integer
  9232. cancellogincode:
  9233. description: 撤单人
  9234. type: string
  9235. channelbuildtype:
  9236. description: 开平标志 - 0:无 1:建仓 2:平仓
  9237. type: integer
  9238. channelinnerorderstatus:
  9239. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9240. 9:全部成交
  9241. type: integer
  9242. channeloperatetype:
  9243. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9244. type: integer
  9245. closetype:
  9246. description: 平仓方式 - 0:无 1:平今 2:平昨
  9247. type: integer
  9248. curexchangerate:
  9249. description: 当前汇率
  9250. type: number
  9251. exchangefullname:
  9252. description: 外部交易所全称
  9253. type: string
  9254. goodscode:
  9255. description: 商品代码(内部)
  9256. type: string
  9257. goodsid:
  9258. description: 商品ID
  9259. type: integer
  9260. goodsname:
  9261. description: 商品名称
  9262. type: string
  9263. marketid:
  9264. description: 市场ID
  9265. type: integer
  9266. openfreezemargin:
  9267. description: 冻结保证金(冻结交易金额)
  9268. type: number
  9269. orderid:
  9270. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9271. type: string
  9272. orderlogincode:
  9273. description: 委托人
  9274. type: string
  9275. orderprice:
  9276. description: 委托价格(账户)
  9277. type: number
  9278. orderqty:
  9279. description: 委托数量
  9280. type: integer
  9281. ordertime:
  9282. description: 委托时间
  9283. type: string
  9284. pricemode:
  9285. description: '取价方式 - 1:市价 2: 限价'
  9286. type: integer
  9287. tradedate:
  9288. description: 交易日(yyyyMMdd)
  9289. type: string
  9290. tradeqty:
  9291. description: 成交数量
  9292. type: integer
  9293. type: object
  9294. models.QueryHedgeTradeDetailRsp:
  9295. properties:
  9296. accountid:
  9297. description: 账号ID
  9298. type: integer
  9299. buyorsell:
  9300. description: 方向 - 0:买 1:卖
  9301. type: integer
  9302. channelbuildtype:
  9303. description: 委托单据类型 0:无 1:建仓 2:平仓
  9304. type: integer
  9305. closecharge:
  9306. description: 平仓手续费(账户)
  9307. type: number
  9308. closecharge2:
  9309. description: 平仓手续费(商品)
  9310. type: number
  9311. closepl:
  9312. description: 平仓盈亏(账户)
  9313. type: number
  9314. closepl2:
  9315. description: 平仓盈亏(商品)
  9316. type: number
  9317. closepl3:
  9318. description: 平仓盈亏(账户)(逐笔)
  9319. type: number
  9320. closepl4:
  9321. description: 平仓盈亏(商品)(逐笔)
  9322. type: number
  9323. closetype:
  9324. description: 平仓方式 - 0:无 1:平今 2:平昨
  9325. type: integer
  9326. curexchangerate:
  9327. description: 当前汇率
  9328. type: number
  9329. exchangefullname:
  9330. description: 外部交易所全称
  9331. type: string
  9332. goodscode:
  9333. description: 商品代码(内部)
  9334. type: string
  9335. goodsid:
  9336. description: 商品ID
  9337. type: integer
  9338. goodsname:
  9339. description: 商品名称
  9340. type: string
  9341. marketid:
  9342. description: 市场ID
  9343. type: integer
  9344. opencharge:
  9345. description: 建仓手续费(账户)
  9346. type: number
  9347. opencharge2:
  9348. description: 建仓手续费(商品)
  9349. type: number
  9350. orderid:
  9351. description: 委托单号
  9352. type: string
  9353. orderlogincode:
  9354. description: 委托人
  9355. type: string
  9356. tradeamount:
  9357. description: 成交金额(账户)
  9358. type: number
  9359. tradedate:
  9360. description: 交易日(yyyyMMdd)
  9361. type: string
  9362. tradeid:
  9363. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9364. type: string
  9365. tradeprice:
  9366. description: 成交价格
  9367. type: number
  9368. tradeqty:
  9369. description: 成交数量
  9370. type: integer
  9371. tradetime:
  9372. description: 成交时间
  9373. type: string
  9374. tradetype:
  9375. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9376. type: integer
  9377. type: object
  9378. models.QuotePrimaryMenu:
  9379. properties:
  9380. Index:
  9381. description: 序号
  9382. type: integer
  9383. Key:
  9384. description: 键名
  9385. type: string
  9386. Name:
  9387. description: 菜单名称
  9388. type: string
  9389. SubMenus:
  9390. description: 子菜单
  9391. items:
  9392. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9393. type: array
  9394. SubTitleType:
  9395. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9396. type: integer
  9397. TradeModes:
  9398. description: 包含市场交易类型
  9399. type: string
  9400. type: object
  9401. models.QuoteSecondaryMenu:
  9402. properties:
  9403. ExExchangeCode:
  9404. description: 外部交易所代码
  9405. type: string
  9406. ExExchangeID:
  9407. description: 外部交易所ID
  9408. type: integer
  9409. GoodsGroupIDs:
  9410. description: 商品组ID列表
  9411. items:
  9412. type: integer
  9413. type: array
  9414. Index:
  9415. description: 序号
  9416. type: integer
  9417. MarketID:
  9418. description: 市场ID
  9419. type: integer
  9420. MenuTitle:
  9421. description: 菜单标题(市场名称或外部交易所名称)
  9422. type: string
  9423. TradeMode:
  9424. description: 交易模式
  9425. type: integer
  9426. type: object
  9427. models.SearchGoods:
  9428. properties:
  9429. goodscode:
  9430. description: 商品代码(内部)
  9431. type: string
  9432. goodsid:
  9433. description: 商品ID(自增ID SEQ_GOODS)
  9434. type: integer
  9435. goodsname:
  9436. description: 商品名称
  9437. type: string
  9438. marketid:
  9439. description: 所属市场ID
  9440. type: integer
  9441. marketname:
  9442. description: 市场名称
  9443. type: string
  9444. trademode:
  9445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9446. 21:竞拍-大宗式 22:受托竞价
  9447. type: integer
  9448. required:
  9449. - goodscode
  9450. - goodsid
  9451. - goodsname
  9452. - marketid
  9453. - trademode
  9454. type: object
  9455. models.Systemparam:
  9456. properties:
  9457. loginid:
  9458. description: 更新用户账号,登录账号
  9459. type: string
  9460. modifyflag:
  9461. description: 修改标志0 不允许修改 1 允许修改
  9462. type: integer
  9463. paramcode:
  9464. description: 参数代码
  9465. type: string
  9466. paramname:
  9467. description: 参数名
  9468. type: string
  9469. paramtype:
  9470. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9471. type: integer
  9472. paramvalue:
  9473. description: 参数值
  9474. type: string
  9475. paramvalue2:
  9476. description: 参数值(CLOB)
  9477. type: string
  9478. regexpress:
  9479. description: 正则表达式
  9480. type: string
  9481. remark:
  9482. description: 备注
  9483. type: string
  9484. serverip:
  9485. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9486. type: string
  9487. showflag:
  9488. description: 是否显示0 不显示 1 显示
  9489. type: integer
  9490. updatetime:
  9491. description: 更新时间
  9492. type: string
  9493. userid:
  9494. description: 更新用户ID
  9495. type: integer
  9496. required:
  9497. - paramcode
  9498. type: object
  9499. models.Szdz3convertconfig:
  9500. properties:
  9501. canin:
  9502. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9503. type: integer
  9504. canout:
  9505. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9506. type: integer
  9507. converttype:
  9508. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9509. 6:交易转花生米(不设置)
  9510. type: integer
  9511. createtime:
  9512. description: 创建时间
  9513. type: string
  9514. creatorid:
  9515. description: 创建人
  9516. type: integer
  9517. daymaxvalue:
  9518. description: 当日最大转入限制
  9519. type: number
  9520. freezedays:
  9521. description: 冻结天数 [5:花生米转交易]
  9522. type: integer
  9523. innergoodsid:
  9524. description: 内部商品ID[交易]
  9525. type: integer
  9526. inratio:
  9527. description: 目标值
  9528. type: integer
  9529. modifierid:
  9530. description: 修改人
  9531. type: integer
  9532. modifytime:
  9533. description: 修改时间
  9534. type: string
  9535. outergoodscode:
  9536. description: 外部商品代码[JD\PD]
  9537. type: string
  9538. outratio:
  9539. description: 源值
  9540. type: integer
  9541. pddecimalplace:
  9542. description: PD小数位
  9543. type: integer
  9544. timemaxvalue:
  9545. description: 单次最大转入限制
  9546. type: number
  9547. timeminvalue:
  9548. description: 单次最小转入限制
  9549. type: number
  9550. required:
  9551. - converttype
  9552. - innergoodsid
  9553. - outergoodscode
  9554. type: object
  9555. models.Szdz3searchwhitelist:
  9556. properties:
  9557. createtime:
  9558. description: 创建时间
  9559. type: string
  9560. creatorid:
  9561. description: 创建人
  9562. type: integer
  9563. modifierid:
  9564. description: 修改人
  9565. type: integer
  9566. modifytime:
  9567. description: 修改时间
  9568. type: string
  9569. userid:
  9570. description: 用户ID
  9571. type: integer
  9572. required:
  9573. - userid
  9574. type: object
  9575. models.Taaccount:
  9576. properties:
  9577. accountflag:
  9578. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9579. type: integer
  9580. accountid:
  9581. description: 资金账户ID
  9582. type: integer
  9583. accountname:
  9584. description: 账户名称
  9585. type: string
  9586. balance:
  9587. description: 期初余额
  9588. type: number
  9589. capitalbalance:
  9590. description: 本金余额[外部子账户实际出入金余额]
  9591. type: number
  9592. changeflag:
  9593. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9594. type: integer
  9595. changetime:
  9596. description: 账户状态变更时间
  9597. type: string
  9598. closepl:
  9599. description: 今日平仓盈亏
  9600. type: number
  9601. creditdecrease:
  9602. description: 今日授信减少
  9603. type: number
  9604. creditincrease:
  9605. description: 今日授信增加
  9606. type: number
  9607. currencyid:
  9608. description: 货币ID
  9609. type: integer
  9610. currentbalance:
  9611. description: 期末余额
  9612. type: number
  9613. freezecharge:
  9614. description: 手续费冻结
  9615. type: number
  9616. freezemargin:
  9617. description: 冻结保证金
  9618. type: number
  9619. fromaccountid:
  9620. description: 所属上级账户
  9621. type: integer
  9622. inamount:
  9623. description: 今日入金金额(包括三方入金)
  9624. type: number
  9625. ismain:
  9626. description: 是否母账号 0:不是母账户 1:是母账户
  9627. type: integer
  9628. ismarketaccount:
  9629. description: 是否机构接单账号 0:不是 1:是
  9630. type: integer
  9631. isreckonaccount:
  9632. description: 是否机构分润账号 0:不是 1:是
  9633. type: integer
  9634. mortgagecredit:
  9635. description: 授信金额
  9636. type: number
  9637. orifreezecharge:
  9638. description: 期初手续费冻结
  9639. type: number
  9640. orifreezemargin:
  9641. description: 期初冻结保证金
  9642. type: number
  9643. orimortgagecredit:
  9644. description: 期初授信金额
  9645. type: number
  9646. oriothercredit:
  9647. description: 期初其它授信金额
  9648. type: number
  9649. oriotherfreezemargin:
  9650. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9651. type: number
  9652. orioutamountfreeze:
  9653. description: 期初出金冻结
  9654. type: number
  9655. oriusedmargin:
  9656. description: 期初占用保证金
  9657. type: number
  9658. othercredit:
  9659. description: 其它授信金额
  9660. type: number
  9661. othercreditdecrease:
  9662. description: 今日其它授信减少
  9663. type: number
  9664. othercreditincrease:
  9665. description: 今日其它授信增加
  9666. type: number
  9667. otherfreezemargin:
  9668. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9669. type: number
  9670. otherincome:
  9671. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9672. type: number
  9673. otherpay:
  9674. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9675. type: number
  9676. outamount:
  9677. description: 今日出金金额(包括三方出金)
  9678. type: number
  9679. outamountfreeze:
  9680. description: 出金冻结
  9681. type: number
  9682. outthreshold:
  9683. description: 出金阈值
  9684. type: number
  9685. parentaccountid:
  9686. description: 所属根账号
  9687. type: integer
  9688. paycharge:
  9689. description: 今日手续费支出
  9690. type: number
  9691. relatedaccountstatus:
  9692. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9693. type: integer
  9694. relateduserid:
  9695. description: 关联用户
  9696. type: integer
  9697. serivcegroup:
  9698. description: 服务分组
  9699. type: integer
  9700. signstatus:
  9701. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9702. type: integer
  9703. sublevelpath:
  9704. description: 账号层级路径(逗号分隔,首尾加逗号)
  9705. type: string
  9706. taaccounttype:
  9707. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9708. type: integer
  9709. thirdinamount:
  9710. description: 今日三方入金
  9711. type: number
  9712. thirdoutamount:
  9713. description: 今日三方出金
  9714. type: number
  9715. tradestatus:
  9716. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9717. type: integer
  9718. tradestatuschangetime:
  9719. description: 激活时间
  9720. type: string
  9721. transferamount:
  9722. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9723. type: number
  9724. usedmargin:
  9725. description: 占用保证金
  9726. type: number
  9727. userid:
  9728. description: 用户ID
  9729. type: integer
  9730. required:
  9731. - accountid
  9732. - userid
  9733. type: object
  9734. models.Tablecolumnconfig:
  9735. properties:
  9736. aligntype:
  9737. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9738. type: integer
  9739. autoid:
  9740. description: AutoID
  9741. type: integer
  9742. columnfield:
  9743. description: 列字段
  9744. type: string
  9745. columntitle:
  9746. description: 列Title
  9747. type: string
  9748. columnwidth:
  9749. description: 列宽
  9750. type: string
  9751. formatterstring:
  9752. description: 格式化字符
  9753. type: string
  9754. formattertype:
  9755. description: 格式化类型
  9756. type: string
  9757. groupname:
  9758. description: 表头分组名称
  9759. type: string
  9760. isshow:
  9761. description: 是否显示 - 0:不显示 1:显示
  9762. type: integer
  9763. needsummary:
  9764. description: 是否需要汇总 - 0:不需要 1:需要
  9765. type: integer
  9766. orderindex:
  9767. description: 顺序
  9768. type: integer
  9769. remark:
  9770. description: 备注
  9771. type: string
  9772. summarytype:
  9773. description: 汇总类型 - 1:加总 2:最后一个
  9774. type: integer
  9775. tablekey:
  9776. description: 列表Key
  9777. type: string
  9778. required:
  9779. - autoid
  9780. type: object
  9781. models.UserCollectConfig:
  9782. properties:
  9783. accountstatus:
  9784. description: 账户状态 - 1:正常 2:停用 3:注销
  9785. type: integer
  9786. collectaccountname:
  9787. description: 收款人账户名称
  9788. type: string
  9789. collectaccountno:
  9790. description: 收款人账户
  9791. type: string
  9792. collectbankname:
  9793. description: 收款人开户行
  9794. type: string
  9795. collectbranchbankname:
  9796. description: 收款人开户支行
  9797. type: string
  9798. collectconfigid:
  9799. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  9800. type: string
  9801. remark:
  9802. description: 备注
  9803. type: string
  9804. userid:
  9805. description: 收款人用户ID
  9806. type: integer
  9807. type: object
  9808. models.UserReceiveInfo:
  9809. properties:
  9810. address:
  9811. description: 提货人详细地址
  9812. type: string
  9813. autoid:
  9814. description: AutoID
  9815. type: integer
  9816. cardnum:
  9817. description: 证件号码(加密存储)
  9818. type: string
  9819. cardtypeid:
  9820. description: 证件类型
  9821. type: integer
  9822. cityid:
  9823. description: 市
  9824. type: integer
  9825. cityname:
  9826. description: 城市名称
  9827. type: string
  9828. countryid:
  9829. description: 国家
  9830. type: integer
  9831. countryname:
  9832. description: 国家名称
  9833. type: string
  9834. districtid:
  9835. description: 地区
  9836. type: integer
  9837. districtname:
  9838. description: 地区名称
  9839. type: string
  9840. hasencrypt:
  9841. description: 数据是否已加密 - 0:未加密 1:已加密
  9842. type: integer
  9843. isdefault:
  9844. description: 是否默认地址 - 0:否 1:是
  9845. type: integer
  9846. phonenum:
  9847. description: 提货人联系方式(加密存储)
  9848. type: string
  9849. provinceid:
  9850. description: 省
  9851. type: integer
  9852. provincename:
  9853. description: 省名称
  9854. type: string
  9855. receivername:
  9856. description: 提货人姓名
  9857. type: string
  9858. takeremark:
  9859. description: 提货备注
  9860. type: string
  9861. userid:
  9862. description: 用户ID
  9863. type: integer
  9864. type: object
  9865. models.Useraccount:
  9866. properties:
  9867. accountname:
  9868. description: 账户名称(机构名称)
  9869. type: string
  9870. accountstatus:
  9871. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9872. type: integer
  9873. auditremark:
  9874. description: 审核备注
  9875. type: string
  9876. audittime:
  9877. description: 审核时间
  9878. type: string
  9879. audituserid:
  9880. description: 审核人
  9881. type: integer
  9882. broker:
  9883. description: 所属经纪人ID
  9884. type: integer
  9885. canceltime:
  9886. description: 销户时间
  9887. type: string
  9888. canceluserid:
  9889. description: 销户人
  9890. type: integer
  9891. createtime:
  9892. description: 创建时间
  9893. type: string
  9894. creatorid:
  9895. description: 创建人
  9896. type: integer
  9897. hasauth:
  9898. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9899. type: integer
  9900. isanonymous:
  9901. description: 是否匿名下单 - 0:否 1:是
  9902. type: integer
  9903. maxinvestornum:
  9904. description: 最大用户数(经纪会员下投资者个数)
  9905. type: integer
  9906. memberuserid:
  9907. description: 所属会员ID
  9908. type: integer
  9909. modifierid:
  9910. description: 修改人
  9911. type: integer
  9912. modifyremark:
  9913. description: 变更备注
  9914. type: string
  9915. modifystatus:
  9916. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9917. type: integer
  9918. modifytime:
  9919. description: 修改时间
  9920. type: string
  9921. parentuserid:
  9922. description: 所属机构ID
  9923. type: integer
  9924. reckonaccountid:
  9925. description: 默认结算资金账号ID(机构分润使用) 作废
  9926. type: integer
  9927. refercount:
  9928. description: 推荐总人数
  9929. type: integer
  9930. refereeuserid:
  9931. description: 推荐人ID
  9932. type: integer
  9933. refernum:
  9934. description: 推荐码
  9935. type: string
  9936. subarealevelpath:
  9937. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9938. type: string
  9939. userid:
  9940. description: 用户ID
  9941. type: integer
  9942. usertype:
  9943. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9944. type: integer
  9945. required:
  9946. - userid
  9947. type: object
  9948. models.Userfavoritegoods:
  9949. properties:
  9950. goodsid:
  9951. description: 商品ID
  9952. type: integer
  9953. required:
  9954. - goodsid
  9955. type: object
  9956. models.Userinfo:
  9957. properties:
  9958. address:
  9959. description: 地址
  9960. type: string
  9961. attachment1:
  9962. description: 附件1
  9963. type: string
  9964. attachment2:
  9965. description: 附件2
  9966. type: string
  9967. bankaccount:
  9968. description: 银行帐号 (加密存储)
  9969. type: string
  9970. bankaccountname:
  9971. description: 收款人名称
  9972. type: string
  9973. bankcardfrontphotourl:
  9974. description: 银行卡正面照地址
  9975. type: string
  9976. bankid:
  9977. description: 银行编码
  9978. type: string
  9979. bankname:
  9980. description: 银行名称
  9981. type: string
  9982. biznature:
  9983. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9984. type: integer
  9985. bizscope:
  9986. description: 企业经营范围(企业)
  9987. type: string
  9988. cardbackphotourl:
  9989. description: 证件背面图片地址
  9990. type: string
  9991. cardfrontphotourl:
  9992. description: 证件正面图片地址
  9993. type: string
  9994. cardnum:
  9995. description: 证件号码(加密存储)
  9996. type: string
  9997. cardtypeid:
  9998. description: 证件类型ID
  9999. type: integer
  10000. cityid:
  10001. description: 市
  10002. type: integer
  10003. company:
  10004. description: 公司(个人)
  10005. type: string
  10006. contactname:
  10007. description: 联系人
  10008. type: string
  10009. countryid:
  10010. description: 国家
  10011. type: integer
  10012. createtime:
  10013. description: 创建时间
  10014. type: string
  10015. creatorid:
  10016. description: 创建人
  10017. type: integer
  10018. customername:
  10019. description: 客户名称(企业名称)
  10020. type: string
  10021. districtid:
  10022. description: 地区
  10023. type: integer
  10024. email:
  10025. description: 邮件(加密存储)
  10026. type: string
  10027. fax:
  10028. description: 传真(加密存储)
  10029. type: string
  10030. halfbodyphotourl:
  10031. description: 半身照地址
  10032. type: string
  10033. hasencrypt:
  10034. description: 数据是否已加密 - 0:未加密 1:已加密
  10035. type: integer
  10036. headurl:
  10037. description: 头像地址
  10038. type: string
  10039. legalcardbackphotourl:
  10040. description: 法人身份证背面照地址
  10041. type: string
  10042. legalcardfrontphotourl:
  10043. description: 法人身份证正面照地址
  10044. type: string
  10045. legalpersonname:
  10046. description: 法人姓名(企业)
  10047. type: string
  10048. mobile:
  10049. description: 手机号码(加密存储)
  10050. type: string
  10051. mobile2:
  10052. description: 手机号码[明文-尚志]
  10053. type: string
  10054. modifierid:
  10055. description: 修改人
  10056. type: integer
  10057. modifiertime:
  10058. description: 修改时间
  10059. type: string
  10060. needinvoice:
  10061. description: 是否需要发票 - 0:不需要 1:需要
  10062. type: integer
  10063. nickname:
  10064. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10065. type: string
  10066. openmode:
  10067. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10068. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10069. type: integer
  10070. otherurl:
  10071. description: 其它图片地址[使用分号分隔]
  10072. type: string
  10073. postalcode:
  10074. description: 邮政编码
  10075. type: string
  10076. provinceid:
  10077. description: 省
  10078. type: integer
  10079. qq:
  10080. description: QQ(加密存储
  10081. type: string
  10082. remark:
  10083. description: 备注
  10084. type: string
  10085. sex:
  10086. description: '用户性别 0: 女 1: 男'
  10087. type: integer
  10088. signpdfurl:
  10089. description: 签约pdf文件
  10090. type: string
  10091. telphone:
  10092. description: 联系电话(加密存储)
  10093. type: string
  10094. userid:
  10095. description: 用户ID
  10096. type: integer
  10097. userinfotype:
  10098. description: 用户信息类型 - 1:个人 2:企业
  10099. type: integer
  10100. userstatus:
  10101. description: 用户状态 - 1:正常 2:注销
  10102. type: integer
  10103. usertype:
  10104. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10105. type: integer
  10106. wechat:
  10107. description: 微信(加密存储)
  10108. type: string
  10109. wskhinfo:
  10110. description: 开户申请信息(JSON)
  10111. type: string
  10112. required:
  10113. - userid
  10114. type: object
  10115. models.WRSConverTDetail:
  10116. properties:
  10117. convertratio:
  10118. description: 套保系数
  10119. type: number
  10120. deliverygoodscode:
  10121. description: 现货商品代码
  10122. type: string
  10123. deliverygoodsid:
  10124. description: 现货品种ID
  10125. type: integer
  10126. deliverygoodsname:
  10127. description: 现货商品名称
  10128. type: string
  10129. enumdicname:
  10130. description: 单位名称
  10131. type: string
  10132. goodsunitid:
  10133. description: 套保品种单位id
  10134. type: integer
  10135. middlegoodscode:
  10136. description: 套保品种代码
  10137. type: string
  10138. middlegoodsid:
  10139. description: 套保品种ID
  10140. type: integer
  10141. middlegoodsname:
  10142. description: 套保品种名称
  10143. type: string
  10144. modifytime:
  10145. description: 修改时间
  10146. type: string
  10147. wrstandardid:
  10148. description: 品类ID
  10149. type: integer
  10150. type: object
  10151. models.WRStandardInfo:
  10152. properties:
  10153. areauserid:
  10154. description: 所属机构
  10155. type: integer
  10156. convertfactor:
  10157. description: 标仓系数
  10158. type: number
  10159. createtime:
  10160. description: 创建时间
  10161. type: string
  10162. creatorid:
  10163. description: 创建人
  10164. type: integer
  10165. deliverygoodsid:
  10166. description: 品种ID
  10167. type: integer
  10168. deliverygoodsname:
  10169. description: 交割商品名称
  10170. type: string
  10171. factoryitemjson:
  10172. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10173. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10174. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10175. 逗号分隔'
  10176. type: string
  10177. isvalid:
  10178. description: 是否有效 - 0:无效 1:有效
  10179. type: integer
  10180. minivalue:
  10181. description: 最小变动值
  10182. type: integer
  10183. minivaluedp:
  10184. description: 最小变动值小数位
  10185. type: integer
  10186. realminivalue:
  10187. description: 实际最小变动值
  10188. type: integer
  10189. realminivaluedp:
  10190. description: 实际最小变动值小数位
  10191. type: integer
  10192. remark:
  10193. description: 备注
  10194. type: string
  10195. unitid:
  10196. description: 单位ID
  10197. type: integer
  10198. unitname:
  10199. description: 单位
  10200. type: string
  10201. updatetime:
  10202. description: 更新时间
  10203. type: string
  10204. updatorid:
  10205. description: 更新人
  10206. type: integer
  10207. wrsstatus:
  10208. description: 状态 - 作废 - 0:未激活 1:正常
  10209. type: integer
  10210. wrstandardcode:
  10211. description: 现货品类代码
  10212. type: string
  10213. wrstandardid:
  10214. description: 现货品类ID(SEQ_WRSTANDARD)
  10215. type: integer
  10216. wrstandardname:
  10217. description: 现货品类名称
  10218. type: string
  10219. required:
  10220. - wrstandardid
  10221. type: object
  10222. models.Warehouseinfo:
  10223. properties:
  10224. address:
  10225. description: 详细地址
  10226. type: string
  10227. areauserid:
  10228. description: 所属机构
  10229. type: integer
  10230. autoid:
  10231. description: 自增ID
  10232. type: integer
  10233. cityid:
  10234. description: 市
  10235. type: integer
  10236. contactname:
  10237. description: 联系人
  10238. type: string
  10239. contactnum:
  10240. description: 联系电话
  10241. type: string
  10242. countryid:
  10243. description: 国家
  10244. type: integer
  10245. createtime:
  10246. description: 创建时间
  10247. type: string
  10248. districtid:
  10249. description: 区
  10250. type: integer
  10251. hasvideo:
  10252. description: 是否有视频 - 0:无 1:有
  10253. type: integer
  10254. provinceid:
  10255. description: 省
  10256. type: integer
  10257. remark:
  10258. description: 审核备注
  10259. type: string
  10260. videourl:
  10261. description: 视频地址
  10262. type: string
  10263. warehousecode:
  10264. description: 仓库代码
  10265. type: string
  10266. warehousename:
  10267. description: 仓库名称
  10268. type: string
  10269. warehousestatus:
  10270. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10271. type: integer
  10272. warehousetype:
  10273. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10274. type: integer
  10275. required:
  10276. - autoid
  10277. - warehousecode
  10278. type: object
  10279. order.QueryHisTradeDetailRsp:
  10280. properties:
  10281. accountid:
  10282. description: 账户ID[报价币种]
  10283. type: integer
  10284. buildtype:
  10285. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10286. type: integer
  10287. buyorsell:
  10288. description: 方向 - 0:买 1:卖
  10289. type: integer
  10290. charge:
  10291. description: 手续费
  10292. type: number
  10293. closecharge:
  10294. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10295. type: number
  10296. closeexchagechargevalue:
  10297. description: 平仓交易所手续费设置值
  10298. type: number
  10299. closefeealgorithm:
  10300. description: 平仓手续费收取方式 1:比率 2:固定
  10301. type: integer
  10302. closememberchargevalue:
  10303. description: 平仓会员手续费设置值
  10304. type: number
  10305. closepl:
  10306. description: 平仓盈亏
  10307. type: number
  10308. closepl2:
  10309. description: 平仓盈亏[逐笔]
  10310. type: number
  10311. closeqty:
  10312. description: 平仓数量(先建后平操作 需要记录)
  10313. type: integer
  10314. creditamount:
  10315. description: 授信金额
  10316. type: number
  10317. gcaccountid:
  10318. description: 账户ID[合约币种]
  10319. type: integer
  10320. goodscode:
  10321. description: 商品代码
  10322. type: string
  10323. goodsid:
  10324. description: 商品ID
  10325. type: integer
  10326. goodsname:
  10327. description: 商品名称
  10328. type: string
  10329. histradedate:
  10330. description: 历史交易日
  10331. type: string
  10332. intclosepl:
  10333. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10334. type: integer
  10335. isconfirmexercise:
  10336. description: 是否确认行权- 0:否 1:是
  10337. type: integer
  10338. ismain:
  10339. description: 是否主单 - 0:不是 1:是
  10340. type: integer
  10341. ispreexercise:
  10342. description: 是否预申报- 0:否 1:是
  10343. type: integer
  10344. isreckoned:
  10345. description: 是否结算 - 0:未结算 1:已结算
  10346. type: integer
  10347. isvaliddata:
  10348. description: 是否有效 - 0:无效 1:有效
  10349. type: integer
  10350. listingselecttype:
  10351. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10352. type: integer
  10353. marketid:
  10354. description: 市场ID
  10355. type: integer
  10356. marketname:
  10357. description: 市场名称
  10358. type: string
  10359. matchaccountid:
  10360. description: 对手账号id
  10361. type: integer
  10362. memberuserid:
  10363. description: 会员id 个人投资者 需要填写
  10364. type: integer
  10365. opencharge:
  10366. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10367. type: number
  10368. openexchagechargevalue:
  10369. description: 建仓交易所手续费设置值
  10370. type: number
  10371. openfeealgorithm:
  10372. description: 建仓手续费收取方式 1:比率 2:固定
  10373. type: integer
  10374. openmemberchargevalue:
  10375. description: 建仓会员手续费设置值
  10376. type: number
  10377. openqty:
  10378. description: 开仓数量(先建后平操作 需要记录)
  10379. type: integer
  10380. optiontype:
  10381. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10382. type: integer
  10383. orderid:
  10384. description: 委托单号
  10385. type: string
  10386. performanceplanid:
  10387. description: 履约计划ID[期权]
  10388. type: integer
  10389. performancestatus:
  10390. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10391. type: integer
  10392. preexerciseprice:
  10393. description: 预申报价格
  10394. type: number
  10395. premium:
  10396. description: 权利金 - [持仓单的权利金]
  10397. type: number
  10398. relatedouttradeid:
  10399. description: 关联外部成交单ID
  10400. type: integer
  10401. status:
  10402. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10403. type: integer
  10404. tradeamount:
  10405. description: 成交金额[账户币种,用于所有权]
  10406. type: number
  10407. tradedate:
  10408. description: 交易日(yyyyMMdd)
  10409. type: string
  10410. tradeid:
  10411. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10412. type: string
  10413. trademode:
  10414. description: 交易模式
  10415. type: integer
  10416. tradeprice:
  10417. description: 成交价格
  10418. type: number
  10419. tradeproperty:
  10420. description: 交易属性
  10421. type: integer
  10422. tradeqty:
  10423. description: 成交数量
  10424. type: integer
  10425. tradetime:
  10426. description: 成交时间
  10427. type: string
  10428. tradetype:
  10429. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10430. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10431. type: integer
  10432. required:
  10433. - accountid
  10434. - buyorsell
  10435. - goodsid
  10436. - histradedate
  10437. - marketid
  10438. - memberuserid
  10439. - orderid
  10440. - tradeamount
  10441. - tradedate
  10442. - tradeid
  10443. - tradeprice
  10444. - tradeqty
  10445. - tradetime
  10446. type: object
  10447. order.QueryHisTradeOrderDetailRsp:
  10448. properties:
  10449. accountid:
  10450. description: 账户ID[报价币种]
  10451. type: integer
  10452. buildtype:
  10453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10454. type: integer
  10455. buyorsell:
  10456. description: 买卖 - 0:买 1:卖
  10457. type: integer
  10458. cancelorderid:
  10459. description: 撤单单号(撤单时填写)
  10460. type: string
  10461. cancelqty:
  10462. description: 撤单数量
  10463. type: integer
  10464. clientordertime:
  10465. description: 客户端委托时间
  10466. type: string
  10467. clientticket:
  10468. description: 客户端流水号
  10469. type: string
  10470. clienttype:
  10471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10473. type: integer
  10474. closeexchagechargevalue:
  10475. description: 平仓交易所手续费设置值
  10476. type: number
  10477. closefeealgorithm:
  10478. description: 平仓手续费收取方式 1:比率 2:固定
  10479. type: integer
  10480. closefreezecharge:
  10481. description: 平仓冻结手续费(先建后平操作,需要记录)
  10482. type: number
  10483. closememberchargevalue:
  10484. description: 平仓会员手续费设置值
  10485. type: number
  10486. closeqty:
  10487. description: 平仓数量(先建后平操作 需要记录)
  10488. type: integer
  10489. closetradeqty:
  10490. description: 平仓成交数量(先建后平操作,需要记录)
  10491. type: integer
  10492. closeunfreezecharge:
  10493. description: 平仓解冻手续费(先建后平操作,需要记录)
  10494. type: number
  10495. delistingtype:
  10496. description: 摘牌类型 - 1:价格最优 2:点选成交
  10497. type: integer
  10498. freezecharge:
  10499. description: 冻结手续费
  10500. type: number
  10501. freezemargin:
  10502. description: 冻结保证金(冻结交易金额)
  10503. type: number
  10504. gcaccountid:
  10505. description: 账户ID[合约币种]
  10506. type: integer
  10507. goodscode:
  10508. description: 商品代码
  10509. type: string
  10510. goodsid:
  10511. description: 商品ID
  10512. type: integer
  10513. goodsname:
  10514. description: 商品名称
  10515. type: string
  10516. histradedate:
  10517. description: 历史交易日
  10518. type: string
  10519. isconfirmexercise:
  10520. description: 是否确认行权- 0:否 1:是
  10521. type: integer
  10522. ispreexercise:
  10523. description: 是否预申报- 0:否 1:是
  10524. type: integer
  10525. isvaliddata:
  10526. description: 是否有效 - 0:无效 1:有效
  10527. type: integer
  10528. listingselecttype:
  10529. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10530. type: integer
  10531. marginalgorithm:
  10532. description: 保证金收取方式 1:比率 2:固定
  10533. type: integer
  10534. marginvalue:
  10535. description: 即市保证金设置值
  10536. type: number
  10537. marketid:
  10538. description: 市场ID
  10539. type: integer
  10540. marketmaxsub:
  10541. description: 市价最大偏移范围
  10542. type: number
  10543. marketname:
  10544. description: 市场名称
  10545. type: string
  10546. memberuserid:
  10547. description: 所属会员UserID
  10548. type: integer
  10549. openexchagechargevalue:
  10550. description: 建仓交易所手续费设置值
  10551. type: number
  10552. openfeealgorithm:
  10553. description: 建仓手续费收取方式 1:比率 2:固定
  10554. type: integer
  10555. openfreezecharge:
  10556. description: 开仓冻结手续费(先建后平操作,需要记录)
  10557. type: number
  10558. openmemberchargevalue:
  10559. description: 建仓会员手续费设置值
  10560. type: number
  10561. openqty:
  10562. description: 开仓数量(先建后平操作,需要记录)
  10563. type: integer
  10564. opentradeqty:
  10565. description: 开仓成交数量(先建后平操作,需要记录)
  10566. type: integer
  10567. openunfreezecharge:
  10568. description: 开仓解冻手续费(先建后平操作,需要记录)
  10569. type: number
  10570. operatetype:
  10571. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10572. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10573. 15:管理端协议转让
  10574. type: integer
  10575. operatorid:
  10576. description: 登录账号(LoginID)
  10577. type: integer
  10578. optiontype:
  10579. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10580. type: integer
  10581. orderid:
  10582. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10583. type: string
  10584. orderprice:
  10585. description: 委托价格
  10586. type: number
  10587. orderqty:
  10588. description: 委托数量
  10589. type: integer
  10590. ordersrc:
  10591. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10592. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10593. type: integer
  10594. orderstatus:
  10595. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10596. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10597. 16:成交失败违约(荷兰式竞拍专用)
  10598. type: integer
  10599. ordertime:
  10600. description: 委托时间
  10601. type: string
  10602. preexerciseprice:
  10603. description: 预申报价格
  10604. type: number
  10605. premium:
  10606. description: 权利金
  10607. type: number
  10608. preorderid:
  10609. description: 关联预埋单号(止盈止损单时填写)
  10610. type: string
  10611. pricemode:
  10612. description: '取价方式 - 1:市价 2: 限价'
  10613. type: integer
  10614. quoteid:
  10615. description: 报价单ID
  10616. type: integer
  10617. relatedid:
  10618. description: 关联单号(交割单)
  10619. type: string
  10620. retcode:
  10621. description: 错误代码
  10622. type: integer
  10623. sessionid:
  10624. description: 会话ID
  10625. type: integer
  10626. tradedate:
  10627. description: 交易日(yyyyMMdd)
  10628. type: string
  10629. trademode:
  10630. description: 交易模式
  10631. type: integer
  10632. tradeproperty:
  10633. description: 交易属性
  10634. type: integer
  10635. tradeqty:
  10636. description: 成交数量
  10637. type: integer
  10638. unfreezecharge:
  10639. description: 解冻手续费
  10640. type: number
  10641. unfreezemargin:
  10642. description: 解冻保证金
  10643. type: number
  10644. updatetime:
  10645. description: 更新时间
  10646. type: string
  10647. uuid:
  10648. description: 发起端唯一id
  10649. type: string
  10650. validtime:
  10651. description: 有效期限
  10652. type: string
  10653. validtype:
  10654. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10655. type: integer
  10656. volumetype:
  10657. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10658. type: integer
  10659. required:
  10660. - accountid
  10661. - buildtype
  10662. - buyorsell
  10663. - goodsid
  10664. - histradedate
  10665. - marketid
  10666. - memberuserid
  10667. - operatetype
  10668. - orderid
  10669. - orderqty
  10670. - ordertime
  10671. - pricemode
  10672. - tradedate
  10673. - validtype
  10674. type: object
  10675. order.QueryTradeDetailRsp:
  10676. properties:
  10677. accountid:
  10678. description: 账户ID[报价币种]
  10679. type: integer
  10680. buildtype:
  10681. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10682. type: integer
  10683. buyorsell:
  10684. description: 方向 - 0:买 1:卖
  10685. type: integer
  10686. charge:
  10687. description: 手续费
  10688. type: number
  10689. closecharge:
  10690. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10691. type: number
  10692. closeexchagechargevalue:
  10693. description: 平仓交易所手续费设置值
  10694. type: number
  10695. closefeealgorithm:
  10696. description: 平仓手续费收取方式 1:比率 2:固定
  10697. type: integer
  10698. closememberchargevalue:
  10699. description: 平仓会员手续费设置值
  10700. type: number
  10701. closepl:
  10702. description: 平仓盈亏
  10703. type: number
  10704. closepl2:
  10705. description: 平仓盈亏[逐笔]
  10706. type: number
  10707. closeqty:
  10708. description: 平仓数量(先建后平操作 需要记录)
  10709. type: integer
  10710. creditamount:
  10711. description: 授信金额
  10712. type: number
  10713. gcaccountid:
  10714. description: 账户ID[合约币种]
  10715. type: integer
  10716. goodscode:
  10717. description: 商品代码
  10718. type: string
  10719. goodsid:
  10720. description: 商品ID
  10721. type: integer
  10722. goodsname:
  10723. description: 商品名称
  10724. type: string
  10725. intclosepl:
  10726. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10727. type: integer
  10728. isconfirmexercise:
  10729. description: 是否确认行权- 0:否 1:是
  10730. type: integer
  10731. ismain:
  10732. description: 是否主单 - 0:不是 1:是
  10733. type: integer
  10734. ispreexercise:
  10735. description: 是否预申报- 0:否 1:是
  10736. type: integer
  10737. isreckoned:
  10738. description: 是否结算 - 0:未结算 1:已结算
  10739. type: integer
  10740. listingselecttype:
  10741. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10742. type: integer
  10743. marketid:
  10744. description: 市场ID
  10745. type: integer
  10746. marketname:
  10747. description: 市场名称
  10748. type: string
  10749. matchaccountid:
  10750. description: 对手账号id
  10751. type: integer
  10752. memberuserid:
  10753. description: 会员id 个人投资者 需要填写
  10754. type: integer
  10755. opencharge:
  10756. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10757. type: number
  10758. openexchagechargevalue:
  10759. description: 建仓交易所手续费设置值
  10760. type: number
  10761. openfeealgorithm:
  10762. description: 建仓手续费收取方式 1:比率 2:固定
  10763. type: integer
  10764. openmemberchargevalue:
  10765. description: 建仓会员手续费设置值
  10766. type: number
  10767. openqty:
  10768. description: 开仓数量(先建后平操作 需要记录)
  10769. type: integer
  10770. optiontype:
  10771. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10772. type: integer
  10773. orderid:
  10774. description: 委托单号
  10775. type: string
  10776. performanceplanid:
  10777. description: 履约计划ID[期权]
  10778. type: integer
  10779. performancestatus:
  10780. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10781. type: integer
  10782. preexerciseprice:
  10783. description: 预申报价格
  10784. type: number
  10785. premium:
  10786. description: 权利金 - [持仓单的权利金]
  10787. type: number
  10788. relatedouttradeid:
  10789. description: 关联外部成交单ID
  10790. type: integer
  10791. status:
  10792. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10793. type: integer
  10794. tradeamount:
  10795. description: 成交金额[账户币种,用于所有权]
  10796. type: number
  10797. tradedate:
  10798. description: 交易日(yyyyMMdd)
  10799. type: string
  10800. tradeid:
  10801. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10802. type: string
  10803. trademode:
  10804. description: 交易模式
  10805. type: integer
  10806. tradeprice:
  10807. description: 成交价格
  10808. type: number
  10809. tradeproperty:
  10810. description: 交易属性
  10811. type: integer
  10812. tradeqty:
  10813. description: 成交数量
  10814. type: integer
  10815. tradetime:
  10816. description: 成交时间
  10817. type: string
  10818. tradetype:
  10819. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10820. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10821. type: integer
  10822. required:
  10823. - accountid
  10824. - buyorsell
  10825. - goodsid
  10826. - marketid
  10827. - memberuserid
  10828. - orderid
  10829. - tradeamount
  10830. - tradedate
  10831. - tradeid
  10832. - tradeprice
  10833. - tradeqty
  10834. - tradetime
  10835. type: object
  10836. order.QueryTradeOrderDetailRsp:
  10837. properties:
  10838. accountid:
  10839. description: 账户ID[报价币种]
  10840. type: integer
  10841. buildtype:
  10842. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10843. type: integer
  10844. buyorsell:
  10845. description: 买卖 - 0:买 1:卖
  10846. type: integer
  10847. cancelorderid:
  10848. description: 撤单单号(撤单时填写)
  10849. type: string
  10850. cancelqty:
  10851. description: 撤单数量
  10852. type: integer
  10853. clienttype:
  10854. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10855. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10856. type: integer
  10857. closefreezecharge:
  10858. description: 平仓冻结手续费(先建后平操作,需要记录)
  10859. type: number
  10860. closeqty:
  10861. description: 平仓数量(先建后平操作 需要记录)
  10862. type: integer
  10863. closetradeqty:
  10864. description: 平仓成交数量(先建后平操作,需要记录)
  10865. type: integer
  10866. closeunfreezecharge:
  10867. description: 平仓解冻手续费(先建后平操作,需要记录)
  10868. type: number
  10869. delistingtype:
  10870. description: 摘牌类型 - 1:价格最优 2:点选成交
  10871. type: integer
  10872. enableqty:
  10873. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10874. type: integer
  10875. freezecharge:
  10876. description: 冻结手续费
  10877. type: number
  10878. freezemargin:
  10879. description: 冻结保证金(冻结交易金额)
  10880. type: number
  10881. goodscode:
  10882. description: 商品代码
  10883. type: string
  10884. goodsid:
  10885. description: 商品ID
  10886. type: integer
  10887. goodsname:
  10888. description: 商品名称
  10889. type: string
  10890. listingselecttype:
  10891. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10892. type: integer
  10893. marketid:
  10894. description: 市场ID
  10895. type: integer
  10896. marketname:
  10897. description: 市场名称
  10898. type: string
  10899. openfreezecharge:
  10900. description: 开仓冻结手续费(先建后平操作,需要记录)
  10901. type: number
  10902. openqty:
  10903. description: 开仓数量(先建后平操作,需要记录)
  10904. type: integer
  10905. opentradeqty:
  10906. description: 开仓成交数量(先建后平操作,需要记录)
  10907. type: integer
  10908. openunfreezecharge:
  10909. description: 开仓解冻手续费(先建后平操作,需要记录)
  10910. type: number
  10911. operatetype:
  10912. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10913. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10914. 15:管理端协议转让
  10915. type: integer
  10916. operatorid:
  10917. description: 登录账号(LoginID)
  10918. type: integer
  10919. orderid:
  10920. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10921. type: string
  10922. orderprice:
  10923. description: 委托价格
  10924. type: number
  10925. orderqty:
  10926. description: 委托数量
  10927. type: integer
  10928. ordersrc:
  10929. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10930. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10931. type: integer
  10932. orderstatus:
  10933. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10934. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10935. 16:成交失败违约(荷兰式竞拍专用)
  10936. type: integer
  10937. ordertime:
  10938. description: 委托时间
  10939. type: string
  10940. preorderid:
  10941. description: 关联预埋单号(止盈止损单时填写)
  10942. type: string
  10943. pricemode:
  10944. description: '取价方式 - 1:市价 2: 限价'
  10945. type: integer
  10946. relatedid:
  10947. description: 关联单号(交割单)
  10948. type: string
  10949. tradedate:
  10950. description: 交易日(yyyyMMdd)
  10951. type: string
  10952. trademode:
  10953. description: 交易模式
  10954. type: integer
  10955. tradeqty:
  10956. description: 成交数量
  10957. type: integer
  10958. unfreezecharge:
  10959. description: 解冻手续费
  10960. type: number
  10961. unfreezemargin:
  10962. description: 解冻保证金
  10963. type: number
  10964. validtime:
  10965. description: 有效期限
  10966. type: string
  10967. validtype:
  10968. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10969. type: integer
  10970. volumetype:
  10971. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10972. type: integer
  10973. required:
  10974. - accountid
  10975. - buildtype
  10976. - buyorsell
  10977. - goodsid
  10978. - marketid
  10979. - operatetype
  10980. - orderqty
  10981. - ordertime
  10982. - pricemode
  10983. - tradedate
  10984. - validtype
  10985. type: object
  10986. order.QueryTradePositionRsp:
  10987. properties:
  10988. accountid:
  10989. description: 资金账户
  10990. type: integer
  10991. agreeunit:
  10992. description: 合约单位
  10993. type: number
  10994. averageprice:
  10995. description: 持仓均价
  10996. type: number
  10997. buyorsell:
  10998. description: 方向 - 0:买 1:卖
  10999. type: integer
  11000. closetotalqty:
  11001. description: 平仓总数量
  11002. type: integer
  11003. curholderamount:
  11004. description: 当前持仓总金额[商品币种]
  11005. type: number
  11006. curpositionqty:
  11007. description: 当前持仓总数量
  11008. type: integer
  11009. currencyid:
  11010. description: 报价货币ID
  11011. type: integer
  11012. curtdposition:
  11013. description: 期末今日头寸
  11014. type: integer
  11015. decimalplace:
  11016. description: 报价小数位
  11017. type: integer
  11018. enableqty:
  11019. description: 可用量
  11020. type: integer
  11021. fretdposition:
  11022. description: 冻结今日头寸
  11023. type: integer
  11024. frozenqty:
  11025. description: 持仓冻结数量
  11026. type: integer
  11027. goodscode:
  11028. description: 商品代码
  11029. type: string
  11030. goodsid:
  11031. description: 商品Id
  11032. type: integer
  11033. goodsname:
  11034. description: 商品名称
  11035. type: string
  11036. goodunit:
  11037. description: 报价单位
  11038. type: string
  11039. goodunitid:
  11040. description: 报价单位ID
  11041. type: integer
  11042. holderamount:
  11043. description: 期初持仓总金额[商品币种]
  11044. type: number
  11045. marketid:
  11046. description: 所属市场ID
  11047. type: integer
  11048. openreqqty:
  11049. description: 开仓申请数量(用于比较最大持仓数量)
  11050. type: integer
  11051. opentotalqty:
  11052. description: 开仓总数量
  11053. type: integer
  11054. otherfrozenqty:
  11055. description: 持仓其他冻结数量(交割冻结)
  11056. type: integer
  11057. positionqty:
  11058. description: 期初持仓数量
  11059. type: integer
  11060. tnqty:
  11061. description: T+N冻结总量
  11062. type: integer
  11063. tnusedqty:
  11064. description: T+N使用量(可以使用T+N的冻结数量)
  11065. type: integer
  11066. trademode:
  11067. description: 交易模式
  11068. type: integer
  11069. usedmargin:
  11070. description: 占用保证金[商品币种]
  11071. type: number
  11072. required:
  11073. - goodsid
  11074. type: object
  11075. quote.HistoryData:
  11076. properties:
  11077. c:
  11078. description: 收盘价
  11079. type: number
  11080. f:
  11081. description: 是否补充数据
  11082. type: boolean
  11083. h:
  11084. description: 最高价
  11085. type: number
  11086. hv:
  11087. description: 持仓量
  11088. type: integer
  11089. l:
  11090. description: 最低价
  11091. type: number
  11092. o:
  11093. description: 开盘价
  11094. type: number
  11095. s:
  11096. description: 结算价,日线周期(包括)以上才有
  11097. type: number
  11098. ts:
  11099. description: 时间
  11100. type: string
  11101. tt:
  11102. description: 总金额
  11103. type: number
  11104. tv:
  11105. description: 总量
  11106. type: integer
  11107. type: object
  11108. quote.HistoryTikData:
  11109. properties:
  11110. AV:
  11111. description: 卖量
  11112. type: integer
  11113. Ask:
  11114. description: 卖价
  11115. type: number
  11116. BV:
  11117. description: 买量
  11118. type: integer
  11119. Bid:
  11120. description: 买价
  11121. type: number
  11122. HI:
  11123. description: 单笔持仓
  11124. type: integer
  11125. HV:
  11126. description: 持仓量
  11127. type: integer
  11128. PE:
  11129. description: 现价
  11130. type: number
  11131. TDR:
  11132. description: 交易方向,0:买 1:卖
  11133. type: integer
  11134. TK:
  11135. description: 交易类型
  11136. type: integer
  11137. TS:
  11138. description: 行情时间文本
  11139. type: string
  11140. TT:
  11141. description: 现金额
  11142. type: number
  11143. Vol:
  11144. description: 现量
  11145. type: integer
  11146. type: object
  11147. quote.QueryQuoteDayRsp:
  11148. properties:
  11149. ask:
  11150. description: 卖1
  11151. type: number
  11152. ask2:
  11153. description: 卖2
  11154. type: number
  11155. ask3:
  11156. description: 卖3
  11157. type: number
  11158. ask4:
  11159. description: 卖4
  11160. type: number
  11161. ask5:
  11162. description: 卖5
  11163. type: number
  11164. ask6:
  11165. description: 卖6
  11166. type: number
  11167. ask7:
  11168. description: 卖7
  11169. type: number
  11170. ask8:
  11171. description: 卖8
  11172. type: number
  11173. ask9:
  11174. description: 卖9
  11175. type: number
  11176. ask10:
  11177. description: 卖10
  11178. type: number
  11179. askorderid:
  11180. description: 卖单号1
  11181. type: integer
  11182. askorderid2:
  11183. description: 卖单号2
  11184. type: integer
  11185. askorderid3:
  11186. description: 卖单号3
  11187. type: integer
  11188. askorderid4:
  11189. description: 卖单号4
  11190. type: integer
  11191. askorderid5:
  11192. description: 卖单号5
  11193. type: integer
  11194. askordervolume:
  11195. description: 卖单量1
  11196. type: integer
  11197. askordervolume2:
  11198. description: 卖单量2
  11199. type: integer
  11200. askordervolume3:
  11201. description: 卖单量3
  11202. type: integer
  11203. askordervolume4:
  11204. description: 卖单量4
  11205. type: integer
  11206. askordervolume5:
  11207. description: 卖单量5
  11208. type: integer
  11209. askordervolume6:
  11210. description: 卖单量6
  11211. type: integer
  11212. askordervolume7:
  11213. description: 卖单量7
  11214. type: integer
  11215. askordervolume8:
  11216. description: 卖单量8
  11217. type: integer
  11218. askordervolume9:
  11219. description: 卖单量9
  11220. type: integer
  11221. askordervolume10:
  11222. description: 卖单量10
  11223. type: integer
  11224. askqueueinfo:
  11225. description: 大利市卖港股用
  11226. type: string
  11227. askvolume:
  11228. description: 卖量1
  11229. type: integer
  11230. askvolume2:
  11231. description: 卖量2
  11232. type: integer
  11233. askvolume3:
  11234. description: 卖量3
  11235. type: integer
  11236. askvolume4:
  11237. description: 卖量4
  11238. type: integer
  11239. askvolume5:
  11240. description: 卖量5
  11241. type: integer
  11242. askvolume6:
  11243. description: 卖量6
  11244. type: integer
  11245. askvolume7:
  11246. description: 卖量7
  11247. type: integer
  11248. askvolume8:
  11249. description: 卖量8
  11250. type: integer
  11251. askvolume9:
  11252. description: 卖量9
  11253. type: integer
  11254. askvolume10:
  11255. description: 卖量10
  11256. type: integer
  11257. averageprice:
  11258. description: 均价
  11259. type: number
  11260. bid:
  11261. description: 买1
  11262. type: number
  11263. bid2:
  11264. description: 买2
  11265. type: number
  11266. bid3:
  11267. description: 买3
  11268. type: number
  11269. bid4:
  11270. description: 买4
  11271. type: number
  11272. bid5:
  11273. description: 买5
  11274. type: number
  11275. bid6:
  11276. description: 买6
  11277. type: number
  11278. bid7:
  11279. description: 买7
  11280. type: number
  11281. bid8:
  11282. description: 买8
  11283. type: number
  11284. bid9:
  11285. description: 买9
  11286. type: number
  11287. bid10:
  11288. description: 买10
  11289. type: number
  11290. bidorderid:
  11291. description: 买单号1
  11292. type: integer
  11293. bidorderid2:
  11294. description: 买单号2
  11295. type: integer
  11296. bidorderid3:
  11297. description: 买单号3
  11298. type: integer
  11299. bidorderid4:
  11300. description: 买单号4
  11301. type: integer
  11302. bidorderid5:
  11303. description: 买单号5
  11304. type: integer
  11305. bidordervolume:
  11306. description: 买单量1
  11307. type: integer
  11308. bidordervolume2:
  11309. description: 买单量2
  11310. type: integer
  11311. bidordervolume3:
  11312. description: 买单量3
  11313. type: integer
  11314. bidordervolume4:
  11315. description: 买单量4
  11316. type: integer
  11317. bidordervolume5:
  11318. description: 买单量5
  11319. type: integer
  11320. bidordervolume6:
  11321. description: 买单量6
  11322. type: integer
  11323. bidordervolume7:
  11324. description: 买单量7
  11325. type: integer
  11326. bidordervolume8:
  11327. description: 买单量8
  11328. type: integer
  11329. bidordervolume9:
  11330. description: 买单量9
  11331. type: integer
  11332. bidordervolume10:
  11333. description: 买单量10
  11334. type: integer
  11335. bidqueueinfo:
  11336. description: 大利市买港股用
  11337. type: string
  11338. bidvolume:
  11339. description: 买量1
  11340. type: integer
  11341. bidvolume2:
  11342. description: 买量2
  11343. type: integer
  11344. bidvolume3:
  11345. description: 买量3
  11346. type: integer
  11347. bidvolume4:
  11348. description: 买量4
  11349. type: integer
  11350. bidvolume5:
  11351. description: 买量5
  11352. type: integer
  11353. bidvolume6:
  11354. description: 买量6
  11355. type: integer
  11356. bidvolume7:
  11357. description: 买量7
  11358. type: integer
  11359. bidvolume8:
  11360. description: 买量8
  11361. type: integer
  11362. bidvolume9:
  11363. description: 买量9
  11364. type: integer
  11365. bidvolume10:
  11366. description: 买量10
  11367. type: integer
  11368. calloptionpremiums:
  11369. description: 认购期权1
  11370. type: integer
  11371. calloptionpremiums2:
  11372. description: 认购期权2
  11373. type: integer
  11374. calloptionpremiums3:
  11375. description: 认购期权3
  11376. type: integer
  11377. calloptionpremiums4:
  11378. description: 认购期权4
  11379. type: integer
  11380. calloptionpremiums5:
  11381. description: 认购期权5
  11382. type: integer
  11383. cleartime:
  11384. description: 清盘时间
  11385. type: integer
  11386. exchangecode:
  11387. description: 交易所代码
  11388. type: integer
  11389. exchangedate:
  11390. description: 交易日
  11391. type: integer
  11392. goodscode:
  11393. description: 商品代码
  11394. type: string
  11395. grepmarketprice:
  11396. description: 暗盘价 港股专用
  11397. type: number
  11398. highest:
  11399. description: 最高价
  11400. type: number
  11401. holdincrement:
  11402. description: 单笔持仓
  11403. type: integer
  11404. holdvolume:
  11405. description: 持仓
  11406. type: integer
  11407. iep:
  11408. description: 平衡价 港股专用
  11409. type: number
  11410. iev:
  11411. description: 平衡量 港股专用
  11412. type: number
  11413. inventory:
  11414. description: 库存
  11415. type: integer
  11416. iscleared:
  11417. description: 是否清盘标志
  11418. type: integer
  11419. issettled:
  11420. description: 是否结算标志
  11421. type: integer
  11422. last:
  11423. description: 最新价
  11424. type: number
  11425. lastlot:
  11426. description: 最新成交手数
  11427. type: integer
  11428. lasttime:
  11429. description: 行情时间(只有现价变化行情时间才变化)
  11430. type: string
  11431. lastturnover:
  11432. description: 最新成交金额
  11433. type: number
  11434. lastvolume:
  11435. description: 最新成交量
  11436. type: integer
  11437. limitdown:
  11438. description: 跌停价
  11439. type: number
  11440. limitup:
  11441. description: 涨停价
  11442. type: number
  11443. lowest:
  11444. description: 最低价
  11445. type: number
  11446. nontotalholdervolume:
  11447. description: 非交易持仓量
  11448. type: integer
  11449. nontotallot:
  11450. description: 非交易总手数
  11451. type: integer
  11452. nontotalturnover:
  11453. description: 非交易总金额
  11454. type: integer
  11455. nontotalvolume:
  11456. description: 非交易总量
  11457. type: integer
  11458. opened:
  11459. description: 开盘价
  11460. type: number
  11461. opentime:
  11462. description: 开盘时间
  11463. type: string
  11464. orderid:
  11465. description: 序号
  11466. type: integer
  11467. preclose:
  11468. description: 昨收
  11469. type: number
  11470. preholdvolume:
  11471. description: 昨持仓
  11472. type: integer
  11473. presettle:
  11474. description: 昨结价
  11475. type: number
  11476. publictradetype:
  11477. description: 公共交易标志类型 港股专用
  11478. type: string
  11479. putoptionpremiums:
  11480. description: 认沽期权1
  11481. type: integer
  11482. putoptionpremiums2:
  11483. description: 认沽期权2
  11484. type: integer
  11485. putoptionpremiums3:
  11486. description: 认沽期权3
  11487. type: integer
  11488. putoptionpremiums4:
  11489. description: 认沽期权4
  11490. type: integer
  11491. putoptionpremiums5:
  11492. description: 认沽期权5
  11493. type: integer
  11494. settle:
  11495. description: 结算价
  11496. type: number
  11497. strikeprice:
  11498. description: 发行价
  11499. type: number
  11500. totalaskvolume:
  11501. description: 内盘
  11502. type: integer
  11503. totalbidvolume:
  11504. description: 外盘
  11505. type: integer
  11506. totallot:
  11507. description: 总手数
  11508. type: integer
  11509. totalturnover:
  11510. description: 总金额
  11511. type: number
  11512. totalvolume:
  11513. description: 总量
  11514. type: integer
  11515. utclasttime:
  11516. description: utc的行情时间
  11517. type: string
  11518. type: object
  11519. quote.QueryTSDataRsp:
  11520. properties:
  11521. Count:
  11522. description: 交易日应有数据个数
  11523. type: integer
  11524. decimalPlace:
  11525. description: 小数位
  11526. type: integer
  11527. endTime:
  11528. description: 结束时间
  11529. type: string
  11530. goodsCode:
  11531. description: 商品代码
  11532. type: string
  11533. historyDatas:
  11534. description: 历史数据
  11535. items:
  11536. $ref: '#/definitions/quote.HistoryData'
  11537. type: array
  11538. outGoodsCode:
  11539. description: 外部商品代码
  11540. type: string
  11541. preSettle:
  11542. description: 昨结价
  11543. type: number
  11544. runSteps:
  11545. description: 交易日开休市计划
  11546. items:
  11547. $ref: '#/definitions/quote.TSDataRunStep'
  11548. type: array
  11549. startTime:
  11550. description: 开始时间
  11551. type: string
  11552. tradeDate:
  11553. description: 交易日
  11554. type: string
  11555. type: object
  11556. quote.TSDataRunStep:
  11557. properties:
  11558. end:
  11559. description: 真实结束时间
  11560. type: string
  11561. endflag:
  11562. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11563. type: integer
  11564. endtime:
  11565. description: 结束时间(HH:mm)
  11566. type: string
  11567. endweekday:
  11568. description: 结束周几
  11569. type: integer
  11570. groupid:
  11571. description: 分组ID
  11572. type: integer
  11573. runstep:
  11574. description: 运行阶段 - 2:连续交易
  11575. type: integer
  11576. sectionid:
  11577. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11578. 结束时间=结算时间 结束周几=结算周几
  11579. type: integer
  11580. start:
  11581. description: 真实开始时间
  11582. type: string
  11583. startflag:
  11584. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11585. type: integer
  11586. starttime:
  11587. description: 起始时间(HH:mm)
  11588. type: string
  11589. startweekday:
  11590. description: 起始周几
  11591. type: integer
  11592. tradeweekday:
  11593. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11594. type: integer
  11595. type: object
  11596. szdz.QueryConvertLogRsp:
  11597. properties:
  11598. accountid:
  11599. description: 资金账户ID
  11600. type: integer
  11601. clientticket:
  11602. description: 客户端流水号
  11603. type: string
  11604. converttype:
  11605. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11606. type: integer
  11607. createtime:
  11608. description: 记账时间
  11609. type: string
  11610. daymaxvalue:
  11611. description: 配置当日最大转入限制
  11612. type: number
  11613. daymaxvalue2:
  11614. description: 配置当日最大转入限制(转入)
  11615. type: number
  11616. goodscode:
  11617. description: 商品代码
  11618. type: string
  11619. goodsname:
  11620. description: 商品名称
  11621. type: string
  11622. handlestatus:
  11623. description: 处理状态
  11624. type: integer
  11625. innergoodsid:
  11626. description: 内部商品ID
  11627. type: integer
  11628. inratio:
  11629. description: 配置转入比值
  11630. type: integer
  11631. invalue:
  11632. description: 目标值
  11633. type: number
  11634. logid:
  11635. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11636. type: integer
  11637. mobile:
  11638. description: 手机号码(加密存储)
  11639. type: string
  11640. outergoodscode:
  11641. description: 外部商品代码[JD\PD]
  11642. type: string
  11643. outratio:
  11644. description: 配置转出比值
  11645. type: integer
  11646. outvalue:
  11647. description: 源值
  11648. type: number
  11649. pddecimalplace:
  11650. description: PD小数位
  11651. type: integer
  11652. qty:
  11653. description: 数量
  11654. type: string
  11655. remark:
  11656. description: 备注
  11657. type: string
  11658. sessionid:
  11659. description: 会话ID
  11660. type: integer
  11661. timemaxvalue:
  11662. description: 配置单次最大转入限制
  11663. type: number
  11664. timemaxvalue2:
  11665. description: 配置单次最大转入限制(转入)
  11666. type: number
  11667. timeminvalue:
  11668. description: 配置单次最小数量限制
  11669. type: number
  11670. timeminvalue2:
  11671. description: 配置单次最小数量限制(转入)
  11672. type: number
  11673. tradedate:
  11674. description: 交易日(yyyyMMdd)
  11675. type: string
  11676. userid:
  11677. description: 用户ID
  11678. type: integer
  11679. required:
  11680. - logid
  11681. type: object
  11682. szdz.QueryGoodsPickupRsp:
  11683. properties:
  11684. accountid:
  11685. description: 账户ID
  11686. type: integer
  11687. address:
  11688. description: 提货人详细地址
  11689. type: string
  11690. auditer:
  11691. description: 审核人
  11692. type: integer
  11693. audittime:
  11694. description: 审核时间
  11695. type: string
  11696. cardnum:
  11697. description: 提货人证件号码
  11698. type: string
  11699. cardtypeid:
  11700. description: 提货人证件类型
  11701. type: integer
  11702. checkremark:
  11703. description: 审核备注
  11704. type: string
  11705. goodscode:
  11706. description: 商品代码
  11707. type: string
  11708. goodsid:
  11709. description: 商品ID
  11710. type: integer
  11711. goodsname:
  11712. description: 商品名称
  11713. type: string
  11714. handlestatus:
  11715. description: 处理状态
  11716. type: integer
  11717. marketid:
  11718. description: 市场ID
  11719. type: integer
  11720. phonenum:
  11721. description: 提货人联系方式
  11722. type: string
  11723. qty:
  11724. description: 提货数量
  11725. type: number
  11726. recivername:
  11727. description: 提货人姓名
  11728. type: string
  11729. reqtime:
  11730. description: 更新时间
  11731. type: string
  11732. takemode:
  11733. description: 提货方式 - 2:自提 3:配送
  11734. type: integer
  11735. takeorderid:
  11736. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11737. type: string
  11738. takeorderstatus:
  11739. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11740. type: integer
  11741. takeremark:
  11742. description: 提货备注
  11743. type: string
  11744. tradedate:
  11745. description: 交易日(yyyyMMdd)
  11746. type: string
  11747. userid:
  11748. description: 用户ID
  11749. type: integer
  11750. required:
  11751. - takeorderid
  11752. type: object
  11753. szdz.QueryRecieptOrderRsp:
  11754. properties:
  11755. accountName:
  11756. description: 所属账号名称(已脱敏)
  11757. type: string
  11758. accountid:
  11759. description: 资金账号
  11760. type: integer
  11761. buyorsell:
  11762. description: 方向 - 0:买 1:卖
  11763. type: integer
  11764. enableqty:
  11765. description: 可摘数量
  11766. type: integer
  11767. goodscode:
  11768. description: 商品代码
  11769. type: string
  11770. goodsid:
  11771. description: 商品ID
  11772. type: integer
  11773. goodsname:
  11774. description: 商品名称
  11775. type: string
  11776. orderid:
  11777. description: 委托单号
  11778. type: string
  11779. orderprice:
  11780. description: 委托价格
  11781. type: number
  11782. ordertime:
  11783. description: 委托时间
  11784. type: string
  11785. tradedate:
  11786. description: 交易日(yyyyMMdd)
  11787. type: string
  11788. required:
  11789. - ordertime
  11790. type: object
  11791. szdz.QuerySZDZTradePositionRsp:
  11792. properties:
  11793. accountid:
  11794. description: 账号Id
  11795. type: integer
  11796. agreeunit:
  11797. description: 合约单位
  11798. type: number
  11799. averageprice:
  11800. description: 持仓均价
  11801. type: number
  11802. buyorsell:
  11803. description: 方向 - 0:买 1:卖
  11804. type: integer
  11805. closetotalqty:
  11806. description: 平仓总数量
  11807. type: integer
  11808. curholderamount:
  11809. description: 当前持仓总金额
  11810. type: number
  11811. curpositionqty:
  11812. description: 当前持仓总数量
  11813. type: integer
  11814. currencyid:
  11815. description: 报价货币ID
  11816. type: integer
  11817. curtdposition:
  11818. description: 期末今日头寸
  11819. type: integer
  11820. decimalplace:
  11821. description: 报价小数位
  11822. type: integer
  11823. enableqty:
  11824. description: 可用量
  11825. type: integer
  11826. fretdposition:
  11827. description: 冻结今日头寸
  11828. type: integer
  11829. frozenqty:
  11830. description: 持仓冻结数量
  11831. type: integer
  11832. goodscode:
  11833. description: 商品代码(内部)
  11834. type: string
  11835. goodsid:
  11836. description: 商品Id
  11837. type: integer
  11838. goodsname:
  11839. description: 商品名称
  11840. type: string
  11841. goodunit:
  11842. description: 报价单位
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. holderamount:
  11848. description: 期初持仓总金额
  11849. type: number
  11850. marketid:
  11851. description: 市场ID
  11852. type: integer
  11853. openreqqty:
  11854. description: 开仓申请数量
  11855. type: integer
  11856. opentotalqty:
  11857. description: 开仓总数量
  11858. type: integer
  11859. otherfrozenqty:
  11860. description: 持仓其他冻结数量(交割冻结)
  11861. type: integer
  11862. positionqty:
  11863. description: 期初持仓数量
  11864. type: integer
  11865. szdz3freezqty:
  11866. description: 尚志大宗转换冻结总数量
  11867. type: integer
  11868. tnqty:
  11869. description: T+N冻结总量
  11870. type: integer
  11871. tnusedqty:
  11872. description: T+N使用量
  11873. type: integer
  11874. trademode:
  11875. description: 交易模式
  11876. type: integer
  11877. usedmargin:
  11878. description: 占用保证金
  11879. type: number
  11880. type: object
  11881. taaccount.QueryAmountLogRsp:
  11882. properties:
  11883. OPERATETYPENAME:
  11884. description: 资金操作类型名称
  11885. type: string
  11886. accountid:
  11887. description: 资金账户ID
  11888. type: integer
  11889. agoodscode:
  11890. description: 竞拍商品代码
  11891. type: string
  11892. agoodsname:
  11893. description: 竞拍商品名称
  11894. type: string
  11895. amount:
  11896. description: 资金金额
  11897. type: number
  11898. amountadjusttype:
  11899. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11900. type: integer
  11901. autoid:
  11902. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11903. type: integer
  11904. balance:
  11905. description: 期初余额
  11906. type: number
  11907. businesscode:
  11908. description: 业务编号
  11909. type: integer
  11910. createtime:
  11911. description: 发生时间
  11912. type: string
  11913. currencyid:
  11914. description: 币种ID
  11915. type: integer
  11916. currentbalance:
  11917. description: 期末余额(变动后金额)
  11918. type: number
  11919. dgoodscode:
  11920. description: 交割商品代码
  11921. type: string
  11922. dgoodsname:
  11923. description: 交割商品名称
  11924. type: string
  11925. goodscode:
  11926. description: 商品代码
  11927. type: string
  11928. goodsid:
  11929. description: 商品ID
  11930. type: integer
  11931. goodsname:
  11932. description: 商品名称
  11933. type: string
  11934. marketid:
  11935. description: 市场ID
  11936. type: integer
  11937. marketname:
  11938. description: 市场名称
  11939. type: string
  11940. moneyticket:
  11941. description: 资金流水号:银行端流水号
  11942. type: integer
  11943. operatetype:
  11944. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11945. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11946. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11947. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11948. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11949. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11950. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11951. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11952. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11953. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11954. type: integer
  11955. relationorderid:
  11956. description: 关联单号
  11957. type: string
  11958. remark:
  11959. description: 备注
  11960. type: string
  11961. trademode:
  11962. description: 交易模式
  11963. type: integer
  11964. required:
  11965. - accountid
  11966. - amount
  11967. - amountadjusttype
  11968. - autoid
  11969. - balance
  11970. - createtime
  11971. - currentbalance
  11972. - operatetype
  11973. type: object
  11974. taaccount.QueryHisAmountLogRsp:
  11975. properties:
  11976. OPERATETYPENAME:
  11977. description: 资金操作类型名称
  11978. type: string
  11979. accountid:
  11980. description: 资金账户ID
  11981. type: integer
  11982. agoodscode:
  11983. description: 竞拍商品代码
  11984. type: string
  11985. agoodsname:
  11986. description: 竞拍商品名称
  11987. type: string
  11988. amount:
  11989. description: 资金金额
  11990. type: number
  11991. amountadjusttype:
  11992. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11993. type: integer
  11994. autoid:
  11995. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11996. type: integer
  11997. balance:
  11998. description: 期初余额
  11999. type: number
  12000. businesscode:
  12001. description: 业务编号
  12002. type: integer
  12003. createtime:
  12004. description: 发生时间
  12005. type: string
  12006. currencyid:
  12007. description: 币种ID
  12008. type: integer
  12009. currentbalance:
  12010. description: 期末余额(变动后金额)
  12011. type: number
  12012. dgoodscode:
  12013. description: 交割商品代码
  12014. type: string
  12015. dgoodsname:
  12016. description: 交割商品名称
  12017. type: string
  12018. goodscode:
  12019. description: 商品代码
  12020. type: string
  12021. goodsid:
  12022. description: 商品ID
  12023. type: integer
  12024. goodsname:
  12025. description: 商品名称
  12026. type: string
  12027. histradedate:
  12028. description: 历史交易日
  12029. type: string
  12030. isvaliddata:
  12031. description: 是否有效 - 0:无效 1:有效
  12032. type: integer
  12033. marketid:
  12034. description: 市场ID
  12035. type: integer
  12036. marketname:
  12037. description: 市场名称
  12038. type: string
  12039. moneyticket:
  12040. description: 资金流水号:银行端流水号
  12041. type: integer
  12042. operatetype:
  12043. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12044. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12045. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12046. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12047. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12048. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12049. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12050. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12051. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12052. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12053. type: integer
  12054. relationorderid:
  12055. description: 关联单号
  12056. type: string
  12057. remark:
  12058. description: 备注
  12059. type: string
  12060. trademode:
  12061. description: 交易模式
  12062. type: integer
  12063. required:
  12064. - accountid
  12065. - amount
  12066. - amountadjusttype
  12067. - autoid
  12068. - balance
  12069. - createtime
  12070. - currentbalance
  12071. - histradedate
  12072. - operatetype
  12073. type: object
  12074. trade.QueryRecieptOrderRsp:
  12075. properties:
  12076. accountName:
  12077. description: 所属账号名称(已脱敏)
  12078. type: string
  12079. accountid:
  12080. description: 资金账号
  12081. type: integer
  12082. buyorsell:
  12083. description: 方向 - 0:买 1:卖
  12084. type: integer
  12085. enableqty:
  12086. description: 可摘数量
  12087. type: integer
  12088. goodscode:
  12089. description: 商品代码
  12090. type: string
  12091. goodsid:
  12092. description: 商品ID
  12093. type: integer
  12094. goodsname:
  12095. description: 商品名称
  12096. type: string
  12097. orderid:
  12098. description: 委托单号
  12099. type: string
  12100. orderprice:
  12101. description: 委托价格
  12102. type: number
  12103. ordertime:
  12104. description: 委托时间
  12105. type: string
  12106. tradedate:
  12107. description: 交易日(yyyyMMdd)
  12108. type: string
  12109. required:
  12110. - ordertime
  12111. type: object
  12112. user.LoginQueryRsp:
  12113. properties:
  12114. areaRoles:
  12115. description: 所属角色信息
  12116. items:
  12117. $ref: '#/definitions/models.Arearole'
  12118. type: array
  12119. externalExchanges:
  12120. description: 外部交易所
  12121. items:
  12122. $ref: '#/definitions/models.Externalexchange'
  12123. type: array
  12124. goodsgroups:
  12125. description: 商品组
  12126. items:
  12127. $ref: '#/definitions/models.Goodsgroup'
  12128. type: array
  12129. loginAccount:
  12130. $ref: '#/definitions/models.Loginaccount'
  12131. description: 登录账号
  12132. type: object
  12133. markets:
  12134. description: 市场
  12135. items:
  12136. $ref: '#/definitions/models.Market'
  12137. type: array
  12138. systemParams:
  12139. description: 系统参数
  12140. items:
  12141. $ref: '#/definitions/models.Systemparam'
  12142. type: array
  12143. userAccount:
  12144. $ref: '#/definitions/models.Useraccount'
  12145. description: 用户账号
  12146. type: object
  12147. userInfo:
  12148. $ref: '#/definitions/models.Userinfo'
  12149. description: 用户信息
  12150. type: object
  12151. username:
  12152. description: 用户姓名
  12153. type: string
  12154. type: object
  12155. info:
  12156. contact: {}
  12157. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12158. license: {}
  12159. termsOfService: http://www.muchinfo.cn
  12160. title: MTP2.0 查询服务 API
  12161. version: "1.0"
  12162. paths:
  12163. /CPTrade/QueryCPTradeMyBidInfos:
  12164. get:
  12165. parameters:
  12166. - description: 资金账户
  12167. in: query
  12168. name: accountid
  12169. required: true
  12170. type: integer
  12171. - description: 预售市场ID
  12172. in: query
  12173. name: marketid
  12174. type: integer
  12175. - description: 预售商品ID
  12176. in: query
  12177. name: goodsid
  12178. type: integer
  12179. produces:
  12180. - application/json
  12181. responses:
  12182. "200":
  12183. description: OK
  12184. schema:
  12185. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12186. "500":
  12187. description: Internal Server Error
  12188. schema:
  12189. $ref: '#/definitions/app.Response'
  12190. security:
  12191. - ApiKeyAuth: []
  12192. summary: 查询产能预售我的出价信息
  12193. tags:
  12194. - 产能预售
  12195. /CPTrade/QueryCPTradeOrderDetail:
  12196. get:
  12197. parameters:
  12198. - description: 预售商品ID
  12199. in: query
  12200. name: goodsid
  12201. type: integer
  12202. - description: 预售市场ID
  12203. in: query
  12204. name: marketid
  12205. type: integer
  12206. - description: 预售商品ID列表 - 格式:1,2,3
  12207. in: query
  12208. name: goodsids
  12209. type: string
  12210. produces:
  12211. - application/json
  12212. responses:
  12213. "200":
  12214. description: OK
  12215. schema:
  12216. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12217. "500":
  12218. description: Internal Server Error
  12219. schema:
  12220. $ref: '#/definitions/app.Response'
  12221. security:
  12222. - ApiKeyAuth: []
  12223. summary: 查询产能预售委托单信息
  12224. tags:
  12225. - 产能预售
  12226. /CPTrade/QueryMyCPTradeGoods:
  12227. get:
  12228. parameters:
  12229. - description: 资金账户
  12230. in: query
  12231. name: accountid
  12232. required: true
  12233. type: integer
  12234. produces:
  12235. - application/json
  12236. responses:
  12237. "200":
  12238. description: OK
  12239. schema:
  12240. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12241. "500":
  12242. description: Internal Server Error
  12243. schema:
  12244. $ref: '#/definitions/app.Response'
  12245. security:
  12246. - ApiKeyAuth: []
  12247. summary: 查询我的预售信息
  12248. tags:
  12249. - 产能预售
  12250. /CPTrade/QueryPositionCancel:
  12251. get:
  12252. parameters:
  12253. - description: 账户ID
  12254. in: query
  12255. name: userid
  12256. required: true
  12257. type: integer
  12258. - description: 注销ID
  12259. in: query
  12260. name: cancelid
  12261. type: integer
  12262. - description: 资金账户ID
  12263. in: query
  12264. name: accountid
  12265. type: integer
  12266. produces:
  12267. - application/json
  12268. responses:
  12269. "200":
  12270. description: OK
  12271. schema:
  12272. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12273. "500":
  12274. description: Internal Server Error
  12275. schema:
  12276. $ref: '#/definitions/app.Response'
  12277. security:
  12278. - ApiKeyAuth: []
  12279. summary: 查询远期订单注销申请信息
  12280. tags:
  12281. - 产能预售
  12282. /CPTrade/QueryPreasleApply:
  12283. get:
  12284. parameters:
  12285. - description: 账户ID
  12286. in: query
  12287. name: userid
  12288. required: true
  12289. type: integer
  12290. - description: 申请ID
  12291. in: query
  12292. name: applyid
  12293. type: integer
  12294. - description: 资金账户ID
  12295. in: query
  12296. name: accountid
  12297. type: integer
  12298. produces:
  12299. - application/json
  12300. responses:
  12301. "200":
  12302. description: OK
  12303. schema:
  12304. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12305. "500":
  12306. description: Internal Server Error
  12307. schema:
  12308. $ref: '#/definitions/app.Response'
  12309. security:
  12310. - ApiKeyAuth: []
  12311. summary: 查询产能预售申请信息
  12312. tags:
  12313. - 产能预售
  12314. /CPTrade/QueryPresaleGoodsEx:
  12315. get:
  12316. parameters:
  12317. - description: 预售商品ID
  12318. in: query
  12319. name: goodsid
  12320. type: integer
  12321. - description: 预售市场ID
  12322. in: query
  12323. name: marketid
  12324. type: integer
  12325. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12326. in: query
  12327. name: presalemode
  12328. type: integer
  12329. - description: 预售商品ID列表 - 格式:1,2,3
  12330. in: query
  12331. name: goodsids
  12332. type: string
  12333. - description: 预售商品代码
  12334. in: query
  12335. name: goodscode
  12336. type: string
  12337. produces:
  12338. - application/json
  12339. responses:
  12340. "200":
  12341. description: OK
  12342. schema:
  12343. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12344. "500":
  12345. description: Internal Server Error
  12346. schema:
  12347. $ref: '#/definitions/app.Response'
  12348. security:
  12349. - ApiKeyAuth: []
  12350. summary: 查询产能预售商品扩展信息
  12351. tags:
  12352. - 产能预售
  12353. /CPTrade/QueryUserGoodsData:
  12354. get:
  12355. parameters:
  12356. - description: 资金账户ID
  12357. in: query
  12358. name: accountid
  12359. required: true
  12360. type: integer
  12361. produces:
  12362. - application/json
  12363. responses:
  12364. "200":
  12365. description: OK
  12366. schema:
  12367. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12368. "500":
  12369. description: Internal Server Error
  12370. schema:
  12371. $ref: '#/definitions/app.Response'
  12372. security:
  12373. - ApiKeyAuth: []
  12374. summary: 查询远期订单信息
  12375. tags:
  12376. - 产能预售
  12377. /Common/GetAllEnums:
  12378. get:
  12379. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12380. parameters:
  12381. - description: 起始自增ID
  12382. in: query
  12383. name: autoid
  12384. type: integer
  12385. produces:
  12386. - application/json
  12387. responses:
  12388. "200":
  12389. description: OK
  12390. schema:
  12391. $ref: '#/definitions/models.Enumdicitem'
  12392. "500":
  12393. description: Internal Server Error
  12394. schema:
  12395. $ref: '#/definitions/app.Response'
  12396. summary: 获取所有枚举信息
  12397. tags:
  12398. - 通用服务
  12399. /Common/GetClientMenus:
  12400. get:
  12401. parameters:
  12402. - description: 登录账号
  12403. in: query
  12404. name: loginID
  12405. required: true
  12406. type: integer
  12407. - description: 终端类型,0:PC 1:Mobile
  12408. in: query
  12409. name: clientType
  12410. type: integer
  12411. produces:
  12412. - application/json
  12413. responses:
  12414. "200":
  12415. description: OK
  12416. schema:
  12417. items:
  12418. $ref: '#/definitions/common.ClientMenu'
  12419. type: array
  12420. "500":
  12421. description: Internal Server Error
  12422. schema:
  12423. $ref: '#/definitions/app.Response'
  12424. security:
  12425. - ApiKeyAuth: []
  12426. summary: 获取交易端菜单
  12427. tags:
  12428. - 通用服务
  12429. /Common/GetDivisions:
  12430. get:
  12431. produces:
  12432. - application/json
  12433. responses:
  12434. "200":
  12435. description: OK
  12436. schema:
  12437. $ref: '#/definitions/models.Division'
  12438. "500":
  12439. description: Internal Server Error
  12440. schema:
  12441. $ref: '#/definitions/app.Response'
  12442. summary: 查询区域信息
  12443. tags:
  12444. - 通用服务
  12445. /Common/GetServerTime:
  12446. get:
  12447. produces:
  12448. - application/json
  12449. responses:
  12450. "200":
  12451. description: OK
  12452. schema:
  12453. $ref: '#/definitions/app.Response'
  12454. "500":
  12455. description: Internal Server Error
  12456. schema:
  12457. $ref: '#/definitions/app.Response'
  12458. summary: 获取服务器时间
  12459. tags:
  12460. - 通用服务
  12461. /Common/NoticeReaded:
  12462. post:
  12463. parameters:
  12464. - description: 登录账号
  12465. in: query
  12466. name: loginID
  12467. required: true
  12468. type: integer
  12469. - description: 通知公告ID
  12470. in: query
  12471. name: noticeID
  12472. required: true
  12473. type: integer
  12474. produces:
  12475. - application/json
  12476. responses:
  12477. "200":
  12478. description: OK
  12479. schema:
  12480. $ref: '#/definitions/app.Response'
  12481. "500":
  12482. description: Internal Server Error
  12483. schema:
  12484. $ref: '#/definitions/app.Response'
  12485. security:
  12486. - ApiKeyAuth: []
  12487. summary: 通知公告设置已读请求
  12488. tags:
  12489. - 通用服务
  12490. /Common/QueryErrorInfos:
  12491. get:
  12492. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12493. parameters:
  12494. - description: 起始行号前索引
  12495. in: query
  12496. name: rowNumber
  12497. type: string
  12498. produces:
  12499. - application/json
  12500. responses:
  12501. "200":
  12502. description: OK
  12503. schema:
  12504. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12505. "500":
  12506. description: Internal Server Error
  12507. schema:
  12508. $ref: '#/definitions/app.Response'
  12509. summary: 获取数据库错误信息
  12510. tags:
  12511. - 通用服务
  12512. /Common/QueryImageConfigs:
  12513. get:
  12514. parameters:
  12515. - description: 类型 - 1:App首页轮播 2:我的
  12516. in: query
  12517. name: imageType
  12518. type: integer
  12519. produces:
  12520. - application/json
  12521. responses:
  12522. "200":
  12523. description: OK
  12524. schema:
  12525. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12526. "500":
  12527. description: Internal Server Error
  12528. schema:
  12529. $ref: '#/definitions/app.Response'
  12530. summary: 查询轮播图配置信息
  12531. tags:
  12532. - 通用服务
  12533. /Common/QueryNotice:
  12534. get:
  12535. parameters:
  12536. - description: 页码
  12537. in: query
  12538. name: page
  12539. type: integer
  12540. - description: 每页条数
  12541. in: query
  12542. name: pagesize
  12543. type: integer
  12544. - description: 登录账号
  12545. in: query
  12546. name: loginID
  12547. required: true
  12548. type: integer
  12549. - description: 消息类型 - 1:公告通知 2:系统消息
  12550. in: query
  12551. name: msgType
  12552. type: integer
  12553. - description: 是否只获取未读信息
  12554. in: query
  12555. name: onlyUnRead
  12556. type: boolean
  12557. - description: 自增ID,传入后会返回这个ID后面的记录
  12558. in: query
  12559. name: lastID
  12560. type: integer
  12561. produces:
  12562. - application/json
  12563. responses:
  12564. "200":
  12565. description: OK
  12566. schema:
  12567. $ref: '#/definitions/common.QueryNoticeRsp'
  12568. "500":
  12569. description: Internal Server Error
  12570. schema:
  12571. $ref: '#/definitions/app.Response'
  12572. security:
  12573. - ApiKeyAuth: []
  12574. summary: 通知公告系统消息查询
  12575. tags:
  12576. - 通用服务
  12577. /Common/QueryProvincesAndCities:
  12578. get:
  12579. parameters:
  12580. - description: 省ID
  12581. in: query
  12582. name: provinceID
  12583. type: integer
  12584. produces:
  12585. - application/json
  12586. responses:
  12587. "200":
  12588. description: OK
  12589. schema:
  12590. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12591. "500":
  12592. description: Internal Server Error
  12593. schema:
  12594. $ref: '#/definitions/app.Response'
  12595. summary: 查询省市信息(不包括区)
  12596. tags:
  12597. - 通用服务
  12598. /Common/QueryTableDefine:
  12599. get:
  12600. parameters:
  12601. - description: 表key
  12602. in: query
  12603. name: tableKey
  12604. type: string
  12605. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12606. in: query
  12607. name: tableType
  12608. type: integer
  12609. produces:
  12610. - application/json
  12611. responses:
  12612. "200":
  12613. description: OK
  12614. schema:
  12615. $ref: '#/definitions/common.QueryTableDefineRsp'
  12616. "500":
  12617. description: Internal Server Error
  12618. schema:
  12619. $ref: '#/definitions/app.Response'
  12620. summary: 查询交易端列表头信息
  12621. tags:
  12622. - 通用服务
  12623. /Common/QueryTraderMenu:
  12624. get:
  12625. parameters:
  12626. - description: 登录账号
  12627. in: query
  12628. name: loginid
  12629. required: true
  12630. type: integer
  12631. produces:
  12632. - application/json
  12633. responses:
  12634. "200":
  12635. description: OK
  12636. schema:
  12637. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12638. "500":
  12639. description: Internal Server Error
  12640. schema:
  12641. $ref: '#/definitions/app.Response'
  12642. summary: 查询交易端菜单
  12643. tags:
  12644. - 通用服务
  12645. /Delivery/QueryDeliveryRelation:
  12646. get:
  12647. parameters:
  12648. - description: 商品ID
  12649. in: query
  12650. name: goodsid
  12651. type: integer
  12652. - description: 品种ID
  12653. in: query
  12654. name: deliverygoodsid
  12655. type: integer
  12656. - description: 市场ID
  12657. in: query
  12658. name: marketid
  12659. type: integer
  12660. produces:
  12661. - application/json
  12662. responses:
  12663. "200":
  12664. description: OK
  12665. schema:
  12666. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12667. "500":
  12668. description: Internal Server Error
  12669. schema:
  12670. $ref: '#/definitions/app.Response'
  12671. security:
  12672. - ApiKeyAuth: []
  12673. summary: 查询商品交割关系表
  12674. tags:
  12675. - 交割服务
  12676. /Ermcp/GetErmcpGoods:
  12677. get:
  12678. parameters:
  12679. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12680. in: query
  12681. name: lastUpdateTime
  12682. type: string
  12683. produces:
  12684. - application/json
  12685. responses:
  12686. "200":
  12687. description: OK
  12688. schema:
  12689. $ref: '#/definitions/models.Goods'
  12690. "500":
  12691. description: Internal Server Error
  12692. schema:
  12693. $ref: '#/definitions/app.Response'
  12694. security:
  12695. - ApiKeyAuth: []
  12696. summary: 查询企业风管期货商品信息
  12697. tags:
  12698. - 企业风险管理(app)
  12699. /Ermcp/GetErmcpGoodsSortByPosition:
  12700. get:
  12701. parameters:
  12702. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12703. in: query
  12704. name: sortIndex
  12705. type: string
  12706. produces:
  12707. - application/json
  12708. responses:
  12709. "200":
  12710. description: OK
  12711. schema:
  12712. $ref: '#/definitions/models.Goodssortbypreposition'
  12713. "500":
  12714. description: Internal Server Error
  12715. schema:
  12716. $ref: '#/definitions/app.Response'
  12717. security:
  12718. - ApiKeyAuth: []
  12719. summary: 查询企业风管期货主力、次主力商品信息
  12720. tags:
  12721. - 企业风险管理(app)
  12722. /Ermcp/GetErmcpOutAccountStatus:
  12723. get:
  12724. parameters:
  12725. - description: 登录账号
  12726. in: query
  12727. name: loginID
  12728. required: true
  12729. type: integer
  12730. produces:
  12731. - application/json
  12732. responses:
  12733. "200":
  12734. description: OK
  12735. schema:
  12736. $ref: '#/definitions/models.Hedgemarketopenlog'
  12737. "500":
  12738. description: Internal Server Error
  12739. schema:
  12740. $ref: '#/definitions/app.Response'
  12741. security:
  12742. - ApiKeyAuth: []
  12743. summary: 获取目标登录账号当前对冲账号在线状态
  12744. tags:
  12745. - 企业风险管理(app)
  12746. /Ermcp/GetErmcpRoleFuncMenuLists:
  12747. get:
  12748. parameters:
  12749. - description: 登录账号
  12750. in: query
  12751. name: loginID
  12752. required: true
  12753. type: integer
  12754. produces:
  12755. - application/json
  12756. responses:
  12757. "200":
  12758. description: OK
  12759. schema:
  12760. $ref: '#/definitions/models.Funcmenulist'
  12761. "500":
  12762. description: Internal Server Error
  12763. schema:
  12764. $ref: '#/definitions/app.Response'
  12765. security:
  12766. - ApiKeyAuth: []
  12767. summary: 获取企业风管终端权限
  12768. tags:
  12769. - 企业风险管理(app)
  12770. /Ermcp/QueryAccMgrBizGroupSet:
  12771. get:
  12772. parameters:
  12773. - description: 用户ID
  12774. in: query
  12775. name: userid
  12776. required: true
  12777. type: integer
  12778. - description: 现货商品id
  12779. in: query
  12780. name: deliverygoodsid
  12781. type: integer
  12782. produces:
  12783. - application/json
  12784. responses:
  12785. "200":
  12786. description: OK
  12787. schema:
  12788. items:
  12789. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12790. type: array
  12791. "500":
  12792. description: Internal Server Error
  12793. schema:
  12794. $ref: '#/definitions/app.Response'
  12795. security:
  12796. - ApiKeyAuth: []
  12797. summary: 查询业务类型分组(账户管理/账户设置)
  12798. tags:
  12799. - 企业风险管理(app)
  12800. /Ermcp/QueryAccMgrLoginUser:
  12801. get:
  12802. parameters:
  12803. - description: 用户ID
  12804. in: query
  12805. name: userid
  12806. required: true
  12807. type: integer
  12808. - description: 用户类型 2-机构 7-企业成员
  12809. in: query
  12810. name: usertype
  12811. type: integer
  12812. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12813. in: query
  12814. name: querytype
  12815. required: true
  12816. type: integer
  12817. produces:
  12818. - application/json
  12819. responses:
  12820. "200":
  12821. description: OK
  12822. schema:
  12823. items:
  12824. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12825. type: array
  12826. "500":
  12827. description: Internal Server Error
  12828. schema:
  12829. $ref: '#/definitions/app.Response'
  12830. security:
  12831. - ApiKeyAuth: []
  12832. summary: 查询账户管理登录账号(账户管理/登录账号)
  12833. tags:
  12834. - 企业风险管理(app)
  12835. /Ermcp/QueryAccMgrMainAccountInfo:
  12836. get:
  12837. parameters:
  12838. - description: 用户ID
  12839. in: query
  12840. name: userid
  12841. type: integer
  12842. - description: 主账号id
  12843. in: query
  12844. name: accountid
  12845. type: integer
  12846. produces:
  12847. - application/json
  12848. responses:
  12849. "200":
  12850. description: OK
  12851. schema:
  12852. items:
  12853. $ref: '#/definitions/models.MainAccountInfo'
  12854. type: array
  12855. "500":
  12856. description: Internal Server Error
  12857. schema:
  12858. $ref: '#/definitions/app.Response'
  12859. security:
  12860. - ApiKeyAuth: []
  12861. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12862. tags:
  12863. - 企业风险管理(app)
  12864. /Ermcp/QueryAccMgrRole:
  12865. get:
  12866. parameters:
  12867. - description: 用户ID
  12868. in: query
  12869. name: userid
  12870. required: true
  12871. type: integer
  12872. produces:
  12873. - application/json
  12874. responses:
  12875. "200":
  12876. description: OK
  12877. schema:
  12878. items:
  12879. $ref: '#/definitions/models.ErmcpRole'
  12880. type: array
  12881. "500":
  12882. description: Internal Server Error
  12883. schema:
  12884. $ref: '#/definitions/app.Response'
  12885. security:
  12886. - ApiKeyAuth: []
  12887. summary: 查询账户管理角色设置(账户管理/角色设置)
  12888. tags:
  12889. - 企业风险管理(app)
  12890. /Ermcp/QueryAccMgrRoleMenu:
  12891. get:
  12892. parameters:
  12893. - description: 用户ID
  12894. in: query
  12895. name: userid
  12896. required: true
  12897. type: integer
  12898. - description: 角色id(可多个,逗号隔开)
  12899. in: query
  12900. name: roleid
  12901. type: string
  12902. produces:
  12903. - application/json
  12904. responses:
  12905. "200":
  12906. description: OK
  12907. schema:
  12908. items:
  12909. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12910. type: array
  12911. "500":
  12912. description: Internal Server Error
  12913. schema:
  12914. $ref: '#/definitions/app.Response'
  12915. security:
  12916. - ApiKeyAuth: []
  12917. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12918. tags:
  12919. - 企业风险管理(app)
  12920. /Ermcp/QueryAccMgrTaAccountInfo:
  12921. get:
  12922. parameters:
  12923. - description: 用户ID
  12924. in: query
  12925. name: userid
  12926. required: true
  12927. type: integer
  12928. - description: 账号id
  12929. in: query
  12930. name: accountid
  12931. type: integer
  12932. produces:
  12933. - application/json
  12934. responses:
  12935. "200":
  12936. description: OK
  12937. schema:
  12938. items:
  12939. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12940. type: array
  12941. "500":
  12942. description: Internal Server Error
  12943. schema:
  12944. $ref: '#/definitions/app.Response'
  12945. security:
  12946. - ApiKeyAuth: []
  12947. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12948. tags:
  12949. - 企业风险管理(app)
  12950. /Ermcp/QueryAccMgrTaaccount:
  12951. get:
  12952. parameters:
  12953. - description: 用户ID
  12954. in: query
  12955. name: userid
  12956. required: true
  12957. type: integer
  12958. produces:
  12959. - application/json
  12960. responses:
  12961. "200":
  12962. description: OK
  12963. schema:
  12964. items:
  12965. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12966. type: array
  12967. "500":
  12968. description: Internal Server Error
  12969. schema:
  12970. $ref: '#/definitions/app.Response'
  12971. security:
  12972. - ApiKeyAuth: []
  12973. summary: 查询账户管理期货账号(账户管理/期货账号)
  12974. tags:
  12975. - 企业风险管理(app)
  12976. /Ermcp/QueryAvaildGoodsGroup:
  12977. get:
  12978. parameters:
  12979. - description: 所属机构ID
  12980. in: query
  12981. name: userid
  12982. required: true
  12983. type: integer
  12984. produces:
  12985. - application/json
  12986. responses:
  12987. "200":
  12988. description: OK
  12989. schema:
  12990. items:
  12991. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12992. type: array
  12993. "500":
  12994. description: Internal Server Error
  12995. schema:
  12996. $ref: '#/definitions/app.Response'
  12997. security:
  12998. - ApiKeyAuth: []
  12999. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13000. tags:
  13001. - 企业风险管理(app)
  13002. /Ermcp/QueryBusinessDj:
  13003. get:
  13004. parameters:
  13005. - description: 用户ID
  13006. in: query
  13007. name: UserId
  13008. required: true
  13009. type: integer
  13010. - description: 用户类型 2-机构 7-企业成员
  13011. in: query
  13012. name: usertype
  13013. type: integer
  13014. - description: 现货合同ID, 不填则查所有
  13015. in: query
  13016. name: relatedid
  13017. type: string
  13018. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13019. in: query
  13020. name: applystatus
  13021. type: string
  13022. produces:
  13023. - application/json
  13024. responses:
  13025. "200":
  13026. description: OK
  13027. schema:
  13028. items:
  13029. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13030. type: array
  13031. "500":
  13032. description: Internal Server Error
  13033. schema:
  13034. $ref: '#/definitions/app.Response'
  13035. security:
  13036. - ApiKeyAuth: []
  13037. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13038. tags:
  13039. - 企业风险管理(app)
  13040. /Ermcp/QueryBusinessFp:
  13041. get:
  13042. parameters:
  13043. - description: 用户ID
  13044. in: query
  13045. name: UserId
  13046. required: true
  13047. type: integer
  13048. - description: 用户类型 2-机构 7-企业成员
  13049. in: query
  13050. name: usertype
  13051. type: integer
  13052. - description: 现货合同ID, 不填则查所有
  13053. in: query
  13054. name: relatedid
  13055. type: string
  13056. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13057. in: query
  13058. name: applystatus
  13059. type: string
  13060. produces:
  13061. - application/json
  13062. responses:
  13063. "200":
  13064. description: OK
  13065. schema:
  13066. items:
  13067. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13068. type: array
  13069. "500":
  13070. description: Internal Server Error
  13071. schema:
  13072. $ref: '#/definitions/app.Response'
  13073. security:
  13074. - ApiKeyAuth: []
  13075. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13076. tags:
  13077. - 企业风险管理(app)
  13078. /Ermcp/QueryBusinessJs:
  13079. get:
  13080. parameters:
  13081. - description: 用户ID
  13082. in: query
  13083. name: UserId
  13084. required: true
  13085. type: integer
  13086. - description: 用户类型 2-机构 7-企业成员
  13087. in: query
  13088. name: usertype
  13089. type: integer
  13090. - description: 现货合同ID, 不填则查所有
  13091. in: query
  13092. name: relatedid
  13093. type: string
  13094. - description: 操作申请id
  13095. in: query
  13096. name: operateapplyid
  13097. type: string
  13098. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13099. in: query
  13100. name: applystatus
  13101. type: string
  13102. produces:
  13103. - application/json
  13104. responses:
  13105. "200":
  13106. description: OK
  13107. schema:
  13108. items:
  13109. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13110. type: array
  13111. "500":
  13112. description: Internal Server Error
  13113. schema:
  13114. $ref: '#/definitions/app.Response'
  13115. security:
  13116. - ApiKeyAuth: []
  13117. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13118. tags:
  13119. - 企业风险管理(app)
  13120. /Ermcp/QueryBusinessJsEx:
  13121. get:
  13122. parameters:
  13123. - description: 用户ID
  13124. in: query
  13125. name: UserId
  13126. required: true
  13127. type: integer
  13128. - description: 用户类型 2-机构 7-企业成员
  13129. in: query
  13130. name: usertype
  13131. type: integer
  13132. - description: 现货合同ID, 不填则查所有
  13133. in: query
  13134. name: relatedid
  13135. type: string
  13136. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13137. in: query
  13138. name: applystatus
  13139. type: string
  13140. produces:
  13141. - application/json
  13142. responses:
  13143. "200":
  13144. description: OK
  13145. schema:
  13146. items:
  13147. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13148. type: array
  13149. "500":
  13150. description: Internal Server Error
  13151. schema:
  13152. $ref: '#/definitions/app.Response'
  13153. security:
  13154. - ApiKeyAuth: []
  13155. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13156. tags:
  13157. - 企业风险管理(app)
  13158. /Ermcp/QueryBusinessKx:
  13159. get:
  13160. parameters:
  13161. - description: 用户ID
  13162. in: query
  13163. name: UserId
  13164. required: true
  13165. type: integer
  13166. - description: 用户类型 2-机构 7-企业成员
  13167. in: query
  13168. name: usertype
  13169. type: integer
  13170. - description: 现货合同ID, 不填则查所有
  13171. in: query
  13172. name: relatedid
  13173. type: string
  13174. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13175. in: query
  13176. name: applystatus
  13177. type: string
  13178. produces:
  13179. - application/json
  13180. responses:
  13181. "200":
  13182. description: OK
  13183. schema:
  13184. items:
  13185. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13186. type: array
  13187. "500":
  13188. description: Internal Server Error
  13189. schema:
  13190. $ref: '#/definitions/app.Response'
  13191. security:
  13192. - ApiKeyAuth: []
  13193. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13194. tags:
  13195. - 企业风险管理(app)
  13196. /Ermcp/QueryChangeLog:
  13197. get:
  13198. parameters:
  13199. - description: 合同ID
  13200. in: query
  13201. name: RelatedId
  13202. required: true
  13203. type: string
  13204. produces:
  13205. - application/json
  13206. responses:
  13207. "200":
  13208. description: OK
  13209. schema:
  13210. items:
  13211. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13212. type: array
  13213. "500":
  13214. description: Internal Server Error
  13215. schema:
  13216. $ref: '#/definitions/app.Response'
  13217. security:
  13218. - ApiKeyAuth: []
  13219. summary: 查询变更记录
  13220. tags:
  13221. - 企业风险管理(app)
  13222. /Ermcp/QueryErmcpHisOrderDetails:
  13223. get:
  13224. parameters:
  13225. - description: 资金账户ID
  13226. in: query
  13227. name: accountID
  13228. required: true
  13229. type: integer
  13230. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13231. in: query
  13232. name: startDate
  13233. type: string
  13234. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13235. in: query
  13236. name: endDate
  13237. type: string
  13238. produces:
  13239. - application/json
  13240. responses:
  13241. "200":
  13242. description: OK
  13243. schema:
  13244. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13245. "500":
  13246. description: Internal Server Error
  13247. schema:
  13248. $ref: '#/definitions/app.Response'
  13249. security:
  13250. - ApiKeyAuth: []
  13251. summary: 获取企业风管期货历史委托单信息
  13252. tags:
  13253. - 企业风险管理(app)
  13254. /Ermcp/QueryErmcpHisTradeDetails:
  13255. get:
  13256. parameters:
  13257. - description: 资金账户ID
  13258. in: query
  13259. name: accountID
  13260. required: true
  13261. type: integer
  13262. - description: 商品ID
  13263. in: query
  13264. name: goodsID
  13265. type: integer
  13266. - description: 买卖方向,0:买 1:卖
  13267. in: query
  13268. name: buyOrSell
  13269. type: integer
  13270. - description: 关联委托单号
  13271. in: query
  13272. name: orderID
  13273. type: integer
  13274. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13275. in: query
  13276. name: startDate
  13277. type: string
  13278. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13279. in: query
  13280. name: endDate
  13281. type: string
  13282. produces:
  13283. - application/json
  13284. responses:
  13285. "200":
  13286. description: OK
  13287. schema:
  13288. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13289. "500":
  13290. description: Internal Server Error
  13291. schema:
  13292. $ref: '#/definitions/app.Response'
  13293. security:
  13294. - ApiKeyAuth: []
  13295. summary: 获取企业风管期货历史成交单信息
  13296. tags:
  13297. - 企业风险管理(app)
  13298. /Ermcp/QueryErmcpInnerHolderDetails:
  13299. get:
  13300. parameters:
  13301. - description: 资金账户ID
  13302. in: query
  13303. name: accountID
  13304. required: true
  13305. type: integer
  13306. - description: 商品ID
  13307. in: query
  13308. name: goodsID
  13309. type: integer
  13310. - description: 买卖方向,0:买 1:卖
  13311. in: query
  13312. name: buyOrSell
  13313. type: integer
  13314. produces:
  13315. - application/json
  13316. responses:
  13317. "200":
  13318. description: OK
  13319. schema:
  13320. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13321. "500":
  13322. description: Internal Server Error
  13323. schema:
  13324. $ref: '#/definitions/app.Response'
  13325. security:
  13326. - ApiKeyAuth: []
  13327. summary: 获取企业风管期货内部持仓单信息
  13328. tags:
  13329. - 企业风险管理(app)
  13330. /Ermcp/QueryErmcpOrderDetails:
  13331. get:
  13332. parameters:
  13333. - description: 资金账户ID
  13334. in: query
  13335. name: accountID
  13336. required: true
  13337. type: integer
  13338. produces:
  13339. - application/json
  13340. responses:
  13341. "200":
  13342. description: OK
  13343. schema:
  13344. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13345. "500":
  13346. description: Internal Server Error
  13347. schema:
  13348. $ref: '#/definitions/app.Response'
  13349. security:
  13350. - ApiKeyAuth: []
  13351. summary: 获取企业风管期货委托单信息
  13352. tags:
  13353. - 企业风险管理(app)
  13354. /Ermcp/QueryErmcpTradeDetails:
  13355. get:
  13356. parameters:
  13357. - description: 资金账户ID
  13358. in: query
  13359. name: accountID
  13360. required: true
  13361. type: integer
  13362. - description: 商品ID
  13363. in: query
  13364. name: goodsID
  13365. type: integer
  13366. - description: 买卖方向,0:买 1:卖
  13367. in: query
  13368. name: buyOrSell
  13369. type: integer
  13370. - description: 关联委托单号
  13371. in: query
  13372. name: orderID
  13373. type: integer
  13374. produces:
  13375. - application/json
  13376. responses:
  13377. "200":
  13378. description: OK
  13379. schema:
  13380. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13381. "500":
  13382. description: Internal Server Error
  13383. schema:
  13384. $ref: '#/definitions/app.Response'
  13385. security:
  13386. - ApiKeyAuth: []
  13387. summary: 获取企业风管期货成交单信息
  13388. tags:
  13389. - 企业风险管理(app)
  13390. /Ermcp/QueryErmcpTradePosition:
  13391. get:
  13392. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13393. parameters:
  13394. - description: 资金账户ID
  13395. in: query
  13396. name: accountID
  13397. required: true
  13398. type: integer
  13399. - description: 所属市场ID
  13400. in: query
  13401. name: marketID
  13402. type: integer
  13403. produces:
  13404. - application/json
  13405. responses:
  13406. "200":
  13407. description: OK
  13408. schema:
  13409. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13410. "500":
  13411. description: Internal Server Error
  13412. schema:
  13413. $ref: '#/definitions/app.Response'
  13414. security:
  13415. - ApiKeyAuth: []
  13416. summary: 获取企业风管期货持仓头寸信息
  13417. tags:
  13418. - 企业风险管理(app)
  13419. /Ermcp/QueryExposureDetail:
  13420. get:
  13421. parameters:
  13422. - description: 所属机构ID
  13423. in: query
  13424. name: areaUserId
  13425. required: true
  13426. type: integer
  13427. - description: 套保商品
  13428. in: query
  13429. name: middleGoodsId
  13430. required: true
  13431. type: integer
  13432. produces:
  13433. - application/json
  13434. responses:
  13435. "200":
  13436. description: OK
  13437. schema:
  13438. items:
  13439. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13440. type: array
  13441. "500":
  13442. description: Internal Server Error
  13443. schema:
  13444. $ref: '#/definitions/app.Response'
  13445. security:
  13446. - ApiKeyAuth: []
  13447. summary: 查询敞口现货明细
  13448. tags:
  13449. - 企业风险管理(app)
  13450. /Ermcp/QueryExposureHedgePosition:
  13451. get:
  13452. parameters:
  13453. - description: 用户id
  13454. in: query
  13455. name: userid
  13456. required: true
  13457. type: integer
  13458. produces:
  13459. - application/json
  13460. responses:
  13461. "200":
  13462. description: OK
  13463. schema:
  13464. items:
  13465. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13466. type: array
  13467. "500":
  13468. description: Internal Server Error
  13469. schema:
  13470. $ref: '#/definitions/app.Response'
  13471. security:
  13472. - ApiKeyAuth: []
  13473. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13474. tags:
  13475. - 企业风险管理(app)
  13476. /Ermcp/QueryExposureHedgePositionDetail:
  13477. get:
  13478. parameters:
  13479. - description: 所属机构ID
  13480. in: query
  13481. name: userid
  13482. required: true
  13483. type: integer
  13484. - description: 商品id
  13485. in: query
  13486. name: goodsId
  13487. required: true
  13488. type: integer
  13489. produces:
  13490. - application/json
  13491. responses:
  13492. "200":
  13493. description: OK
  13494. schema:
  13495. items:
  13496. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13497. type: array
  13498. "500":
  13499. description: Internal Server Error
  13500. schema:
  13501. $ref: '#/definitions/app.Response'
  13502. security:
  13503. - ApiKeyAuth: []
  13504. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13505. tags:
  13506. - 企业风险管理(app)
  13507. /Ermcp/QueryExposureSpot:
  13508. get:
  13509. parameters:
  13510. - description: 所属机构ID
  13511. in: query
  13512. name: areaUserId
  13513. required: true
  13514. type: integer
  13515. produces:
  13516. - application/json
  13517. responses:
  13518. "200":
  13519. description: OK
  13520. schema:
  13521. items:
  13522. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13523. type: array
  13524. "500":
  13525. description: Internal Server Error
  13526. schema:
  13527. $ref: '#/definitions/app.Response'
  13528. security:
  13529. - ApiKeyAuth: []
  13530. summary: 查询敞口现货头寸(敞口/现货头寸)
  13531. tags:
  13532. - 企业风险管理(app)
  13533. /Ermcp/QueryExposureSpotDetail:
  13534. get:
  13535. parameters:
  13536. - description: 所属机构ID
  13537. in: query
  13538. name: areaUserId
  13539. required: true
  13540. type: integer
  13541. - description: 现货品种ID
  13542. in: query
  13543. name: wrstandardId
  13544. required: true
  13545. type: integer
  13546. produces:
  13547. - application/json
  13548. responses:
  13549. "200":
  13550. description: OK
  13551. schema:
  13552. items:
  13553. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13554. type: array
  13555. "500":
  13556. description: Internal Server Error
  13557. schema:
  13558. $ref: '#/definitions/app.Response'
  13559. security:
  13560. - ApiKeyAuth: []
  13561. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13562. tags:
  13563. - 企业风险管理(app)
  13564. /Ermcp/QueryFuturesCompany:
  13565. get:
  13566. produces:
  13567. - application/json
  13568. responses:
  13569. "200":
  13570. description: OK
  13571. schema:
  13572. items:
  13573. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13574. type: array
  13575. "500":
  13576. description: Internal Server Error
  13577. schema:
  13578. $ref: '#/definitions/app.Response'
  13579. security:
  13580. - ApiKeyAuth: []
  13581. summary: 查询期货公司
  13582. tags:
  13583. - 企业风险管理(app)
  13584. /Ermcp/QueryGGConvertConfig:
  13585. get:
  13586. parameters:
  13587. - description: 品种id(不填则查所有)
  13588. in: query
  13589. name: goodsgroupid
  13590. type: integer
  13591. produces:
  13592. - application/json
  13593. responses:
  13594. "200":
  13595. description: OK
  13596. schema:
  13597. items:
  13598. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13599. type: array
  13600. "500":
  13601. description: Internal Server Error
  13602. schema:
  13603. $ref: '#/definitions/app.Response'
  13604. security:
  13605. - ApiKeyAuth: []
  13606. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13607. tags:
  13608. - 企业风险管理(app)
  13609. /Ermcp/QueryGoodsBrand:
  13610. get:
  13611. parameters:
  13612. - description: 用户ID
  13613. in: query
  13614. name: userid
  13615. required: true
  13616. type: integer
  13617. - description: 现货商品ID
  13618. in: query
  13619. name: wrstandardid
  13620. type: integer
  13621. produces:
  13622. - application/json
  13623. responses:
  13624. "200":
  13625. description: OK
  13626. schema:
  13627. items:
  13628. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13629. type: array
  13630. "500":
  13631. description: Internal Server Error
  13632. schema:
  13633. $ref: '#/definitions/app.Response'
  13634. security:
  13635. - ApiKeyAuth: []
  13636. summary: 查询商品品牌
  13637. tags:
  13638. - 企业风险管理(app)
  13639. /Ermcp/QueryGoodsModel:
  13640. get:
  13641. parameters:
  13642. - description: 用户ID
  13643. in: query
  13644. name: userid
  13645. required: true
  13646. type: integer
  13647. produces:
  13648. - application/json
  13649. responses:
  13650. "200":
  13651. description: OK
  13652. schema:
  13653. items:
  13654. $ref: '#/definitions/models.ErmcpGoodsModel'
  13655. type: array
  13656. "500":
  13657. description: Internal Server Error
  13658. schema:
  13659. $ref: '#/definitions/app.Response'
  13660. security:
  13661. - ApiKeyAuth: []
  13662. summary: 查询商品型号
  13663. tags:
  13664. - 企业风险管理(app)
  13665. /Ermcp/QueryHisExposure:
  13666. get:
  13667. parameters:
  13668. - description: 用户id
  13669. in: query
  13670. name: userid
  13671. required: true
  13672. type: integer
  13673. - description: 每个品种记录数
  13674. in: query
  13675. name: lastNum
  13676. required: true
  13677. type: integer
  13678. produces:
  13679. - application/json
  13680. responses:
  13681. "200":
  13682. description: OK
  13683. schema:
  13684. items:
  13685. $ref: '#/definitions/ermcp.HisExposureRsp'
  13686. type: array
  13687. "500":
  13688. description: Internal Server Error
  13689. schema:
  13690. $ref: '#/definitions/app.Response'
  13691. security:
  13692. - ApiKeyAuth: []
  13693. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13694. tags:
  13695. - 企业风险管理(app)
  13696. /Ermcp/QueryMiddleGoods:
  13697. get:
  13698. parameters:
  13699. - description: 所属机构ID
  13700. in: query
  13701. name: userid
  13702. required: true
  13703. type: integer
  13704. - description: 状态 0-停用 1-正常
  13705. in: query
  13706. name: status
  13707. required: true
  13708. type: integer
  13709. produces:
  13710. - application/json
  13711. responses:
  13712. "200":
  13713. description: OK
  13714. schema:
  13715. items:
  13716. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13717. type: array
  13718. "500":
  13719. description: Internal Server Error
  13720. schema:
  13721. $ref: '#/definitions/app.Response'
  13722. security:
  13723. - ApiKeyAuth: []
  13724. summary: 查询套保品种(菜单:套保品种)
  13725. tags:
  13726. - 企业风险管理(app)
  13727. /Ermcp/QueryMiddleGoodsChangeLog:
  13728. get:
  13729. parameters:
  13730. - description: 所属机构ID
  13731. in: query
  13732. name: userid
  13733. required: true
  13734. type: integer
  13735. - description: 套保品种id
  13736. in: query
  13737. name: middlegoodsid
  13738. required: true
  13739. type: integer
  13740. produces:
  13741. - application/json
  13742. responses:
  13743. "200":
  13744. description: OK
  13745. schema:
  13746. items:
  13747. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13748. type: array
  13749. "500":
  13750. description: Internal Server Error
  13751. schema:
  13752. $ref: '#/definitions/app.Response'
  13753. security:
  13754. - ApiKeyAuth: []
  13755. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13756. tags:
  13757. - 企业风险管理(app)
  13758. /Ermcp/QueryMiddleGoodsDetail:
  13759. get:
  13760. parameters:
  13761. - description: 所属机构ID
  13762. in: query
  13763. name: userid
  13764. required: true
  13765. type: integer
  13766. - description: 套保品种id
  13767. in: query
  13768. name: middlegoodsid
  13769. type: integer
  13770. produces:
  13771. - application/json
  13772. responses:
  13773. "200":
  13774. description: OK
  13775. schema:
  13776. items:
  13777. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13778. type: array
  13779. "500":
  13780. description: Internal Server Error
  13781. schema:
  13782. $ref: '#/definitions/app.Response'
  13783. security:
  13784. - ApiKeyAuth: []
  13785. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13786. tags:
  13787. - 企业风险管理(app)
  13788. /Ermcp/QueryPendingAuditInfo:
  13789. get:
  13790. parameters:
  13791. - description: 用户ID
  13792. in: query
  13793. name: UserId
  13794. required: true
  13795. type: integer
  13796. produces:
  13797. - application/json
  13798. responses:
  13799. "200":
  13800. description: OK
  13801. schema:
  13802. items:
  13803. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  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/QueryRealtimeExposure:
  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/ermcp.RealtimeExposureRsp'
  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/QueryRealtimeExposurePosition:
  13841. get:
  13842. parameters:
  13843. - description: 用户id
  13844. in: query
  13845. name: userid
  13846. required: true
  13847. type: integer
  13848. - description: 套保商品ID
  13849. in: query
  13850. name: middleGoodsId
  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.RealtimeExposurePositionRsp'
  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/QueryTradeConfigTMP:
  13872. get:
  13873. parameters:
  13874. - description: 所属机构id
  13875. in: query
  13876. name: areauserid
  13877. type: integer
  13878. produces:
  13879. - application/json
  13880. responses:
  13881. "200":
  13882. description: OK
  13883. schema:
  13884. items:
  13885. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13886. type: array
  13887. "500":
  13888. description: Internal Server Error
  13889. schema:
  13890. $ref: '#/definitions/app.Response'
  13891. security:
  13892. - ApiKeyAuth: []
  13893. summary: 查询交易模板配置
  13894. tags:
  13895. - 企业风险管理(app)
  13896. /Ermcp/QueryUserInfo:
  13897. get:
  13898. parameters:
  13899. - description: 所属机构用户ID
  13900. in: query
  13901. name: MemberUserID
  13902. required: true
  13903. type: integer
  13904. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13905. in: query
  13906. name: queryType
  13907. required: true
  13908. type: integer
  13909. produces:
  13910. - application/json
  13911. responses:
  13912. "200":
  13913. description: OK
  13914. schema:
  13915. items:
  13916. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13917. type: array
  13918. "500":
  13919. description: Internal Server Error
  13920. schema:
  13921. $ref: '#/definitions/app.Response'
  13922. security:
  13923. - ApiKeyAuth: []
  13924. summary: 查询客户资料
  13925. tags:
  13926. - 企业风险管理(app)
  13927. /Ermcp/QueryWarehouseInfo:
  13928. get:
  13929. parameters:
  13930. - description: 用户ID
  13931. in: query
  13932. name: userid
  13933. required: true
  13934. type: integer
  13935. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13936. in: query
  13937. name: status
  13938. type: string
  13939. produces:
  13940. - application/json
  13941. responses:
  13942. "200":
  13943. description: OK
  13944. schema:
  13945. items:
  13946. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13947. type: array
  13948. "500":
  13949. description: Internal Server Error
  13950. schema:
  13951. $ref: '#/definitions/app.Response'
  13952. security:
  13953. - ApiKeyAuth: []
  13954. summary: 查询仓库信息
  13955. tags:
  13956. - 企业风险管理(app)
  13957. /Ermcp3/QryAreaExpourseContractDetail:
  13958. get:
  13959. parameters:
  13960. - description: 用户ID
  13961. in: query
  13962. name: userid
  13963. required: true
  13964. type: integer
  13965. - description: 套保商品id
  13966. in: query
  13967. name: middlegoodsid
  13968. required: true
  13969. type: integer
  13970. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13971. in: query
  13972. name: cycletype
  13973. required: true
  13974. type: integer
  13975. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13976. 全(0)【原值】
  13977. in: query
  13978. name: cycletime
  13979. required: true
  13980. type: string
  13981. produces:
  13982. - application/json
  13983. responses:
  13984. "200":
  13985. description: OK
  13986. schema:
  13987. items:
  13988. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13989. type: array
  13990. "500":
  13991. description: Internal Server Error
  13992. schema:
  13993. $ref: '#/definitions/app.Response'
  13994. security:
  13995. - ApiKeyAuth: []
  13996. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13997. tags:
  13998. - 企业风险管理v3(app)
  13999. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  14000. get:
  14001. parameters:
  14002. - description: 用户ID
  14003. in: query
  14004. name: userid
  14005. required: true
  14006. type: integer
  14007. - description: 套保商品id
  14008. in: query
  14009. name: middlegoodsid
  14010. required: true
  14011. type: integer
  14012. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14013. in: query
  14014. name: cycletype
  14015. required: true
  14016. type: integer
  14017. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14018. 全(0)【原值】
  14019. in: query
  14020. name: cycletime
  14021. required: true
  14022. type: string
  14023. produces:
  14024. - application/json
  14025. responses:
  14026. "200":
  14027. description: OK
  14028. schema:
  14029. items:
  14030. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  14031. type: array
  14032. "500":
  14033. description: Internal Server Error
  14034. schema:
  14035. $ref: '#/definitions/app.Response'
  14036. security:
  14037. - ApiKeyAuth: []
  14038. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  14039. tags:
  14040. - 企业风险管理v3(app)
  14041. /Ermcp3/QryAreaExpourseReport:
  14042. get:
  14043. parameters:
  14044. - description: 用户ID
  14045. in: query
  14046. name: userid
  14047. required: true
  14048. type: integer
  14049. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  14050. in: query
  14051. name: querytype
  14052. required: true
  14053. type: integer
  14054. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14055. in: query
  14056. name: cycletype
  14057. required: true
  14058. type: integer
  14059. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14060. 全(0)【原值】
  14061. in: query
  14062. name: cycletime
  14063. required: true
  14064. type: string
  14065. produces:
  14066. - application/json
  14067. responses:
  14068. "200":
  14069. description: OK
  14070. schema:
  14071. items:
  14072. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14073. type: array
  14074. "500":
  14075. description: Internal Server Error
  14076. schema:
  14077. $ref: '#/definitions/app.Response'
  14078. security:
  14079. - ApiKeyAuth: []
  14080. summary: 查询敞口报表
  14081. tags:
  14082. - 企业风险管理v3(app)
  14083. /Ermcp3/QryAreaSpotplReport:
  14084. get:
  14085. parameters:
  14086. - description: 用户ID
  14087. in: query
  14088. name: userid
  14089. required: true
  14090. type: integer
  14091. - description: 查询类型 1-报表 2-报表明细
  14092. in: query
  14093. name: querytype
  14094. required: true
  14095. type: integer
  14096. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14097. in: query
  14098. name: cycletype
  14099. required: true
  14100. type: integer
  14101. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14102. 全(0)【原值】
  14103. in: query
  14104. name: cycletime
  14105. required: true
  14106. type: string
  14107. - description: 现货品种id(明细必填)
  14108. in: query
  14109. name: deliverygoodsid
  14110. type: integer
  14111. - description: 品类id(明细必填)
  14112. in: query
  14113. name: wrstandardid
  14114. type: integer
  14115. - description: 币种id(明细必填)
  14116. in: query
  14117. name: currencyid
  14118. type: integer
  14119. produces:
  14120. - application/json
  14121. responses:
  14122. "200":
  14123. description: OK
  14124. schema:
  14125. items:
  14126. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14127. type: array
  14128. "500":
  14129. description: Internal Server Error
  14130. schema:
  14131. $ref: '#/definitions/app.Response'
  14132. security:
  14133. - ApiKeyAuth: []
  14134. summary: 查询现货报表
  14135. tags:
  14136. - 企业风险管理v3(app)
  14137. /Ermcp3/QryAreaStockReport:
  14138. get:
  14139. parameters:
  14140. - description: 用户ID
  14141. in: query
  14142. name: userid
  14143. required: true
  14144. type: integer
  14145. - description: 查询类型 1-报表 2-报表明细
  14146. in: query
  14147. name: querytype
  14148. required: true
  14149. type: integer
  14150. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14151. in: query
  14152. name: cycletype
  14153. required: true
  14154. type: integer
  14155. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14156. 全(0)【原值】
  14157. in: query
  14158. name: cycletime
  14159. required: true
  14160. type: string
  14161. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  14162. in: query
  14163. name: sumfields
  14164. type: string
  14165. - description: 品种ID
  14166. in: query
  14167. name: deliverygoodsid
  14168. type: integer
  14169. - description: 品类ID
  14170. in: query
  14171. name: wrstandardid
  14172. type: integer
  14173. - description: 品牌ID
  14174. in: query
  14175. name: spotgoodsbrandid
  14176. type: integer
  14177. - description: 仓库ID
  14178. in: query
  14179. name: warehouseinfoid
  14180. type: integer
  14181. produces:
  14182. - application/json
  14183. responses:
  14184. "200":
  14185. description: OK
  14186. schema:
  14187. items:
  14188. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  14189. type: array
  14190. "500":
  14191. description: Internal Server Error
  14192. schema:
  14193. $ref: '#/definitions/app.Response'
  14194. security:
  14195. - ApiKeyAuth: []
  14196. summary: 查询库存报表
  14197. tags:
  14198. - 企业风险管理v3(app)
  14199. /Ermcp3/QryAreaSumPL:
  14200. get:
  14201. parameters:
  14202. - description: 用户ID
  14203. in: query
  14204. name: userid
  14205. required: true
  14206. type: integer
  14207. - description: 查询类型 1-报表 2-报表明细
  14208. in: query
  14209. name: querytype
  14210. required: true
  14211. type: integer
  14212. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14213. in: query
  14214. name: cycletype
  14215. required: true
  14216. type: integer
  14217. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14218. 全(0)【原值】
  14219. in: query
  14220. name: cycletime
  14221. required: true
  14222. type: string
  14223. - description: 币种id(明细必填)
  14224. in: query
  14225. name: currencyid
  14226. type: integer
  14227. produces:
  14228. - application/json
  14229. responses:
  14230. "200":
  14231. description: OK
  14232. schema:
  14233. items:
  14234. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  14235. type: array
  14236. "500":
  14237. description: Internal Server Error
  14238. schema:
  14239. $ref: '#/definitions/app.Response'
  14240. security:
  14241. - ApiKeyAuth: []
  14242. summary: 查询汇总损益表
  14243. tags:
  14244. - 企业风险管理v3(app)
  14245. /Ermcp3/QryFinanceReport:
  14246. get:
  14247. parameters:
  14248. - description: 用户ID
  14249. in: query
  14250. name: userid
  14251. required: true
  14252. type: integer
  14253. - description: 查询类型 1-报表 2-报表明细
  14254. in: query
  14255. name: querytype
  14256. required: true
  14257. type: integer
  14258. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14259. in: query
  14260. name: cycletype
  14261. required: true
  14262. type: integer
  14263. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14264. 全(0)【原值】
  14265. in: query
  14266. name: cycletime
  14267. required: true
  14268. type: string
  14269. - description: 币种id(报表明细必填)
  14270. in: query
  14271. name: currencyid
  14272. type: integer
  14273. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  14274. in: query
  14275. name: sumfields
  14276. type: string
  14277. produces:
  14278. - application/json
  14279. responses:
  14280. "200":
  14281. description: OK
  14282. schema:
  14283. items:
  14284. $ref: '#/definitions/models.Ermcp3FinanceReport'
  14285. type: array
  14286. "500":
  14287. description: Internal Server Error
  14288. schema:
  14289. $ref: '#/definitions/app.Response'
  14290. security:
  14291. - ApiKeyAuth: []
  14292. summary: 查询财务报表
  14293. tags:
  14294. - 企业风险管理v3(app)
  14295. /Ermcp3/QueryAreaStock:
  14296. get:
  14297. parameters:
  14298. - description: 用户ID
  14299. in: query
  14300. name: userid
  14301. required: true
  14302. type: integer
  14303. produces:
  14304. - application/json
  14305. responses:
  14306. "200":
  14307. description: OK
  14308. schema:
  14309. items:
  14310. $ref: '#/definitions/models.Ermcp3AreaStock'
  14311. type: array
  14312. "500":
  14313. description: Internal Server Error
  14314. schema:
  14315. $ref: '#/definitions/app.Response'
  14316. security:
  14317. - ApiKeyAuth: []
  14318. summary: 查询机构库存(库存管理/当前库存)
  14319. tags:
  14320. - 企业风险管理v3(app)
  14321. /Ermcp3/QueryAreaStockApply:
  14322. get:
  14323. parameters:
  14324. - description: 用户ID
  14325. in: query
  14326. name: userid
  14327. required: true
  14328. type: integer
  14329. - description: 用户类型 2-机构 7-企业成员
  14330. in: query
  14331. name: usertype
  14332. type: integer
  14333. - description: 现货商品ID
  14334. in: query
  14335. name: deliverygoodsid
  14336. type: integer
  14337. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  14338. in: query
  14339. name: inouttype
  14340. type: string
  14341. - description: 合同ID
  14342. in: query
  14343. name: spotcontractid
  14344. type: integer
  14345. - description: 品类ID
  14346. in: query
  14347. name: wrstandardid
  14348. type: integer
  14349. - description: 品牌ID
  14350. in: query
  14351. name: spotgoodsbrandid
  14352. type: integer
  14353. - description: 仓库ID
  14354. in: query
  14355. name: warehouseinfoid
  14356. type: integer
  14357. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14358. in: query
  14359. name: applystatus
  14360. type: string
  14361. produces:
  14362. - application/json
  14363. responses:
  14364. "200":
  14365. description: OK
  14366. schema:
  14367. items:
  14368. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  14369. type: array
  14370. "500":
  14371. description: Internal Server Error
  14372. schema:
  14373. $ref: '#/definitions/app.Response'
  14374. security:
  14375. - ApiKeyAuth: []
  14376. summary: 查询库存申请(出入库记录|库存审核)
  14377. tags:
  14378. - 企业风险管理v3(app)
  14379. /Ermcp3/QueryAreaStockApplySum:
  14380. get:
  14381. parameters:
  14382. - description: 合同ID
  14383. in: query
  14384. name: spotcontractid
  14385. type: integer
  14386. produces:
  14387. - application/json
  14388. responses:
  14389. "200":
  14390. description: OK
  14391. schema:
  14392. items:
  14393. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  14394. type: array
  14395. "500":
  14396. description: Internal Server Error
  14397. schema:
  14398. $ref: '#/definitions/app.Response'
  14399. security:
  14400. - ApiKeyAuth: []
  14401. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  14402. tags:
  14403. - 企业风险管理v3(app)
  14404. /Ermcp3/QueryDGFactoryItem:
  14405. get:
  14406. parameters:
  14407. - description: 用户id
  14408. in: query
  14409. name: userid
  14410. type: integer
  14411. - description: 用户类型 2-机构 7-企业成员
  14412. in: query
  14413. name: usertype
  14414. type: integer
  14415. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14416. in: query
  14417. name: dgfactoryitemid
  14418. type: integer
  14419. - description: 现货品种ID
  14420. in: query
  14421. name: deliverygoodsid
  14422. type: integer
  14423. - description: 要素项类型
  14424. in: query
  14425. name: dgfactoryitemtypeid
  14426. type: integer
  14427. - description: 顺序
  14428. in: query
  14429. name: orderindex
  14430. type: integer
  14431. produces:
  14432. - application/json
  14433. responses:
  14434. "200":
  14435. description: OK
  14436. schema:
  14437. items:
  14438. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14439. type: array
  14440. "500":
  14441. description: Internal Server Error
  14442. schema:
  14443. $ref: '#/definitions/app.Response'
  14444. security:
  14445. - ApiKeyAuth: []
  14446. summary: 查询品种要素定义项
  14447. tags:
  14448. - 企业风险管理v3(app)
  14449. /Ermcp3/QueryDeliveryGoods:
  14450. get:
  14451. parameters:
  14452. - description: 用户id
  14453. in: query
  14454. name: userid
  14455. required: true
  14456. type: integer
  14457. - description: 用户类型 2-机构 7-企业成员
  14458. in: query
  14459. name: usertype
  14460. type: integer
  14461. - description: 排除已配置的业务类型商品 1-套保 2-套利
  14462. in: query
  14463. name: excludecfg
  14464. type: integer
  14465. produces:
  14466. - application/json
  14467. responses:
  14468. "200":
  14469. description: OK
  14470. schema:
  14471. items:
  14472. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14473. type: array
  14474. "500":
  14475. description: Internal Server Error
  14476. schema:
  14477. $ref: '#/definitions/app.Response'
  14478. security:
  14479. - ApiKeyAuth: []
  14480. summary: 查询现货商品
  14481. tags:
  14482. - 企业风险管理v3(app)
  14483. /Ermcp3/QueryDeliveryGoodsDetail:
  14484. get:
  14485. parameters:
  14486. - description: 用户id
  14487. in: query
  14488. name: userid
  14489. required: true
  14490. type: integer
  14491. - description: 用户类型 2-机构 7-企业成员
  14492. in: query
  14493. name: usertype
  14494. type: integer
  14495. - description: 现货商品id
  14496. in: query
  14497. name: deliverygoodsid
  14498. type: integer
  14499. produces:
  14500. - application/json
  14501. responses:
  14502. "200":
  14503. description: OK
  14504. schema:
  14505. items:
  14506. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14507. type: array
  14508. "500":
  14509. description: Internal Server Error
  14510. schema:
  14511. $ref: '#/definitions/app.Response'
  14512. security:
  14513. - ApiKeyAuth: []
  14514. summary: 查询现货商品详情
  14515. tags:
  14516. - 企业风险管理v3(app)
  14517. /Ermcp3/QueryExposureDetail:
  14518. get:
  14519. parameters:
  14520. - description: 用户id
  14521. in: query
  14522. name: userid
  14523. required: true
  14524. type: integer
  14525. - description: 用户类型 2-机构 7-企业成员
  14526. in: query
  14527. name: usertype
  14528. type: integer
  14529. - description: 套保商品
  14530. in: query
  14531. name: middlegoodsid
  14532. required: true
  14533. type: integer
  14534. produces:
  14535. - application/json
  14536. responses:
  14537. "200":
  14538. description: OK
  14539. schema:
  14540. items:
  14541. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14542. type: array
  14543. "500":
  14544. description: Internal Server Error
  14545. schema:
  14546. $ref: '#/definitions/app.Response'
  14547. security:
  14548. - ApiKeyAuth: []
  14549. summary: 查询敞口现货明细
  14550. tags:
  14551. - 企业风险管理v3(app)
  14552. /Ermcp3/QueryExposureSpot:
  14553. get:
  14554. parameters:
  14555. - description: 用户id
  14556. in: query
  14557. name: userid
  14558. required: true
  14559. type: integer
  14560. - description: 用户类型 2-机构 7-企业成员
  14561. in: query
  14562. name: usertype
  14563. type: integer
  14564. produces:
  14565. - application/json
  14566. responses:
  14567. "200":
  14568. description: OK
  14569. schema:
  14570. items:
  14571. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14572. type: array
  14573. "500":
  14574. description: Internal Server Error
  14575. schema:
  14576. $ref: '#/definitions/app.Response'
  14577. security:
  14578. - ApiKeyAuth: []
  14579. summary: 查询敞口现货头寸(敞口/现货头寸)
  14580. tags:
  14581. - 企业风险管理v3(app)
  14582. /Ermcp3/QueryExposureSpotDetail:
  14583. get:
  14584. parameters:
  14585. - description: 用户id
  14586. in: query
  14587. name: userid
  14588. required: true
  14589. type: integer
  14590. - description: 用户类型 2-机构 7-企业成员
  14591. in: query
  14592. name: usertype
  14593. type: integer
  14594. - description: 现货品种ID
  14595. in: query
  14596. name: deliverygoodsid
  14597. required: true
  14598. type: integer
  14599. produces:
  14600. - application/json
  14601. responses:
  14602. "200":
  14603. description: OK
  14604. schema:
  14605. items:
  14606. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14607. type: array
  14608. "500":
  14609. description: Internal Server Error
  14610. schema:
  14611. $ref: '#/definitions/app.Response'
  14612. security:
  14613. - ApiKeyAuth: []
  14614. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14615. tags:
  14616. - 企业风险管理v3(app)
  14617. /Ermcp3/QueryGoodsGroup:
  14618. get:
  14619. parameters:
  14620. - description: 用户id
  14621. in: query
  14622. name: userid
  14623. required: true
  14624. type: integer
  14625. - description: 用户类型 2-机构 7-企业成员
  14626. in: query
  14627. name: usertype
  14628. type: integer
  14629. - description: 排除套保品中已关联的商品组 1-排除
  14630. in: query
  14631. name: excludecfg
  14632. type: integer
  14633. produces:
  14634. - application/json
  14635. responses:
  14636. "200":
  14637. description: OK
  14638. schema:
  14639. items:
  14640. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14641. type: array
  14642. "500":
  14643. description: Internal Server Error
  14644. schema:
  14645. $ref: '#/definitions/app.Response'
  14646. security:
  14647. - ApiKeyAuth: []
  14648. summary: 查询期货商品组
  14649. tags:
  14650. - 企业风险管理v3(app)
  14651. /Ermcp3/QueryGoodsWrstandard:
  14652. get:
  14653. parameters:
  14654. - description: 用户id
  14655. in: query
  14656. name: userid
  14657. required: true
  14658. type: integer
  14659. - description: 用户类型 2-机构 7-企业成员
  14660. in: query
  14661. name: usertype
  14662. type: integer
  14663. - description: 现货商品id
  14664. in: query
  14665. name: deliverygoodsid
  14666. type: integer
  14667. produces:
  14668. - application/json
  14669. responses:
  14670. "200":
  14671. description: OK
  14672. schema:
  14673. items:
  14674. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14675. type: array
  14676. "500":
  14677. description: Internal Server Error
  14678. schema:
  14679. $ref: '#/definitions/app.Response'
  14680. security:
  14681. - ApiKeyAuth: []
  14682. summary: 查询商品品类
  14683. tags:
  14684. - 企业风险管理v3(app)
  14685. /Ermcp3/QueryGoodsbrand:
  14686. get:
  14687. parameters:
  14688. - description: 用户id
  14689. in: query
  14690. name: userid
  14691. required: true
  14692. type: integer
  14693. - description: 用户类型 2-机构 7-企业成员
  14694. in: query
  14695. name: usertype
  14696. type: integer
  14697. produces:
  14698. - application/json
  14699. responses:
  14700. "200":
  14701. description: OK
  14702. schema:
  14703. items:
  14704. $ref: '#/definitions/models.Ermcp3Brand'
  14705. type: array
  14706. "500":
  14707. description: Internal Server Error
  14708. schema:
  14709. $ref: '#/definitions/app.Response'
  14710. security:
  14711. - ApiKeyAuth: []
  14712. summary: 查询商品品牌
  14713. tags:
  14714. - 企业风险管理v3(app)
  14715. /Ermcp3/QueryHedgePlan:
  14716. get:
  14717. parameters:
  14718. - description: 用户ID
  14719. in: query
  14720. name: userid
  14721. required: true
  14722. type: integer
  14723. - description: 用户类型 2-机构 7-企业成员
  14724. in: query
  14725. name: usertype
  14726. type: integer
  14727. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14728. in: query
  14729. name: hedgeplanstatus
  14730. required: true
  14731. type: string
  14732. produces:
  14733. - application/json
  14734. responses:
  14735. "200":
  14736. description: OK
  14737. schema:
  14738. items:
  14739. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14740. type: array
  14741. "500":
  14742. description: Internal Server Error
  14743. schema:
  14744. $ref: '#/definitions/app.Response'
  14745. security:
  14746. - ApiKeyAuth: []
  14747. summary: 查询套保计划
  14748. tags:
  14749. - 企业风险管理v3(app)
  14750. /Ermcp3/QueryMiddleGoodsDetail:
  14751. get:
  14752. parameters:
  14753. - description: 用户id
  14754. in: query
  14755. name: userid
  14756. required: true
  14757. type: integer
  14758. - description: 用户类型 2-机构 7-企业成员
  14759. in: query
  14760. name: usertype
  14761. type: integer
  14762. - description: 套保品种id
  14763. in: query
  14764. name: middlegoodsid
  14765. type: integer
  14766. produces:
  14767. - application/json
  14768. responses:
  14769. "200":
  14770. description: OK
  14771. schema:
  14772. items:
  14773. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14774. type: array
  14775. "500":
  14776. description: Internal Server Error
  14777. schema:
  14778. $ref: '#/definitions/app.Response'
  14779. security:
  14780. - ApiKeyAuth: []
  14781. summary: 查询套保品种详情(套保品种/商品详情)
  14782. tags:
  14783. - 企业风险管理v3(app)
  14784. /Ermcp3/QuerySpotContract:
  14785. get:
  14786. parameters:
  14787. - description: 用户id
  14788. in: query
  14789. name: userid
  14790. required: true
  14791. type: integer
  14792. - description: 用户类型 2-机构 7-企业成员
  14793. in: query
  14794. name: usertype
  14795. type: integer
  14796. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14797. in: query
  14798. name: querytype
  14799. required: true
  14800. type: integer
  14801. - description: 合同ID(SpotContractId)
  14802. in: query
  14803. name: contractid
  14804. type: string
  14805. produces:
  14806. - application/json
  14807. responses:
  14808. "200":
  14809. description: OK
  14810. schema:
  14811. items:
  14812. $ref: '#/definitions/models.Ermcp3Contract'
  14813. type: array
  14814. "500":
  14815. description: Internal Server Error
  14816. schema:
  14817. $ref: '#/definitions/app.Response'
  14818. security:
  14819. - ApiKeyAuth: []
  14820. summary: 查询现货合同
  14821. tags:
  14822. - 企业风险管理v3(app)
  14823. /Ermcp3/QuerySpotContractBS:
  14824. get:
  14825. parameters:
  14826. - description: 用户id
  14827. in: query
  14828. name: userid
  14829. required: true
  14830. type: integer
  14831. - description: 用户类型 2-机构 7-企业成员
  14832. in: query
  14833. name: usertype
  14834. type: integer
  14835. - description: 合同类型 1-采购, -1-销售
  14836. in: query
  14837. name: contracttype
  14838. required: true
  14839. type: integer
  14840. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14841. in: query
  14842. name: querytype
  14843. required: true
  14844. type: integer
  14845. - description: 合同ID(SpotContractId)
  14846. in: query
  14847. name: contractid
  14848. type: string
  14849. produces:
  14850. - application/json
  14851. responses:
  14852. "200":
  14853. description: OK
  14854. schema:
  14855. items:
  14856. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14857. type: array
  14858. "500":
  14859. description: Internal Server Error
  14860. schema:
  14861. $ref: '#/definitions/app.Response'
  14862. security:
  14863. - ApiKeyAuth: []
  14864. summary: 查询合同(采购/销售)
  14865. tags:
  14866. - 企业风险管理v3(app)
  14867. /Ermcp3/QuerySpotGoodsPrice:
  14868. get:
  14869. parameters:
  14870. - description: 用户ID
  14871. in: query
  14872. name: userid
  14873. required: true
  14874. type: integer
  14875. produces:
  14876. - application/json
  14877. responses:
  14878. "200":
  14879. description: OK
  14880. schema:
  14881. items:
  14882. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14883. type: array
  14884. "500":
  14885. description: Internal Server Error
  14886. schema:
  14887. $ref: '#/definitions/app.Response'
  14888. security:
  14889. - ApiKeyAuth: []
  14890. summary: 查询现货市价(现货市价)
  14891. tags:
  14892. - 企业风险管理v3(app)
  14893. /Ermcp3/QuerySpotGoodsPriceLog:
  14894. get:
  14895. parameters:
  14896. - description: 用户ID
  14897. in: query
  14898. name: userid
  14899. required: true
  14900. type: integer
  14901. - description: 现货商品ID
  14902. in: query
  14903. name: deliverygoodsid
  14904. required: true
  14905. type: integer
  14906. - description: 品牌ID
  14907. in: query
  14908. name: brandid
  14909. type: integer
  14910. - description: 品类ID
  14911. in: query
  14912. name: wrstandardid
  14913. type: integer
  14914. produces:
  14915. - application/json
  14916. responses:
  14917. "200":
  14918. description: OK
  14919. schema:
  14920. items:
  14921. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14922. type: array
  14923. "500":
  14924. description: Internal Server Error
  14925. schema:
  14926. $ref: '#/definitions/app.Response'
  14927. security:
  14928. - ApiKeyAuth: []
  14929. summary: 查询现货市价详情(现货市价/详情)
  14930. tags:
  14931. - 企业风险管理v3(app)
  14932. /Erms2/QueryArbitrageStrategy:
  14933. get:
  14934. parameters:
  14935. - description: 账户ID
  14936. in: query
  14937. name: userid
  14938. required: true
  14939. type: integer
  14940. - description: 商品组ID(品种ID)
  14941. in: query
  14942. name: goodsgroupid
  14943. type: string
  14944. produces:
  14945. - application/json
  14946. responses:
  14947. "200":
  14948. description: OK
  14949. schema:
  14950. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14951. "500":
  14952. description: Internal Server Error
  14953. schema:
  14954. $ref: '#/definitions/app.Response'
  14955. security:
  14956. - ApiKeyAuth: []
  14957. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14958. tags:
  14959. - 风险管理
  14960. /Erms2/QueryInnerTradeDetail:
  14961. get:
  14962. parameters:
  14963. - description: 资金账户
  14964. in: query
  14965. name: accountid
  14966. required: true
  14967. type: integer
  14968. produces:
  14969. - application/json
  14970. responses:
  14971. "200":
  14972. description: OK
  14973. schema:
  14974. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14975. "500":
  14976. description: Internal Server Error
  14977. schema:
  14978. $ref: '#/definitions/app.Response'
  14979. security:
  14980. - ApiKeyAuth: []
  14981. summary: 查询内部成交单信息
  14982. tags:
  14983. - 风险管理
  14984. /Erms2/QuerySpotContract:
  14985. get:
  14986. parameters:
  14987. - description: 策略申请ID
  14988. in: query
  14989. name: asapplyid
  14990. required: true
  14991. type: integer
  14992. - description: 现货合同ID
  14993. in: query
  14994. name: spotcontractid
  14995. type: integer
  14996. produces:
  14997. - application/json
  14998. responses:
  14999. "200":
  15000. description: OK
  15001. schema:
  15002. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15003. "500":
  15004. description: Internal Server Error
  15005. schema:
  15006. $ref: '#/definitions/app.Response'
  15007. security:
  15008. - ApiKeyAuth: []
  15009. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15010. tags:
  15011. - 风险管理
  15012. /Erms3/AddErms2ASApply:
  15013. post:
  15014. parameters:
  15015. - description: 申请参数
  15016. in: body
  15017. name: jsonBody
  15018. required: true
  15019. schema:
  15020. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15021. produces:
  15022. - application/json
  15023. responses:
  15024. "200":
  15025. description: OK
  15026. schema:
  15027. $ref: '#/definitions/app.Response'
  15028. "500":
  15029. description: Internal Server Error
  15030. schema:
  15031. $ref: '#/definitions/app.Response'
  15032. security:
  15033. - ApiKeyAuth: []
  15034. summary: 新增期现套利业务申请
  15035. tags:
  15036. - 风险管理v3
  15037. /Erms3/AddErms2SpotTradeApply:
  15038. post:
  15039. parameters:
  15040. - description: 申请参数
  15041. in: body
  15042. name: jsonBody
  15043. required: true
  15044. schema:
  15045. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15046. produces:
  15047. - application/json
  15048. responses:
  15049. "200":
  15050. description: OK
  15051. schema:
  15052. $ref: '#/definitions/app.Response'
  15053. "500":
  15054. description: Internal Server Error
  15055. schema:
  15056. $ref: '#/definitions/app.Response'
  15057. security:
  15058. - ApiKeyAuth: []
  15059. summary: 新增现货贸易业务申请
  15060. tags:
  15061. - 风险管理v3
  15062. /Erms3/AddSpotContractApply:
  15063. post:
  15064. parameters:
  15065. - description: 申请参数
  15066. in: body
  15067. name: jsonBody
  15068. required: true
  15069. schema:
  15070. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15071. produces:
  15072. - application/json
  15073. responses:
  15074. "200":
  15075. description: OK
  15076. schema:
  15077. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15078. "500":
  15079. description: Internal Server Error
  15080. schema:
  15081. $ref: '#/definitions/app.Response'
  15082. security:
  15083. - ApiKeyAuth: []
  15084. summary: 新增现货合同申请
  15085. tags:
  15086. - 风险管理v3
  15087. /Erms3/AddUserInfoApply:
  15088. post:
  15089. parameters:
  15090. - description: 用户信息
  15091. in: body
  15092. name: jsonBody
  15093. required: true
  15094. schema:
  15095. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15096. produces:
  15097. - application/json
  15098. responses:
  15099. "200":
  15100. description: OK
  15101. schema:
  15102. $ref: '#/definitions/app.Response'
  15103. "500":
  15104. description: Internal Server Error
  15105. schema:
  15106. $ref: '#/definitions/app.Response'
  15107. security:
  15108. - ApiKeyAuth: []
  15109. summary: 新增客户申请
  15110. tags:
  15111. - 风险管理v3
  15112. /Erms3/DeleteUserInfoApply:
  15113. get:
  15114. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15115. parameters:
  15116. - description: 用户ID
  15117. in: query
  15118. name: userID
  15119. required: true
  15120. type: integer
  15121. produces:
  15122. - application/json
  15123. responses:
  15124. "200":
  15125. description: OK
  15126. schema:
  15127. $ref: '#/definitions/app.Response'
  15128. "500":
  15129. description: Internal Server Error
  15130. schema:
  15131. $ref: '#/definitions/app.Response'
  15132. security:
  15133. - ApiKeyAuth: []
  15134. summary: 删除客户申请
  15135. tags:
  15136. - 风险管理v3
  15137. /Erms3/ModifyUserInfoApply:
  15138. post:
  15139. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15140. int, "userstate": 2 }'
  15141. parameters:
  15142. - description: 用户信息
  15143. in: body
  15144. name: jsonBody
  15145. required: true
  15146. schema:
  15147. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15148. produces:
  15149. - application/json
  15150. responses:
  15151. "200":
  15152. description: OK
  15153. schema:
  15154. $ref: '#/definitions/app.Response'
  15155. "500":
  15156. description: Internal Server Error
  15157. schema:
  15158. $ref: '#/definitions/app.Response'
  15159. security:
  15160. - ApiKeyAuth: []
  15161. summary: 修改客户申请
  15162. tags:
  15163. - 风险管理v3
  15164. /Erms3/QueryBusinessInfo:
  15165. get:
  15166. parameters:
  15167. - description: 资金账号ID列表,用逗号分隔
  15168. in: query
  15169. name: accountids
  15170. required: true
  15171. type: string
  15172. - description: 状态,0为未结束 1为已结束
  15173. in: query
  15174. name: status
  15175. required: true
  15176. type: integer
  15177. produces:
  15178. - application/json
  15179. responses:
  15180. "200":
  15181. description: OK
  15182. schema:
  15183. items:
  15184. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15185. type: array
  15186. "500":
  15187. description: Internal Server Error
  15188. schema:
  15189. $ref: '#/definitions/app.Response'
  15190. security:
  15191. - ApiKeyAuth: []
  15192. summary: 查询业务表单数据
  15193. tags:
  15194. - 风险管理v3
  15195. /Erms3/QueryPendingAuditContract:
  15196. get:
  15197. parameters:
  15198. - description: 资金账号ID列表,逗号隔开
  15199. in: query
  15200. name: accountids
  15201. required: true
  15202. type: string
  15203. - description: 合同类型 1-采购 -1-销售
  15204. in: query
  15205. name: contracttype
  15206. required: true
  15207. type: integer
  15208. - description: 合同模式 1-普通 2-回购
  15209. in: query
  15210. name: contractmode
  15211. required: true
  15212. type: integer
  15213. produces:
  15214. - application/json
  15215. responses:
  15216. "200":
  15217. description: OK
  15218. schema:
  15219. items:
  15220. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15221. type: array
  15222. "500":
  15223. description: Internal Server Error
  15224. schema:
  15225. $ref: '#/definitions/app.Response'
  15226. security:
  15227. - ApiKeyAuth: []
  15228. summary: 查询待审核合同
  15229. tags:
  15230. - 风险管理v3
  15231. /Erms3/QueryPendingBusiness:
  15232. get:
  15233. parameters:
  15234. - description: 资金账号ID列表,逗号隔开
  15235. in: query
  15236. name: accountids
  15237. required: true
  15238. type: string
  15239. produces:
  15240. - application/json
  15241. responses:
  15242. "200":
  15243. description: OK
  15244. schema:
  15245. items:
  15246. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15247. type: array
  15248. "500":
  15249. description: Internal Server Error
  15250. schema:
  15251. $ref: '#/definitions/app.Response'
  15252. security:
  15253. - ApiKeyAuth: []
  15254. summary: 查询待审核基差贸易业务
  15255. tags:
  15256. - 风险管理v3
  15257. /Erms3/QuerySpotContractAppleForm:
  15258. get:
  15259. parameters:
  15260. - description: 登录账号
  15261. in: query
  15262. name: loginID
  15263. required: true
  15264. type: integer
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15272. "500":
  15273. description: Internal Server Error
  15274. schema:
  15275. $ref: '#/definitions/app.Response'
  15276. security:
  15277. - ApiKeyAuth: []
  15278. summary: 查询合同申请表单数据
  15279. tags:
  15280. - 风险管理v3
  15281. /Erms3/QuerySpotContractDetail:
  15282. get:
  15283. parameters:
  15284. - description: 资金账号ID列表,用逗号分隔
  15285. in: query
  15286. name: accountids
  15287. required: true
  15288. type: string
  15289. - description: 合同类型,1为采购合同 -1为销售合同
  15290. in: query
  15291. name: contracttype
  15292. required: true
  15293. type: integer
  15294. - description: 合同模式,1为普通合同 2为回购销售合同
  15295. in: query
  15296. name: contractmode
  15297. required: true
  15298. type: integer
  15299. - description: 状态,0为履约中 1为已完成
  15300. in: query
  15301. name: status
  15302. required: true
  15303. type: integer
  15304. produces:
  15305. - application/json
  15306. responses:
  15307. "200":
  15308. description: OK
  15309. schema:
  15310. items:
  15311. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15312. type: array
  15313. "500":
  15314. description: Internal Server Error
  15315. schema:
  15316. $ref: '#/definitions/app.Response'
  15317. security:
  15318. - ApiKeyAuth: []
  15319. summary: 查询合同详细信息
  15320. tags:
  15321. - 风险管理v3
  15322. /Erms3/QueryUserInfoApplies:
  15323. get:
  15324. parameters:
  15325. - description: 页码
  15326. in: query
  15327. name: page
  15328. type: integer
  15329. - description: 每页条数
  15330. in: query
  15331. name: pagesize
  15332. type: integer
  15333. - description: 客户名称,支持模糊查询
  15334. in: query
  15335. name: userName
  15336. type: string
  15337. produces:
  15338. - application/json
  15339. responses:
  15340. "200":
  15341. description: OK
  15342. schema:
  15343. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15344. "500":
  15345. description: Internal Server Error
  15346. schema:
  15347. $ref: '#/definitions/app.Response'
  15348. security:
  15349. - ApiKeyAuth: []
  15350. summary: 客户申请信息查询
  15351. tags:
  15352. - 风险管理v3
  15353. /Erms3/QueryUserInfos:
  15354. get:
  15355. parameters:
  15356. - description: 页码
  15357. in: query
  15358. name: page
  15359. type: integer
  15360. - description: 每页条数
  15361. in: query
  15362. name: pagesize
  15363. type: integer
  15364. - description: 客户名称,支持模糊查询
  15365. in: query
  15366. name: userName
  15367. type: string
  15368. produces:
  15369. - application/json
  15370. responses:
  15371. "200":
  15372. description: OK
  15373. schema:
  15374. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15375. "500":
  15376. description: Internal Server Error
  15377. schema:
  15378. $ref: '#/definitions/app.Response'
  15379. security:
  15380. - ApiKeyAuth: []
  15381. summary: 客户信息查询
  15382. tags:
  15383. - 风险管理v3
  15384. /HSBY/GetHsbyMyCount:
  15385. get:
  15386. description: 说明: 不包括已完成的数量。
  15387. parameters:
  15388. - description: 资金账户列表,格式:1,2,3
  15389. in: query
  15390. name: accountIDs
  15391. required: true
  15392. type: string
  15393. produces:
  15394. - application/json
  15395. responses:
  15396. "200":
  15397. description: OK
  15398. schema:
  15399. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15400. "500":
  15401. description: Internal Server Error
  15402. schema:
  15403. $ref: '#/definitions/app.Response'
  15404. security:
  15405. - ApiKeyAuth: []
  15406. summary: 获取我的订单与包裹数量
  15407. tags:
  15408. - 定制【海商报业】
  15409. /HSBY/QueryClientFixedADConfigs:
  15410. get:
  15411. produces:
  15412. - application/json
  15413. responses:
  15414. "200":
  15415. description: OK
  15416. schema:
  15417. $ref: '#/definitions/models.Clientfixedadconfig'
  15418. "500":
  15419. description: Internal Server Error
  15420. schema:
  15421. $ref: '#/definitions/app.Response'
  15422. security:
  15423. - ApiKeyAuth: []
  15424. summary: 获取终端固定广告配置
  15425. tags:
  15426. - 定制【海商报业】
  15427. /HSBY/QueryHsbyBuyMyTradeDetail:
  15428. get:
  15429. parameters:
  15430. - description: 页码
  15431. in: query
  15432. name: page
  15433. type: integer
  15434. - description: 每页条数
  15435. in: query
  15436. name: pagesize
  15437. type: integer
  15438. - description: 资金账户列表,格式:1,2,3
  15439. in: query
  15440. name: accountIDs
  15441. required: true
  15442. type: string
  15443. produces:
  15444. - application/json
  15445. responses:
  15446. "200":
  15447. description: OK
  15448. schema:
  15449. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15450. "500":
  15451. description: Internal Server Error
  15452. schema:
  15453. $ref: '#/definitions/app.Response'
  15454. security:
  15455. - ApiKeyAuth: []
  15456. summary: 查询"我的订单 - 已完成"单据信息
  15457. tags:
  15458. - 定制【海商报业】
  15459. /HSBY/QueryHsbyGoodsOrderDetails:
  15460. get:
  15461. description: 说明:查询结果已按委托价格和委托时间排序
  15462. parameters:
  15463. - description: 商品ID
  15464. in: query
  15465. name: goodsID
  15466. required: true
  15467. type: integer
  15468. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15469. in: query
  15470. name: accountIDs
  15471. type: string
  15472. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15473. in: query
  15474. name: buyOrSell
  15475. type: integer
  15476. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15477. in: query
  15478. name: price
  15479. type: number
  15480. - description: 档位,不传则默认为3档
  15481. in: query
  15482. name: speed
  15483. type: integer
  15484. produces:
  15485. - application/json
  15486. responses:
  15487. "200":
  15488. description: OK
  15489. schema:
  15490. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15491. "500":
  15492. description: Internal Server Error
  15493. schema:
  15494. $ref: '#/definitions/app.Response'
  15495. security:
  15496. - ApiKeyAuth: []
  15497. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15498. tags:
  15499. - 定制【海商报业】
  15500. /HSBY/QueryHsbyListingGoodsDetail:
  15501. get:
  15502. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15503. parameters:
  15504. - description: 商品ID
  15505. in: query
  15506. name: goodsID
  15507. required: true
  15508. type: integer
  15509. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15510. in: query
  15511. name: accountID
  15512. type: integer
  15513. produces:
  15514. - application/json
  15515. responses:
  15516. "200":
  15517. description: OK
  15518. schema:
  15519. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15520. "500":
  15521. description: Internal Server Error
  15522. schema:
  15523. $ref: '#/definitions/app.Response'
  15524. security:
  15525. - ApiKeyAuth: []
  15526. summary: 查询二级市场(挂牌点选)商品信息详情
  15527. tags:
  15528. - 定制【海商报业】
  15529. /HSBY/QueryHsbyMarketGoodsDetail:
  15530. get:
  15531. parameters:
  15532. - description: 委托单号
  15533. in: query
  15534. name: orderID
  15535. required: true
  15536. type: integer
  15537. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15538. in: query
  15539. name: accountID
  15540. type: integer
  15541. produces:
  15542. - application/json
  15543. responses:
  15544. "200":
  15545. description: OK
  15546. schema:
  15547. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15548. "500":
  15549. description: Internal Server Error
  15550. schema:
  15551. $ref: '#/definitions/app.Response'
  15552. security:
  15553. - ApiKeyAuth: []
  15554. summary: 查询三级市场(商城)商品信息详情
  15555. tags:
  15556. - 定制【海商报业】
  15557. /HSBY/QueryHsbyMarketGoodses:
  15558. get:
  15559. parameters:
  15560. - description: 页码
  15561. in: query
  15562. name: page
  15563. type: integer
  15564. - description: 每页条数
  15565. in: query
  15566. name: pagesize
  15567. type: integer
  15568. - description: 市场ID列表,格式:1,2,3
  15569. in: query
  15570. name: marketIDs
  15571. required: true
  15572. type: string
  15573. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15574. in: query
  15575. name: accountID
  15576. required: true
  15577. type: integer
  15578. - description: 类别ID
  15579. in: query
  15580. name: categoryID
  15581. type: integer
  15582. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15583. in: query
  15584. name: goodsIDs
  15585. type: string
  15586. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15587. in: query
  15588. name: couponTypeID
  15589. type: integer
  15590. produces:
  15591. - application/json
  15592. responses:
  15593. "200":
  15594. description: OK
  15595. schema:
  15596. $ref: '#/definitions/models.HsbyMarketGoods'
  15597. "500":
  15598. description: Internal Server Error
  15599. schema:
  15600. $ref: '#/definitions/app.Response'
  15601. security:
  15602. - ApiKeyAuth: []
  15603. summary: 查询特卖商品列表(三级商城)
  15604. tags:
  15605. - 定制【海商报业】
  15606. /HSBY/QueryHsbyMarkets:
  15607. get:
  15608. produces:
  15609. - application/json
  15610. responses:
  15611. "200":
  15612. description: OK
  15613. schema:
  15614. $ref: '#/definitions/models.HsbyMarketInfo'
  15615. "500":
  15616. description: Internal Server Error
  15617. schema:
  15618. $ref: '#/definitions/app.Response'
  15619. security:
  15620. - ApiKeyAuth: []
  15621. summary: 查询海商报业相关市场信息
  15622. tags:
  15623. - 定制【海商报业】
  15624. /HSBY/QueryHsbyMyBuyOrderDetails:
  15625. get:
  15626. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15627. parameters:
  15628. - description: 资金账户列表,格式:1,2,3
  15629. in: query
  15630. name: accountIDs
  15631. required: true
  15632. type: string
  15633. produces:
  15634. - application/json
  15635. responses:
  15636. "200":
  15637. description: OK
  15638. schema:
  15639. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15640. "500":
  15641. description: Internal Server Error
  15642. schema:
  15643. $ref: '#/definitions/app.Response'
  15644. security:
  15645. - ApiKeyAuth: []
  15646. summary: 查询“我的订单”信息
  15647. tags:
  15648. - 定制【海商报业】
  15649. /HSBY/QueryHsbyMyGoods:
  15650. get:
  15651. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15652. parameters:
  15653. - description: 资金账户列表,格式:1,2,3
  15654. in: query
  15655. name: accountIDs
  15656. required: true
  15657. type: string
  15658. produces:
  15659. - application/json
  15660. responses:
  15661. "200":
  15662. description: OK
  15663. schema:
  15664. $ref: '#/definitions/models.HsbyMyGoods'
  15665. "500":
  15666. description: Internal Server Error
  15667. schema:
  15668. $ref: '#/definitions/app.Response'
  15669. security:
  15670. - ApiKeyAuth: []
  15671. summary: 查询“我的商品”信息
  15672. tags:
  15673. - 定制【海商报业】
  15674. /HSBY/QueryHsbyMyPackages:
  15675. get:
  15676. parameters:
  15677. - description: 资金账户列表,格式:1,2,3
  15678. in: query
  15679. name: accountIDs
  15680. required: true
  15681. type: string
  15682. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15683. in: query
  15684. name: takeOrderStatus
  15685. type: integer
  15686. produces:
  15687. - application/json
  15688. responses:
  15689. "200":
  15690. description: OK
  15691. schema:
  15692. $ref: '#/definitions/models.HsbyMyPackage'
  15693. "500":
  15694. description: Internal Server Error
  15695. schema:
  15696. $ref: '#/definitions/app.Response'
  15697. security:
  15698. - ApiKeyAuth: []
  15699. summary: 查询我的包裹信息
  15700. tags:
  15701. - 定制【海商报业】
  15702. /HSBY/QueryHsbyPreGoodsDetail:
  15703. get:
  15704. parameters:
  15705. - description: 商品ID
  15706. in: query
  15707. name: goodsID
  15708. required: true
  15709. type: integer
  15710. - description: 资金账户,主要用于获取预售商品购买上限
  15711. in: query
  15712. name: accountID
  15713. type: integer
  15714. produces:
  15715. - application/json
  15716. responses:
  15717. "200":
  15718. description: OK
  15719. schema:
  15720. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15721. "500":
  15722. description: Internal Server Error
  15723. schema:
  15724. $ref: '#/definitions/app.Response'
  15725. security:
  15726. - ApiKeyAuth: []
  15727. summary: 查询一级市场(预售)商品信息详情
  15728. tags:
  15729. - 定制【海商报业】
  15730. /HSBY/QueryHsbyPreGoodses:
  15731. get:
  15732. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15733. parameters:
  15734. - description: 页码
  15735. in: query
  15736. name: page
  15737. type: integer
  15738. - description: 每页条数
  15739. in: query
  15740. name: pagesize
  15741. type: integer
  15742. - description: 市场ID列表,格式:1,2,3
  15743. in: query
  15744. name: marketIDs
  15745. required: true
  15746. type: string
  15747. - description: 目的地(省)ID
  15748. in: query
  15749. name: descProvinceID
  15750. type: integer
  15751. - description: 目的地(市)ID
  15752. in: query
  15753. name: descCityID
  15754. type: integer
  15755. produces:
  15756. - application/json
  15757. responses:
  15758. "200":
  15759. description: OK
  15760. schema:
  15761. $ref: '#/definitions/models.HsbyPreGoods'
  15762. "500":
  15763. description: Internal Server Error
  15764. schema:
  15765. $ref: '#/definitions/app.Response'
  15766. security:
  15767. - ApiKeyAuth: []
  15768. summary: 查询新品上市商品列表(一级市场预售)
  15769. tags:
  15770. - 定制【海商报业】
  15771. /HSBY/QueryHsbySellMyDetails:
  15772. get:
  15773. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15774. parameters:
  15775. - description: 页码
  15776. in: query
  15777. name: page
  15778. type: integer
  15779. - description: 每页条数
  15780. in: query
  15781. name: pagesize
  15782. type: integer
  15783. - description: 资金账户列表,格式:1,2,3
  15784. in: query
  15785. name: accountIDs
  15786. required: true
  15787. type: string
  15788. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15789. in: query
  15790. name: orderType
  15791. type: integer
  15792. produces:
  15793. - application/json
  15794. responses:
  15795. "200":
  15796. description: OK
  15797. schema:
  15798. $ref: '#/definitions/models.HsbySellMyDetail'
  15799. "500":
  15800. description: Internal Server Error
  15801. schema:
  15802. $ref: '#/definitions/app.Response'
  15803. security:
  15804. - ApiKeyAuth: []
  15805. summary: 查询"我的闲置"单据信息
  15806. tags:
  15807. - 定制【海商报业】
  15808. /HSBY/QueryHsbyTopGoodses:
  15809. get:
  15810. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15811. parameters:
  15812. - description: 页码
  15813. in: query
  15814. name: page
  15815. type: integer
  15816. - description: 每页条数
  15817. in: query
  15818. name: pagesize
  15819. type: integer
  15820. - description: 市场ID列表,格式:1,2,3
  15821. in: query
  15822. name: marketIDs
  15823. required: true
  15824. type: string
  15825. - description: 目的地(省)ID
  15826. in: query
  15827. name: descProvinceID
  15828. type: integer
  15829. - description: 目的地(市)ID
  15830. in: query
  15831. name: descCityID
  15832. type: integer
  15833. produces:
  15834. - application/json
  15835. responses:
  15836. "200":
  15837. description: OK
  15838. schema:
  15839. $ref: '#/definitions/models.HsbyTopGoods'
  15840. "500":
  15841. description: Internal Server Error
  15842. schema:
  15843. $ref: '#/definitions/app.Response'
  15844. security:
  15845. - ApiKeyAuth: []
  15846. summary: 查询热卖商品列表(二级市场挂牌点选)
  15847. tags:
  15848. - 定制【海商报业】
  15849. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15850. get:
  15851. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15852. parameters:
  15853. - description: 商品ID
  15854. in: query
  15855. name: goodsID
  15856. required: true
  15857. type: integer
  15858. produces:
  15859. - application/json
  15860. responses:
  15861. "200":
  15862. description: OK
  15863. schema:
  15864. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15865. "500":
  15866. description: Internal Server Error
  15867. schema:
  15868. $ref: '#/definitions/app.Response'
  15869. security:
  15870. - ApiKeyAuth: []
  15871. summary: 查询游客三级市场(商城)商品信息详情
  15872. tags:
  15873. - 定制【海商报业】
  15874. /HSBY/QueryHsbyVisitorMarketGoodses:
  15875. get:
  15876. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15877. parameters:
  15878. - description: 页码
  15879. in: query
  15880. name: page
  15881. type: integer
  15882. - description: 每页条数
  15883. in: query
  15884. name: pagesize
  15885. type: integer
  15886. - description: 市场ID列表,格式:1,2,3
  15887. in: query
  15888. name: marketIDs
  15889. required: true
  15890. type: string
  15891. - description: 类别ID
  15892. in: query
  15893. name: categoryID
  15894. type: integer
  15895. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15896. in: query
  15897. name: goodsIDs
  15898. type: string
  15899. produces:
  15900. - application/json
  15901. responses:
  15902. "200":
  15903. description: OK
  15904. schema:
  15905. $ref: '#/definitions/models.HsbyMarketGoods'
  15906. "500":
  15907. description: Internal Server Error
  15908. schema:
  15909. $ref: '#/definitions/app.Response'
  15910. security:
  15911. - ApiKeyAuth: []
  15912. summary: 查询游客特卖商品列表(三级商城)
  15913. tags:
  15914. - 定制【海商报业】
  15915. /HSBY/QueryMyCollectionOrders:
  15916. get:
  15917. parameters:
  15918. - description: 页码
  15919. in: query
  15920. name: page
  15921. type: integer
  15922. - description: 每页条数
  15923. in: query
  15924. name: pagesize
  15925. type: integer
  15926. - description: 资金账户,格式:1,2,3
  15927. in: query
  15928. name: accountIDs
  15929. required: true
  15930. type: string
  15931. produces:
  15932. - application/json
  15933. responses:
  15934. "200":
  15935. description: OK
  15936. schema:
  15937. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15938. "500":
  15939. description: Internal Server Error
  15940. schema:
  15941. $ref: '#/definitions/app.Response'
  15942. security:
  15943. - ApiKeyAuth: []
  15944. summary: 我的闲置中收款信息查询
  15945. tags:
  15946. - 定制【海商报业】
  15947. /HSBY/QueryMyCouponHolds:
  15948. get:
  15949. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15950. parameters:
  15951. - description: 资金账户列表,格式:1,2,3
  15952. in: query
  15953. name: accountIDs
  15954. required: true
  15955. type: string
  15956. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15957. in: query
  15958. name: holdStatus
  15959. type: string
  15960. produces:
  15961. - application/json
  15962. responses:
  15963. "200":
  15964. description: OK
  15965. schema:
  15966. $ref: '#/definitions/models.MyCouponHold'
  15967. "500":
  15968. description: Internal Server Error
  15969. schema:
  15970. $ref: '#/definitions/app.Response'
  15971. security:
  15972. - ApiKeyAuth: []
  15973. summary: 我的优惠卷持仓查询
  15974. tags:
  15975. - 定制【海商报业】
  15976. /HSBY/QueryMyCoupons:
  15977. get:
  15978. parameters:
  15979. - description: 资金账户列表,格式:1,2,3
  15980. in: query
  15981. name: accountIDs
  15982. required: true
  15983. type: string
  15984. - description: 商品ID, 一般与sellUserID配套传入
  15985. in: query
  15986. name: goodsID
  15987. type: integer
  15988. - description: 卖方UserID
  15989. in: query
  15990. name: sellUserID
  15991. type: integer
  15992. produces:
  15993. - application/json
  15994. responses:
  15995. "200":
  15996. description: OK
  15997. schema:
  15998. $ref: '#/definitions/models.MyCoupon'
  15999. "500":
  16000. description: Internal Server Error
  16001. schema:
  16002. $ref: '#/definitions/app.Response'
  16003. security:
  16004. - ApiKeyAuth: []
  16005. summary: 我的优惠卷查询
  16006. tags:
  16007. - 定制【海商报业】
  16008. /HSBY/QueryMyPayOrders:
  16009. get:
  16010. parameters:
  16011. - description: 页码
  16012. in: query
  16013. name: page
  16014. type: integer
  16015. - description: 每页条数
  16016. in: query
  16017. name: pagesize
  16018. type: integer
  16019. - description: 资金账户列表,格式:1,2,3
  16020. in: query
  16021. name: accountIDs
  16022. required: true
  16023. type: string
  16024. - description: 买方委托单号
  16025. in: query
  16026. name: buyOrderID
  16027. type: integer
  16028. - description: 卖方委托单号
  16029. in: query
  16030. name: sellOrderID
  16031. type: integer
  16032. produces:
  16033. - application/json
  16034. responses:
  16035. "200":
  16036. description: OK
  16037. schema:
  16038. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16039. "500":
  16040. description: Internal Server Error
  16041. schema:
  16042. $ref: '#/definitions/app.Response'
  16043. security:
  16044. - ApiKeyAuth: []
  16045. summary: 获取我的订单中待付款信息
  16046. tags:
  16047. - 定制【海商报业】
  16048. /HSBY/QueryMyUsedCoupon:
  16049. get:
  16050. parameters:
  16051. - description: 资金账户列表,格式:1,2,3
  16052. in: query
  16053. name: accountIDs
  16054. required: true
  16055. type: string
  16056. produces:
  16057. - application/json
  16058. responses:
  16059. "200":
  16060. description: OK
  16061. schema:
  16062. $ref: '#/definitions/models.MyUsedCoupon'
  16063. "500":
  16064. description: Internal Server Error
  16065. schema:
  16066. $ref: '#/definitions/app.Response'
  16067. security:
  16068. - ApiKeyAuth: []
  16069. summary: 已使用优惠卷查询
  16070. tags:
  16071. - 定制【海商报业】
  16072. /HSBY/QueryProvincesAndCities:
  16073. get:
  16074. description: 查询结果只包括二级市场商品已关连的省市信息。
  16075. parameters:
  16076. - description: 省ID
  16077. in: query
  16078. name: provinceID
  16079. type: integer
  16080. produces:
  16081. - application/json
  16082. responses:
  16083. "200":
  16084. description: OK
  16085. schema:
  16086. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16087. "500":
  16088. description: Internal Server Error
  16089. schema:
  16090. $ref: '#/definitions/app.Response'
  16091. security:
  16092. - ApiKeyAuth: []
  16093. summary: 查询省市信息(不包括区)
  16094. tags:
  16095. - 定制【海商报业】
  16096. /HSBY/SetHsbyMyPackagesStatus:
  16097. post:
  16098. parameters:
  16099. - description: 提货单号
  16100. in: query
  16101. name: takeOrderID
  16102. required: true
  16103. type: string
  16104. - description: 资金账号
  16105. in: query
  16106. name: accountID
  16107. required: true
  16108. type: integer
  16109. produces:
  16110. - application/json
  16111. responses:
  16112. "200":
  16113. description: OK
  16114. schema:
  16115. $ref: '#/definitions/app.Response'
  16116. "500":
  16117. description: Internal Server Error
  16118. schema:
  16119. $ref: '#/definitions/app.Response'
  16120. security:
  16121. - ApiKeyAuth: []
  16122. summary: 设置我的包裹已收货状态
  16123. tags:
  16124. - 定制【海商报业】
  16125. /Market/QueryGoodsesByLoginID:
  16126. get:
  16127. parameters:
  16128. - description: 登录账号
  16129. in: query
  16130. name: loginID
  16131. required: true
  16132. type: integer
  16133. - description: 市场ID列表,格式:1,2,3
  16134. in: query
  16135. name: marketIDs
  16136. type: string
  16137. produces:
  16138. - application/json
  16139. responses:
  16140. "200":
  16141. description: OK
  16142. schema:
  16143. $ref: '#/definitions/models.Goods'
  16144. "500":
  16145. description: Internal Server Error
  16146. schema:
  16147. $ref: '#/definitions/app.Response'
  16148. security:
  16149. - ApiKeyAuth: []
  16150. summary: 获取登录账号有权限的商品信息
  16151. tags:
  16152. - 通用市场
  16153. /Market/QueryMarketRun:
  16154. get:
  16155. parameters:
  16156. - description: 市场ID,不传返回所有
  16157. in: query
  16158. name: marketID
  16159. type: integer
  16160. produces:
  16161. - application/json
  16162. responses:
  16163. "200":
  16164. description: OK
  16165. schema:
  16166. $ref: '#/definitions/models.Marketrun'
  16167. "500":
  16168. description: Internal Server Error
  16169. schema:
  16170. $ref: '#/definitions/app.Response'
  16171. security:
  16172. - ApiKeyAuth: []
  16173. summary: 查询市场运行信息
  16174. tags:
  16175. - 通用市场
  16176. /Market/QueryMarketsByLoginID:
  16177. get:
  16178. parameters:
  16179. - description: 登录账号
  16180. in: query
  16181. name: loginID
  16182. required: true
  16183. type: integer
  16184. produces:
  16185. - application/json
  16186. responses:
  16187. "200":
  16188. description: OK
  16189. schema:
  16190. $ref: '#/definitions/models.Market'
  16191. "500":
  16192. description: Internal Server Error
  16193. schema:
  16194. $ref: '#/definitions/app.Response'
  16195. security:
  16196. - ApiKeyAuth: []
  16197. summary: 获取登录账号有权限的市场信息
  16198. tags:
  16199. - 通用市场
  16200. /Order/QueryHisTradeDetail:
  16201. get:
  16202. parameters:
  16203. - description: 资金账户 - 格式:1,2,3
  16204. in: query
  16205. name: accountID
  16206. required: true
  16207. type: string
  16208. - description: 成交单号
  16209. in: query
  16210. name: tradeID
  16211. type: integer
  16212. - description: 委托单号
  16213. in: query
  16214. name: orderID
  16215. type: integer
  16216. - description: 交易模式 - 格式:1,2,3
  16217. in: query
  16218. name: tradeMode
  16219. type: string
  16220. - description: 委托单据类型
  16221. in: query
  16222. name: buildType
  16223. type: integer
  16224. - description: 成交类别 - 格式:1,2,3
  16225. in: query
  16226. name: tradeType
  16227. type: string
  16228. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16229. in: query
  16230. name: startDate
  16231. type: string
  16232. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16233. in: query
  16234. name: endDate
  16235. type: string
  16236. produces:
  16237. - application/json
  16238. responses:
  16239. "200":
  16240. description: OK
  16241. schema:
  16242. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16243. "500":
  16244. description: Internal Server Error
  16245. schema:
  16246. $ref: '#/definitions/app.Response'
  16247. security:
  16248. - ApiKeyAuth: []
  16249. summary: 历史成交单查询(合约市场)
  16250. tags:
  16251. - 通用单据
  16252. /Order/QueryHisTradeOrderDetail:
  16253. get:
  16254. parameters:
  16255. - description: 资金账户 - 格式:1,2,3
  16256. in: query
  16257. name: accountID
  16258. required: true
  16259. type: string
  16260. - description: 交易模式 - 格式:1,2,3
  16261. in: query
  16262. name: tradeMode
  16263. type: string
  16264. - description: 委托状态 - 格式:1,2,3
  16265. in: query
  16266. name: orderStatus
  16267. type: string
  16268. - description: 委托单号
  16269. in: query
  16270. name: orderID
  16271. type: integer
  16272. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16273. in: query
  16274. name: startDate
  16275. type: string
  16276. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16277. in: query
  16278. name: endDate
  16279. type: string
  16280. produces:
  16281. - application/json
  16282. responses:
  16283. "200":
  16284. description: OK
  16285. schema:
  16286. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16287. "500":
  16288. description: Internal Server Error
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. security:
  16292. - ApiKeyAuth: []
  16293. summary: 历史委托单查询请求(合约市场)
  16294. tags:
  16295. - 通用单据
  16296. /Order/QueryTradeDetail:
  16297. get:
  16298. parameters:
  16299. - description: 资金账户 - 格式:1,2,3
  16300. in: query
  16301. name: accountID
  16302. required: true
  16303. type: string
  16304. - description: 成交单号
  16305. in: query
  16306. name: tradeID
  16307. type: integer
  16308. - description: 委托单号
  16309. in: query
  16310. name: orderID
  16311. type: integer
  16312. - description: 交易模式 - 格式:1,2,3
  16313. in: query
  16314. name: tradeMode
  16315. type: string
  16316. - description: 委托单据类型
  16317. in: query
  16318. name: buildType
  16319. type: integer
  16320. - description: 成交类别 - 格式:1,2,3
  16321. in: query
  16322. name: tradeType
  16323. type: string
  16324. produces:
  16325. - application/json
  16326. responses:
  16327. "200":
  16328. description: OK
  16329. schema:
  16330. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16331. "500":
  16332. description: Internal Server Error
  16333. schema:
  16334. $ref: '#/definitions/app.Response'
  16335. security:
  16336. - ApiKeyAuth: []
  16337. summary: 成交单查询(合约市场)
  16338. tags:
  16339. - 通用单据
  16340. /Order/QueryTradeOrderDetail:
  16341. get:
  16342. parameters:
  16343. - description: 资金账户 - 格式:1,2,3
  16344. in: query
  16345. name: accountID
  16346. required: true
  16347. type: string
  16348. - description: 交易模式 - 格式:1,2,3
  16349. in: query
  16350. name: tradeMode
  16351. type: string
  16352. - description: 委托状态 - 格式:1,2,3
  16353. in: query
  16354. name: orderStatus
  16355. type: string
  16356. - description: 委托单号
  16357. in: query
  16358. name: orderID
  16359. type: integer
  16360. produces:
  16361. - application/json
  16362. responses:
  16363. "200":
  16364. description: OK
  16365. schema:
  16366. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16367. "500":
  16368. description: Internal Server Error
  16369. schema:
  16370. $ref: '#/definitions/app.Response'
  16371. security:
  16372. - ApiKeyAuth: []
  16373. summary: 委托单查询请求(合约市场)
  16374. tags:
  16375. - 通用单据
  16376. /Order/QueryTradePosition:
  16377. get:
  16378. parameters:
  16379. - description: 资金账户 - 格式:1,2,3
  16380. in: query
  16381. name: accountID
  16382. required: true
  16383. type: string
  16384. - description: 交易模式 - 格式:1,2,3
  16385. in: query
  16386. name: tradeMode
  16387. type: string
  16388. produces:
  16389. - application/json
  16390. responses:
  16391. "200":
  16392. description: OK
  16393. schema:
  16394. $ref: '#/definitions/order.QueryTradePositionRsp'
  16395. "500":
  16396. description: Internal Server Error
  16397. schema:
  16398. $ref: '#/definitions/app.Response'
  16399. security:
  16400. - ApiKeyAuth: []
  16401. summary: 持仓汇总查询(合约市场)
  16402. tags:
  16403. - 通用单据
  16404. /Qhj/QueryContract:
  16405. get:
  16406. parameters:
  16407. - description: 用户ID
  16408. in: query
  16409. name: userid
  16410. required: true
  16411. type: integer
  16412. - description: scf合同id
  16413. in: query
  16414. name: scfcontractid
  16415. type: integer
  16416. produces:
  16417. - application/json
  16418. responses:
  16419. "200":
  16420. description: OK
  16421. schema:
  16422. items:
  16423. $ref: '#/definitions/models.QhjContract'
  16424. type: array
  16425. "500":
  16426. description: Internal Server Error
  16427. schema:
  16428. $ref: '#/definitions/app.Response'
  16429. security:
  16430. - ApiKeyAuth: []
  16431. summary: 查询融资明细(合同)
  16432. tags:
  16433. - 大连千海金
  16434. /Qhj/QueryContractLog:
  16435. get:
  16436. parameters:
  16437. - description: scf合同id
  16438. in: query
  16439. name: scfcontractid
  16440. required: true
  16441. type: integer
  16442. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  16443. in: query
  16444. name: amounttype
  16445. type: string
  16446. produces:
  16447. - application/json
  16448. responses:
  16449. "200":
  16450. description: OK
  16451. schema:
  16452. items:
  16453. $ref: '#/definitions/models.QhjContractLog'
  16454. type: array
  16455. "500":
  16456. description: Internal Server Error
  16457. schema:
  16458. $ref: '#/definitions/app.Response'
  16459. security:
  16460. - ApiKeyAuth: []
  16461. summary: 查询融资明细流水(融资明细详情页中的流水)
  16462. tags:
  16463. - 大连千海金
  16464. /Qhj/QueryPickArea:
  16465. get:
  16466. parameters:
  16467. - description: 用户ID
  16468. in: query
  16469. name: userid
  16470. type: integer
  16471. produces:
  16472. - application/json
  16473. responses:
  16474. "200":
  16475. description: OK
  16476. schema:
  16477. items:
  16478. $ref: '#/definitions/models.QhjPickArea'
  16479. type: array
  16480. "500":
  16481. description: Internal Server Error
  16482. schema:
  16483. $ref: '#/definitions/app.Response'
  16484. security:
  16485. - ApiKeyAuth: []
  16486. summary: 查询提货门店
  16487. tags:
  16488. - 大连千海金
  16489. /Qhj/QueryPickGoods:
  16490. get:
  16491. parameters:
  16492. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  16493. in: query
  16494. name: status
  16495. type: string
  16496. produces:
  16497. - application/json
  16498. responses:
  16499. "200":
  16500. description: OK
  16501. schema:
  16502. items:
  16503. $ref: '#/definitions/models.QhjPickGoods'
  16504. type: array
  16505. "500":
  16506. description: Internal Server Error
  16507. schema:
  16508. $ref: '#/definitions/app.Response'
  16509. security:
  16510. - ApiKeyAuth: []
  16511. summary: 查询提货商品
  16512. tags:
  16513. - 大连千海金
  16514. /Qhj/QueryRSTriggerLog:
  16515. get:
  16516. parameters:
  16517. - description: 用户ID
  16518. in: query
  16519. name: userid
  16520. required: true
  16521. type: integer
  16522. - description: 定投策略id
  16523. in: query
  16524. name: regularlystrategyid
  16525. type: integer
  16526. produces:
  16527. - application/json
  16528. responses:
  16529. "200":
  16530. description: OK
  16531. schema:
  16532. items:
  16533. $ref: '#/definitions/models.QhjRSTriggerLog'
  16534. type: array
  16535. "500":
  16536. description: Internal Server Error
  16537. schema:
  16538. $ref: '#/definitions/app.Response'
  16539. security:
  16540. - ApiKeyAuth: []
  16541. summary: 查询定投记录(定投管理/详情/定投记录)
  16542. tags:
  16543. - 大连千海金
  16544. /Qhj/QueryRStrategy:
  16545. get:
  16546. parameters:
  16547. - description: 用户ID
  16548. in: query
  16549. name: userid
  16550. required: true
  16551. type: integer
  16552. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  16553. in: query
  16554. name: status
  16555. type: string
  16556. produces:
  16557. - application/json
  16558. responses:
  16559. "200":
  16560. description: OK
  16561. schema:
  16562. items:
  16563. $ref: '#/definitions/models.QhjRStrategy'
  16564. type: array
  16565. "500":
  16566. description: Internal Server Error
  16567. schema:
  16568. $ref: '#/definitions/app.Response'
  16569. security:
  16570. - ApiKeyAuth: []
  16571. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  16572. tags:
  16573. - 大连千海金
  16574. /Qhj/QueryTradeGoodsPickup:
  16575. get:
  16576. parameters:
  16577. - description: 用户ID
  16578. in: query
  16579. name: userid
  16580. required: true
  16581. type: integer
  16582. produces:
  16583. - application/json
  16584. responses:
  16585. "200":
  16586. description: OK
  16587. schema:
  16588. items:
  16589. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  16590. type: array
  16591. "500":
  16592. description: Internal Server Error
  16593. schema:
  16594. $ref: '#/definitions/app.Response'
  16595. security:
  16596. - ApiKeyAuth: []
  16597. summary: 查询提货
  16598. tags:
  16599. - 大连千海金
  16600. /Qhj/QueryUserCollectConfig:
  16601. get:
  16602. parameters:
  16603. - description: 用户ID
  16604. in: query
  16605. name: userid
  16606. required: true
  16607. type: integer
  16608. produces:
  16609. - application/json
  16610. responses:
  16611. "200":
  16612. description: OK
  16613. schema:
  16614. items:
  16615. $ref: '#/definitions/models.UserCollectConfig'
  16616. type: array
  16617. "500":
  16618. description: Internal Server Error
  16619. schema:
  16620. $ref: '#/definitions/app.Response'
  16621. security:
  16622. - ApiKeyAuth: []
  16623. summary: 查询提现账户设置
  16624. tags:
  16625. - 大连千海金
  16626. /Qhj/QueryUserReceiveInfo:
  16627. get:
  16628. parameters:
  16629. - description: 用户ID
  16630. in: query
  16631. name: userid
  16632. required: true
  16633. type: integer
  16634. produces:
  16635. - application/json
  16636. responses:
  16637. "200":
  16638. description: OK
  16639. schema:
  16640. items:
  16641. $ref: '#/definitions/models.UserReceiveInfo'
  16642. type: array
  16643. "500":
  16644. description: Internal Server Error
  16645. schema:
  16646. $ref: '#/definitions/app.Response'
  16647. security:
  16648. - ApiKeyAuth: []
  16649. summary: 查询收货地址信息
  16650. tags:
  16651. - 大连千海金
  16652. /Quote/QueryHistoryDatas:
  16653. get:
  16654. parameters:
  16655. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16656. 日线'
  16657. in: query
  16658. name: cycleType
  16659. required: true
  16660. type: integer
  16661. - description: 商品代码
  16662. in: query
  16663. name: goodsCode
  16664. required: true
  16665. type: string
  16666. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16667. in: query
  16668. name: startTime
  16669. type: string
  16670. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16671. in: query
  16672. name: endTime
  16673. type: string
  16674. - description: 条数
  16675. in: query
  16676. name: count
  16677. type: integer
  16678. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16679. in: query
  16680. name: isAsc
  16681. type: boolean
  16682. produces:
  16683. - application/json
  16684. responses:
  16685. "200":
  16686. description: OK
  16687. schema:
  16688. $ref: '#/definitions/quote.HistoryData'
  16689. "500":
  16690. description: Internal Server Error
  16691. schema:
  16692. $ref: '#/definitions/app.Response'
  16693. security:
  16694. - ApiKeyAuth: []
  16695. summary: 查询行情历史数据
  16696. tags:
  16697. - 行情服务
  16698. /Quote/QueryHistoryTikDatas:
  16699. get:
  16700. parameters:
  16701. - description: 商品代码
  16702. in: query
  16703. name: goodsCode
  16704. required: true
  16705. type: string
  16706. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16707. in: query
  16708. name: startTime
  16709. type: string
  16710. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16711. in: query
  16712. name: endTime
  16713. type: string
  16714. - description: 条数
  16715. in: query
  16716. name: count
  16717. type: integer
  16718. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16719. in: query
  16720. name: isAsc
  16721. type: boolean
  16722. produces:
  16723. - application/json
  16724. responses:
  16725. "200":
  16726. description: OK
  16727. schema:
  16728. $ref: '#/definitions/quote.HistoryTikData'
  16729. "500":
  16730. description: Internal Server Error
  16731. schema:
  16732. $ref: '#/definitions/app.Response'
  16733. security:
  16734. - ApiKeyAuth: []
  16735. summary: 查询行情Tik数据
  16736. tags:
  16737. - 行情服务
  16738. /Quote/QueryQuoteDay:
  16739. get:
  16740. parameters:
  16741. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16742. in: query
  16743. name: goodsCodes
  16744. required: true
  16745. type: string
  16746. produces:
  16747. - application/json
  16748. responses:
  16749. "200":
  16750. description: OK
  16751. schema:
  16752. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16753. "500":
  16754. description: Internal Server Error
  16755. schema:
  16756. $ref: '#/definitions/app.Response'
  16757. security:
  16758. - ApiKeyAuth: []
  16759. summary: 获取商品盘面信息
  16760. tags:
  16761. - 行情服务
  16762. /Quote/QueryTSData:
  16763. get:
  16764. parameters:
  16765. - description: 商品代码
  16766. in: query
  16767. name: goodsCode
  16768. required: true
  16769. type: string
  16770. produces:
  16771. - application/json
  16772. responses:
  16773. "200":
  16774. description: OK
  16775. schema:
  16776. $ref: '#/definitions/quote.QueryTSDataRsp'
  16777. "500":
  16778. description: Internal Server Error
  16779. schema:
  16780. $ref: '#/definitions/app.Response'
  16781. security:
  16782. - ApiKeyAuth: []
  16783. summary: 分时图数据查询
  16784. tags:
  16785. - 行情服务
  16786. /SZDZ/QueryConvertConfig:
  16787. get:
  16788. parameters:
  16789. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16790. 6:交易转花生米(不设置)
  16791. in: query
  16792. name: convertType
  16793. type: integer
  16794. - description: 外部商品代码[JD\PD]
  16795. in: query
  16796. name: outerGoodsCode
  16797. type: string
  16798. - description: 内部商品ID列表[交易],格式:1,2,3
  16799. in: query
  16800. name: innerGoodsIDs
  16801. type: string
  16802. produces:
  16803. - application/json
  16804. responses:
  16805. "200":
  16806. description: OK
  16807. schema:
  16808. $ref: '#/definitions/models.Szdz3convertconfig'
  16809. "500":
  16810. description: Internal Server Error
  16811. schema:
  16812. $ref: '#/definitions/app.Response'
  16813. security:
  16814. - ApiKeyAuth: []
  16815. summary: 查询交易系统转换设置
  16816. tags:
  16817. - 定制【尚志大宗】
  16818. /SZDZ/QueryConvertLog:
  16819. get:
  16820. parameters:
  16821. - description: 资金账户 - 格式:1,2,3
  16822. in: query
  16823. name: accountID
  16824. required: true
  16825. type: string
  16826. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16827. in: query
  16828. name: startDate
  16829. type: string
  16830. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16831. in: query
  16832. name: endDate
  16833. type: string
  16834. produces:
  16835. - application/json
  16836. responses:
  16837. "200":
  16838. description: OK
  16839. schema:
  16840. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16841. "500":
  16842. description: Internal Server Error
  16843. schema:
  16844. $ref: '#/definitions/app.Response'
  16845. security:
  16846. - ApiKeyAuth: []
  16847. summary: 交易系统转换流水查询
  16848. tags:
  16849. - 定制【尚志大宗】
  16850. /SZDZ/QueryGoodsPickup:
  16851. get:
  16852. parameters:
  16853. - description: 资金账户 - 格式:1,2,3
  16854. in: query
  16855. name: accountID
  16856. required: true
  16857. type: string
  16858. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16859. in: query
  16860. name: takeOrderStatus
  16861. type: integer
  16862. produces:
  16863. - application/json
  16864. responses:
  16865. "200":
  16866. description: OK
  16867. schema:
  16868. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16869. "500":
  16870. description: Internal Server Error
  16871. schema:
  16872. $ref: '#/definitions/app.Response'
  16873. security:
  16874. - ApiKeyAuth: []
  16875. summary: 商品提货单查询
  16876. tags:
  16877. - 定制【尚志大宗】
  16878. /SZDZ/QueryRecieptOrder:
  16879. get:
  16880. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16881. parameters:
  16882. - description: 页码
  16883. in: query
  16884. name: page
  16885. type: integer
  16886. - description: 每页条数
  16887. in: query
  16888. name: pagesize
  16889. type: integer
  16890. - description: 商品ID
  16891. in: query
  16892. name: goodsID
  16893. required: true
  16894. type: integer
  16895. - description: 所属账户名称
  16896. in: query
  16897. name: accountName
  16898. type: string
  16899. - description: 市场ID
  16900. in: query
  16901. name: marketID
  16902. type: integer
  16903. - description: 方向 - 0:买 1:卖
  16904. in: query
  16905. name: buyorsell
  16906. required: true
  16907. type: integer
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16915. "500":
  16916. description: Internal Server Error
  16917. schema:
  16918. $ref: '#/definitions/app.Response'
  16919. security:
  16920. - ApiKeyAuth: []
  16921. summary: 点选挂牌委托单据查询(摘牌大厅)
  16922. tags:
  16923. - 定制【尚志大宗】
  16924. /SZDZ/QuerySZDZTradePosition:
  16925. get:
  16926. parameters:
  16927. - description: 资金账户
  16928. in: query
  16929. name: accountID
  16930. required: true
  16931. type: integer
  16932. produces:
  16933. - application/json
  16934. responses:
  16935. "200":
  16936. description: OK
  16937. schema:
  16938. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16939. "500":
  16940. description: Internal Server Error
  16941. schema:
  16942. $ref: '#/definitions/app.Response'
  16943. security:
  16944. - ApiKeyAuth: []
  16945. summary: 持仓汇总查询(尚志大宗)
  16946. tags:
  16947. - 定制【尚志大宗】
  16948. /SZDZ/SearchWhite:
  16949. get:
  16950. parameters:
  16951. - description: 用户ID
  16952. in: query
  16953. name: userID
  16954. required: true
  16955. type: integer
  16956. produces:
  16957. - application/json
  16958. responses:
  16959. "200":
  16960. description: OK
  16961. schema:
  16962. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16963. "500":
  16964. description: Internal Server Error
  16965. schema:
  16966. $ref: '#/definitions/app.Response'
  16967. security:
  16968. - ApiKeyAuth: []
  16969. summary: 搜索白名单
  16970. tags:
  16971. - 定制【尚志大宗】
  16972. /Search/SearchGoodses:
  16973. get:
  16974. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16975. parameters:
  16976. - description: 检索内容
  16977. in: query
  16978. name: content
  16979. required: true
  16980. type: string
  16981. - description: 交易模式,格式:1,2,3
  16982. in: query
  16983. name: tradeModes
  16984. type: string
  16985. produces:
  16986. - application/json
  16987. responses:
  16988. "200":
  16989. description: OK
  16990. schema:
  16991. $ref: '#/definitions/models.SearchGoods'
  16992. "500":
  16993. description: Internal Server Error
  16994. schema:
  16995. $ref: '#/definitions/app.Response'
  16996. summary: 检索商品信息
  16997. tags:
  16998. - 检索服务
  16999. /TaAccount/GetTaAccounts:
  17000. get:
  17001. parameters:
  17002. - description: 登录账户
  17003. in: query
  17004. name: loginID
  17005. required: true
  17006. type: integer
  17007. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17008. in: query
  17009. name: taAccountType
  17010. type: integer
  17011. produces:
  17012. - application/json
  17013. responses:
  17014. "200":
  17015. description: OK
  17016. schema:
  17017. $ref: '#/definitions/models.Taaccount'
  17018. "500":
  17019. description: Internal Server Error
  17020. schema:
  17021. $ref: '#/definitions/app.Response'
  17022. security:
  17023. - ApiKeyAuth: []
  17024. summary: 获取资金账户信息
  17025. tags:
  17026. - 资金账户
  17027. /TaAccount/QueryAmountLog:
  17028. get:
  17029. parameters:
  17030. - description: 页码
  17031. in: query
  17032. name: page
  17033. type: integer
  17034. - description: 每页条数
  17035. in: query
  17036. name: pagesize
  17037. type: integer
  17038. - description: 资金账户 - 格式:1,2,3
  17039. in: query
  17040. name: accountID
  17041. required: true
  17042. type: string
  17043. - description: 资金操作类型 - 格式:1,2,3
  17044. in: query
  17045. name: OperateType
  17046. type: string
  17047. produces:
  17048. - application/json
  17049. responses:
  17050. "200":
  17051. description: OK
  17052. schema:
  17053. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17054. "500":
  17055. description: Internal Server Error
  17056. schema:
  17057. $ref: '#/definitions/app.Response'
  17058. security:
  17059. - ApiKeyAuth: []
  17060. summary: 资金流水查询(当前)
  17061. tags:
  17062. - 资金账户
  17063. /TaAccount/QueryHisAmountLog:
  17064. get:
  17065. parameters:
  17066. - description: 页码
  17067. in: query
  17068. name: page
  17069. type: integer
  17070. - description: 每页条数
  17071. in: query
  17072. name: pagesize
  17073. type: integer
  17074. - description: 资金账户 - 格式:1,2,3
  17075. in: query
  17076. name: accountID
  17077. required: true
  17078. type: string
  17079. - description: 资金操作类型 - 格式:1,2,3
  17080. in: query
  17081. name: OperateType
  17082. type: string
  17083. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17084. in: query
  17085. name: startDate
  17086. type: string
  17087. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17088. in: query
  17089. name: endDate
  17090. type: string
  17091. produces:
  17092. - application/json
  17093. responses:
  17094. "200":
  17095. description: OK
  17096. schema:
  17097. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17098. "500":
  17099. description: Internal Server Error
  17100. schema:
  17101. $ref: '#/definitions/app.Response'
  17102. security:
  17103. - ApiKeyAuth: []
  17104. summary: 资金流水查询(历史)
  17105. tags:
  17106. - 资金账户
  17107. /Trade/QueryRecieptOrder:
  17108. get:
  17109. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17110. parameters:
  17111. - description: 页码
  17112. in: query
  17113. name: page
  17114. type: integer
  17115. - description: 每页条数
  17116. in: query
  17117. name: pagesize
  17118. type: integer
  17119. - description: 商品ID
  17120. in: query
  17121. name: goodsID
  17122. required: true
  17123. type: integer
  17124. - description: 所属账户名称
  17125. in: query
  17126. name: accountName
  17127. type: string
  17128. - description: 市场ID
  17129. in: query
  17130. name: marketID
  17131. type: integer
  17132. - description: 方向 - 0:买 1:卖
  17133. in: query
  17134. name: buyorsell
  17135. required: true
  17136. type: integer
  17137. produces:
  17138. - application/json
  17139. responses:
  17140. "200":
  17141. description: OK
  17142. schema:
  17143. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17144. "500":
  17145. description: Internal Server Error
  17146. schema:
  17147. $ref: '#/definitions/app.Response'
  17148. security:
  17149. - ApiKeyAuth: []
  17150. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17151. tags:
  17152. - 通用交易
  17153. /User/AddMessageBoard:
  17154. post:
  17155. parameters:
  17156. - description: 用户ID
  17157. in: query
  17158. name: userID
  17159. required: true
  17160. type: integer
  17161. - description: 留言信息
  17162. in: query
  17163. name: message
  17164. required: true
  17165. type: string
  17166. - description: 联系电话
  17167. in: query
  17168. name: contactNum
  17169. required: true
  17170. type: string
  17171. produces:
  17172. - application/json
  17173. responses:
  17174. "200":
  17175. description: OK
  17176. schema:
  17177. $ref: '#/definitions/app.Response'
  17178. "500":
  17179. description: Internal Server Error
  17180. schema:
  17181. $ref: '#/definitions/app.Response'
  17182. security:
  17183. - ApiKeyAuth: []
  17184. summary: 添加用户留言板信息
  17185. tags:
  17186. - 用户信息
  17187. /User/AddUserFavoriteGoods:
  17188. post:
  17189. parameters:
  17190. - description: 用户ID
  17191. in: query
  17192. name: userID
  17193. required: true
  17194. type: integer
  17195. - description: 商品ID
  17196. in: query
  17197. name: goodsID
  17198. required: true
  17199. type: integer
  17200. produces:
  17201. - application/json
  17202. responses:
  17203. "200":
  17204. description: OK
  17205. schema:
  17206. $ref: '#/definitions/app.Response'
  17207. "500":
  17208. description: Internal Server Error
  17209. schema:
  17210. $ref: '#/definitions/app.Response'
  17211. security:
  17212. - ApiKeyAuth: []
  17213. summary: 添加用户商品收藏信息
  17214. tags:
  17215. - 用户信息
  17216. /User/GetLoginID:
  17217. get:
  17218. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17219. parameters:
  17220. - description: 登录代码
  17221. in: query
  17222. name: username
  17223. required: true
  17224. type: string
  17225. produces:
  17226. - application/json
  17227. responses:
  17228. "200":
  17229. description: OK
  17230. schema:
  17231. $ref: '#/definitions/app.Response'
  17232. "500":
  17233. description: Internal Server Error
  17234. schema:
  17235. $ref: '#/definitions/app.Response'
  17236. summary: 获取登录ID
  17237. tags:
  17238. - 用户信息
  17239. /User/GetUserAccount:
  17240. get:
  17241. parameters:
  17242. - description: 用户ID
  17243. in: query
  17244. name: userID
  17245. required: true
  17246. type: integer
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/models.Useraccount'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. security:
  17259. - ApiKeyAuth: []
  17260. summary: 获取用户账号信息
  17261. tags:
  17262. - 用户信息
  17263. /User/GetUserAuthStatus:
  17264. get:
  17265. parameters:
  17266. - description: 用户ID
  17267. in: query
  17268. name: userID
  17269. required: true
  17270. type: integer
  17271. produces:
  17272. - application/json
  17273. responses:
  17274. "200":
  17275. description: OK
  17276. schema:
  17277. $ref: '#/definitions/app.Response'
  17278. "500":
  17279. description: Internal Server Error
  17280. schema:
  17281. $ref: '#/definitions/app.Response'
  17282. security:
  17283. - ApiKeyAuth: []
  17284. summary: 获取用户实名认证状态
  17285. tags:
  17286. - 用户信息
  17287. /User/LoginQuery:
  17288. get:
  17289. parameters:
  17290. - description: 登录账号
  17291. in: query
  17292. name: loginID
  17293. required: true
  17294. type: integer
  17295. produces:
  17296. - application/json
  17297. responses:
  17298. "200":
  17299. description: OK
  17300. schema:
  17301. $ref: '#/definitions/user.LoginQueryRsp'
  17302. "500":
  17303. description: Internal Server Error
  17304. schema:
  17305. $ref: '#/definitions/app.Response'
  17306. security:
  17307. - ApiKeyAuth: []
  17308. summary: 账户登录后信息查询
  17309. tags:
  17310. - 用户信息
  17311. /User/QueryMessageBoard:
  17312. get:
  17313. parameters:
  17314. - description: 用户ID
  17315. in: query
  17316. name: userID
  17317. required: true
  17318. type: integer
  17319. produces:
  17320. - application/json
  17321. responses:
  17322. "200":
  17323. description: OK
  17324. schema:
  17325. $ref: '#/definitions/models.Messageboard'
  17326. "500":
  17327. description: Internal Server Error
  17328. schema:
  17329. $ref: '#/definitions/app.Response'
  17330. security:
  17331. - ApiKeyAuth: []
  17332. summary: 获取用户留言板信息
  17333. tags:
  17334. - 用户信息
  17335. /User/QueryUserFavoriteGoodses:
  17336. get:
  17337. parameters:
  17338. - description: 用户ID
  17339. in: query
  17340. name: userID
  17341. required: true
  17342. type: integer
  17343. produces:
  17344. - application/json
  17345. responses:
  17346. "200":
  17347. description: OK
  17348. schema:
  17349. $ref: '#/definitions/models.Userfavoritegoods'
  17350. "500":
  17351. description: Internal Server Error
  17352. schema:
  17353. $ref: '#/definitions/app.Response'
  17354. security:
  17355. - ApiKeyAuth: []
  17356. summary: 获取用户商品收藏信息
  17357. tags:
  17358. - 用户信息
  17359. /User/QueryUserInfo:
  17360. get:
  17361. parameters:
  17362. - description: 用户ID
  17363. in: query
  17364. name: userID
  17365. required: true
  17366. type: integer
  17367. - description: 是否解密
  17368. in: query
  17369. name: isDecrypt
  17370. type: boolean
  17371. produces:
  17372. - application/json
  17373. responses:
  17374. "200":
  17375. description: OK
  17376. schema:
  17377. $ref: '#/definitions/models.Userinfo'
  17378. "500":
  17379. description: Internal Server Error
  17380. schema:
  17381. $ref: '#/definitions/app.Response'
  17382. security:
  17383. - ApiKeyAuth: []
  17384. summary: 获取用户信息
  17385. tags:
  17386. - 用户信息
  17387. /User/QueryUserReferNum:
  17388. get:
  17389. parameters:
  17390. - description: 用户ID
  17391. in: query
  17392. name: userID
  17393. required: true
  17394. type: integer
  17395. produces:
  17396. - application/json
  17397. responses:
  17398. "200":
  17399. description: OK
  17400. schema:
  17401. $ref: '#/definitions/app.Response'
  17402. "500":
  17403. description: Internal Server Error
  17404. schema:
  17405. $ref: '#/definitions/app.Response'
  17406. summary: 获取用户邀请码
  17407. tags:
  17408. - 用户信息
  17409. /User/RemoveUserFavoriteGoods:
  17410. post:
  17411. parameters:
  17412. - description: 用户ID
  17413. in: query
  17414. name: userID
  17415. required: true
  17416. type: integer
  17417. - description: 商品ID
  17418. in: query
  17419. name: goodsID
  17420. required: true
  17421. type: integer
  17422. produces:
  17423. - application/json
  17424. responses:
  17425. "200":
  17426. description: OK
  17427. schema:
  17428. $ref: '#/definitions/app.Response'
  17429. "500":
  17430. description: Internal Server Error
  17431. schema:
  17432. $ref: '#/definitions/app.Response'
  17433. security:
  17434. - ApiKeyAuth: []
  17435. summary: 移除用户商品收藏信息
  17436. tags:
  17437. - 用户信息
  17438. /User/UpdateUserAccountStatus:
  17439. post:
  17440. parameters:
  17441. - description: 用户ID
  17442. in: query
  17443. name: userID
  17444. required: true
  17445. type: integer
  17446. - description: 账户状态 - 4:正常 6:注销(停用)
  17447. in: query
  17448. name: accountStatus
  17449. required: true
  17450. type: integer
  17451. produces:
  17452. - application/json
  17453. responses:
  17454. "200":
  17455. description: OK
  17456. schema:
  17457. $ref: '#/definitions/app.Response'
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. security:
  17463. - ApiKeyAuth: []
  17464. summary: 更新用户状态
  17465. tags:
  17466. - 用户信息
  17467. /WRTrade/GetAllDeliveryGoods:
  17468. get:
  17469. produces:
  17470. - application/json
  17471. - application/json
  17472. responses:
  17473. "200":
  17474. description: OK
  17475. schema:
  17476. $ref: '#/definitions/app.Response'
  17477. "500":
  17478. description: Internal Server Error
  17479. schema:
  17480. $ref: '#/definitions/app.Response'
  17481. security:
  17482. - ApiKeyAuth: []
  17483. - ApiKeyAuth: []
  17484. summary: 获取带仓单分类的种类信息
  17485. tags:
  17486. - 仓单贸易
  17487. - 仓单贸易
  17488. securityDefinitions:
  17489. ApiKeyAuth:
  17490. in: header
  17491. name: Authorization
  17492. type: apiKey
  17493. swagger: "2.0"