swagger.yaml 403 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660
  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. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. enumdicname:
  1365. description: 单位名称
  1366. type: string
  1367. goodscode:
  1368. description: 点价合约
  1369. type: string
  1370. goodsname:
  1371. description: 商品名称
  1372. type: string
  1373. operateapplyid:
  1374. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1375. type: string
  1376. operateapplytype:
  1377. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1378. type: integer
  1379. pricedPrice:
  1380. description: 点价价格(非必填)
  1381. type: number
  1382. pricedQty:
  1383. description: 点价数量(非必填)
  1384. type: number
  1385. pricemove:
  1386. description: 升贴水
  1387. type: number
  1388. pricetype:
  1389. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1390. type: integer
  1391. relatedid:
  1392. description: 现货合同ID
  1393. type: string
  1394. sellusername:
  1395. description: 销售方名字
  1396. type: string
  1397. userid:
  1398. description: 用户ID
  1399. type: integer
  1400. wrstandardcode:
  1401. description: 现货商品代码
  1402. type: string
  1403. wrstandardid:
  1404. description: 现货商品id
  1405. type: integer
  1406. wrstandardname:
  1407. description: 现货商品名称
  1408. type: string
  1409. type: object
  1410. ermcp.QryBussinessFpRsp:
  1411. properties:
  1412. applyid:
  1413. description: 申请人
  1414. type: string
  1415. applyname:
  1416. description: 申请人名称
  1417. type: string
  1418. applystatus:
  1419. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1420. type: integer
  1421. applytime:
  1422. description: 申请时间
  1423. type: string
  1424. attachurl:
  1425. description: 附件
  1426. type: string
  1427. auditid:
  1428. description: 审核人ID
  1429. type: string
  1430. auditname:
  1431. description: 审核人名称
  1432. type: string
  1433. audittime:
  1434. description: 审核时间
  1435. type: string
  1436. buyusername:
  1437. description: 采购方名称
  1438. type: string
  1439. contractno:
  1440. description: 合同编号
  1441. type: string
  1442. contractstatus:
  1443. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1444. type: integer
  1445. contracttype:
  1446. description: 现货合同类型 - 1:采购 -1:销售
  1447. type: integer
  1448. enumdicname:
  1449. description: 单位名称
  1450. type: string
  1451. goodscode:
  1452. description: 点价合约
  1453. type: string
  1454. goodsname:
  1455. description: 商品名称
  1456. type: string
  1457. invoiceAmount:
  1458. description: 已开收票金额(销售为开票,采购为收票)
  1459. type: number
  1460. operateapplyid:
  1461. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1462. type: string
  1463. operateapplytype:
  1464. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1465. type: integer
  1466. pricemove:
  1467. description: 升贴水
  1468. type: number
  1469. pricetype:
  1470. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1471. type: integer
  1472. relatedid:
  1473. description: 现货合同ID
  1474. type: string
  1475. sellusername:
  1476. description: 销售方名字
  1477. type: string
  1478. userid:
  1479. description: 用户ID
  1480. type: integer
  1481. wrstandardcode:
  1482. description: 现货商品代码
  1483. type: string
  1484. wrstandardid:
  1485. description: 现货商品id
  1486. type: integer
  1487. wrstandardname:
  1488. description: 现货商品名称
  1489. type: string
  1490. type: object
  1491. ermcp.QryBussinessJsExRsp:
  1492. properties:
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. enumdicname:
  1530. description: 单位名称
  1531. type: string
  1532. goodscode:
  1533. description: 点价合约
  1534. type: string
  1535. goodsname:
  1536. description: 商品名称
  1537. type: string
  1538. operateapplyid:
  1539. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1540. type: string
  1541. operateapplytype:
  1542. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1543. type: integer
  1544. pricemove:
  1545. description: 升贴水
  1546. type: number
  1547. pricetype:
  1548. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1549. type: integer
  1550. reckontype:
  1551. description: 结算类型
  1552. type: string
  1553. reckonvalue:
  1554. description: 值
  1555. type: number
  1556. relatedid:
  1557. description: 现货合同ID
  1558. type: string
  1559. sellusername:
  1560. description: 销售方名字
  1561. type: string
  1562. userid:
  1563. description: 用户ID
  1564. type: integer
  1565. wrstandardcode:
  1566. description: 现货商品代码
  1567. type: string
  1568. wrstandardid:
  1569. description: 现货商品id
  1570. type: integer
  1571. wrstandardname:
  1572. description: 现货商品名称
  1573. type: string
  1574. type: object
  1575. ermcp.QryBussinessJsRsp:
  1576. properties:
  1577. addmargin:
  1578. description: 追加保证金(非必填)
  1579. type: number
  1580. applyid:
  1581. description: 申请人
  1582. type: string
  1583. applyname:
  1584. description: 申请人名称
  1585. type: string
  1586. applystatus:
  1587. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1588. type: integer
  1589. applytime:
  1590. description: 申请时间
  1591. type: string
  1592. attachurl:
  1593. description: 附件
  1594. type: string
  1595. auditid:
  1596. description: 审核人ID
  1597. type: string
  1598. auditname:
  1599. description: 审核人名称
  1600. type: string
  1601. audittime:
  1602. description: 审核时间
  1603. type: string
  1604. buyusername:
  1605. description: 采购方名称
  1606. type: string
  1607. contractno:
  1608. description: 合同编号
  1609. type: string
  1610. contractstatus:
  1611. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1612. type: integer
  1613. contracttype:
  1614. description: 现货合同类型 - 1:采购 -1:销售
  1615. type: integer
  1616. decmargin:
  1617. description: 减少保证金(非必填)
  1618. type: number
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 现货商品代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 现货商品id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 现货商品名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. audittime:
  1695. description: 审核时间
  1696. type: string
  1697. buyusername:
  1698. description: 采购方名称
  1699. type: string
  1700. contractno:
  1701. description: 合同编号
  1702. type: string
  1703. contractstatus:
  1704. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1705. type: integer
  1706. contracttype:
  1707. description: 现货合同类型 - 1:采购 -1:销售
  1708. type: integer
  1709. deductamount:
  1710. description: 退款(非必填)
  1711. type: number
  1712. enumdicname:
  1713. description: 单位名称
  1714. type: string
  1715. goodscode:
  1716. description: 点价合约
  1717. type: string
  1718. goodsname:
  1719. description: 商品名称
  1720. type: string
  1721. kxtype:
  1722. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1723. type: integer
  1724. operateapplyid:
  1725. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1726. type: string
  1727. operateapplytype:
  1728. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1729. type: integer
  1730. payamount:
  1731. description: 收付款(非必填)
  1732. type: number
  1733. pricemove:
  1734. description: 升贴水
  1735. type: number
  1736. pricetype:
  1737. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1738. type: integer
  1739. relatedid:
  1740. description: 现货合同ID
  1741. type: string
  1742. sellusername:
  1743. description: 销售方名字
  1744. type: string
  1745. userid:
  1746. description: 用户ID
  1747. type: integer
  1748. wrstandardcode:
  1749. description: 现货商品代码
  1750. type: string
  1751. wrstandardid:
  1752. description: 现货商品id
  1753. type: integer
  1754. wrstandardname:
  1755. description: 现货商品名称
  1756. type: string
  1757. type: object
  1758. ermcp.QryErmcpRsp:
  1759. properties:
  1760. accountname:
  1761. description: 账户名称
  1762. type: string
  1763. attachment:
  1764. description: 附件
  1765. type: string
  1766. audittime:
  1767. description: 审核时间
  1768. type: string
  1769. brandname:
  1770. description: 品牌名称
  1771. type: string
  1772. contracctstatus:
  1773. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1774. type: integer
  1775. contractmargin:
  1776. description: 合同保证金
  1777. type: number
  1778. contractno:
  1779. description: 合同编号
  1780. type: string
  1781. contracttype:
  1782. description: 合同类型 1-采购, -1-销售
  1783. type: integer
  1784. convertfactor:
  1785. description: 标仓系数
  1786. type: number
  1787. createtime:
  1788. description: 创建时间
  1789. type: string
  1790. daikaiamount:
  1791. description: 待开票额
  1792. type: number
  1793. deliveryenddate:
  1794. description: 交割结束日
  1795. type: string
  1796. deliverygoodscode:
  1797. description: 现货品种代码
  1798. type: string
  1799. deliverygoodsid:
  1800. description: 现货商品ID
  1801. type: integer
  1802. deliverygoodsname:
  1803. description: 现货品种名称
  1804. type: string
  1805. deliverystartdate:
  1806. description: 交割开始日
  1807. type: string
  1808. enddate:
  1809. description: 点价结束日
  1810. type: string
  1811. enumdicname:
  1812. description: 单位名称
  1813. type: string
  1814. goodscode:
  1815. description: 点价商品代码
  1816. type: string
  1817. goodsid:
  1818. description: 点价商品ID
  1819. type: integer
  1820. goodsname:
  1821. description: 点价商品名称
  1822. type: string
  1823. invoiceamount:
  1824. description: 已开票额
  1825. type: number
  1826. loanamount:
  1827. description: 贷款总额=已定价额+调整金额
  1828. type: number
  1829. margin:
  1830. description: 保证金
  1831. type: number
  1832. modelname:
  1833. description: 型号名称
  1834. type: string
  1835. payamount:
  1836. description: 已收付额(收款或付款)
  1837. type: number
  1838. price:
  1839. description: 价格
  1840. type: number
  1841. pricedamount:
  1842. description: 已定价额
  1843. type: number
  1844. pricedavg:
  1845. description: 已点均价
  1846. type: number
  1847. pricedqty:
  1848. description: 已定价量
  1849. type: number
  1850. pricemove:
  1851. description: 升贴水
  1852. type: number
  1853. pricetype:
  1854. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1855. type: integer
  1856. producttype:
  1857. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1858. type: integer
  1859. qty:
  1860. description: 合同量
  1861. type: number
  1862. reckonadjustamount:
  1863. description: 调整金额
  1864. type: number
  1865. reckonedamount:
  1866. description: 已收付额(已确定额)
  1867. type: number
  1868. reckonotheramount:
  1869. description: 其它费用
  1870. type: number
  1871. reckonrealqty:
  1872. description: 已确定量
  1873. type: number
  1874. remark:
  1875. description: 备注
  1876. type: string
  1877. spotcontractid:
  1878. description: 合同ID
  1879. type: string
  1880. spotgoodsbrandid:
  1881. description: 现货品牌ID
  1882. type: integer
  1883. spotgoodsdesc:
  1884. description: 商品型号(商品规格)
  1885. type: string
  1886. spotgoodsmodelid:
  1887. description: 现货型号ID
  1888. type: integer
  1889. startdate:
  1890. description: 点价开始日
  1891. type: string
  1892. totalamount:
  1893. description: 合计总额
  1894. type: number
  1895. unpayamount:
  1896. description: 待支收额(支付或收款)
  1897. type: number
  1898. unpricedqty:
  1899. description: 未定价量
  1900. type: number
  1901. unsureqty:
  1902. description: 未确定量
  1903. type: number
  1904. userid:
  1905. description: 用户ID
  1906. type: integer
  1907. wrstandardcode:
  1908. description: 现货商品代码
  1909. type: string
  1910. wrstandardid:
  1911. description: 现货商品ID
  1912. type: integer
  1913. wrstandardname:
  1914. description: 现货商品名称
  1915. type: string
  1916. type: object
  1917. ermcp.QryGGCovertCfgRsp:
  1918. properties:
  1919. convertratio:
  1920. description: 折算系数
  1921. type: number
  1922. destgoodsgroupid:
  1923. description: 目标品种ID
  1924. type: integer
  1925. dstcode:
  1926. description: 目录品种代码
  1927. type: string
  1928. dstexchangecode:
  1929. description: 目标期货交易所
  1930. type: string
  1931. dstname:
  1932. description: 目标品种名称
  1933. type: string
  1934. dstunitid:
  1935. description: 目标品种单位ID
  1936. type: integer
  1937. dstunitidname:
  1938. description: 目标品种单位名称
  1939. type: string
  1940. modifytime:
  1941. description: 修改时间
  1942. type: string
  1943. srccode:
  1944. description: 源品种代码
  1945. type: string
  1946. srcexchangecode:
  1947. description: 源期货交易所
  1948. type: string
  1949. srcgoodsgroupid:
  1950. description: 源品种ID
  1951. type: integer
  1952. srcname:
  1953. description: 源品种名称
  1954. type: string
  1955. srcunitid:
  1956. description: 源品种单位ID
  1957. type: integer
  1958. srcunitidname:
  1959. description: 源品种单位名称
  1960. type: string
  1961. type: object
  1962. ermcp.QryHedgePlanRsp:
  1963. properties:
  1964. areauserid:
  1965. description: 用户ID
  1966. type: integer
  1967. audittime:
  1968. description: 审核时间
  1969. type: string
  1970. contracttype:
  1971. description: 计划类型 - 1:采购 -1:销售
  1972. type: integer
  1973. convertfactor:
  1974. description: 标仓系数
  1975. type: number
  1976. createtime:
  1977. description: 创建时间
  1978. type: string
  1979. deliverygoodsid:
  1980. description: 现货品种ID
  1981. type: integer
  1982. deliverygoodsname:
  1983. description: 现货品种名称
  1984. type: string
  1985. enumdicname:
  1986. description: 单位名称
  1987. type: string
  1988. hedgeplanid:
  1989. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1990. type: string
  1991. hedgeplanno:
  1992. description: 套保计划编号(名称)
  1993. type: string
  1994. hedgeplanstatus:
  1995. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1996. type: integer
  1997. planqty:
  1998. description: 计划数量
  1999. type: number
  2000. plantime:
  2001. description: 计划时间
  2002. type: string
  2003. producttype:
  2004. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2005. type: integer
  2006. remark:
  2007. description: 备注
  2008. type: string
  2009. spotgoodsdesc:
  2010. description: 商品型号
  2011. type: string
  2012. unitid:
  2013. description: 单位id
  2014. type: integer
  2015. updatetime:
  2016. description: 更新时间
  2017. type: string
  2018. wrstandardid:
  2019. description: 现货商品ID
  2020. type: integer
  2021. wrstandardname:
  2022. description: 现货商品名称
  2023. type: string
  2024. type: object
  2025. ermcp.QryMGChangeLogRsp:
  2026. properties:
  2027. aftervalue:
  2028. description: 变更后
  2029. type: number
  2030. applyid:
  2031. description: 操作人
  2032. type: integer
  2033. applyname:
  2034. description: 操作人名称
  2035. type: string
  2036. applysrc:
  2037. description: 操作来源 - 1:管理端 2:终端
  2038. type: integer
  2039. beforevalue:
  2040. description: 变更前
  2041. type: number
  2042. changelogtype:
  2043. description: 变更流水类型 - 1:套保比率变更
  2044. type: integer
  2045. handlestatus:
  2046. description: 处理状态
  2047. type: integer
  2048. logdatetime:
  2049. description: 流水日期
  2050. type: string
  2051. logid:
  2052. description: 流水ID
  2053. type: integer
  2054. logremark:
  2055. description: 流水备注
  2056. type: string
  2057. middlegoodsid:
  2058. description: 套保品种ID
  2059. type: integer
  2060. tradedate:
  2061. description: 交易日(yyyyMMdd)
  2062. type: string
  2063. updatetime:
  2064. description: 更新时间
  2065. type: string
  2066. type: object
  2067. ermcp.QryMiddleGoodsDetailRsp:
  2068. properties:
  2069. cvList:
  2070. description: 期货品种折算列表
  2071. items:
  2072. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2073. type: array
  2074. mg:
  2075. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2076. description: 套保品种基本信息
  2077. wrcList:
  2078. description: 现货品种列表(现货商品折算配置)
  2079. items:
  2080. $ref: '#/definitions/models.WRSConverTDetail'
  2081. type: array
  2082. type: object
  2083. ermcp.QryMiddleGoodsRsp:
  2084. properties:
  2085. areauserid:
  2086. description: 机构用户ID
  2087. type: integer
  2088. createtime:
  2089. description: 修改时间
  2090. type: string
  2091. enumdicname:
  2092. description: 单位名称
  2093. type: string
  2094. evaluateratio:
  2095. description: 估价系数
  2096. type: number
  2097. goodsgroupid:
  2098. description: 关联期货品种ID
  2099. type: integer
  2100. isvalid:
  2101. description: 状态 0-无效(停用) 1-有效(正常)
  2102. type: integer
  2103. middlegoodscode:
  2104. description: 套保品种代码
  2105. type: string
  2106. middlegoodsid:
  2107. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2108. type: integer
  2109. middlegoodsname:
  2110. description: 套保品种名称
  2111. type: string
  2112. modifytime:
  2113. description: 修改时间
  2114. type: string
  2115. needhedgeratio:
  2116. description: 套保比率
  2117. type: number
  2118. qtydecimalplace:
  2119. description: 数量小数位
  2120. type: integer
  2121. relatedgoodsid:
  2122. description: 关联交易商品ID
  2123. type: integer
  2124. relatedgoodstype:
  2125. description: 关联商品类型 - 1:期货合约 2:现货品种
  2126. type: integer
  2127. remark:
  2128. description: 备注
  2129. type: string
  2130. type: object
  2131. ermcp.QryOPLogRsp:
  2132. properties:
  2133. aftervalue:
  2134. description: 变更后
  2135. type: number
  2136. applyid:
  2137. description: 操作人ID
  2138. type: string
  2139. applyname:
  2140. description: 操作人名称
  2141. type: string
  2142. beforevalue:
  2143. description: 变更前
  2144. type: number
  2145. biztype:
  2146. description: 业务类型 - 1:套保计划 2:现货合同
  2147. type: integer
  2148. contracttype:
  2149. description: 现货合同类型 - 1:采购 -1:销售
  2150. type: integer
  2151. logvalue:
  2152. description: 数值
  2153. type: number
  2154. operatelogtype:
  2155. description: 操作流水类型
  2156. type: integer
  2157. operatelogtypedesc:
  2158. description: 操作流水类型名称
  2159. type: string
  2160. relatedid:
  2161. description: 现货合同ID\套保计划
  2162. type: string
  2163. updatetime:
  2164. description: 更新时间
  2165. type: string
  2166. type: object
  2167. ermcp.QryReportDaySpotDetailRsp:
  2168. properties:
  2169. applyid:
  2170. description: 操作人
  2171. type: integer
  2172. applyname:
  2173. description: 操作人名称
  2174. type: string
  2175. biztype:
  2176. description: 业务类型 - 1:套保计划 2:现货合同
  2177. type: integer
  2178. brandname:
  2179. description: 品牌名称
  2180. type: string
  2181. contracttype:
  2182. description: 现货合同类型 - 1:采购 -1:销售
  2183. type: integer
  2184. enumdicName:
  2185. description: 单位名称
  2186. type: string
  2187. logdatetime:
  2188. description: 流水日期(时间)
  2189. type: string
  2190. logid:
  2191. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2192. type: string
  2193. logtypename:
  2194. description: 合同类型(名称)
  2195. type: string
  2196. logvalue:
  2197. description: 数值
  2198. type: string
  2199. modelname:
  2200. description: 型号名称
  2201. type: string
  2202. operatelogtype:
  2203. description: 操作流水类型 -
  2204. type: integer
  2205. optypename:
  2206. description: 流水类型名称
  2207. type: string
  2208. relatedid:
  2209. description: 现货合同ID\套保计划
  2210. type: string
  2211. relatedno:
  2212. description: 合同编号
  2213. type: string
  2214. tradedate:
  2215. description: 交易日(yyyyMMdd)
  2216. type: string
  2217. userid:
  2218. description: 机构ID
  2219. type: integer
  2220. wrstandardcode:
  2221. description: 现货商品代码
  2222. type: string
  2223. wrstandardid:
  2224. description: 现货商品ID
  2225. type: integer
  2226. wrstandardname:
  2227. description: 现货商品名称
  2228. type: string
  2229. type: object
  2230. ermcp.QryReportExposureDayRsp:
  2231. properties:
  2232. areauserid:
  2233. description: 所属机构
  2234. type: integer
  2235. buyfutureqty:
  2236. description: 买入期货数量
  2237. type: number
  2238. buyplanqty:
  2239. description: 采购计划数量
  2240. type: number
  2241. buypricedqty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. diffFutuQty:
  2245. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2246. type: number
  2247. diffSpotQty:
  2248. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2249. type: number
  2250. enumdicname:
  2251. description: 单位名称
  2252. type: string
  2253. middlegoodscode:
  2254. description: 套保品种代码
  2255. type: string
  2256. middlegoodshedgeratio:
  2257. description: 应套保比例
  2258. type: number
  2259. middlegoodsid:
  2260. description: 套保品种ID
  2261. type: integer
  2262. middlegoodsname:
  2263. description: 套保品种名称
  2264. type: string
  2265. needhedgeexposoure:
  2266. description: 应套保敞口
  2267. type: number
  2268. needhedgeratio:
  2269. description: 应套保敞口比例
  2270. type: number
  2271. oriTotalFutuQty:
  2272. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2273. type: number
  2274. oriTotalSpotQty:
  2275. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2276. type: number
  2277. oribuyfutureqty:
  2278. description: 期初买入期货数量
  2279. type: number
  2280. oribuyplanqty:
  2281. description: 期初采购计划数量
  2282. type: number
  2283. oribuypricedqty:
  2284. description: 期初采购合同已定价数量
  2285. type: number
  2286. orisellfutureqty:
  2287. description: 期初卖出期货数量
  2288. type: number
  2289. orisellplanqty:
  2290. description: 期初销售计划数量
  2291. type: number
  2292. orisellpricedqty:
  2293. description: 期初销售合同已定价数量
  2294. type: number
  2295. reckondate:
  2296. description: 日照时期(yyyyMMdd)
  2297. type: string
  2298. sellfutureqty:
  2299. description: 卖出期货数量
  2300. type: number
  2301. sellplanqty:
  2302. description: 销售计划数量
  2303. type: number
  2304. sellpricedqty:
  2305. description: 销售合同已定价数量
  2306. type: number
  2307. totalexposure:
  2308. description: 总敞口
  2309. type: number
  2310. totalfutureqty:
  2311. description: 期货数量
  2312. type: number
  2313. totalhedgeratio:
  2314. description: 敞口比例
  2315. type: number
  2316. totalneedhedgeqty:
  2317. description: 期货应套保量
  2318. type: number
  2319. totalspotqty:
  2320. description: 现货数量
  2321. type: number
  2322. type: object
  2323. ermcp.QryReportFinanceDayRsp:
  2324. properties:
  2325. areauserid:
  2326. description: 所属机构
  2327. type: integer
  2328. collectinvoiceamount:
  2329. description: 今日开票金额
  2330. type: number
  2331. collectinvoicecount:
  2332. description: 今日开票笔数
  2333. type: integer
  2334. collectmoneyamount:
  2335. description: 今日收款金额
  2336. type: number
  2337. collectmoneycount:
  2338. description: 今日收款笔数
  2339. type: integer
  2340. payinvoiceamount:
  2341. description: 今日收票金额
  2342. type: number
  2343. payinvoicecount:
  2344. description: 今日收票笔数
  2345. type: integer
  2346. paymoneyamount:
  2347. description: 今日付款金额
  2348. type: number
  2349. paymoneycount:
  2350. description: 今日付款笔数
  2351. type: integer
  2352. reckondate:
  2353. description: 日照时期(yyyyMMdd)
  2354. type: string
  2355. updatetime:
  2356. description: 更新时间
  2357. type: string
  2358. type: object
  2359. ermcp.QryReportFinanceKxRsp:
  2360. properties:
  2361. applyid:
  2362. description: 操作人
  2363. type: integer
  2364. applyname:
  2365. description: 操作人名称
  2366. type: string
  2367. biztype:
  2368. description: 业务类型 - 1:套保计划 2:现货合同
  2369. type: integer
  2370. brandname:
  2371. description: 品牌名称
  2372. type: string
  2373. contracttype:
  2374. description: 现货合同类型 - 1:采购 -1:销售
  2375. type: integer
  2376. enumdicName:
  2377. description: 单位名称
  2378. type: string
  2379. logdatetime:
  2380. description: 流水日期(时间)
  2381. type: string
  2382. logid:
  2383. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2384. type: string
  2385. logtypename:
  2386. description: 合同类型(名称)
  2387. type: string
  2388. logvalue:
  2389. description: 数值
  2390. type: string
  2391. modelname:
  2392. description: 型号名称
  2393. type: string
  2394. operatelogtype:
  2395. description: 操作流水类型 -
  2396. type: integer
  2397. optypename:
  2398. description: 流水类型名称
  2399. type: string
  2400. relatedid:
  2401. description: 现货合同ID\套保计划
  2402. type: string
  2403. relatedno:
  2404. description: 合同编号
  2405. type: string
  2406. tradedate:
  2407. description: 交易日(yyyyMMdd)
  2408. type: string
  2409. userid:
  2410. description: 机构ID
  2411. type: integer
  2412. wrstandardcode:
  2413. description: 现货商品代码
  2414. type: string
  2415. wrstandardid:
  2416. description: 现货商品ID
  2417. type: integer
  2418. wrstandardname:
  2419. description: 现货商品名称
  2420. type: string
  2421. type: object
  2422. ermcp.QryReportFinanceMonRsp:
  2423. properties:
  2424. areauserid:
  2425. description: 所属机构【原值】
  2426. type: integer
  2427. collectinvoiceamount:
  2428. description: 今日开票金额【汇总】
  2429. type: number
  2430. collectinvoicecount:
  2431. description: 今日开票笔数【汇总】
  2432. type: integer
  2433. collectmoneyamount:
  2434. description: 今日收款金额【汇总】
  2435. type: number
  2436. collectmoneycount:
  2437. description: 今日收款笔数 【汇总】
  2438. type: integer
  2439. cycletime:
  2440. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2441. type: string
  2442. cycletype:
  2443. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2444. type: integer
  2445. dayFr:
  2446. description: 日报表明细
  2447. items:
  2448. $ref: '#/definitions/models.ErmcpReportDayFR'
  2449. type: array
  2450. payinvoiceamount:
  2451. description: 今日收票金额【汇总】
  2452. type: number
  2453. payinvoicecount:
  2454. description: 今日收票笔数【汇总】
  2455. type: integer
  2456. paymoneyamount:
  2457. description: 今日付款金额【汇总】
  2458. type: number
  2459. paymoneycount:
  2460. description: 今日付款笔数【汇总】
  2461. type: integer
  2462. updatetime:
  2463. description: 更新时间
  2464. type: string
  2465. type: object
  2466. ermcp.QryReportSpotDayRsp:
  2467. properties:
  2468. areauserid:
  2469. description: 所属机构T
  2470. type: integer
  2471. buyinqty:
  2472. description: 采购入库量
  2473. type: number
  2474. enumdicname:
  2475. description: 现货商品单位名称
  2476. type: string
  2477. reckondate:
  2478. description: 日照时期(yyyyMMdd)
  2479. type: string
  2480. selloutqty:
  2481. description: 销售出库量
  2482. type: number
  2483. todaybuyreckonqty:
  2484. description: 采购确定量
  2485. type: number
  2486. todaysellreckonqty:
  2487. description: 销售确定量
  2488. type: number
  2489. totalbuypricedqty:
  2490. description: 采购定价量 = 期末 - 期初
  2491. type: number
  2492. totalsellpricedqty:
  2493. description: 销售定价量 = 期末 - 期初
  2494. type: number
  2495. wrstandardcode:
  2496. description: 现货商品代码
  2497. type: string
  2498. wrstandardid:
  2499. description: 现货商品ID
  2500. type: integer
  2501. wrstandardname:
  2502. description: 现货商品名称
  2503. type: string
  2504. type: object
  2505. ermcp.QryReportSpotMonRsp:
  2506. properties:
  2507. areauserid:
  2508. description: 所属机构T
  2509. type: integer
  2510. buyinqty:
  2511. description: 采购入库量
  2512. type: number
  2513. cycletime:
  2514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2515. type: string
  2516. cycletype:
  2517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2518. type: integer
  2519. enumdicname:
  2520. description: 现货商品单位名称
  2521. type: string
  2522. selloutqty:
  2523. description: 销售出库量
  2524. type: number
  2525. todaybuyreckonqty:
  2526. description: 采购确定量
  2527. type: number
  2528. todaysellreckonqty:
  2529. description: 销售确定量
  2530. type: number
  2531. totalbuypricedqty:
  2532. description: 采购定价量 = 期末 - 期初
  2533. type: number
  2534. totalsellpricedqty:
  2535. description: 销售定价量 = 期末 - 期初
  2536. type: number
  2537. wrstandardcode:
  2538. description: 现货商品代码
  2539. type: string
  2540. wrstandardid:
  2541. description: 现货商品ID
  2542. type: integer
  2543. wrstandardname:
  2544. description: 现货商品名称
  2545. type: string
  2546. type: object
  2547. ermcp.QryReportSpotMonthDetailRsp:
  2548. properties:
  2549. areauserid:
  2550. description: 所属机构T
  2551. type: integer
  2552. buyinqty:
  2553. description: 采购入库量
  2554. type: number
  2555. enumdicname:
  2556. description: 现货商品单位名称
  2557. type: string
  2558. reckondate:
  2559. description: 日照时期(yyyyMMdd)
  2560. type: string
  2561. selloutqty:
  2562. description: 销售出库量
  2563. type: number
  2564. todaybuyreckonqty:
  2565. description: 采购确定量
  2566. type: number
  2567. todaysellreckonqty:
  2568. description: 销售确定量
  2569. type: number
  2570. totalbuypricedqty:
  2571. description: 采购定价量 = 期末 - 期初
  2572. type: number
  2573. totalsellpricedqty:
  2574. description: 销售定价量 = 期末 - 期初
  2575. type: number
  2576. wrstandardcode:
  2577. description: 现货商品代码
  2578. type: string
  2579. wrstandardid:
  2580. description: 现货商品ID
  2581. type: integer
  2582. wrstandardname:
  2583. description: 现货商品名称
  2584. type: string
  2585. type: object
  2586. ermcp.QrySpotContractRsp:
  2587. properties:
  2588. amount:
  2589. description: 金额 [1:一口价、3:暂定价]
  2590. type: number
  2591. attachment:
  2592. description: 附件
  2593. type: string
  2594. auditremark:
  2595. description: 审核意见
  2596. type: string
  2597. audittime:
  2598. description: 审核时间
  2599. type: string
  2600. brandname:
  2601. description: 品牌名称
  2602. type: string
  2603. buyuserid:
  2604. description: 采购方ID
  2605. type: integer
  2606. buyusername:
  2607. description: 采购方名称
  2608. type: string
  2609. contracctstatus:
  2610. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2611. type: integer
  2612. contractmargin:
  2613. description: 合同保证金
  2614. type: number
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contracttype:
  2619. description: 现货合同类型 - 1:采购 -1:销售
  2620. type: integer
  2621. convertfactor:
  2622. description: 标仓系数
  2623. type: number
  2624. createtime:
  2625. description: 创建时间
  2626. type: string
  2627. deliveryenddate:
  2628. description: 交收期(结束)
  2629. type: string
  2630. deliverygoodscode:
  2631. description: 现货品种代码
  2632. type: string
  2633. deliverygoodsid:
  2634. description: 现货品种ID
  2635. type: integer
  2636. deliverygoodsname:
  2637. description: 现货品种名称
  2638. type: string
  2639. deliverystartdate:
  2640. description: 交收期(开始)
  2641. type: string
  2642. enddate:
  2643. description: 点价结束日期 [2:点价 3:暂定价]
  2644. type: string
  2645. enumdicname:
  2646. description: 单位名称
  2647. type: string
  2648. goodscode:
  2649. description: 点价合约代码
  2650. type: string
  2651. goodsid:
  2652. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2653. type: integer
  2654. goodsname:
  2655. description: 点价商品名称
  2656. type: string
  2657. margin:
  2658. description: 当前保证金
  2659. type: number
  2660. modelname:
  2661. description: 型号名称
  2662. type: string
  2663. price:
  2664. description: 价格\暂定价 [1:一口价、3:暂定价]
  2665. type: number
  2666. pricemove:
  2667. description: 升贴水 [2:点价 3:暂定价]
  2668. type: number
  2669. pricetype:
  2670. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2671. type: integer
  2672. producttype:
  2673. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2674. type: integer
  2675. qty:
  2676. description: 数量
  2677. type: number
  2678. remark:
  2679. description: 备注
  2680. type: string
  2681. selluserid:
  2682. description: 销售方ID
  2683. type: integer
  2684. sellusername:
  2685. description: 销售方名称
  2686. type: string
  2687. spotcontractid:
  2688. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2689. type: string
  2690. spotgoodsbrandid:
  2691. description: 现货品牌ID
  2692. type: integer
  2693. spotgoodsdesc:
  2694. description: 商品型号
  2695. type: string
  2696. spotgoodsmodelid:
  2697. description: 现货型号ID
  2698. type: integer
  2699. startdate:
  2700. description: 点价开始日期 [2:点价 3:暂定价]
  2701. type: string
  2702. updatetime:
  2703. description: 更新时间
  2704. type: string
  2705. userid:
  2706. description: 机构ID
  2707. type: integer
  2708. wrstandardcode:
  2709. description: 现货商品代码
  2710. type: string
  2711. wrstandardid:
  2712. description: 现货商品ID
  2713. type: integer
  2714. wrstandardname:
  2715. description: 现货商品名称
  2716. type: string
  2717. type: object
  2718. ermcp.QryUserInfoRsp:
  2719. properties:
  2720. address:
  2721. description: 通讯地址
  2722. type: string
  2723. attachment1:
  2724. description: 附件1
  2725. type: string
  2726. audittime:
  2727. description: 审核时间
  2728. type: string
  2729. cardfrontphotourl:
  2730. description: 证件正面图片地址
  2731. type: string
  2732. cardnum:
  2733. description: 证件号码
  2734. type: string
  2735. cardtype:
  2736. description: 证件类型
  2737. type: integer
  2738. cardtypename:
  2739. description: 证件类型名称
  2740. type: string
  2741. cityid:
  2742. description: 市
  2743. type: integer
  2744. countryid:
  2745. description: 国家
  2746. type: integer
  2747. createtime:
  2748. description: 创建时间
  2749. type: string
  2750. customername:
  2751. description: 企业名称
  2752. type: string
  2753. districtid:
  2754. description: 区域
  2755. type: integer
  2756. memberuserid:
  2757. description: 所属机构ID
  2758. type: integer
  2759. mobile:
  2760. description: 手机号码
  2761. type: string
  2762. modifytime:
  2763. description: 修改时间
  2764. type: string
  2765. provinceid:
  2766. description: 省
  2767. type: integer
  2768. remark:
  2769. description: 备注
  2770. type: string
  2771. status:
  2772. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2773. type: integer
  2774. statusdesc:
  2775. description: 账户状态中文描述
  2776. type: string
  2777. telphone:
  2778. description: 联系电话
  2779. type: string
  2780. userid:
  2781. description: 用户ID
  2782. type: integer
  2783. userinfotype:
  2784. description: 客户类型
  2785. type: string
  2786. type: object
  2787. ermcp.QryWarehouseRsp:
  2788. properties:
  2789. address:
  2790. description: 详细地址
  2791. type: string
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. autoid:
  2796. description: 自增ID(仓库ID)
  2797. type: integer
  2798. cityid:
  2799. description: 市
  2800. type: integer
  2801. contactname:
  2802. description: 联系人
  2803. type: string
  2804. contactnum:
  2805. description: 联系电话
  2806. type: string
  2807. countryid:
  2808. description: 国家
  2809. type: integer
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. districtid:
  2814. description: 区
  2815. type: integer
  2816. hasvideo:
  2817. description: 是否有视频 - 0:无 1:有
  2818. type: integer
  2819. provinceid:
  2820. description: 省
  2821. type: integer
  2822. remark:
  2823. description: 审核备注
  2824. type: string
  2825. videourl:
  2826. description: 视频地址
  2827. type: string
  2828. warehousecode:
  2829. description: 仓库代码
  2830. type: string
  2831. warehousename:
  2832. description: 仓库名称
  2833. type: string
  2834. warehousestatus:
  2835. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2836. type: integer
  2837. warehousetype:
  2838. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2839. type: integer
  2840. type: object
  2841. ermcp.QryWrStandardDetailRsp:
  2842. properties:
  2843. gbList:
  2844. description: 品牌列表
  2845. items:
  2846. $ref: '#/definitions/models.GoodsBrand'
  2847. type: array
  2848. goodsList:
  2849. description: 关联交易商品列表
  2850. items:
  2851. $ref: '#/definitions/models.RelatedGoodsEx'
  2852. type: array
  2853. gtList:
  2854. description: 型号列表
  2855. items:
  2856. $ref: '#/definitions/models.GoodsTypeModel'
  2857. type: array
  2858. wrd:
  2859. $ref: '#/definitions/models.ErmcpWrstandard'
  2860. description: 基本信息
  2861. wrsList:
  2862. description: 套保信息列表
  2863. items:
  2864. $ref: '#/definitions/models.WRSConverTDetail'
  2865. type: array
  2866. type: object
  2867. ermcp.QryWrStandardRsp:
  2868. properties:
  2869. areauserid:
  2870. description: 所属机构
  2871. type: integer
  2872. createtime:
  2873. description: 创建时间
  2874. type: string
  2875. creatorid:
  2876. description: 创建人
  2877. type: integer
  2878. deliverygoodsid:
  2879. description: 品种ID
  2880. type: integer
  2881. enumdicname:
  2882. description: 单位名称
  2883. type: string
  2884. isvalid:
  2885. description: 是否有效 0-无效(停用) 1-有效(正常)
  2886. type: integer
  2887. minivalue:
  2888. description: 最小变动值
  2889. type: integer
  2890. minivaluedp:
  2891. description: 最小变动值小数位
  2892. type: integer
  2893. realminivalue:
  2894. description: 实际最小变动值
  2895. type: integer
  2896. realminivaluedp:
  2897. description: 实际最小变动值小数位
  2898. type: integer
  2899. remark:
  2900. description: 备注
  2901. type: string
  2902. unitid:
  2903. description: 单位ID
  2904. type: integer
  2905. updatetime:
  2906. description: 更新时间
  2907. type: string
  2908. wrstandardcode:
  2909. description: 现货商品代码
  2910. type: string
  2911. wrstandardid:
  2912. description: 现货商品ID(SEQ_WRSTANDARD)
  2913. type: integer
  2914. wrstandardname:
  2915. description: 现货商品名称
  2916. type: string
  2917. type: object
  2918. ermcp.QueryAreaStockApplySumRsp:
  2919. properties:
  2920. brandname:
  2921. description: 品牌名称
  2922. type: string
  2923. inouttype:
  2924. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2925. type: integer
  2926. modelname:
  2927. description: 型号名称
  2928. type: string
  2929. spotcontractid:
  2930. description: 关联现货合同ID
  2931. type: string
  2932. spotgoodsbrandid:
  2933. description: 品牌id
  2934. type: integer
  2935. spotgoodsmodelid:
  2936. description: 型号id
  2937. type: integer
  2938. totalqty:
  2939. description: 总数量
  2940. type: number
  2941. type: object
  2942. ermcp.QueryErmcpTradePositionRsp:
  2943. properties:
  2944. agreeunit:
  2945. description: 合约单位
  2946. type: number
  2947. buyorsell:
  2948. description: 方向 - 0:买 1:卖
  2949. type: integer
  2950. curpositionqty:
  2951. description: 持仓(总仓数量, 期末头寸)
  2952. type: integer
  2953. curtdposition:
  2954. description: 今仓数量(期末今日头寸)
  2955. type: integer
  2956. curtdpositionenabled:
  2957. description: 今仓可用
  2958. type: integer
  2959. decimalplace:
  2960. description: 报价小数位
  2961. type: integer
  2962. enableqty:
  2963. description: 可用(总仓可用)
  2964. type: integer
  2965. exexchangename:
  2966. description: 外部交易所名称
  2967. type: string
  2968. goodscode:
  2969. description: 商品代码(内部)
  2970. type: string
  2971. goodsid:
  2972. description: 商品ID(自增ID SEQ_GOODS)
  2973. type: integer
  2974. goodsname:
  2975. description: 商品名称
  2976. type: string
  2977. last:
  2978. description: 现价
  2979. type: number
  2980. marketid:
  2981. description: 所属市场ID
  2982. type: integer
  2983. openaverageprice:
  2984. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2985. type: number
  2986. opencost:
  2987. description: 开仓成本
  2988. type: number
  2989. openpl:
  2990. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2991. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2992. type: number
  2993. outgoodscode:
  2994. description: 商品代码(外部)
  2995. type: string
  2996. positionaverageprice:
  2997. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2998. type: number
  2999. positioncost:
  3000. description: 持仓成本
  3001. type: number
  3002. positionpl:
  3003. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3004. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3005. type: number
  3006. positionplrate:
  3007. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3008. type: number
  3009. usedmargin:
  3010. description: 占用保证金
  3011. type: number
  3012. type: object
  3013. ermcp.RealtimeExposurePositionRsp:
  3014. properties:
  3015. agreeunit:
  3016. description: 合约单位
  3017. type: string
  3018. areauserid:
  3019. description: 所属机构id
  3020. type: integer
  3021. convertratio:
  3022. description: 期货品种系数(折算系数)
  3023. type: number
  3024. curqty:
  3025. description: 当前持仓
  3026. type: integer
  3027. diffhedgeqty:
  3028. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3029. type: number
  3030. diffqty:
  3031. description: 持仓变动量=当前持仓-昨日持仓
  3032. type: integer
  3033. goodscode:
  3034. description: 商品代码
  3035. type: string
  3036. goodsid:
  3037. description: 商品id
  3038. type: integer
  3039. goodsname:
  3040. description: 商品名称
  3041. type: string
  3042. middlegoodsid:
  3043. description: 套保商品id
  3044. type: integer
  3045. ydqty:
  3046. description: 昨日持仓
  3047. type: integer
  3048. type: object
  3049. ermcp.RealtimeExposureRsp:
  3050. properties:
  3051. AreaUserID:
  3052. description: 所属机构
  3053. type: integer
  3054. BuyFutureQty:
  3055. description: 买入期货数量
  3056. type: number
  3057. BuyPlanQty:
  3058. description: 采购计划数量
  3059. type: number
  3060. BuyPricedQty:
  3061. description: 采购合同已定价数量
  3062. type: number
  3063. MiddleGoodsCode:
  3064. description: 套保品种代码
  3065. type: string
  3066. MiddleGoodsHedgeRatio:
  3067. description: 应套保比例
  3068. type: number
  3069. MiddleGoodsID:
  3070. description: 套保品种
  3071. type: integer
  3072. MiddleGoodsName:
  3073. description: 套保品种名称
  3074. type: string
  3075. NeedHedgeExposoure:
  3076. description: 应套保敞口
  3077. type: number
  3078. NeedHedgeRatio:
  3079. description: 应套保敞口比例
  3080. type: number
  3081. OriBuyFutureQty:
  3082. description: 期初买入期货数量
  3083. type: number
  3084. OriBuyPlanQty:
  3085. description: 期初采购计划数量
  3086. type: number
  3087. OriBuyPricedQty:
  3088. description: 期初采购合同已定价数量
  3089. type: number
  3090. OriSellFutureQty:
  3091. description: 期初卖出期货数量
  3092. type: number
  3093. OriSellPlanQty:
  3094. description: 期初销售计划数量
  3095. type: number
  3096. OriSellPricedQty:
  3097. description: 期初销售合同已定价数量
  3098. type: number
  3099. SellFutureQty:
  3100. description: 卖出期货数量
  3101. type: number
  3102. SellPlanQty:
  3103. description: 销售计划数量
  3104. type: number
  3105. SellPricedQty:
  3106. description: 销售合同已定价数量
  3107. type: number
  3108. TotalExposure:
  3109. description: 总敞口
  3110. type: number
  3111. TotalFutureQty:
  3112. description: 期货数量
  3113. type: number
  3114. TotalHedgeRatio:
  3115. description: 敞口比例
  3116. type: number
  3117. TotalNeedHedgeQty:
  3118. description: 期货应套保量
  3119. type: number
  3120. TotalSpotQty:
  3121. description: 现货数量
  3122. type: number
  3123. diffFutuQty:
  3124. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3125. type: number
  3126. diffSpotQty:
  3127. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3128. type: number
  3129. enumdicname:
  3130. description: 单位名称
  3131. type: string
  3132. oriTotalFutuQty:
  3133. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3134. type: number
  3135. oriTotalSpotQty:
  3136. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3137. type: number
  3138. type: object
  3139. erms2.QueryArbitrageStrategyRsp:
  3140. properties:
  3141. applybasis:
  3142. description: 申请基差
  3143. type: number
  3144. asapplyid:
  3145. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3146. type: string
  3147. asname:
  3148. description: 策略名称
  3149. type: string
  3150. asno:
  3151. description: 策略编号
  3152. type: string
  3153. basischangepl:
  3154. description: 基差变动损益[结算更新]
  3155. type: number
  3156. biztype:
  3157. description: 业务类型 - 1:正向套利 -1:反向套利
  3158. type: integer
  3159. closetradedate:
  3160. description: 完结交易日(yyyyMMdd)
  3161. type: string
  3162. curbasis:
  3163. description: 当前基差[结算更新]
  3164. type: number
  3165. deliverygoodsid:
  3166. description: 现货品种ID
  3167. type: integer
  3168. futureavgprice:
  3169. description: 期货建仓均价
  3170. type: number
  3171. futurecloseamount:
  3172. description: 期货平仓金额
  3173. type: number
  3174. futurecloseqty:
  3175. description: 期货平仓数量
  3176. type: number
  3177. futureopenamount:
  3178. description: 期货开仓金额
  3179. type: number
  3180. futureopenqty:
  3181. description: 期货开仓数量
  3182. type: number
  3183. futurepl:
  3184. description: 期货总盈亏[结算更新]
  3185. type: number
  3186. futureqty:
  3187. description: 期货持仓数量
  3188. type: number
  3189. futurequote:
  3190. description: 期货额度
  3191. type: number
  3192. goodsgroupid:
  3193. description: 期货品种ID
  3194. type: integer
  3195. marketid:
  3196. description: 市场ID
  3197. type: integer
  3198. netexposure:
  3199. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3200. type: number
  3201. netexposurepl:
  3202. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3203. type: number
  3204. netexposurerate:
  3205. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3206. type: number
  3207. openbasis:
  3208. description: 建仓基差
  3209. type: number
  3210. pricedspotqty:
  3211. description: 已定价现货数量
  3212. type: number
  3213. pricedspotqtynotax:
  3214. description: 已定价现货不含税数量
  3215. type: number
  3216. remark:
  3217. description: 备注
  3218. type: string
  3219. spotavgprice:
  3220. description: 现货均价
  3221. type: number
  3222. spotbuyamount:
  3223. description: 现货采购金额
  3224. type: number
  3225. spotbuyqty:
  3226. description: 现货采购数量
  3227. type: number
  3228. spotpl:
  3229. description: 现货总盈亏[结算更新]
  3230. type: number
  3231. spotquota:
  3232. description: 现货额度
  3233. type: number
  3234. spotsellamount:
  3235. description: 现货销售金额
  3236. type: number
  3237. spotsellqty:
  3238. description: 现货销售数量
  3239. type: number
  3240. spotusedquota:
  3241. description: 现货占用资金
  3242. type: number
  3243. strategystatus:
  3244. description: 策略状态 - 0:未结束 1:已结束
  3245. type: integer
  3246. totalpl:
  3247. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3248. type: number
  3249. tradedate:
  3250. description: 交易日(yyyyMMdd)
  3251. type: string
  3252. updatetime:
  3253. description: 更新时间
  3254. type: string
  3255. usedquota:
  3256. description: 已占用资金
  3257. type: number
  3258. userid:
  3259. description: 所属机构
  3260. type: integer
  3261. required:
  3262. - asapplyid
  3263. type: object
  3264. erms2.QueryInnerTradeDetailRsp:
  3265. properties:
  3266. accountid:
  3267. description: 账号ID
  3268. type: integer
  3269. agreeunit:
  3270. description: 合约单位
  3271. type: number
  3272. asapplyid:
  3273. description: 策略申请ID
  3274. type: integer
  3275. asname:
  3276. description: 策略名称
  3277. type: string
  3278. asno:
  3279. description: 策略编号
  3280. type: string
  3281. buyorsell:
  3282. description: 方向 - 0:买 1:卖
  3283. type: integer
  3284. channelbuildtype:
  3285. description: 委托单据类型 0:无 1:建仓 2:平仓
  3286. type: integer
  3287. closetype:
  3288. description: 平仓方式 - 0:无 1:平今 2:平昨
  3289. type: integer
  3290. decimalplace:
  3291. description: 报价小数位
  3292. type: integer
  3293. detailtype:
  3294. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3295. type: integer
  3296. exexchangecode:
  3297. description: 外部交易所代码
  3298. type: string
  3299. exexchangename:
  3300. description: 外部交易所名称
  3301. type: string
  3302. goodscode:
  3303. description: 商品代码(合约)
  3304. type: string
  3305. goodsgroupid:
  3306. description: 商品组ID(品种ID)
  3307. type: integer
  3308. goodsgroupname:
  3309. description: 商品组名称(品种)
  3310. type: string
  3311. goodsid:
  3312. description: 商品ID
  3313. type: integer
  3314. goodsname:
  3315. description: 商品名称(合约)
  3316. type: string
  3317. goodunit:
  3318. description: 报价单位
  3319. type: string
  3320. marketid:
  3321. description: 市场ID
  3322. type: integer
  3323. orderid:
  3324. description: 委托单号
  3325. type: string
  3326. outgoodscode:
  3327. description: 商品代码(外部)
  3328. type: string
  3329. relatedouttradeid:
  3330. description: 关联外部成交单ID
  3331. type: string
  3332. remark:
  3333. description: 备注
  3334. type: string
  3335. spotcontractid:
  3336. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3337. type: integer
  3338. spotcontractno:
  3339. description: 现货合同编号
  3340. type: string
  3341. tradeid:
  3342. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3343. type: string
  3344. tradeprice:
  3345. description: 成交价格
  3346. type: number
  3347. tradeqty:
  3348. description: 成交数量
  3349. type: integer
  3350. tradetime:
  3351. description: 成交时间
  3352. type: string
  3353. updatetime:
  3354. description: 更新时间
  3355. type: string
  3356. required:
  3357. - asapplyid
  3358. - buyorsell
  3359. - goodscode
  3360. - goodsgroupid
  3361. - goodsgroupname
  3362. - goodsname
  3363. - tradeid
  3364. type: object
  3365. erms2.QuerySpotContractRsp:
  3366. properties:
  3367. accountid:
  3368. description: 资金账户ID
  3369. type: integer
  3370. areauserid:
  3371. description: 所属机构
  3372. type: integer
  3373. closedate:
  3374. description: 终止日期
  3375. type: string
  3376. closeremark:
  3377. description: 结束备注
  3378. type: string
  3379. closetradedate:
  3380. description: 完结交易日(yyyyMMdd)
  3381. type: string
  3382. closetype:
  3383. description: 终止类型 - 1:违约 2:提前终止
  3384. type: integer
  3385. contractamount:
  3386. description: 合同金额
  3387. type: number
  3388. contractattachment:
  3389. description: 合同附件
  3390. type: string
  3391. contractno:
  3392. description: 现货合同编号
  3393. type: string
  3394. contractqty:
  3395. description: 合同数量(数值) (用于计算)
  3396. type: number
  3397. contractqtychar:
  3398. description: 合同数量\已订价数量 (用于显示)
  3399. type: string
  3400. contractstatus:
  3401. description: 合同状态 - 0:未结束 1:已结束
  3402. type: integer
  3403. contracttype:
  3404. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3405. type: integer
  3406. customeraccountid:
  3407. description: 客户资金账户ID
  3408. type: integer
  3409. customeruserid:
  3410. description: 客户ID
  3411. type: integer
  3412. deliverygoodsdesc:
  3413. description: 品种说明
  3414. type: string
  3415. deliverygoodsid:
  3416. description: 现货品种ID
  3417. type: integer
  3418. handlestatus:
  3419. description: 处理状态
  3420. type: integer
  3421. invoiceatt:
  3422. description: 发票附件
  3423. type: string
  3424. invoicedatetime:
  3425. description: 开收票更新时间
  3426. type: string
  3427. invoiceopentime:
  3428. description: 开票时间
  3429. type: string
  3430. invoiceremark:
  3431. description: 发票备注
  3432. type: string
  3433. invoicestatus:
  3434. description: 开收票状态 - 0:未开票 1:已开票
  3435. type: integer
  3436. lastdate:
  3437. description: 交货时间
  3438. type: string
  3439. marketid:
  3440. description: 市场ID
  3441. type: integer
  3442. paydatetime:
  3443. description: 收付款更新时间
  3444. type: string
  3445. payremark:
  3446. description: 收付款备注
  3447. type: string
  3448. paystatus:
  3449. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3450. type: integer
  3451. positionqty:
  3452. description: 头寸数量 - 合同数量去小数部分
  3453. type: integer
  3454. producttype:
  3455. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3456. type: integer
  3457. relatedqty:
  3458. description: 已关联数量
  3459. type: number
  3460. relatedstatus:
  3461. description: 关联完结状态 - 0:未结束 1:已结束
  3462. type: integer
  3463. remark:
  3464. description: 备注
  3465. type: string
  3466. signdate:
  3467. description: 签订日期
  3468. type: string
  3469. spotcontractid:
  3470. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3471. type: string
  3472. spotdatetime:
  3473. description: 收发货更新时间
  3474. type: string
  3475. spotprice:
  3476. description: 价格
  3477. type: number
  3478. spotremark:
  3479. description: 收发货备注
  3480. type: string
  3481. spotstatus:
  3482. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3483. type: integer
  3484. tradedate:
  3485. description: 交易日(yyyyMMdd)
  3486. type: string
  3487. userid:
  3488. description: 业务员用户ID
  3489. type: integer
  3490. warehouseid:
  3491. description: 仓库ID
  3492. type: integer
  3493. wrfactortypeid:
  3494. description: 仓单要素类型ID
  3495. type: integer
  3496. wrstandardid:
  3497. description: 仓单标准ID(SEQ_WRSTANDARD)
  3498. type: integer
  3499. required:
  3500. - spotcontractid
  3501. type: object
  3502. erms3.AddErms2ASApplyReq:
  3503. properties:
  3504. applybasis:
  3505. description: 申请基差
  3506. type: number
  3507. applystatus:
  3508. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3509. type: integer
  3510. asapplyid:
  3511. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3512. type: integer
  3513. asname:
  3514. description: 策略名称
  3515. type: string
  3516. asno:
  3517. description: 策略编号
  3518. type: string
  3519. auditid:
  3520. description: 审核人
  3521. type: integer
  3522. auditremark:
  3523. description: 审核备注
  3524. type: string
  3525. audittime:
  3526. description: 审核时间
  3527. type: string
  3528. biztype:
  3529. description: 业务类型 - 1:正向套利 2:反向套利
  3530. type: integer
  3531. createtime:
  3532. description: 创建时间
  3533. type: string
  3534. creatorid:
  3535. description: 创建人
  3536. type: integer
  3537. deliverygoodsid:
  3538. description: 现货品种ID
  3539. type: integer
  3540. futurequote:
  3541. description: 期货额度
  3542. type: number
  3543. goodsgroupid:
  3544. description: 期货品种ID
  3545. type: integer
  3546. marketid:
  3547. description: 市场ID
  3548. type: integer
  3549. remark:
  3550. description: 备注
  3551. type: string
  3552. spotquota:
  3553. description: 现货额度
  3554. type: number
  3555. tradedate:
  3556. description: 交易日(yyyyMMdd)
  3557. type: string
  3558. userid:
  3559. description: 所属机构
  3560. type: integer
  3561. required:
  3562. - asapplyid
  3563. type: object
  3564. erms3.AddErms2SpotTradeApplyReq:
  3565. properties:
  3566. applyjsondetail:
  3567. description: 申请明细(JSON)
  3568. type: string
  3569. applystatus:
  3570. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3571. type: integer
  3572. areauserid:
  3573. description: 所属机构
  3574. type: integer
  3575. auditid:
  3576. description: 审核人
  3577. type: integer
  3578. auditremark:
  3579. description: 审核备注
  3580. type: string
  3581. audittime:
  3582. description: 审核时间
  3583. type: string
  3584. createtime:
  3585. description: 创建时间
  3586. type: string
  3587. creatorid:
  3588. description: 创建人
  3589. type: integer
  3590. deliverygoodsid:
  3591. description: 现货品种ID
  3592. type: integer
  3593. futureaccountid:
  3594. description: 期货资金账户
  3595. type: integer
  3596. goodsgroupid:
  3597. description: 期货品种
  3598. type: integer
  3599. marketid:
  3600. description: 市场ID
  3601. type: integer
  3602. remark:
  3603. description: 备注
  3604. type: string
  3605. spotaccountid:
  3606. description: 现货资金账户
  3607. type: integer
  3608. spottradeid:
  3609. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3610. type: integer
  3611. spottradename:
  3612. description: 业务名称
  3613. type: string
  3614. spottradeno:
  3615. description: 业务编号
  3616. type: string
  3617. tradedate:
  3618. description: 交易日(yyyyMMdd)
  3619. type: string
  3620. wrstandardid:
  3621. description: 仓单标准ID
  3622. type: integer
  3623. required:
  3624. - spottradeid
  3625. type: object
  3626. erms3.AddSpotContractApplyReq:
  3627. properties:
  3628. accountid:
  3629. description: 资金账户ID
  3630. type: integer
  3631. areauserid:
  3632. description: 所属机构
  3633. type: integer
  3634. contractattachment:
  3635. description: 合同附件
  3636. type: string
  3637. contractno:
  3638. description: 现货合同编号
  3639. type: string
  3640. contracttype:
  3641. description: 现货合同类型 - 1:采购 -1:销售
  3642. type: integer
  3643. creatorid:
  3644. description: 申请人
  3645. type: integer
  3646. customeraccountid:
  3647. description: 客户资金账户ID
  3648. type: integer
  3649. customeruserid:
  3650. description: 客户ID
  3651. type: integer
  3652. details:
  3653. description: 明细
  3654. items:
  3655. $ref: '#/definitions/erms3.SoptContractDetail'
  3656. type: array
  3657. orimargin:
  3658. description: 初始保证金
  3659. type: number
  3660. remark:
  3661. description: 备注
  3662. type: string
  3663. signdate:
  3664. description: 签订日期
  3665. type: string
  3666. required:
  3667. - accountid
  3668. - areauserid
  3669. - contractno
  3670. - contracttype
  3671. - customeraccountid
  3672. - customeruserid
  3673. - details
  3674. - orimargin
  3675. - signdate
  3676. type: object
  3677. erms3.AddSpotContractApplyRsp:
  3678. properties:
  3679. contractno:
  3680. description: 现货合同编号
  3681. type: string
  3682. spotcontractid:
  3683. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3684. type: integer
  3685. required:
  3686. - contractno
  3687. type: object
  3688. erms3.AddUserInfoApplyReq:
  3689. properties:
  3690. accountid:
  3691. description: 交易系统帐号Id (加密存储)
  3692. type: integer
  3693. areacode:
  3694. description: 机构代码
  3695. type: string
  3696. areaid:
  3697. description: 机构Id
  3698. type: integer
  3699. attachment1:
  3700. description: 附件1
  3701. type: string
  3702. attachment2:
  3703. description: 附件2
  3704. type: string
  3705. attachment3:
  3706. description: 附件3
  3707. type: string
  3708. attachment4:
  3709. description: 附件4
  3710. type: string
  3711. attachment5:
  3712. description: 附件5
  3713. type: string
  3714. auditedby:
  3715. description: 审核人
  3716. type: string
  3717. auditime:
  3718. description: 审核时间
  3719. type: string
  3720. bankaccount:
  3721. description: 银行帐号 (加密存储)
  3722. type: string
  3723. bankaccountname:
  3724. description: 收款人名称
  3725. type: string
  3726. bankcardbackphotourl:
  3727. description: 银行卡背面照地址
  3728. type: string
  3729. bankcardfrontphotourl:
  3730. description: 银行卡正面照地址
  3731. type: string
  3732. bankid:
  3733. description: 银行编码
  3734. type: string
  3735. bankname:
  3736. description: 银行名称
  3737. type: string
  3738. bankpictureurl:
  3739. description: 银行卡正面地址
  3740. type: string
  3741. biznature:
  3742. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3743. type: integer
  3744. bizscope:
  3745. description: 企业经营范围(企业)
  3746. type: string
  3747. biztype:
  3748. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3749. type: integer
  3750. brokerid:
  3751. description: 经纪人ID(加密存储)
  3752. type: string
  3753. cardaddress:
  3754. description: 证件地址 (加密存储)
  3755. type: string
  3756. cardbackphotourl:
  3757. description: 背面证件照地址
  3758. type: string
  3759. cardfrontphotourl:
  3760. description: 正面证件照地址
  3761. type: string
  3762. cardnum:
  3763. description: 证件号码 (加密存储)
  3764. type: string
  3765. cardtype:
  3766. description: 证件类型
  3767. type: integer
  3768. cityid:
  3769. description: 市
  3770. type: integer
  3771. company:
  3772. description: 公司(个人)
  3773. type: string
  3774. contactcardbackphotourl:
  3775. description: 联系人证件背面图片地址
  3776. type: string
  3777. contactcardfrontphotourl:
  3778. description: 联系人证件正面图片地址
  3779. type: string
  3780. contactname:
  3781. description: 联系人
  3782. type: string
  3783. countryid:
  3784. description: 国家
  3785. type: integer
  3786. createtime:
  3787. description: 开户申请时间
  3788. type: string
  3789. cusbankid:
  3790. description: 签约类型
  3791. type: string
  3792. cusbankname:
  3793. description: 签约类型名称
  3794. type: string
  3795. customername:
  3796. description: 客户名称(企业名称)
  3797. type: string
  3798. districtid:
  3799. description: 地区
  3800. type: integer
  3801. email:
  3802. description: Email地址(加密存储)
  3803. type: string
  3804. halfbodyphotourl:
  3805. description: 半身照地址
  3806. type: string
  3807. headurl:
  3808. description: 头像地址
  3809. type: string
  3810. ipaddress:
  3811. description: IP地址
  3812. type: string
  3813. isvalidate:
  3814. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3815. type: string
  3816. legalcardbackphotourl:
  3817. description: 法人身份证背面照地址
  3818. type: string
  3819. legalcardfrontphotourl:
  3820. description: 法人身份证正面照地址
  3821. type: string
  3822. legalpersonname:
  3823. description: 法人姓名(企业)
  3824. type: string
  3825. logincode:
  3826. description: 登录帐号 (加密存储)
  3827. type: string
  3828. memberareaid:
  3829. description: 所属会员ID
  3830. type: integer
  3831. mobile2:
  3832. description: 手机号码[明文-尚志]
  3833. type: string
  3834. mobilephone:
  3835. description: 手机号码 (加密存储)
  3836. type: string
  3837. modifiedby:
  3838. description: 修改人帐号
  3839. type: integer
  3840. modifiedtime:
  3841. description: 修改时间
  3842. type: string
  3843. nickname:
  3844. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3845. type: string
  3846. openmode:
  3847. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3848. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3849. type: integer
  3850. otherurl:
  3851. description: 其它图片地址[使用分号分隔]
  3852. type: string
  3853. postalcode:
  3854. description: 邮政编码
  3855. type: string
  3856. provinceid:
  3857. description: 省
  3858. type: integer
  3859. proxystatementurl:
  3860. description: 授权委托书
  3861. type: string
  3862. qq:
  3863. description: QQ(加密存储
  3864. type: string
  3865. referral:
  3866. description: 推荐人编码
  3867. type: string
  3868. remark:
  3869. description: 备注
  3870. type: string
  3871. removebeforestatus:
  3872. description: REMOVEBEFORESTATUS
  3873. type: integer
  3874. sex:
  3875. description: 性别 - 0:女 1:男
  3876. type: integer
  3877. signedstatus:
  3878. description: 账户一号签签约状态
  3879. type: integer
  3880. signpdfurl:
  3881. description: 签约pdf文件
  3882. type: string
  3883. subbranch:
  3884. description: 开户支行
  3885. type: string
  3886. telphone:
  3887. description: 联系电话(加密存储)
  3888. type: string
  3889. userid:
  3890. description: 用户ID(自增ID)
  3891. type: integer
  3892. userinfotype:
  3893. description: 用户信息类型 - 1:个人 2:企业
  3894. type: integer
  3895. username:
  3896. description: 用户姓名
  3897. type: string
  3898. userstate:
  3899. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3900. type: integer
  3901. usertype:
  3902. description: 用户类型 - 1:投资者 2:机构
  3903. type: integer
  3904. videourl:
  3905. description: 视频地址
  3906. type: string
  3907. wechat:
  3908. description: 微信号 (加密存储)
  3909. type: string
  3910. required:
  3911. - userid
  3912. type: object
  3913. erms3.CustomerInfo:
  3914. properties:
  3915. accountids:
  3916. description: 资金账户ID列表
  3917. items:
  3918. type: integer
  3919. type: array
  3920. customername:
  3921. description: 名称(企业名称)
  3922. type: string
  3923. mobile:
  3924. description: 手机号码
  3925. type: string
  3926. userid:
  3927. description: 用户ID
  3928. type: integer
  3929. required:
  3930. - userid
  3931. type: object
  3932. erms3.ModifyUserInfoApplyReq:
  3933. properties:
  3934. accountid:
  3935. description: 交易系统帐号Id (加密存储)
  3936. type: integer
  3937. areacode:
  3938. description: 机构代码
  3939. type: string
  3940. areaid:
  3941. description: 机构Id
  3942. type: integer
  3943. attachment1:
  3944. description: 附件1
  3945. type: string
  3946. attachment2:
  3947. description: 附件2
  3948. type: string
  3949. attachment3:
  3950. description: 附件3
  3951. type: string
  3952. attachment4:
  3953. description: 附件4
  3954. type: string
  3955. attachment5:
  3956. description: 附件5
  3957. type: string
  3958. auditedby:
  3959. description: 审核人
  3960. type: string
  3961. auditime:
  3962. description: 审核时间
  3963. type: string
  3964. bankaccount:
  3965. description: 银行帐号 (加密存储)
  3966. type: string
  3967. bankaccountname:
  3968. description: 收款人名称
  3969. type: string
  3970. bankcardbackphotourl:
  3971. description: 银行卡背面照地址
  3972. type: string
  3973. bankcardfrontphotourl:
  3974. description: 银行卡正面照地址
  3975. type: string
  3976. bankid:
  3977. description: 银行编码
  3978. type: string
  3979. bankname:
  3980. description: 银行名称
  3981. type: string
  3982. bankpictureurl:
  3983. description: 银行卡正面地址
  3984. type: string
  3985. biznature:
  3986. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3987. type: integer
  3988. bizscope:
  3989. description: 企业经营范围(企业)
  3990. type: string
  3991. biztype:
  3992. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3993. type: integer
  3994. brokerid:
  3995. description: 经纪人ID(加密存储)
  3996. type: string
  3997. cardaddress:
  3998. description: 证件地址 (加密存储)
  3999. type: string
  4000. cardbackphotourl:
  4001. description: 背面证件照地址
  4002. type: string
  4003. cardfrontphotourl:
  4004. description: 正面证件照地址
  4005. type: string
  4006. cardnum:
  4007. description: 证件号码 (加密存储)
  4008. type: string
  4009. cardtype:
  4010. description: 证件类型
  4011. type: integer
  4012. cityid:
  4013. description: 市
  4014. type: integer
  4015. company:
  4016. description: 公司(个人)
  4017. type: string
  4018. contactcardbackphotourl:
  4019. description: 联系人证件背面图片地址
  4020. type: string
  4021. contactcardfrontphotourl:
  4022. description: 联系人证件正面图片地址
  4023. type: string
  4024. contactname:
  4025. description: 联系人
  4026. type: string
  4027. countryid:
  4028. description: 国家
  4029. type: integer
  4030. createtime:
  4031. description: 开户申请时间
  4032. type: string
  4033. cusbankid:
  4034. description: 签约类型
  4035. type: string
  4036. cusbankname:
  4037. description: 签约类型名称
  4038. type: string
  4039. customername:
  4040. description: 客户名称(企业名称)
  4041. type: string
  4042. districtid:
  4043. description: 地区
  4044. type: integer
  4045. email:
  4046. description: Email地址(加密存储)
  4047. type: string
  4048. halfbodyphotourl:
  4049. description: 半身照地址
  4050. type: string
  4051. headurl:
  4052. description: 头像地址
  4053. type: string
  4054. ipaddress:
  4055. description: IP地址
  4056. type: string
  4057. isvalidate:
  4058. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4059. type: string
  4060. legalcardbackphotourl:
  4061. description: 法人身份证背面照地址
  4062. type: string
  4063. legalcardfrontphotourl:
  4064. description: 法人身份证正面照地址
  4065. type: string
  4066. legalpersonname:
  4067. description: 法人姓名(企业)
  4068. type: string
  4069. logincode:
  4070. description: 登录帐号 (加密存储)
  4071. type: string
  4072. memberareaid:
  4073. description: 所属会员ID
  4074. type: integer
  4075. mobile2:
  4076. description: 手机号码[明文-尚志]
  4077. type: string
  4078. mobilephone:
  4079. description: 手机号码 (加密存储)
  4080. type: string
  4081. modifiedby:
  4082. description: 修改人帐号
  4083. type: integer
  4084. modifiedtime:
  4085. description: 修改时间
  4086. type: string
  4087. nickname:
  4088. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4089. type: string
  4090. openmode:
  4091. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4092. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4093. type: integer
  4094. otherurl:
  4095. description: 其它图片地址[使用分号分隔]
  4096. type: string
  4097. postalcode:
  4098. description: 邮政编码
  4099. type: string
  4100. provinceid:
  4101. description: 省
  4102. type: integer
  4103. proxystatementurl:
  4104. description: 授权委托书
  4105. type: string
  4106. qq:
  4107. description: QQ(加密存储
  4108. type: string
  4109. referral:
  4110. description: 推荐人编码
  4111. type: string
  4112. remark:
  4113. description: 备注
  4114. type: string
  4115. removebeforestatus:
  4116. description: REMOVEBEFORESTATUS
  4117. type: integer
  4118. sex:
  4119. description: 性别 - 0:女 1:男
  4120. type: integer
  4121. signedstatus:
  4122. description: 账户一号签签约状态
  4123. type: integer
  4124. signpdfurl:
  4125. description: 签约pdf文件
  4126. type: string
  4127. subbranch:
  4128. description: 开户支行
  4129. type: string
  4130. telphone:
  4131. description: 联系电话(加密存储)
  4132. type: string
  4133. userid:
  4134. description: 用户ID(自增ID)
  4135. type: integer
  4136. userinfotype:
  4137. description: 用户信息类型 - 1:个人 2:企业
  4138. type: integer
  4139. username:
  4140. description: 用户姓名
  4141. type: string
  4142. userstate:
  4143. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4144. type: integer
  4145. usertype:
  4146. description: 用户类型 - 1:投资者 2:机构
  4147. type: integer
  4148. videourl:
  4149. description: 视频地址
  4150. type: string
  4151. wechat:
  4152. description: 微信号 (加密存储)
  4153. type: string
  4154. required:
  4155. - userid
  4156. type: object
  4157. erms3.QryAuditContractRsp:
  4158. properties:
  4159. accountid:
  4160. description: 交易员ID
  4161. type: string
  4162. applystatus:
  4163. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4164. type: integer
  4165. curdeliveryqty:
  4166. description: 未交收量
  4167. type: integer
  4168. customername:
  4169. description: 采购方ID
  4170. type: string
  4171. deliverygoodsid:
  4172. description: 品种ID
  4173. type: string
  4174. deliveryqty:
  4175. description: 交收量
  4176. type: integer
  4177. enumdicname:
  4178. description: 单位名称
  4179. type: string
  4180. matchaccountid:
  4181. description: 业务员ID
  4182. type: string
  4183. matchcustomername:
  4184. description: 销售方ID
  4185. type: string
  4186. pricedqty:
  4187. description: 定价量
  4188. type: number
  4189. signdate:
  4190. description: 签订日期
  4191. type: string
  4192. spotcontractid:
  4193. description: 合同ID
  4194. type: string
  4195. totaldqty:
  4196. description: 合同量
  4197. type: number
  4198. unpricedqty:
  4199. description: 未定价量
  4200. type: number
  4201. wrstandardname:
  4202. description: 商品名称
  4203. type: string
  4204. required:
  4205. - matchcustomername
  4206. - spotcontractid
  4207. type: object
  4208. erms3.QryPendingBizRsp:
  4209. properties:
  4210. accountid:
  4211. description: 现货账户
  4212. type: string
  4213. areaname:
  4214. description: 所属部门
  4215. type: string
  4216. bizid:
  4217. description: 业务ID
  4218. type: string
  4219. bizname:
  4220. description: 业务名称
  4221. type: string
  4222. status:
  4223. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4224. type: integer
  4225. type:
  4226. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4227. type: integer
  4228. type: object
  4229. erms3.QueryBusinessInfoRsp:
  4230. properties:
  4231. businessid:
  4232. description: 业务ID.
  4233. type: integer
  4234. buyamount:
  4235. description: 采购额.
  4236. type: number
  4237. buyqty:
  4238. description: 采购量.
  4239. type: string
  4240. futurepl:
  4241. description: 期货盈亏.
  4242. type: number
  4243. futureqty:
  4244. description: 期货敞口.
  4245. type: string
  4246. goodsid:
  4247. description: 商品名称/商品代码.
  4248. type: string
  4249. hedgingqty:
  4250. description: 套保量.
  4251. type: string
  4252. sellamount:
  4253. description: 销售额.
  4254. type: number
  4255. sellqty:
  4256. description: 销售量.
  4257. type: string
  4258. spotmarketvalue:
  4259. description: 现货市值.
  4260. type: number
  4261. spotpl:
  4262. description: 浮动权益.
  4263. type: number
  4264. spotqty:
  4265. description: 现货量.
  4266. type: string
  4267. statu:
  4268. description: 状态,0-未结束 1-已结束.
  4269. type: integer
  4270. totalpl:
  4271. description: 总盈亏.
  4272. type: number
  4273. totalqty:
  4274. description: 总敞口.
  4275. type: string
  4276. type:
  4277. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4278. type: integer
  4279. type: object
  4280. erms3.QuerySpotContractAppleFormRsp:
  4281. properties:
  4282. goodses:
  4283. description: 合约列表
  4284. items:
  4285. $ref: '#/definitions/models.GoodsIDAndName'
  4286. type: array
  4287. oppositeusers:
  4288. description: 对方账号列表
  4289. items:
  4290. $ref: '#/definitions/erms3.CustomerInfo'
  4291. type: array
  4292. ouruser:
  4293. $ref: '#/definitions/erms3.CustomerInfo'
  4294. description: 我方账号
  4295. warehouseinfos:
  4296. description: 仓库信息列表
  4297. items:
  4298. $ref: '#/definitions/models.Warehouseinfo'
  4299. type: array
  4300. wrstandards:
  4301. description: 仓单标准列表
  4302. items:
  4303. $ref: '#/definitions/models.WRStandardInfo'
  4304. type: array
  4305. type: object
  4306. erms3.QuerySpotContractInfoRsp:
  4307. properties:
  4308. accountid:
  4309. description: 表示交易员ID.
  4310. type: integer
  4311. curdeliveryqty:
  4312. description: 表示未交收量.
  4313. type: number
  4314. customername:
  4315. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4316. type: string
  4317. deliverygoodsid:
  4318. description: 表示品种ID.
  4319. type: string
  4320. deliveryqty:
  4321. description: 表示交收量.
  4322. type: number
  4323. matchaccountid:
  4324. description: 表示业务员ID.
  4325. type: integer
  4326. matchcustomername:
  4327. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4328. type: string
  4329. priceqty:
  4330. description: 表示定价量.
  4331. type: number
  4332. relatedbizid:
  4333. description: 表示业务ID.
  4334. type: string
  4335. signdate:
  4336. description: 表示签订日期.
  4337. type: string
  4338. spotcontractid:
  4339. description: 合同ID
  4340. type: string
  4341. status:
  4342. description: 表示状态,0-履约中 1-已完成.
  4343. type: integer
  4344. totalqty:
  4345. description: 表示合同量.
  4346. type: number
  4347. unpricedqty:
  4348. description: 表示未定价量.
  4349. type: number
  4350. wrstandardname:
  4351. description: 表示商品ID.
  4352. type: string
  4353. type: object
  4354. erms3.QueryUserInfoAppliesRsp:
  4355. properties:
  4356. biznature:
  4357. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4358. type: integer
  4359. contactname:
  4360. description: 联系人
  4361. type: string
  4362. createtime:
  4363. description: 开户申请时间
  4364. type: string
  4365. userid:
  4366. description: 用户ID(自增ID)
  4367. type: integer
  4368. userinfotype:
  4369. description: 用户信息类型 - 1:个人 2:企业
  4370. type: integer
  4371. username:
  4372. description: 用户姓名
  4373. type: string
  4374. userstate:
  4375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4376. type: integer
  4377. required:
  4378. - userid
  4379. type: object
  4380. erms3.QueryUserInfosRsp:
  4381. properties:
  4382. biznature:
  4383. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4384. type: integer
  4385. contactname:
  4386. description: 联系人
  4387. type: string
  4388. customername:
  4389. description: 客户名称(企业名称)
  4390. type: string
  4391. userid:
  4392. description: 用户ID
  4393. type: integer
  4394. userinfotype:
  4395. description: 用户信息类型 - 1:个人 2:企业
  4396. type: integer
  4397. userstatus:
  4398. description: 用户状态 - 1:正常 2:注销
  4399. type: integer
  4400. required:
  4401. - userid
  4402. type: object
  4403. erms3.SoptContractDetail:
  4404. properties:
  4405. deliverygoodsdesc:
  4406. description: 现货品种说明
  4407. type: string
  4408. deliverygoodsid:
  4409. description: 现货品种ID
  4410. type: integer
  4411. deliverygoodsname:
  4412. description: 现货品种名称
  4413. type: string
  4414. pointdesc:
  4415. description: 点价描述
  4416. type: string
  4417. producttype:
  4418. description: 产品类型 1:标准仓单 2:等标 3:非标
  4419. type: integer
  4420. producttypename:
  4421. description: 产品类型名称
  4422. type: string
  4423. spotPointOrderVoList:
  4424. description: 点价列表
  4425. items:
  4426. $ref: '#/definitions/erms3.SpotPointOrder'
  4427. type: array
  4428. spotPriceOrderList:
  4429. description: 定价列表
  4430. items:
  4431. $ref: '#/definitions/erms3.SpotPriceOrder'
  4432. type: array
  4433. unitname:
  4434. description: 单位名称
  4435. type: string
  4436. warehouseid:
  4437. description: 仓库ID
  4438. type: integer
  4439. warehousename:
  4440. description: 仓库名称
  4441. type: string
  4442. wrstandardid:
  4443. description: 交易标的ID
  4444. type: integer
  4445. wrstandardname:
  4446. description: 交易标的名称
  4447. type: string
  4448. required:
  4449. - deliverygoodsid
  4450. - producttype
  4451. - unitname
  4452. - warehouseid
  4453. - wrstandardid
  4454. - wrstandardname
  4455. type: object
  4456. erms3.SpotPointOrder:
  4457. properties:
  4458. basic:
  4459. description: 基差
  4460. type: number
  4461. deliveryenddate:
  4462. description: 交收结束日期
  4463. type: string
  4464. deliverystartdate:
  4465. description: 交收开始日期
  4466. type: string
  4467. enddate:
  4468. description: 点价结束日期
  4469. type: string
  4470. goodsid:
  4471. description: 商品ID
  4472. type: integer
  4473. goodsname:
  4474. description: 商品名称
  4475. type: string
  4476. qty:
  4477. description: 数量
  4478. type: number
  4479. startdate:
  4480. description: 点价开始日期
  4481. type: string
  4482. required:
  4483. - basic
  4484. - goodsid
  4485. - qty
  4486. type: object
  4487. erms3.SpotPriceOrder:
  4488. properties:
  4489. amount:
  4490. description: 金额
  4491. type: number
  4492. deliveryenddate:
  4493. description: 交收结束日期
  4494. type: string
  4495. deliverystartdate:
  4496. description: 交收开始日期
  4497. type: string
  4498. price:
  4499. description: 价格
  4500. type: number
  4501. qty:
  4502. description: 数量
  4503. type: number
  4504. required:
  4505. - amount
  4506. - price
  4507. - qty
  4508. type: object
  4509. hsby.GetHsbyMyCountRsp:
  4510. properties:
  4511. myCouponCount:
  4512. description: 我的优惠卷数量
  4513. type: integer
  4514. myOrderDetailListingCount:
  4515. description: 我的订单求购中数量
  4516. type: integer
  4517. myOrderDetailPreCount:
  4518. description: 我的订单抢购中数量
  4519. type: integer
  4520. myPackageUnReceiveCount:
  4521. description: 我的包裹待收货数量
  4522. type: integer
  4523. myPackageUnSendCount:
  4524. description: 我的包裹待发货数量
  4525. type: integer
  4526. myPayOrderCount:
  4527. description: 我的订单待付款数量
  4528. type: integer
  4529. type: object
  4530. hsby.QueryProvincesAndCitiesRsp:
  4531. properties:
  4532. cities:
  4533. description: 市
  4534. items:
  4535. $ref: '#/definitions/models.Division'
  4536. type: array
  4537. province:
  4538. $ref: '#/definitions/models.Division'
  4539. description: 省
  4540. type: object
  4541. models.Clientfixedadconfig:
  4542. properties:
  4543. adsort:
  4544. description: 排序
  4545. type: integer
  4546. adtype:
  4547. description: 广告位类型 - 1:新品抢购(HSBY)
  4548. type: integer
  4549. areauserid:
  4550. description: 所属机构ID
  4551. type: integer
  4552. createdate:
  4553. description: 创建时间
  4554. type: string
  4555. creatorid:
  4556. description: 创建人
  4557. type: integer
  4558. imagepath:
  4559. description: 图片
  4560. type: string
  4561. isshow:
  4562. description: 是否展示 - 0:不展示 1:展示
  4563. type: integer
  4564. modifierid:
  4565. description: 操作人
  4566. type: integer
  4567. recsize:
  4568. description: 推荐尺寸
  4569. type: string
  4570. title:
  4571. description: 标题
  4572. type: string
  4573. updatedate:
  4574. description: 更新时间
  4575. type: string
  4576. urlcontent:
  4577. description: 链接(地址或商品ID)
  4578. type: string
  4579. urltype:
  4580. description: 链接类型 - 1:直接地址 2:商品ID
  4581. type: integer
  4582. required:
  4583. - adsort
  4584. - adtype
  4585. type: object
  4586. models.Division:
  4587. properties:
  4588. autoid:
  4589. description: 自增ID
  4590. type: integer
  4591. divisioncode:
  4592. description: 行政代码
  4593. type: string
  4594. divisionlevel:
  4595. description: 行政级别
  4596. type: string
  4597. divisionname:
  4598. description: 行政名称
  4599. type: string
  4600. modifierid:
  4601. description: 修改人
  4602. type: integer
  4603. modifytime:
  4604. description: 修改时间
  4605. type: string
  4606. parentcode:
  4607. description: 上级行政代码
  4608. type: string
  4609. pathname:
  4610. description: 路径名称
  4611. type: string
  4612. postcode:
  4613. description: 邮政编码
  4614. type: string
  4615. separablename:
  4616. description: 可拆分的全称
  4617. type: string
  4618. shortcode:
  4619. description: 地区简码
  4620. type: string
  4621. required:
  4622. - autoid
  4623. - divisioncode
  4624. type: object
  4625. models.Enumdicitem:
  4626. properties:
  4627. autoid:
  4628. description: 自增ID
  4629. type: integer
  4630. bankmappedvalue:
  4631. description: 银行服务对应值
  4632. type: string
  4633. enumdiccode:
  4634. description: 所属枚举代码
  4635. type: string
  4636. enumdicid:
  4637. description: 所属枚举ID
  4638. type: integer
  4639. enumdicname:
  4640. description: 枚举项名称
  4641. type: string
  4642. enumitemname:
  4643. description: 枚举项值
  4644. type: integer
  4645. enumitemstatus:
  4646. description: 枚举项状态 - 1.启用 2.不启用
  4647. type: integer
  4648. enumitemvalue:
  4649. description: 通用值 - [币种通用简写]
  4650. type: string
  4651. param1:
  4652. description: 参数1[币种:币种小数位]
  4653. type: string
  4654. param2:
  4655. description: 参数1[币种:币种显示单位]
  4656. type: string
  4657. remark:
  4658. description: 备注
  4659. type: string
  4660. required:
  4661. - autoid
  4662. - enumdiccode
  4663. - enumdicid
  4664. - enumitemname
  4665. type: object
  4666. models.ErmcpAreaStock:
  4667. properties:
  4668. brandname:
  4669. description: 品牌名称
  4670. type: string
  4671. curstock:
  4672. description: 期末库存量(今日量)
  4673. type: number
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. enumdicname:
  4678. description: 单位名称
  4679. type: string
  4680. modelname:
  4681. description: 型号名称
  4682. type: string
  4683. oristock:
  4684. description: 期初库存量(昨日量)
  4685. type: number
  4686. spotgoodsbrandid:
  4687. description: 现货品牌ID
  4688. type: integer
  4689. spotgoodsmodelid:
  4690. description: 现货型号ID
  4691. type: integer
  4692. todaybuyinqty:
  4693. description: 今日采购入库量
  4694. type: number
  4695. todayproduceinqty:
  4696. description: 今日生产入库量
  4697. type: number
  4698. todayproduceoutqty:
  4699. description: 今日生产出库量
  4700. type: number
  4701. todayselloutqty:
  4702. description: 今日销售出库量
  4703. type: number
  4704. unitid:
  4705. description: 单位id
  4706. type: integer
  4707. updatetime:
  4708. description: 更新时间
  4709. type: string
  4710. userid:
  4711. description: 机构ID
  4712. type: integer
  4713. username:
  4714. description: 机构名称
  4715. type: string
  4716. warehousecode:
  4717. description: 仓库代码
  4718. type: string
  4719. warehouseinfoid:
  4720. description: 仓库ID
  4721. type: string
  4722. warehousename:
  4723. description: 仓库名称
  4724. type: string
  4725. warehousetype:
  4726. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4727. type: integer
  4728. wrstandardcode:
  4729. description: 现货商品代码
  4730. type: string
  4731. wrstandardid:
  4732. description: 现货商品ID
  4733. type: string
  4734. wrstandardname:
  4735. description: 现货商品名称
  4736. type: string
  4737. type: object
  4738. models.ErmcpAreaStockApply:
  4739. properties:
  4740. applyid:
  4741. description: 申请人
  4742. type: integer
  4743. applyname:
  4744. description: 申请人名称
  4745. type: string
  4746. applyremark:
  4747. description: 申请备注
  4748. type: string
  4749. applysrc:
  4750. description: 申请来源 - 1:管理端 2:终端
  4751. type: integer
  4752. applystatus:
  4753. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4754. type: integer
  4755. applytime:
  4756. description: 申请时间
  4757. type: string
  4758. auditid:
  4759. description: 审核人
  4760. type: integer
  4761. auditname:
  4762. description: 审核人名称
  4763. type: string
  4764. auditremark:
  4765. description: 审核备注
  4766. type: string
  4767. auditsrc:
  4768. description: 审核来源 - 1:管理端 2:终端
  4769. type: integer
  4770. audittime:
  4771. description: 审核时间
  4772. type: string
  4773. audittradedate:
  4774. description: 审核交易日(yyyyMMdd)
  4775. type: string
  4776. brandname:
  4777. description: 品牌名称
  4778. type: string
  4779. buyuserid:
  4780. description: 采购方userid
  4781. type: integer
  4782. buyusername:
  4783. description: 采购方名称
  4784. type: string
  4785. contractno:
  4786. description: 合同编号
  4787. type: string
  4788. contractqty:
  4789. description: 合同量
  4790. type: number
  4791. contracttype:
  4792. description: 现货合同类型 - 1:采购 -1:销售
  4793. type: integer
  4794. deliverygoodsid:
  4795. description: 现货品种ID
  4796. type: integer
  4797. enumdicname:
  4798. description: 现货商品单位名称
  4799. type: string
  4800. inoutapplyid:
  4801. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4802. type: string
  4803. inouttype:
  4804. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4805. type: integer
  4806. modelname:
  4807. description: 型号名称
  4808. type: string
  4809. pricetype:
  4810. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4811. type: integer
  4812. qty:
  4813. description: 数量
  4814. type: number
  4815. selluserid:
  4816. description: 销售方userid
  4817. type: integer
  4818. sellusername:
  4819. description: 销售方名称
  4820. type: string
  4821. spotcontractid:
  4822. description: 关联现货合同ID
  4823. type: string
  4824. spotgoodsbrandid:
  4825. description: 现货品牌ID
  4826. type: integer
  4827. spotgoodsmodelid:
  4828. description: 现货型号ID
  4829. type: integer
  4830. unitid:
  4831. description: 单位id
  4832. type: integer
  4833. userid:
  4834. description: 机构ID
  4835. type: integer
  4836. warehousecode:
  4837. description: 仓库代码
  4838. type: string
  4839. warehouseinfoid:
  4840. description: 现货仓库ID
  4841. type: string
  4842. warehousename:
  4843. description: 仓库名称
  4844. type: string
  4845. warehousetype:
  4846. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4847. type: integer
  4848. wrstandardcode:
  4849. description: 现货商品代码
  4850. type: string
  4851. wrstandardid:
  4852. description: 现货商品ID
  4853. type: string
  4854. wrstandardname:
  4855. description: 现货商品名称
  4856. type: string
  4857. type: object
  4858. models.ErmcpAreaStockReport:
  4859. properties:
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curstock:
  4864. description: 期末库存量
  4865. type: number
  4866. deliverygoodsid:
  4867. description: 现货品种ID
  4868. type: integer
  4869. enumdicname:
  4870. description: 单位名称
  4871. type: string
  4872. modelname:
  4873. description: 型号名称
  4874. type: string
  4875. oristock:
  4876. description: 期初库存量
  4877. type: number
  4878. spotgoodsbrandid:
  4879. description: 现货品牌ID
  4880. type: integer
  4881. spotgoodsmodelid:
  4882. description: 现货型号ID
  4883. type: integer
  4884. todaybuyinqty:
  4885. description: 今日采购入库量
  4886. type: number
  4887. todayproduceinqty:
  4888. description: 今日生产入库量
  4889. type: number
  4890. todayproduceoutqty:
  4891. description: 今日生产出库量
  4892. type: number
  4893. todayselloutqty:
  4894. description: 今日销售出库量
  4895. type: number
  4896. unitid:
  4897. description: 单位id
  4898. type: integer
  4899. updatetime:
  4900. description: 更新时间
  4901. type: string
  4902. userid:
  4903. description: 机构ID
  4904. type: integer
  4905. username:
  4906. description: 机构名称
  4907. type: string
  4908. warehousecode:
  4909. description: 仓库代码
  4910. type: string
  4911. warehouseinfoid:
  4912. description: 仓库ID
  4913. type: string
  4914. warehousename:
  4915. description: 仓库名称
  4916. type: string
  4917. warehousetype:
  4918. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4919. type: integer
  4920. wrstandardcode:
  4921. description: 现货商品代码
  4922. type: string
  4923. wrstandardid:
  4924. description: 现货商品ID
  4925. type: string
  4926. wrstandardname:
  4927. description: 现货商品名称
  4928. type: string
  4929. type: object
  4930. models.ErmcpGGConvertCfg:
  4931. properties:
  4932. convertratio:
  4933. description: 折算系数
  4934. type: number
  4935. destgoodsgroupid:
  4936. description: 目标品种ID
  4937. type: integer
  4938. dstcode:
  4939. description: 目录品种代码
  4940. type: string
  4941. dstexchangecode:
  4942. description: 目标期货交易所
  4943. type: string
  4944. dstname:
  4945. description: 目标品种名称
  4946. type: string
  4947. dstunitid:
  4948. description: 目标品种单位ID
  4949. type: integer
  4950. dstunitidname:
  4951. description: 目标品种单位名称
  4952. type: string
  4953. modifytime:
  4954. description: 修改时间
  4955. type: string
  4956. srccode:
  4957. description: 源品种代码
  4958. type: string
  4959. srcexchangecode:
  4960. description: 源期货交易所
  4961. type: string
  4962. srcgoodsgroupid:
  4963. description: 源品种ID
  4964. type: integer
  4965. srcname:
  4966. description: 源品种名称
  4967. type: string
  4968. srcunitid:
  4969. description: 源品种单位ID
  4970. type: integer
  4971. srcunitidname:
  4972. description: 源品种单位名称
  4973. type: string
  4974. type: object
  4975. models.ErmcpGoodsBrand:
  4976. properties:
  4977. areauserid:
  4978. description: 所属机构
  4979. type: integer
  4980. brandid:
  4981. description: BrandID(SEQ_SPOTGOODSBRAND)
  4982. type: integer
  4983. brandname:
  4984. description: 品牌名称
  4985. type: string
  4986. createtime:
  4987. description: 创建时间
  4988. type: string
  4989. creatorid:
  4990. description: 创建人
  4991. type: integer
  4992. creatorsrc:
  4993. description: 创建人来源 - 1:管理端 2:终端
  4994. type: integer
  4995. deliverygoodsid:
  4996. description: 现货品种ID
  4997. type: integer
  4998. isvalid:
  4999. description: 是否有效 - 0:无效 1:有效
  5000. type: integer
  5001. updatetime:
  5002. description: 更新时间
  5003. type: string
  5004. updatorid:
  5005. description: 更新人
  5006. type: integer
  5007. updatorsrc:
  5008. description: 更新人来源 - 1:管理端 2:终端
  5009. type: integer
  5010. wrstandardid:
  5011. description: 现货商品ID
  5012. type: integer
  5013. type: object
  5014. models.ErmcpGoodsModel:
  5015. properties:
  5016. areauserid:
  5017. description: 所属机构
  5018. type: integer
  5019. convertfactor:
  5020. description: 标仓系数
  5021. type: number
  5022. createtime:
  5023. description: 创建时间
  5024. type: string
  5025. creatorid:
  5026. description: 创建人
  5027. type: integer
  5028. creatorsrc:
  5029. description: 创建人来源 - 1:管理端 2:终端
  5030. type: integer
  5031. deliverygoodsid:
  5032. description: 现货品种ID
  5033. type: integer
  5034. isvalid:
  5035. description: 是否有效 - 0:无效 1:有效
  5036. type: integer
  5037. modelid:
  5038. description: ModelID(SEQ_SPOTGOODSMODEL)
  5039. type: integer
  5040. modelname:
  5041. description: 型号名称
  5042. type: string
  5043. updatetime:
  5044. description: 更新时间
  5045. type: string
  5046. updatorid:
  5047. description: 更新人
  5048. type: integer
  5049. updatorsrc:
  5050. description: 更新人来源 - 1:管理端 2:终端
  5051. type: integer
  5052. wrstandardid:
  5053. description: 现货商品ID
  5054. type: integer
  5055. type: object
  5056. models.ErmcpHisExposure:
  5057. properties:
  5058. needhedgeexposoure:
  5059. description: 应套保敞口
  5060. type: number
  5061. reckondate:
  5062. description: 日照时期(yyyyMMdd)
  5063. type: string
  5064. totalexposure:
  5065. description: 总敞口
  5066. type: number
  5067. type: object
  5068. models.ErmcpMiddleGoodsModel:
  5069. properties:
  5070. areauserid:
  5071. description: 机构用户ID
  5072. type: integer
  5073. createtime:
  5074. description: 修改时间
  5075. type: string
  5076. enumdicname:
  5077. description: 单位名称
  5078. type: string
  5079. evaluateratio:
  5080. description: 估价系数
  5081. type: number
  5082. goodsgroupid:
  5083. description: 关联期货品种ID
  5084. type: integer
  5085. isvalid:
  5086. description: 状态 0-无效(停用) 1-有效(正常)
  5087. type: integer
  5088. middlegoodscode:
  5089. description: 套保品种代码
  5090. type: string
  5091. middlegoodsid:
  5092. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5093. type: integer
  5094. middlegoodsname:
  5095. description: 套保品种名称
  5096. type: string
  5097. modifytime:
  5098. description: 修改时间
  5099. type: string
  5100. needhedgeratio:
  5101. description: 套保比率
  5102. type: number
  5103. qtydecimalplace:
  5104. description: 数量小数位
  5105. type: integer
  5106. relatedgoodsid:
  5107. description: 关联交易商品ID
  5108. type: integer
  5109. relatedgoodstype:
  5110. description: 关联商品类型 - 1:期货合约 2:现货品种
  5111. type: integer
  5112. remark:
  5113. description: 备注
  5114. type: string
  5115. type: object
  5116. models.ErmcpReportDayFR:
  5117. properties:
  5118. areauserid:
  5119. description: 所属机构
  5120. type: integer
  5121. collectinvoiceamount:
  5122. description: 今日开票金额
  5123. type: number
  5124. collectinvoicecount:
  5125. description: 今日开票笔数
  5126. type: integer
  5127. collectmoneyamount:
  5128. description: 今日收款金额
  5129. type: number
  5130. collectmoneycount:
  5131. description: 今日收款笔数
  5132. type: integer
  5133. payinvoiceamount:
  5134. description: 今日收票金额
  5135. type: number
  5136. payinvoicecount:
  5137. description: 今日收票笔数
  5138. type: integer
  5139. paymoneyamount:
  5140. description: 今日付款金额
  5141. type: number
  5142. paymoneycount:
  5143. description: 今日付款笔数
  5144. type: integer
  5145. reckondate:
  5146. description: 日照时期(yyyyMMdd)
  5147. type: string
  5148. updatetime:
  5149. description: 更新时间
  5150. type: string
  5151. type: object
  5152. models.ErmcpWrstandard:
  5153. properties:
  5154. areauserid:
  5155. description: 所属机构
  5156. type: integer
  5157. createtime:
  5158. description: 创建时间
  5159. type: string
  5160. creatorid:
  5161. description: 创建人
  5162. type: integer
  5163. deliverygoodsid:
  5164. description: 品种ID
  5165. type: integer
  5166. enumdicname:
  5167. description: 单位名称
  5168. type: string
  5169. isvalid:
  5170. description: 是否有效 0-无效(停用) 1-有效(正常)
  5171. type: integer
  5172. minivalue:
  5173. description: 最小变动值
  5174. type: integer
  5175. minivaluedp:
  5176. description: 最小变动值小数位
  5177. type: integer
  5178. realminivalue:
  5179. description: 实际最小变动值
  5180. type: integer
  5181. realminivaluedp:
  5182. description: 实际最小变动值小数位
  5183. type: integer
  5184. remark:
  5185. description: 备注
  5186. type: string
  5187. unitid:
  5188. description: 单位ID
  5189. type: integer
  5190. updatetime:
  5191. description: 更新时间
  5192. type: string
  5193. wrstandardcode:
  5194. description: 现货商品代码
  5195. type: string
  5196. wrstandardid:
  5197. description: 现货商品ID(SEQ_WRSTANDARD)
  5198. type: integer
  5199. wrstandardname:
  5200. description: 现货商品名称
  5201. type: string
  5202. type: object
  5203. models.Externalexchange:
  5204. properties:
  5205. autoid:
  5206. description: AutoID - SEQ_EXTERNALEXCHANGE
  5207. type: integer
  5208. exchangefullname:
  5209. description: 外部交易所全称
  5210. type: string
  5211. exexchangecode:
  5212. description: 外部交易所代码
  5213. type: string
  5214. exexchangename:
  5215. description: 外部交易所名称(简称)
  5216. type: string
  5217. ismarketprice:
  5218. description: 是否支持市价 - 0:不支持 1:支持
  5219. type: integer
  5220. quotegear:
  5221. description: 行情档位(1-10)
  5222. type: integer
  5223. showbrokerflag:
  5224. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5225. type: integer
  5226. updatetime:
  5227. description: 更新时间
  5228. type: string
  5229. required:
  5230. - autoid
  5231. type: object
  5232. models.Funcmenulist:
  5233. properties:
  5234. iconame:
  5235. description: 菜单图标
  5236. type: string
  5237. menutype:
  5238. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5239. type: integer
  5240. parentcode:
  5241. description: 上级资源代码
  5242. type: string
  5243. remark:
  5244. description: 备注
  5245. type: string
  5246. resourcecode:
  5247. description: 资源代码
  5248. type: string
  5249. resourcelevel:
  5250. description: 级别 1-一级 2-二级 3-三级 4-四级
  5251. type: integer
  5252. resourcename:
  5253. description: 资源名
  5254. type: string
  5255. sort:
  5256. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5257. type: integer
  5258. url:
  5259. description: URL
  5260. type: string
  5261. required:
  5262. - resourcecode
  5263. type: object
  5264. models.Goods:
  5265. properties:
  5266. agreeunit:
  5267. description: 合约单位
  5268. type: number
  5269. auditaccountid:
  5270. description: 审核操作员账号
  5271. type: integer
  5272. audittime:
  5273. description: 审核时间
  5274. type: string
  5275. cancelaccountid:
  5276. description: 注销操作员账号
  5277. type: integer
  5278. canceltime:
  5279. description: 注销时间
  5280. type: string
  5281. closepricemode:
  5282. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5283. type: integer
  5284. closepriceparam:
  5285. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5286. type: number
  5287. createtime:
  5288. description: 创建时间
  5289. type: string
  5290. creatorid:
  5291. description: 创建人
  5292. type: integer
  5293. currencyid:
  5294. description: 报价货币ID
  5295. type: integer
  5296. cutmode:
  5297. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5298. type: integer
  5299. decimalplace:
  5300. description: 报价小数位
  5301. type: integer
  5302. delistingdate:
  5303. description: 商品退市时间(状态:退市) -- 已作废
  5304. type: string
  5305. delistingmode:
  5306. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5307. type: integer
  5308. deliveryflag:
  5309. description: 交割标志 - 0:不可交割 1:可交割
  5310. type: integer
  5311. forceclosemode:
  5312. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5313. type: integer
  5314. forceclosevalue:
  5315. description: 定期强平参数 [收益权]
  5316. type: integer
  5317. goodscode:
  5318. description: 商品代码(内部)
  5319. type: string
  5320. goodscurrencyid:
  5321. description: 合约货币ID
  5322. type: integer
  5323. goodsgroupid:
  5324. description: 所属商品组ID
  5325. type: integer
  5326. goodsid:
  5327. description: 商品ID(自增ID SEQ_GOODS)
  5328. type: integer
  5329. goodsname:
  5330. description: 商品名称
  5331. type: string
  5332. goodsquotetype:
  5333. description: '合约报价类型: 1-直接报价 2-间接报价'
  5334. type: integer
  5335. goodsstatus:
  5336. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5337. type: integer
  5338. goodstradetype:
  5339. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5340. type: integer
  5341. goodunitid:
  5342. description: 报价单位ID
  5343. type: integer
  5344. hasquoter:
  5345. description: 是否有报价商 - 0:无报价商 1:有报价商
  5346. type: integer
  5347. hqprotecttime:
  5348. description: 行情保护时间(秒)
  5349. type: integer
  5350. innerdealmode:
  5351. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5352. type: integer
  5353. isbuylimited:
  5354. description: 是否限制建仓量 - 0:不限制 1:限制
  5355. type: integer
  5356. lasttradedate:
  5357. description: 最后交易日期(状态:待退市)
  5358. type: string
  5359. listingdate:
  5360. description: 交易开始日期
  5361. type: string
  5362. marketid:
  5363. description: 所属市场ID
  5364. type: integer
  5365. modifierid:
  5366. description: 修改人
  5367. type: integer
  5368. modifystatus:
  5369. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5370. type: integer
  5371. modifytime:
  5372. description: 修改时间
  5373. type: string
  5374. outerdealmode:
  5375. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5376. type: integer
  5377. outgoodscode:
  5378. description: 商品代码(外部)
  5379. type: string
  5380. qtydecimalplace:
  5381. description: 成交量小数位
  5382. type: integer
  5383. quotegear:
  5384. description: 行情档位(1-10)
  5385. type: integer
  5386. quoteminunit:
  5387. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5388. type: integer
  5389. quoteshowtype:
  5390. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5391. type: integer
  5392. quoteshowtypeinterval:
  5393. description: 行情报价间隔时间(秒)(成交价时为0)
  5394. type: integer
  5395. remark:
  5396. description: 备注
  5397. type: string
  5398. required:
  5399. - goodscode
  5400. - goodsid
  5401. - goodsname
  5402. - marketid
  5403. type: object
  5404. models.GoodsBrand:
  5405. properties:
  5406. brandid:
  5407. description: 品牌ID
  5408. type: integer
  5409. brandname:
  5410. description: 品牌名称
  5411. type: string
  5412. isvalid:
  5413. description: 是否有效 - 0:无效 1:有效
  5414. type: integer
  5415. type: object
  5416. models.GoodsIDAndName:
  5417. properties:
  5418. goodscode:
  5419. description: 商品代码(内部)
  5420. type: string
  5421. goodsid:
  5422. description: 商品ID(自增ID SEQ_GOODS)
  5423. type: integer
  5424. goodsname:
  5425. description: 商品名称
  5426. type: string
  5427. marketid:
  5428. description: 所属市场ID
  5429. type: integer
  5430. required:
  5431. - goodscode
  5432. - goodsid
  5433. - goodsname
  5434. - marketid
  5435. type: object
  5436. models.GoodsTypeModel:
  5437. properties:
  5438. convertfactor:
  5439. description: 标仓系数
  5440. type: number
  5441. modelid:
  5442. description: 型号ID
  5443. type: integer
  5444. modelname:
  5445. description: 型号名称
  5446. type: string
  5447. updatetime:
  5448. description: 更新时间
  5449. type: string
  5450. type: object
  5451. models.Goodsgroup:
  5452. properties:
  5453. agreeunit:
  5454. description: 合约单位
  5455. type: number
  5456. canshort:
  5457. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5458. type: integer
  5459. closepricemode:
  5460. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5461. type: integer
  5462. closepriceparam:
  5463. description: 强平最新价浮动比例 - 方式为2时使用
  5464. type: number
  5465. createtime:
  5466. description: 创建时间
  5467. type: string
  5468. creatorid:
  5469. description: 创建人
  5470. type: integer
  5471. currencyid:
  5472. description: 报价货币ID
  5473. type: integer
  5474. decimalplace:
  5475. description: 报价小数位
  5476. type: integer
  5477. exercisetype:
  5478. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5479. type: integer
  5480. exexchangeid:
  5481. description: 外部交易所ID[通道交易]
  5482. type: integer
  5483. goodsgroupid:
  5484. description: 商品组ID(自增ID)
  5485. type: integer
  5486. goodsgroupname:
  5487. description: 商品组名称
  5488. type: string
  5489. goodsgroupstatus:
  5490. description: 商品组状态 - 1:正常 2:注销
  5491. type: integer
  5492. goodunitid:
  5493. description: 报价单位ID
  5494. type: integer
  5495. innerdealmode:
  5496. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5497. type: integer
  5498. isbuylimited:
  5499. description: 是否限制建仓量 - 0:不限制 1:限制
  5500. type: integer
  5501. marketid:
  5502. description: 所属市场ID
  5503. type: integer
  5504. modifierid:
  5505. description: 修改人
  5506. type: integer
  5507. modifytime:
  5508. description: 修改时间
  5509. type: string
  5510. outerdealmode:
  5511. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5512. type: integer
  5513. outergroupcode:
  5514. description: 外部商品组代码[通道交易]
  5515. type: string
  5516. premiumdecimalplace:
  5517. description: 权利金小数位[场外期权]
  5518. type: integer
  5519. premiumspreadalgorithm:
  5520. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5521. type: integer
  5522. premiumspreadvalue:
  5523. description: 权利金点差值[场外期权]
  5524. type: number
  5525. qtydecimalplace:
  5526. description: 成交量小数位
  5527. type: integer
  5528. quotegear:
  5529. description: 行情档位(1-10)
  5530. type: integer
  5531. quoteminunit:
  5532. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5533. type: integer
  5534. quoterid:
  5535. description: 报价商ID[场外期权]
  5536. type: integer
  5537. quotesourcegroupid:
  5538. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5539. type: integer
  5540. syncgoodsqty:
  5541. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5542. type: integer
  5543. required:
  5544. - goodsgroupid
  5545. - goodsgroupname
  5546. - goodsgroupstatus
  5547. - marketid
  5548. type: object
  5549. models.Goodssortbypreposition:
  5550. properties:
  5551. goodscode:
  5552. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5553. type: string
  5554. goodsgroupcode:
  5555. description: 品种代码
  5556. type: string
  5557. prepositionqty:
  5558. description: 昨持仓量
  5559. type: integer
  5560. sortindex:
  5561. description: 排序
  5562. type: integer
  5563. tradedate:
  5564. description: 交易日
  5565. type: string
  5566. updatetime:
  5567. description: 更新时间
  5568. type: string
  5569. required:
  5570. - goodscode
  5571. - tradedate
  5572. type: object
  5573. models.Hedgeinnerholderdetail:
  5574. properties:
  5575. accountid:
  5576. description: 账号ID
  5577. type: integer
  5578. buyorsell:
  5579. description: 方向 - 0:买 1:卖
  5580. type: integer
  5581. freezeqty:
  5582. description: 冻结数量 - 按单平使用
  5583. type: integer
  5584. goodsid:
  5585. description: 商品ID
  5586. type: integer
  5587. holderamount:
  5588. description: 持仓金额 [商品币种]
  5589. type: number
  5590. holderdays:
  5591. description: 剩余冻结天数
  5592. type: integer
  5593. holderprice:
  5594. description: 持仓价格
  5595. type: number
  5596. holderqty:
  5597. description: 持仓数量
  5598. type: integer
  5599. marketid:
  5600. description: 市场ID
  5601. type: integer
  5602. openprice:
  5603. description: 建仓价格
  5604. type: number
  5605. openqty:
  5606. description: 建仓数量
  5607. type: integer
  5608. parentaccountid:
  5609. description: 所属母账户
  5610. type: integer
  5611. releaseamount:
  5612. description: 释放持仓金额[商品币种]
  5613. type: number
  5614. tradeamount:
  5615. description: 成交金额[账户]
  5616. type: number
  5617. tradedate:
  5618. description: 交易日(yyyyMMdd)
  5619. type: string
  5620. tradeid:
  5621. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5622. type: string
  5623. tradetime:
  5624. description: 交易时间
  5625. type: string
  5626. required:
  5627. - buyorsell
  5628. - tradeid
  5629. type: object
  5630. models.HsbyBuyMyPayOrder:
  5631. properties:
  5632. agreeunit:
  5633. description: 合约单位
  5634. type: number
  5635. buyaccountid:
  5636. description: 买方账号ID[报价币种]
  5637. type: integer
  5638. buyorderid:
  5639. description: 买方委托单号
  5640. type: string
  5641. createtime:
  5642. description: 创建时间
  5643. type: string
  5644. currencysign:
  5645. description: 货币符号
  5646. type: string
  5647. decimalplace:
  5648. description: 报价小数位
  5649. type: integer
  5650. goodscode:
  5651. description: 商品代码(内部)
  5652. type: string
  5653. goodsid:
  5654. description: 商品ID
  5655. type: integer
  5656. goodsname:
  5657. description: 商品名称
  5658. type: string
  5659. marketid:
  5660. description: 市场ID
  5661. type: integer
  5662. offamount:
  5663. description: 优惠金额
  5664. type: number
  5665. originalamount:
  5666. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5667. type: number
  5668. payamount:
  5669. description: 支付金额 = TradeAmount + TradeCharge
  5670. type: number
  5671. payflag:
  5672. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5673. type: integer
  5674. paylimitedtime:
  5675. description: 支付期限
  5676. type: string
  5677. paytime:
  5678. description: 付款时间
  5679. type: string
  5680. picurls1:
  5681. description: 预售商品介绍图片[多张用逗号分隔]
  5682. type: string
  5683. picurls2:
  5684. description: 挂牌商品介绍图片[多张用逗号分隔]
  5685. type: string
  5686. sellaccountid:
  5687. description: 卖方账号ID[报价币种]
  5688. type: integer
  5689. sellorderid:
  5690. description: 卖方委托单号
  5691. type: string
  5692. tradeamount:
  5693. description: 成交金额
  5694. type: number
  5695. tradecharge:
  5696. description: 成交手续费(买方)
  5697. type: number
  5698. tradedate:
  5699. description: 交易日(yyyyMMdd)
  5700. type: string
  5701. tradeid:
  5702. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5703. type: string
  5704. trademode:
  5705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5706. 21:竞拍-大宗式 22:受托竞价
  5707. type: integer
  5708. tradeprice:
  5709. description: 成交价格
  5710. type: number
  5711. tradeqty:
  5712. description: 成交数量
  5713. type: integer
  5714. vendorname1:
  5715. description: 预售商品供应商名称
  5716. type: string
  5717. vendorname2:
  5718. description: 挂牌商品供应商名称
  5719. type: string
  5720. required:
  5721. - goodscode
  5722. - goodsname
  5723. - tradeid
  5724. - trademode
  5725. type: object
  5726. models.HsbyBuyMyTradeDetail:
  5727. properties:
  5728. accountid:
  5729. description: 账户ID[报价币种]
  5730. type: integer
  5731. agreeunit:
  5732. description: 合约单位
  5733. type: number
  5734. amount:
  5735. description: 金额 = 价格 * 数量 * 合约单位
  5736. type: number
  5737. buyorsell:
  5738. description: 买卖 - 0:买 1:卖
  5739. type: integer
  5740. currencysign:
  5741. description: 货币符号
  5742. type: string
  5743. decimalplace:
  5744. description: 报价小数位
  5745. type: integer
  5746. goodscode:
  5747. description: 商品代码(内部)
  5748. type: string
  5749. goodsid:
  5750. description: 商品ID
  5751. type: integer
  5752. goodsname:
  5753. description: 商品名称
  5754. type: string
  5755. marketid:
  5756. description: 市场ID
  5757. type: integer
  5758. orderamount:
  5759. description: 委托金额
  5760. type: number
  5761. orderid:
  5762. description: 单号(成交单号)
  5763. type: string
  5764. picurls1:
  5765. description: 预售商品介绍图片[多张用逗号分隔]
  5766. type: string
  5767. picurls2:
  5768. description: 挂牌商品介绍图片[多张用逗号分隔]
  5769. type: string
  5770. price:
  5771. description: 价格
  5772. type: number
  5773. qty:
  5774. description: 数量
  5775. type: integer
  5776. time:
  5777. description: 时间
  5778. type: string
  5779. trademode:
  5780. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5781. 21:竞拍-大宗式 22:受托竞价
  5782. type: integer
  5783. vendorname1:
  5784. description: 预售商品供应商名称
  5785. type: string
  5786. vendorname2:
  5787. description: 挂牌商品供应商名称
  5788. type: string
  5789. required:
  5790. - accountid
  5791. - buyorsell
  5792. - goodscode
  5793. - goodsid
  5794. - goodsname
  5795. - marketid
  5796. - orderid
  5797. - qty
  5798. - time
  5799. - trademode
  5800. type: object
  5801. models.HsbyGoodsOrderDetail:
  5802. properties:
  5803. buyorsell:
  5804. description: 买卖 - 0:买 1:卖
  5805. type: integer
  5806. currencysign:
  5807. description: 货币符号
  5808. type: string
  5809. customername:
  5810. description: 客户名称(企业名称),已脱敏
  5811. type: string
  5812. enableqty:
  5813. description: 可用数量
  5814. type: integer
  5815. goodunit:
  5816. description: 报价单位
  5817. type: string
  5818. orderid:
  5819. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5820. type: string
  5821. orderprice:
  5822. description: 委托价格
  5823. type: number
  5824. ordertime:
  5825. description: 委托时间
  5826. type: string
  5827. required:
  5828. - buyorsell
  5829. - orderid
  5830. - ordertime
  5831. type: object
  5832. models.HsbyListingGoodsDetail:
  5833. properties:
  5834. agreeunit:
  5835. description: 合约单位
  5836. type: number
  5837. buymaxqty:
  5838. description: 购买上限 [71] - 0为不限
  5839. type: integer
  5840. currency:
  5841. description: 货币
  5842. type: string
  5843. currencysign:
  5844. description: 货币符号
  5845. type: string
  5846. decimalplace:
  5847. description: 报价小数位
  5848. type: integer
  5849. desccityid:
  5850. description: 目的地(市)ID
  5851. type: integer
  5852. descprovinceid:
  5853. description: 目的地(省)ID
  5854. type: integer
  5855. goodscode:
  5856. description: 商品代码(内部)
  5857. type: string
  5858. goodsdesc:
  5859. description: 商品详情
  5860. type: string
  5861. goodsid:
  5862. description: 商品ID(自增ID SEQ_GOODS)
  5863. type: integer
  5864. goodsname:
  5865. description: 商品名称
  5866. type: string
  5867. goodsprice:
  5868. description: 商品价格
  5869. type: number
  5870. hotindex:
  5871. description: 景点热度
  5872. type: integer
  5873. last:
  5874. description: 现价
  5875. type: number
  5876. limitdown:
  5877. description: 跌停价
  5878. type: number
  5879. limitup:
  5880. description: 涨停价
  5881. type: number
  5882. lotsize:
  5883. description: 手数最小变动单位
  5884. type: integer
  5885. marketid:
  5886. description: 所属市场ID
  5887. type: integer
  5888. picurls:
  5889. description: 介绍图片[多张用逗号分隔]
  5890. type: string
  5891. quoteminunit:
  5892. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5893. type: integer
  5894. stepvalue:
  5895. description: 价格最小变动单位
  5896. type: number
  5897. trademode:
  5898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5899. 21:竞拍-大宗式 22:受托竞价
  5900. type: integer
  5901. vendorattr:
  5902. description: 供应商附件(多张,逗号分隔)
  5903. type: string
  5904. vendorname:
  5905. description: 供应商名称
  5906. type: string
  5907. vendorphone:
  5908. description: 供应商客服电话
  5909. type: string
  5910. videourls:
  5911. description: 介绍视频[多张用逗号分隔]
  5912. type: string
  5913. required:
  5914. - goodscode
  5915. - goodsid
  5916. - goodsname
  5917. - marketid
  5918. - trademode
  5919. type: object
  5920. models.HsbyMarketGoods:
  5921. properties:
  5922. accountid:
  5923. description: 账户ID[报价币种]
  5924. type: integer
  5925. agreeunit:
  5926. description: 合约单位
  5927. type: number
  5928. buyorsell:
  5929. description: 买卖 - 0:买 1:卖
  5930. type: integer
  5931. categoryid:
  5932. description: 类别ID(WRCATEGORY)
  5933. type: integer
  5934. currency:
  5935. description: 货币
  5936. type: string
  5937. currencysign:
  5938. description: 货币符号
  5939. type: string
  5940. customername:
  5941. description: 卖家名称
  5942. type: string
  5943. decimalplace:
  5944. description: 报价小数位
  5945. type: integer
  5946. goodscode:
  5947. description: 商品代码(内部)
  5948. type: string
  5949. goodsid:
  5950. description: 商品ID
  5951. type: integer
  5952. goodsname:
  5953. description: 商品名称
  5954. type: string
  5955. goodsprice:
  5956. description: 商品价格
  5957. type: number
  5958. hascoupon:
  5959. description: 是否可用优惠卷
  5960. type: boolean
  5961. hotindex:
  5962. description: 景点热度
  5963. type: integer
  5964. marketid:
  5965. description: 市场ID
  5966. type: integer
  5967. orderid:
  5968. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5969. type: string
  5970. orderprice:
  5971. description: 委托价格
  5972. type: number
  5973. orderstatus:
  5974. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5975. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5976. 16:成交失败违约(荷兰式竞拍专用)
  5977. type: integer
  5978. picurls:
  5979. description: 介绍图片[多张用逗号分隔]
  5980. type: string
  5981. quoteminunit:
  5982. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5983. type: integer
  5984. sellUserID:
  5985. description: 卖方UserID
  5986. type: integer
  5987. trademode:
  5988. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5989. 21:竞拍-大宗式 22:受托竞价
  5990. type: integer
  5991. videourls:
  5992. description: 介绍视频[多张用逗号分隔]
  5993. type: string
  5994. required:
  5995. - accountid
  5996. - buyorsell
  5997. - goodscode
  5998. - goodsid
  5999. - goodsname
  6000. - marketid
  6001. - orderid
  6002. - trademode
  6003. type: object
  6004. models.HsbyMarketGoodsDetail:
  6005. properties:
  6006. accountid:
  6007. description: 账户ID[报价币种]
  6008. type: integer
  6009. agreeunit:
  6010. description: 合约单位
  6011. type: number
  6012. buymaxqty:
  6013. description: 购买上限 [71] - 0为不限
  6014. type: integer
  6015. buyorsell:
  6016. description: 买卖 - 0:买 1:卖
  6017. type: integer
  6018. cancelqty:
  6019. description: 撤单数量
  6020. type: integer
  6021. categoryid:
  6022. description: 类别ID(WRCATEGORY)
  6023. type: integer
  6024. currency:
  6025. description: 货币
  6026. type: string
  6027. currencysign:
  6028. description: 货币符号
  6029. type: string
  6030. customername:
  6031. description: 卖家名称
  6032. type: string
  6033. decimalplace:
  6034. description: 报价小数位
  6035. type: integer
  6036. goodscode:
  6037. description: 商品代码(内部)
  6038. type: string
  6039. goodsdesc:
  6040. description: 商品详情
  6041. type: string
  6042. goodsid:
  6043. description: 商品ID
  6044. type: integer
  6045. goodsname:
  6046. description: 商品名称
  6047. type: string
  6048. goodsprice:
  6049. description: 商品价格
  6050. type: number
  6051. hotindex:
  6052. description: 景点热度
  6053. type: integer
  6054. lotsize:
  6055. description: 手数最小变动单位
  6056. type: integer
  6057. marketid:
  6058. description: 市场ID
  6059. type: integer
  6060. orderid:
  6061. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6062. type: string
  6063. orderprice:
  6064. description: 委托价格
  6065. type: number
  6066. orderqty:
  6067. description: 委托数量
  6068. type: integer
  6069. orderstatus:
  6070. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6071. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6072. 16:成交失败违约(荷兰式竞拍专用)
  6073. type: integer
  6074. picurls:
  6075. description: 介绍图片[多张用逗号分隔]
  6076. type: string
  6077. quoteminunit:
  6078. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6079. type: integer
  6080. sellUserID:
  6081. description: 卖方UserID
  6082. type: integer
  6083. trademode:
  6084. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6085. 21:竞拍-大宗式 22:受托竞价
  6086. type: integer
  6087. tradeqty:
  6088. description: 成交数量
  6089. type: integer
  6090. vendorattr:
  6091. description: 供应商附件(多张,逗号分隔)
  6092. type: string
  6093. vendorname:
  6094. description: 供应商名称
  6095. type: string
  6096. vendorphone:
  6097. description: 供应商客服电话
  6098. type: string
  6099. videourls:
  6100. description: 介绍视频[多张用逗号分隔]
  6101. type: string
  6102. required:
  6103. - accountid
  6104. - buyorsell
  6105. - goodscode
  6106. - goodsid
  6107. - goodsname
  6108. - marketid
  6109. - orderid
  6110. - orderqty
  6111. - trademode
  6112. type: object
  6113. models.HsbyMarketInfo:
  6114. properties:
  6115. marketid:
  6116. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6117. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6118. type: integer
  6119. marketname:
  6120. description: 市场名称
  6121. type: string
  6122. marketstatus:
  6123. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6124. type: integer
  6125. trademode:
  6126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6127. 21:竞拍-大宗式 22:受托竞价
  6128. type: integer
  6129. required:
  6130. - marketid
  6131. - marketstatus
  6132. - trademode
  6133. type: object
  6134. models.HsbyMyGoods:
  6135. properties:
  6136. accountid:
  6137. description: 账号Id
  6138. type: integer
  6139. agreeunit:
  6140. description: 合约单位
  6141. type: number
  6142. buyaverageprice:
  6143. description: 持仓均价
  6144. type: number
  6145. buycurholderamount:
  6146. description: 买当前持仓总金额[商品币种]
  6147. type: number
  6148. buycurpositionqty:
  6149. description: 买当前持仓总数量
  6150. type: integer
  6151. buymaxqty:
  6152. description: 购买上限 [71] - 0为不限
  6153. type: integer
  6154. currencysign:
  6155. description: 货币符号
  6156. type: string
  6157. decimalplace:
  6158. description: 报价小数位
  6159. type: integer
  6160. enableqty:
  6161. description: 可用数量
  6162. type: integer
  6163. goodscode:
  6164. description: 商品代码(内部)
  6165. type: string
  6166. goodsid:
  6167. description: 商品Id
  6168. type: integer
  6169. goodsname:
  6170. description: 商品名称
  6171. type: string
  6172. goodsprice:
  6173. description: 商品价格
  6174. type: number
  6175. goodsstatus:
  6176. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6177. type: integer
  6178. last:
  6179. description: 现价(仅使用于挂牌点选)
  6180. type: number
  6181. limitdown:
  6182. description: 跌停价(仅使用于挂牌点选)
  6183. type: number
  6184. limitup:
  6185. description: 涨停价(仅使用于挂牌点选)
  6186. type: number
  6187. lotsize:
  6188. description: 手数最小变动单位
  6189. type: integer
  6190. marketid:
  6191. description: 所属市场ID
  6192. type: integer
  6193. picurls:
  6194. description: 介绍图片[多张用逗号分隔]
  6195. type: string
  6196. quoteminunit:
  6197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6198. type: integer
  6199. stepvalue:
  6200. description: 价格最小变动单位
  6201. type: number
  6202. trademode:
  6203. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6204. 21:竞拍-大宗式 22:受托竞价
  6205. type: integer
  6206. required:
  6207. - accountid
  6208. - goodscode
  6209. - goodsid
  6210. - goodsname
  6211. - marketid
  6212. - trademode
  6213. type: object
  6214. models.HsbyMyPackage:
  6215. properties:
  6216. accountid:
  6217. description: 账户ID
  6218. type: integer
  6219. address:
  6220. description: 提货人详细地址
  6221. type: string
  6222. agreeunit:
  6223. description: 合约单位
  6224. type: number
  6225. amount:
  6226. description: 提货金额
  6227. type: number
  6228. auditer:
  6229. description: 审核人
  6230. type: integer
  6231. audittime:
  6232. description: 审核时间
  6233. type: string
  6234. averageprice:
  6235. description: 均价
  6236. type: number
  6237. cardnum:
  6238. description: 提货人证件号码
  6239. type: string
  6240. cardtypeid:
  6241. description: 提货人证件类型
  6242. type: integer
  6243. checkremark:
  6244. description: 审核备注
  6245. type: string
  6246. currencysign:
  6247. description: 货币符号
  6248. type: string
  6249. decimalplace:
  6250. description: 报价小数位
  6251. type: integer
  6252. goodscode:
  6253. description: 商品代码(内部)
  6254. type: string
  6255. goodsid:
  6256. description: 商品ID
  6257. type: integer
  6258. goodsname:
  6259. description: 商品名称
  6260. type: string
  6261. handlestatus:
  6262. description: 处理状态
  6263. type: integer
  6264. marketid:
  6265. description: 市场ID
  6266. type: integer
  6267. phonenum:
  6268. description: 提货人联系方式
  6269. type: string
  6270. picurls:
  6271. description: 介绍图片[多张用逗号分隔]
  6272. type: string
  6273. qty:
  6274. description: 提货数量
  6275. type: number
  6276. recivername:
  6277. description: 提货人姓名
  6278. type: string
  6279. reqtime:
  6280. description: 更新时间
  6281. type: string
  6282. takemode:
  6283. description: 提货方式 - 2:自提 3:配送
  6284. type: integer
  6285. takeorderid:
  6286. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6287. type: string
  6288. takeorderstatus:
  6289. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6290. type: integer
  6291. takeremark:
  6292. description: 提货备注
  6293. type: string
  6294. tradedate:
  6295. description: 交易日(yyyyMMdd)
  6296. type: string
  6297. trademode:
  6298. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6299. 21:竞拍-大宗式 22:受托竞价
  6300. type: integer
  6301. userid:
  6302. description: 用户ID
  6303. type: integer
  6304. vendorname:
  6305. description: 供应商名称
  6306. type: string
  6307. required:
  6308. - goodscode
  6309. - goodsname
  6310. - takeorderid
  6311. - trademode
  6312. type: object
  6313. models.HsbyPreGoods:
  6314. properties:
  6315. agreeunit:
  6316. description: 合约单位
  6317. type: number
  6318. currency:
  6319. description: 货币
  6320. type: string
  6321. currencysign:
  6322. description: 货币符号
  6323. type: string
  6324. decimalplace:
  6325. description: 报价小数位
  6326. type: integer
  6327. desccityid:
  6328. description: 目的地(市)
  6329. type: integer
  6330. descprovinceid:
  6331. description: 目的地(省)
  6332. type: integer
  6333. enableqty:
  6334. description: 剩余数量
  6335. type: integer
  6336. goodscode:
  6337. description: 商品代码(内部)
  6338. type: string
  6339. goodsid:
  6340. description: 商品ID(自增ID SEQ_GOODS)
  6341. type: integer
  6342. goodsname:
  6343. description: 商品名称
  6344. type: string
  6345. goodsstatus:
  6346. description: 商品状态- 2:未上市 3:上市
  6347. type: integer
  6348. lasttradedate:
  6349. description: 最后交易日期(状态:待退市)
  6350. type: string
  6351. listingdate:
  6352. description: 交易开始日期
  6353. type: string
  6354. marketid:
  6355. description: 所属市场ID
  6356. type: integer
  6357. picurls:
  6358. description: 介绍图片[多张用逗号分隔]
  6359. type: string
  6360. presaledqty:
  6361. description: 已预售量(预售结束时更新)
  6362. type: integer
  6363. presaleqty:
  6364. description: 预售数量
  6365. type: integer
  6366. quoteminunit:
  6367. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6368. type: integer
  6369. refprice:
  6370. description: 参考价格[一口价]
  6371. type: number
  6372. relatedgoodsid:
  6373. description: 关联交易合约ID
  6374. type: integer
  6375. trademode:
  6376. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6377. 21:竞拍-大宗式 22:受托竞价
  6378. type: integer
  6379. videourls:
  6380. description: 介绍视频[多张用逗号分隔]
  6381. type: string
  6382. required:
  6383. - goodscode
  6384. - goodsid
  6385. - goodsname
  6386. - marketid
  6387. - trademode
  6388. type: object
  6389. models.HsbyPreGoodsDetail:
  6390. properties:
  6391. agreeunit:
  6392. description: 合约单位
  6393. type: number
  6394. buymaxqty:
  6395. description: 购买上限 [71] - 0为不限
  6396. type: integer
  6397. currency:
  6398. description: 货币
  6399. type: string
  6400. currencysign:
  6401. description: 货币符号
  6402. type: string
  6403. customername:
  6404. description: 发行单位
  6405. type: string
  6406. decimalplace:
  6407. description: 报价小数位
  6408. type: integer
  6409. desccityid:
  6410. description: 目的地(市)ID
  6411. type: integer
  6412. descprovinceid:
  6413. description: 目的地(省)ID
  6414. type: integer
  6415. enableqty:
  6416. description: 剩余数量
  6417. type: integer
  6418. goodscode:
  6419. description: 商品代码(内部)
  6420. type: string
  6421. goodsdesc:
  6422. description: 商品详情
  6423. type: string
  6424. goodsid:
  6425. description: 商品ID(自增ID SEQ_GOODS)
  6426. type: integer
  6427. goodsname:
  6428. description: 商品名称
  6429. type: string
  6430. goodsstatus:
  6431. description: 商品状态- 2:未上市 3:上市
  6432. type: integer
  6433. goodunit:
  6434. description: 报价单位
  6435. type: string
  6436. lasttradedate:
  6437. description: 最后交易日期(状态:待退市)
  6438. type: string
  6439. listingdate:
  6440. description: 交易开始日期
  6441. type: string
  6442. lotsize:
  6443. description: 手数最小变动单位
  6444. type: integer
  6445. marketid:
  6446. description: 所属市场ID
  6447. type: integer
  6448. picurls:
  6449. description: 介绍图片[多张用逗号分隔]
  6450. type: string
  6451. presaledqty:
  6452. description: 已预售量(预售结束时更新)
  6453. type: integer
  6454. presaleqty:
  6455. description: 预售数量
  6456. type: integer
  6457. quoteminunit:
  6458. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6459. type: integer
  6460. refprice:
  6461. description: 参考价格[一口价]
  6462. type: number
  6463. relatedgoodsid:
  6464. description: 关联交易合约ID
  6465. type: integer
  6466. stepvalue:
  6467. description: 价格最小变动单位
  6468. type: number
  6469. trademode:
  6470. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6471. 21:竞拍-大宗式 22:受托竞价
  6472. type: integer
  6473. vendorattr:
  6474. description: 供应商附件(多张,逗号分隔)
  6475. type: string
  6476. vendorname:
  6477. description: 供应商名称
  6478. type: string
  6479. vendorphone:
  6480. description: 供应商客服电话
  6481. type: string
  6482. videourls:
  6483. description: 介绍视频[多张用逗号分隔]
  6484. type: string
  6485. required:
  6486. - goodscode
  6487. - goodsid
  6488. - goodsname
  6489. - marketid
  6490. - trademode
  6491. type: object
  6492. models.HsbySellCollectionOrder:
  6493. properties:
  6494. agreeunit:
  6495. description: 合约单位
  6496. type: number
  6497. buyaccountid:
  6498. description: 买方账号ID[报价币种]
  6499. type: integer
  6500. buyorderid:
  6501. description: 买方委托单号
  6502. type: string
  6503. createtime:
  6504. description: 创建时间
  6505. type: string
  6506. currencysign:
  6507. description: 货币符号
  6508. type: string
  6509. decimalplace:
  6510. description: 报价小数位
  6511. type: integer
  6512. goodscode:
  6513. description: 商品代码(内部)
  6514. type: string
  6515. goodsid:
  6516. description: 商品ID
  6517. type: integer
  6518. goodsname:
  6519. description: 商品名称
  6520. type: string
  6521. marketid:
  6522. description: 市场ID
  6523. type: integer
  6524. offamount:
  6525. description: 优惠金额
  6526. type: number
  6527. payamount:
  6528. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6529. type: number
  6530. payflag:
  6531. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6532. type: integer
  6533. paylimitedtime:
  6534. description: 支付期限
  6535. type: string
  6536. paytime:
  6537. description: 付款时间
  6538. type: string
  6539. picurls:
  6540. description: 商品介绍图片[多张用逗号分隔]
  6541. type: string
  6542. sellaccountid:
  6543. description: 卖方账号ID[报价币种]
  6544. type: integer
  6545. sellorderid:
  6546. description: 卖方委托单号
  6547. type: string
  6548. tradeamount:
  6549. description: 成交金额
  6550. type: number
  6551. tradecharge:
  6552. description: 成交手续费(买方)
  6553. type: number
  6554. tradedate:
  6555. description: 交易日(yyyyMMdd)
  6556. type: string
  6557. tradeid:
  6558. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6559. type: string
  6560. trademode:
  6561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6562. 21:竞拍-大宗式 22:受托竞价
  6563. type: integer
  6564. tradeprice:
  6565. description: 成交价格
  6566. type: number
  6567. tradeqty:
  6568. description: 成交数量
  6569. type: integer
  6570. required:
  6571. - goodscode
  6572. - goodsname
  6573. - tradeid
  6574. - trademode
  6575. type: object
  6576. models.HsbySellMyDetail:
  6577. properties:
  6578. accountid:
  6579. description: 账户ID[报价币种]
  6580. type: integer
  6581. agreeunit:
  6582. description: 合约单位
  6583. type: number
  6584. buyorsell:
  6585. description: 买卖 - 0:买 1:卖
  6586. type: integer
  6587. currencysign:
  6588. description: 货币符号
  6589. type: string
  6590. decimalplace:
  6591. description: 报价小数位
  6592. type: integer
  6593. goodscode:
  6594. description: 商品代码(内部)
  6595. type: string
  6596. goodsid:
  6597. description: 商品ID
  6598. type: integer
  6599. goodsname:
  6600. description: 商品名称
  6601. type: string
  6602. marketid:
  6603. description: 市场ID
  6604. type: integer
  6605. orderid:
  6606. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6607. type: string
  6608. ordertype:
  6609. description: 单据类型:0 - 发布中, 1 - 已完成
  6610. type: integer
  6611. picurls:
  6612. description: 介绍图片[多张用逗号分隔]
  6613. type: string
  6614. price:
  6615. description: 价格
  6616. type: number
  6617. qty:
  6618. description: 数量
  6619. type: integer
  6620. time:
  6621. description: 时间
  6622. type: string
  6623. trademode:
  6624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6625. 21:竞拍-大宗式 22:受托竞价
  6626. type: integer
  6627. vendorname:
  6628. description: 供应商名称
  6629. type: string
  6630. required:
  6631. - accountid
  6632. - buyorsell
  6633. - goodscode
  6634. - goodsid
  6635. - goodsname
  6636. - marketid
  6637. - orderid
  6638. - time
  6639. - trademode
  6640. type: object
  6641. models.HsbyTopGoods:
  6642. properties:
  6643. agreeunit:
  6644. description: 合约单位
  6645. type: number
  6646. currency:
  6647. description: 货币
  6648. type: string
  6649. currencysign:
  6650. description: 货币符号
  6651. type: string
  6652. decimalplace:
  6653. description: 报价小数位
  6654. type: integer
  6655. desccityid:
  6656. description: 目的地(市)
  6657. type: integer
  6658. descprovinceid:
  6659. description: 目的地(省)
  6660. type: integer
  6661. goodscode:
  6662. description: 商品代码(内部)
  6663. type: string
  6664. goodsid:
  6665. description: 商品ID(自增ID SEQ_GOODS)
  6666. type: integer
  6667. goodsname:
  6668. description: 商品名称
  6669. type: string
  6670. hotindex:
  6671. description: 景点热度
  6672. type: integer
  6673. last:
  6674. description: 现价
  6675. type: number
  6676. marketid:
  6677. description: 所属市场ID
  6678. type: integer
  6679. picurls:
  6680. description: 介绍图片[多张用逗号分隔]
  6681. type: string
  6682. quoteminunit:
  6683. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6684. type: integer
  6685. trademode:
  6686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6687. 21:竞拍-大宗式 22:受托竞价
  6688. type: integer
  6689. videourls:
  6690. description: 介绍视频[多张用逗号分隔]
  6691. type: string
  6692. required:
  6693. - goodscode
  6694. - goodsid
  6695. - goodsname
  6696. - marketid
  6697. - trademode
  6698. type: object
  6699. models.HybsMyBuyOrderDetail:
  6700. properties:
  6701. accountid:
  6702. description: 账户ID[报价币种]
  6703. type: integer
  6704. agreeunit:
  6705. description: 合约单位
  6706. type: number
  6707. buyorsell:
  6708. description: 买卖 - 0:买 1:卖
  6709. type: integer
  6710. cancelqty:
  6711. description: 撤单数量
  6712. type: integer
  6713. currencysign:
  6714. description: 货币符号
  6715. type: string
  6716. decimalplace:
  6717. description: 报价小数位
  6718. type: integer
  6719. goodscode:
  6720. description: 商品代码(内部)
  6721. type: string
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 商品名称
  6727. type: string
  6728. listingselecttype:
  6729. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6730. type: integer
  6731. marketid:
  6732. description: 市场ID
  6733. type: integer
  6734. mybuystatus:
  6735. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6736. type: integer
  6737. orderamount:
  6738. description: 委托金额
  6739. type: number
  6740. orderid:
  6741. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6742. type: string
  6743. orderprice:
  6744. description: 委托价格
  6745. type: number
  6746. orderqty:
  6747. description: 委托数量
  6748. type: integer
  6749. orderstatus:
  6750. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6751. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6752. 16:成交失败违约(荷兰式竞拍专用)
  6753. type: integer
  6754. ordertime:
  6755. description: 委托时间
  6756. type: string
  6757. picurls1:
  6758. description: 预售商品介绍图片[多张用逗号分隔]
  6759. type: string
  6760. picurls2:
  6761. description: 挂牌商品介绍图片[多张用逗号分隔]
  6762. type: string
  6763. trademode:
  6764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6765. 21:竞拍-大宗式 22:受托竞价
  6766. type: integer
  6767. tradeqty:
  6768. description: 成交数量
  6769. type: integer
  6770. vendorname1:
  6771. description: 预售商品供应商名称
  6772. type: string
  6773. vendorname2:
  6774. description: 挂牌商品供应商名称
  6775. type: string
  6776. required:
  6777. - accountid
  6778. - buyorsell
  6779. - goodscode
  6780. - goodsid
  6781. - goodsname
  6782. - marketid
  6783. - orderid
  6784. - orderqty
  6785. - ordertime
  6786. - trademode
  6787. type: object
  6788. models.Loginaccount:
  6789. properties:
  6790. canoutin:
  6791. description: 是否可出入金 - 0:不可 1:可
  6792. type: integer
  6793. clientroleid:
  6794. description: 终端角色ID
  6795. type: integer
  6796. haslogined:
  6797. description: 是否已登录 - 0:未登录 1:已登录
  6798. type: integer
  6799. hasupdatedpwd:
  6800. description: 是否已更改密码 - 0:未修改 1:已修改
  6801. type: integer
  6802. lastloginip:
  6803. description: 最新登录地址
  6804. type: string
  6805. lastloginmode:
  6806. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6807. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6808. type: integer
  6809. lastloginremark:
  6810. description: 最新登录描述
  6811. type: string
  6812. lastlogintime:
  6813. description: 最新登录时间
  6814. type: string
  6815. logincode:
  6816. description: 登录代码
  6817. type: string
  6818. loginfailnum:
  6819. description: 连续登录失败次数(登录成功时清零)
  6820. type: integer
  6821. loginid:
  6822. description: 登陆账号
  6823. type: integer
  6824. loginport:
  6825. description: 最新登录端口
  6826. type: integer
  6827. loginstatus:
  6828. description: 登录账号状态 1:正常 2:冻结 3:无效
  6829. type: integer
  6830. loginusertype:
  6831. description: 登录账号类型 - 1:投资者 2:机构交易员
  6832. type: integer
  6833. modifierid:
  6834. description: 修改人
  6835. type: integer
  6836. modifytime:
  6837. description: 修改时间
  6838. type: string
  6839. pwdwrongcount:
  6840. description: 密码错误次数
  6841. type: integer
  6842. taaccountrighttype:
  6843. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6844. type: integer
  6845. unfreezetime:
  6846. description: 账户解冻时间
  6847. type: string
  6848. userid:
  6849. description: 用户ID
  6850. type: integer
  6851. required:
  6852. - loginid
  6853. type: object
  6854. models.Market:
  6855. properties:
  6856. auctionwrtype:
  6857. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6858. type: integer
  6859. canacceptquote:
  6860. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6861. type: integer
  6862. cangoodsexercise:
  6863. description: '[期权]是否可现货行权- 0:否 1:是'
  6864. type: integer
  6865. cangoodsexercisetype:
  6866. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6867. type: integer
  6868. canmanualquotestrike:
  6869. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6870. type: integer
  6871. canmutistage:
  6872. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6873. type: integer
  6874. canpreexercise:
  6875. description: '[期权]是否可预申报- 0:否 1:是'
  6876. type: integer
  6877. clearinterval:
  6878. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6879. type: integer
  6880. contracttmp:
  6881. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6882. type: string
  6883. exchareaid:
  6884. description: 所属交易所,可以没有
  6885. type: integer
  6886. goodstype:
  6887. description: 商品类型 - 1:交易商品 2:仓单商品
  6888. type: integer
  6889. hasrebate:
  6890. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6891. type: integer
  6892. hastradecredit:
  6893. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6894. type: integer
  6895. haswr:
  6896. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6897. type: integer
  6898. isdeductmargin:
  6899. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6900. type: integer
  6901. isrecordsource:
  6902. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6903. type: integer
  6904. isreleasemargin:
  6905. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6906. type: integer
  6907. marginformula:
  6908. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6909. type: integer
  6910. marginformula2:
  6911. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6912. type: integer
  6913. marketid:
  6914. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6915. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6916. type: integer
  6917. marketname:
  6918. description: 市场名称
  6919. type: string
  6920. marketserviceid:
  6921. description: 市场服务ID
  6922. type: integer
  6923. marketstatus:
  6924. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6925. type: integer
  6926. markettype:
  6927. description: 市场类型- 1:非交易服务 2:交易服务
  6928. type: integer
  6929. matchermode:
  6930. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6931. type: integer
  6932. openmethod:
  6933. description: 开盘模式 - 0 自动 1手动
  6934. type: integer
  6935. otcuserid:
  6936. description: 场外期权做市商[场外期权]
  6937. type: integer
  6938. outersynctime:
  6939. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6940. type: string
  6941. pendingflag:
  6942. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6943. type: integer
  6944. pendingtime:
  6945. description: 待开市时间[通道交易-对冲](HH:mm)
  6946. type: string
  6947. performancetempid:
  6948. description: 履约计划模板ID - 作废
  6949. type: integer
  6950. premiumquotemode:
  6951. description: 权利金报价方式 - 1:自动 2:手动
  6952. type: integer
  6953. rebateratio:
  6954. description: 返利比率[竞价式]
  6955. type: number
  6956. reckonorder:
  6957. description: 结算顺序
  6958. type: integer
  6959. reckonpricealgorithm:
  6960. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6961. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6962. type: integer
  6963. reckonpriceparam:
  6964. description: 结算价参数
  6965. type: integer
  6966. reckontime:
  6967. description: 结算时间[通道交易-对冲](HH:mm)
  6968. type: string
  6969. roleprioritytype:
  6970. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6971. type: integer
  6972. selllistingauditflag:
  6973. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6974. type: integer
  6975. trademarkettype:
  6976. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6977. type: integer
  6978. trademode:
  6979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6980. 21:竞拍-大宗式 22:受托竞价
  6981. type: integer
  6982. tradeproperty:
  6983. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6984. 8:场外期权
  6985. type: integer
  6986. tradetype:
  6987. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6988. type: integer
  6989. required:
  6990. - marketid
  6991. - marketstatus
  6992. - openmethod
  6993. - reckonpricealgorithm
  6994. - trademode
  6995. - tradeproperty
  6996. type: object
  6997. models.Marketrun:
  6998. properties:
  6999. afternexttradedate:
  7000. description: 下下交易日
  7001. type: string
  7002. clearquoteflag:
  7003. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7004. type: integer
  7005. lastreckondate:
  7006. description: 最新交易日(结算成功)
  7007. type: string
  7008. machinedate:
  7009. description: 机器时间
  7010. type: string
  7011. manualflag:
  7012. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7013. type: integer
  7014. marketid:
  7015. description: 市场ID
  7016. type: integer
  7017. nexttradedate:
  7018. description: 下一交易日
  7019. type: string
  7020. pretradedate:
  7021. description: 上一交易日
  7022. type: string
  7023. reckonflag:
  7024. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7025. type: integer
  7026. runstatus:
  7027. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7028. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7029. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7030. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7031. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7032. 62.今日免清算
  7033. type: integer
  7034. sectionid:
  7035. description: 时间段号[多时段时用]
  7036. type: integer
  7037. tradedate:
  7038. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7039. type: string
  7040. tradedate2:
  7041. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7042. type: string
  7043. updatetime:
  7044. description: 更新时间
  7045. type: string
  7046. required:
  7047. - marketid
  7048. - nexttradedate
  7049. - reckonflag
  7050. - runstatus
  7051. - tradedate
  7052. - tradedate2
  7053. type: object
  7054. models.Messageboard:
  7055. properties:
  7056. contactnum:
  7057. description: 联系电话
  7058. type: string
  7059. createtime:
  7060. description: 创建时间
  7061. type: string
  7062. message:
  7063. description: 留言信息
  7064. type: string
  7065. messageboardid:
  7066. description: 留言簿ID(SEQ_MessageBoard)
  7067. type: integer
  7068. userid:
  7069. description: 用户ID
  7070. type: integer
  7071. required:
  7072. - messageboardid
  7073. type: object
  7074. models.MyCoupon:
  7075. properties:
  7076. accountid:
  7077. description: 资金账户ID
  7078. type: integer
  7079. areauserid:
  7080. description: 所属机构
  7081. type: integer
  7082. conditionvalue:
  7083. description: 条件阈值(可为0)
  7084. type: number
  7085. couponcategroy:
  7086. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7087. type: integer
  7088. couponname:
  7089. description: 优惠券名称
  7090. type: string
  7091. coupontypeid:
  7092. description: 优惠券类型ID
  7093. type: string
  7094. couponvalue:
  7095. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7096. type: number
  7097. curfreezeqty:
  7098. description: 期末冻结数量
  7099. type: integer
  7100. curqty:
  7101. description: 期末数量
  7102. type: integer
  7103. isgeneral:
  7104. description: 是否通用券 - 0:否 1:是
  7105. type: integer
  7106. isunusable:
  7107. description: 是否不可用
  7108. type: boolean
  7109. limitedflag:
  7110. description: 是否指定商品 - 0:不限 1:限制
  7111. type: integer
  7112. limitedgoodsids:
  7113. description: 指定商品IDs[逗号分隔,前后加逗号]
  7114. type: string
  7115. orifreezeqty:
  7116. description: 期初冻结数量
  7117. type: integer
  7118. oriqty:
  7119. description: 期初数量
  7120. type: integer
  7121. reasontype:
  7122. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7123. type: integer
  7124. todaydecrease:
  7125. description: 今日减少
  7126. type: integer
  7127. todayincrease:
  7128. description: 今日增加
  7129. type: integer
  7130. userid:
  7131. description: 用户ID
  7132. type: integer
  7133. userscope:
  7134. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7135. type: string
  7136. required:
  7137. - accountid
  7138. - coupontypeid
  7139. type: object
  7140. models.MyCouponHold:
  7141. properties:
  7142. accountid:
  7143. description: 资金账户ID
  7144. type: integer
  7145. conditionvalue:
  7146. description: 条件阈值(可为0)
  7147. type: number
  7148. couponcategroy:
  7149. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7150. type: integer
  7151. couponholdid:
  7152. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7153. type: string
  7154. couponname:
  7155. description: 优惠券名称
  7156. type: string
  7157. coupontypeid:
  7158. description: 优惠券类型ID - SEQ_COUPONTYPE
  7159. type: string
  7160. couponvalue:
  7161. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7162. type: number
  7163. createtime:
  7164. description: 创建时间
  7165. type: string
  7166. enddate:
  7167. description: 结束日期
  7168. type: string
  7169. giveapplyid:
  7170. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7171. type: integer
  7172. holdstatus:
  7173. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7174. type: integer
  7175. isgeneral:
  7176. description: 是否通用券 - 0:否 1:是
  7177. type: integer
  7178. limitedflag:
  7179. description: 是否指定商品 - 0:不限 1:限制
  7180. type: integer
  7181. limitedgoodsids:
  7182. description: 指定商品IDs[逗号分隔]
  7183. type: string
  7184. qty:
  7185. description: 数量(按1平铺)
  7186. type: integer
  7187. startdate:
  7188. description: 开始日期
  7189. type: string
  7190. userid:
  7191. description: 用户ID
  7192. type: integer
  7193. userscope:
  7194. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7195. type: string
  7196. required:
  7197. - couponholdid
  7198. type: object
  7199. models.MyUsedCoupon:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID(买方)
  7203. type: integer
  7204. conditionvalue:
  7205. description: 条件阈值(可为0)
  7206. type: number
  7207. couponcategroy:
  7208. description: 种类 - 1:现金券 2:折扣券
  7209. type: integer
  7210. couponname:
  7211. description: 优惠券名称
  7212. type: string
  7213. coupontypeid:
  7214. description: 优惠券类型ID(买方)
  7215. type: string
  7216. couponvalue:
  7217. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  7218. type: number
  7219. createtime:
  7220. description: 创建时间
  7221. type: string
  7222. goodsid:
  7223. description: 商品ID
  7224. type: integer
  7225. handlestatus:
  7226. description: 处理状态
  7227. type: integer
  7228. marketid:
  7229. description: 市场ID
  7230. type: integer
  7231. offamount:
  7232. description: 优惠金额
  7233. type: number
  7234. orderid:
  7235. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7236. type: string
  7237. sellaccountid:
  7238. description: 资金账户ID(卖方)
  7239. type: integer
  7240. tradeamount:
  7241. description: 成交金额
  7242. type: number
  7243. tradeid:
  7244. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7245. type: string
  7246. usedqty:
  7247. description: 使用数量
  7248. type: integer
  7249. required:
  7250. - coupontypeid
  7251. - orderid
  7252. type: object
  7253. models.OperationPrimaryMenu:
  7254. properties:
  7255. Children:
  7256. description: 二级功能菜单
  7257. items:
  7258. $ref: '#/definitions/models.OperationSecondaryMenu'
  7259. type: array
  7260. Key:
  7261. description: 菜单KEY
  7262. type: string
  7263. Label:
  7264. description: 菜单标题
  7265. type: string
  7266. type: object
  7267. models.OperationSecondaryMenu:
  7268. properties:
  7269. Key:
  7270. description: 菜单KEY
  7271. type: string
  7272. Label:
  7273. description: 菜单标题
  7274. type: string
  7275. TabList:
  7276. description: 三级功能菜单
  7277. items:
  7278. $ref: '#/definitions/models.OperationTabMenu'
  7279. type: array
  7280. type: object
  7281. models.OperationTabMenu:
  7282. properties:
  7283. Key:
  7284. description: 菜单KEY
  7285. type: string
  7286. Label:
  7287. description: 菜单标题
  7288. type: string
  7289. type: object
  7290. models.QueryErrorInfosRsp:
  7291. properties:
  7292. description:
  7293. description: 异常描述
  7294. type: string
  7295. errorcode:
  7296. description: 异常代码
  7297. type: string
  7298. errorid:
  7299. description: 异常ID
  7300. type: integer
  7301. modulecode:
  7302. description: 所属模块
  7303. type: string
  7304. operatecode:
  7305. description: 所属操作
  7306. type: string
  7307. rownumber:
  7308. description: 行号
  7309. type: string
  7310. required:
  7311. - errorid
  7312. type: object
  7313. models.QueryHedgeOrderDetailRsp:
  7314. properties:
  7315. accountid:
  7316. description: 账户ID
  7317. type: integer
  7318. buyorsell:
  7319. description: 买卖 - 0:买 1:卖
  7320. type: integer
  7321. cancellogincode:
  7322. description: 撤单人
  7323. type: string
  7324. channelbuildtype:
  7325. description: 开平标志 - 0:无 1:建仓 2:平仓
  7326. type: integer
  7327. channelinnerorderstatus:
  7328. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  7329. 9:全部成交
  7330. type: integer
  7331. channeloperatetype:
  7332. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  7333. type: integer
  7334. closetype:
  7335. description: 平仓方式 - 0:无 1:平今 2:平昨
  7336. type: integer
  7337. curexchangerate:
  7338. description: 当前汇率
  7339. type: number
  7340. exchangefullname:
  7341. description: 外部交易所全称
  7342. type: string
  7343. goodscode:
  7344. description: 商品代码(内部)
  7345. type: string
  7346. goodsid:
  7347. description: 商品ID
  7348. type: integer
  7349. goodsname:
  7350. description: 商品名称
  7351. type: string
  7352. marketid:
  7353. description: 市场ID
  7354. type: integer
  7355. openfreezemargin:
  7356. description: 冻结保证金(冻结交易金额)
  7357. type: number
  7358. orderid:
  7359. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7360. type: string
  7361. orderlogincode:
  7362. description: 委托人
  7363. type: string
  7364. orderprice:
  7365. description: 委托价格(账户)
  7366. type: number
  7367. orderqty:
  7368. description: 委托数量
  7369. type: integer
  7370. ordertime:
  7371. description: 委托时间
  7372. type: string
  7373. pricemode:
  7374. description: '取价方式 - 1:市价 2: 限价'
  7375. type: integer
  7376. tradedate:
  7377. description: 交易日(yyyyMMdd)
  7378. type: string
  7379. tradeqty:
  7380. description: 成交数量
  7381. type: integer
  7382. type: object
  7383. models.QueryHedgeTradeDetailRsp:
  7384. properties:
  7385. accountid:
  7386. description: 账号ID
  7387. type: integer
  7388. buyorsell:
  7389. description: 方向 - 0:买 1:卖
  7390. type: integer
  7391. channelbuildtype:
  7392. description: 委托单据类型 0:无 1:建仓 2:平仓
  7393. type: integer
  7394. closecharge:
  7395. description: 平仓手续费(账户)
  7396. type: number
  7397. closecharge2:
  7398. description: 平仓手续费(商品)
  7399. type: number
  7400. closepl:
  7401. description: 平仓盈亏(账户)
  7402. type: number
  7403. closepl2:
  7404. description: 平仓盈亏(商品)
  7405. type: number
  7406. closepl3:
  7407. description: 平仓盈亏(账户)(逐笔)
  7408. type: number
  7409. closepl4:
  7410. description: 平仓盈亏(商品)(逐笔)
  7411. type: number
  7412. closetype:
  7413. description: 平仓方式 - 0:无 1:平今 2:平昨
  7414. type: integer
  7415. curexchangerate:
  7416. description: 当前汇率
  7417. type: number
  7418. exchangefullname:
  7419. description: 外部交易所全称
  7420. type: string
  7421. goodscode:
  7422. description: 商品代码(内部)
  7423. type: string
  7424. goodsid:
  7425. description: 商品ID
  7426. type: integer
  7427. goodsname:
  7428. description: 商品名称
  7429. type: string
  7430. marketid:
  7431. description: 市场ID
  7432. type: integer
  7433. opencharge:
  7434. description: 建仓手续费(账户)
  7435. type: number
  7436. opencharge2:
  7437. description: 建仓手续费(商品)
  7438. type: number
  7439. orderid:
  7440. description: 委托单号
  7441. type: string
  7442. orderlogincode:
  7443. description: 委托人
  7444. type: string
  7445. tradeamount:
  7446. description: 成交金额(账户)
  7447. type: number
  7448. tradedate:
  7449. description: 交易日(yyyyMMdd)
  7450. type: string
  7451. tradeid:
  7452. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7453. type: string
  7454. tradeprice:
  7455. description: 成交价格
  7456. type: number
  7457. tradeqty:
  7458. description: 成交数量
  7459. type: integer
  7460. tradetime:
  7461. description: 成交时间
  7462. type: string
  7463. tradetype:
  7464. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7465. type: integer
  7466. type: object
  7467. models.QuotePrimaryMenu:
  7468. properties:
  7469. Index:
  7470. description: 序号
  7471. type: integer
  7472. Key:
  7473. description: 键名
  7474. type: string
  7475. Name:
  7476. description: 菜单名称
  7477. type: string
  7478. SubMenus:
  7479. description: 子菜单
  7480. items:
  7481. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7482. type: array
  7483. SubTitleType:
  7484. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7485. type: integer
  7486. TradeModes:
  7487. description: 包含市场交易类型
  7488. type: string
  7489. type: object
  7490. models.QuoteSecondaryMenu:
  7491. properties:
  7492. ExExchangeCode:
  7493. description: 外部交易所代码
  7494. type: string
  7495. ExExchangeID:
  7496. description: 外部交易所ID
  7497. type: integer
  7498. GoodsGroupIDs:
  7499. description: 商品组ID列表
  7500. items:
  7501. type: integer
  7502. type: array
  7503. Index:
  7504. description: 序号
  7505. type: integer
  7506. MarketID:
  7507. description: 市场ID
  7508. type: integer
  7509. MenuTitle:
  7510. description: 菜单标题(市场名称或外部交易所名称)
  7511. type: string
  7512. TradeMode:
  7513. description: 交易模式
  7514. type: integer
  7515. type: object
  7516. models.RelatedGoodsEx:
  7517. properties:
  7518. goodscode:
  7519. description: 商品代码
  7520. type: string
  7521. goodsid:
  7522. description: 商品id
  7523. type: integer
  7524. goodsname:
  7525. description: 商品名称
  7526. type: string
  7527. type: object
  7528. models.SearchGoods:
  7529. properties:
  7530. goodscode:
  7531. description: 商品代码(内部)
  7532. type: string
  7533. goodsid:
  7534. description: 商品ID(自增ID SEQ_GOODS)
  7535. type: integer
  7536. goodsname:
  7537. description: 商品名称
  7538. type: string
  7539. marketid:
  7540. description: 所属市场ID
  7541. type: integer
  7542. marketname:
  7543. description: 市场名称
  7544. type: string
  7545. trademode:
  7546. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7547. 21:竞拍-大宗式 22:受托竞价
  7548. type: integer
  7549. required:
  7550. - goodscode
  7551. - goodsid
  7552. - goodsname
  7553. - marketid
  7554. - trademode
  7555. type: object
  7556. models.Systemparam:
  7557. properties:
  7558. loginid:
  7559. description: 更新用户账号,登录账号
  7560. type: string
  7561. modifyflag:
  7562. description: 修改标志0 不允许修改 1 允许修改
  7563. type: integer
  7564. paramcode:
  7565. description: 参数代码
  7566. type: string
  7567. paramname:
  7568. description: 参数名
  7569. type: string
  7570. paramtype:
  7571. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7572. type: integer
  7573. paramvalue:
  7574. description: 参数值
  7575. type: string
  7576. paramvalue2:
  7577. description: 参数值(CLOB)
  7578. type: string
  7579. regexpress:
  7580. description: 正则表达式
  7581. type: string
  7582. remark:
  7583. description: 备注
  7584. type: string
  7585. serverip:
  7586. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7587. type: string
  7588. showflag:
  7589. description: 是否显示0 不显示 1 显示
  7590. type: integer
  7591. updatetime:
  7592. description: 更新时间
  7593. type: string
  7594. userid:
  7595. description: 更新用户ID
  7596. type: integer
  7597. required:
  7598. - paramcode
  7599. type: object
  7600. models.Szdz3convertconfig:
  7601. properties:
  7602. canin:
  7603. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7604. type: integer
  7605. canout:
  7606. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7607. type: integer
  7608. converttype:
  7609. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7610. 6:交易转花生米(不设置)
  7611. type: integer
  7612. createtime:
  7613. description: 创建时间
  7614. type: string
  7615. creatorid:
  7616. description: 创建人
  7617. type: integer
  7618. daymaxvalue:
  7619. description: 当日最大转入限制
  7620. type: number
  7621. freezedays:
  7622. description: 冻结天数 [5:花生米转交易]
  7623. type: integer
  7624. innergoodsid:
  7625. description: 内部商品ID[交易]
  7626. type: integer
  7627. inratio:
  7628. description: 目标值
  7629. type: integer
  7630. modifierid:
  7631. description: 修改人
  7632. type: integer
  7633. modifytime:
  7634. description: 修改时间
  7635. type: string
  7636. outergoodscode:
  7637. description: 外部商品代码[JD\PD]
  7638. type: string
  7639. outratio:
  7640. description: 源值
  7641. type: integer
  7642. pddecimalplace:
  7643. description: PD小数位
  7644. type: integer
  7645. timemaxvalue:
  7646. description: 单次最大转入限制
  7647. type: number
  7648. timeminvalue:
  7649. description: 单次最小转入限制
  7650. type: number
  7651. required:
  7652. - converttype
  7653. - innergoodsid
  7654. - outergoodscode
  7655. type: object
  7656. models.Szdz3searchwhitelist:
  7657. properties:
  7658. createtime:
  7659. description: 创建时间
  7660. type: string
  7661. creatorid:
  7662. description: 创建人
  7663. type: integer
  7664. modifierid:
  7665. description: 修改人
  7666. type: integer
  7667. modifytime:
  7668. description: 修改时间
  7669. type: string
  7670. userid:
  7671. description: 用户ID
  7672. type: integer
  7673. required:
  7674. - userid
  7675. type: object
  7676. models.Taaccount:
  7677. properties:
  7678. accountflag:
  7679. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7680. type: integer
  7681. accountid:
  7682. description: 资金账户ID
  7683. type: integer
  7684. accountname:
  7685. description: 账户名称
  7686. type: string
  7687. balance:
  7688. description: 期初余额
  7689. type: number
  7690. capitalbalance:
  7691. description: 本金余额[外部子账户实际出入金余额]
  7692. type: number
  7693. changeflag:
  7694. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7695. type: integer
  7696. changetime:
  7697. description: 账户状态变更时间
  7698. type: string
  7699. closepl:
  7700. description: 今日平仓盈亏
  7701. type: number
  7702. creditdecrease:
  7703. description: 今日授信减少
  7704. type: number
  7705. creditincrease:
  7706. description: 今日授信增加
  7707. type: number
  7708. currencyid:
  7709. description: 货币ID
  7710. type: integer
  7711. currentbalance:
  7712. description: 期末余额
  7713. type: number
  7714. freezecharge:
  7715. description: 手续费冻结
  7716. type: number
  7717. freezemargin:
  7718. description: 冻结保证金
  7719. type: number
  7720. fromaccountid:
  7721. description: 所属上级账户
  7722. type: integer
  7723. inamount:
  7724. description: 今日入金金额(包括三方入金)
  7725. type: number
  7726. ismain:
  7727. description: 是否母账号 0:不是母账户 1:是母账户
  7728. type: integer
  7729. ismarketaccount:
  7730. description: 是否机构接单账号 0:不是 1:是
  7731. type: integer
  7732. isreckonaccount:
  7733. description: 是否机构分润账号 0:不是 1:是
  7734. type: integer
  7735. mortgagecredit:
  7736. description: 授信金额
  7737. type: number
  7738. orifreezecharge:
  7739. description: 期初手续费冻结
  7740. type: number
  7741. orifreezemargin:
  7742. description: 期初冻结保证金
  7743. type: number
  7744. orimortgagecredit:
  7745. description: 期初授信金额
  7746. type: number
  7747. oriothercredit:
  7748. description: 期初其它授信金额
  7749. type: number
  7750. oriotherfreezemargin:
  7751. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7752. type: number
  7753. orioutamountfreeze:
  7754. description: 期初出金冻结
  7755. type: number
  7756. oriusedmargin:
  7757. description: 期初占用保证金
  7758. type: number
  7759. othercredit:
  7760. description: 其它授信金额
  7761. type: number
  7762. othercreditdecrease:
  7763. description: 今日其它授信减少
  7764. type: number
  7765. othercreditincrease:
  7766. description: 今日其它授信增加
  7767. type: number
  7768. otherfreezemargin:
  7769. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7770. type: number
  7771. otherincome:
  7772. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7773. type: number
  7774. otherpay:
  7775. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7776. type: number
  7777. outamount:
  7778. description: 今日出金金额(包括三方出金)
  7779. type: number
  7780. outamountfreeze:
  7781. description: 出金冻结
  7782. type: number
  7783. outthreshold:
  7784. description: 出金阈值
  7785. type: number
  7786. parentaccountid:
  7787. description: 所属根账号
  7788. type: integer
  7789. paycharge:
  7790. description: 今日手续费支出
  7791. type: number
  7792. relatedaccountstatus:
  7793. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7794. type: integer
  7795. relateduserid:
  7796. description: 关联用户
  7797. type: integer
  7798. serivcegroup:
  7799. description: 服务分组
  7800. type: integer
  7801. signstatus:
  7802. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7803. type: integer
  7804. sublevelpath:
  7805. description: 账号层级路径(逗号分隔,首尾加逗号)
  7806. type: string
  7807. taaccounttype:
  7808. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7809. type: integer
  7810. thirdinamount:
  7811. description: 今日三方入金
  7812. type: number
  7813. thirdoutamount:
  7814. description: 今日三方出金
  7815. type: number
  7816. tradestatus:
  7817. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7818. type: integer
  7819. tradestatuschangetime:
  7820. description: 激活时间
  7821. type: string
  7822. transferamount:
  7823. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7824. type: number
  7825. usedmargin:
  7826. description: 占用保证金
  7827. type: number
  7828. userid:
  7829. description: 用户ID
  7830. type: integer
  7831. required:
  7832. - accountid
  7833. - userid
  7834. type: object
  7835. models.Tablecolumnconfig:
  7836. properties:
  7837. aligntype:
  7838. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7839. type: integer
  7840. autoid:
  7841. description: AutoID
  7842. type: integer
  7843. columnfield:
  7844. description: 列字段
  7845. type: string
  7846. columntitle:
  7847. description: 列Title
  7848. type: string
  7849. columnwidth:
  7850. description: 列宽
  7851. type: string
  7852. formatterstring:
  7853. description: 格式化字符
  7854. type: string
  7855. formattertype:
  7856. description: 格式化类型
  7857. type: string
  7858. groupname:
  7859. description: 表头分组名称
  7860. type: string
  7861. isshow:
  7862. description: 是否显示 - 0:不显示 1:显示
  7863. type: integer
  7864. needsummary:
  7865. description: 是否需要汇总 - 0:不需要 1:需要
  7866. type: integer
  7867. orderindex:
  7868. description: 顺序
  7869. type: integer
  7870. remark:
  7871. description: 备注
  7872. type: string
  7873. summarytype:
  7874. description: 汇总类型 - 1:加总 2:最后一个
  7875. type: integer
  7876. tablekey:
  7877. description: 列表Key
  7878. type: string
  7879. required:
  7880. - autoid
  7881. type: object
  7882. models.Useraccount:
  7883. properties:
  7884. accountname:
  7885. description: 账户名称(机构名称)
  7886. type: string
  7887. accountstatus:
  7888. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7889. type: integer
  7890. auditremark:
  7891. description: 审核备注
  7892. type: string
  7893. audittime:
  7894. description: 审核时间
  7895. type: string
  7896. audituserid:
  7897. description: 审核人
  7898. type: integer
  7899. broker:
  7900. description: 所属经纪人ID
  7901. type: integer
  7902. canceltime:
  7903. description: 销户时间
  7904. type: string
  7905. canceluserid:
  7906. description: 销户人
  7907. type: integer
  7908. createtime:
  7909. description: 创建时间
  7910. type: string
  7911. creatorid:
  7912. description: 创建人
  7913. type: integer
  7914. hasauth:
  7915. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7916. type: integer
  7917. isanonymous:
  7918. description: 是否匿名下单 - 0:否 1:是
  7919. type: integer
  7920. maxinvestornum:
  7921. description: 最大用户数(经纪会员下投资者个数)
  7922. type: integer
  7923. memberuserid:
  7924. description: 所属会员ID
  7925. type: integer
  7926. modifierid:
  7927. description: 修改人
  7928. type: integer
  7929. modifyremark:
  7930. description: 变更备注
  7931. type: string
  7932. modifystatus:
  7933. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7934. type: integer
  7935. modifytime:
  7936. description: 修改时间
  7937. type: string
  7938. parentuserid:
  7939. description: 所属机构ID
  7940. type: integer
  7941. reckonaccountid:
  7942. description: 默认结算资金账号ID(机构分润使用) 作废
  7943. type: integer
  7944. refercount:
  7945. description: 推荐总人数
  7946. type: integer
  7947. refereeuserid:
  7948. description: 推荐人ID
  7949. type: integer
  7950. refernum:
  7951. description: 推荐码
  7952. type: string
  7953. subarealevelpath:
  7954. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7955. type: string
  7956. userid:
  7957. description: 用户ID
  7958. type: integer
  7959. usertype:
  7960. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7961. type: integer
  7962. required:
  7963. - userid
  7964. type: object
  7965. models.Userfavoritegoods:
  7966. properties:
  7967. goodsid:
  7968. description: 商品ID
  7969. type: integer
  7970. required:
  7971. - goodsid
  7972. type: object
  7973. models.Userinfo:
  7974. properties:
  7975. address:
  7976. description: 地址
  7977. type: string
  7978. attachment1:
  7979. description: 附件1
  7980. type: string
  7981. attachment2:
  7982. description: 附件2
  7983. type: string
  7984. bankaccount:
  7985. description: 银行帐号 (加密存储)
  7986. type: string
  7987. bankaccountname:
  7988. description: 收款人名称
  7989. type: string
  7990. bankcardfrontphotourl:
  7991. description: 银行卡正面照地址
  7992. type: string
  7993. bankid:
  7994. description: 银行编码
  7995. type: string
  7996. bankname:
  7997. description: 银行名称
  7998. type: string
  7999. biznature:
  8000. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8001. type: integer
  8002. bizscope:
  8003. description: 企业经营范围(企业)
  8004. type: string
  8005. cardbackphotourl:
  8006. description: 证件背面图片地址
  8007. type: string
  8008. cardfrontphotourl:
  8009. description: 证件正面图片地址
  8010. type: string
  8011. cardnum:
  8012. description: 证件号码(加密存储)
  8013. type: string
  8014. cardtypeid:
  8015. description: 证件类型ID
  8016. type: integer
  8017. cityid:
  8018. description: 市
  8019. type: integer
  8020. company:
  8021. description: 公司(个人)
  8022. type: string
  8023. contactname:
  8024. description: 联系人
  8025. type: string
  8026. countryid:
  8027. description: 国家
  8028. type: integer
  8029. createtime:
  8030. description: 创建时间
  8031. type: string
  8032. creatorid:
  8033. description: 创建人
  8034. type: integer
  8035. customername:
  8036. description: 客户名称(企业名称)
  8037. type: string
  8038. districtid:
  8039. description: 地区
  8040. type: integer
  8041. email:
  8042. description: 邮件(加密存储)
  8043. type: string
  8044. fax:
  8045. description: 传真(加密存储)
  8046. type: string
  8047. halfbodyphotourl:
  8048. description: 半身照地址
  8049. type: string
  8050. hasencrypt:
  8051. description: 数据是否已加密 - 0:未加密 1:已加密
  8052. type: integer
  8053. headurl:
  8054. description: 头像地址
  8055. type: string
  8056. legalcardbackphotourl:
  8057. description: 法人身份证背面照地址
  8058. type: string
  8059. legalcardfrontphotourl:
  8060. description: 法人身份证正面照地址
  8061. type: string
  8062. legalpersonname:
  8063. description: 法人姓名(企业)
  8064. type: string
  8065. mobile:
  8066. description: 手机号码(加密存储)
  8067. type: string
  8068. mobile2:
  8069. description: 手机号码[明文-尚志]
  8070. type: string
  8071. modifierid:
  8072. description: 修改人
  8073. type: integer
  8074. modifiertime:
  8075. description: 修改时间
  8076. type: string
  8077. needinvoice:
  8078. description: 是否需要发票 - 0:不需要 1:需要
  8079. type: integer
  8080. nickname:
  8081. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8082. type: string
  8083. openmode:
  8084. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8085. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8086. type: integer
  8087. otherurl:
  8088. description: 其它图片地址[使用分号分隔]
  8089. type: string
  8090. postalcode:
  8091. description: 邮政编码
  8092. type: string
  8093. provinceid:
  8094. description: 省
  8095. type: integer
  8096. qq:
  8097. description: QQ(加密存储
  8098. type: string
  8099. remark:
  8100. description: 备注
  8101. type: string
  8102. sex:
  8103. description: '用户性别 0: 女 1: 男'
  8104. type: integer
  8105. signpdfurl:
  8106. description: 签约pdf文件
  8107. type: string
  8108. telphone:
  8109. description: 联系电话(加密存储)
  8110. type: string
  8111. userid:
  8112. description: 用户ID
  8113. type: integer
  8114. userinfotype:
  8115. description: 用户信息类型 - 1:个人 2:企业
  8116. type: integer
  8117. userstatus:
  8118. description: 用户状态 - 1:正常 2:注销
  8119. type: integer
  8120. usertype:
  8121. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8122. type: integer
  8123. wechat:
  8124. description: 微信(加密存储)
  8125. type: string
  8126. wskhinfo:
  8127. description: 开户申请信息(JSON)
  8128. type: string
  8129. required:
  8130. - userid
  8131. type: object
  8132. models.WRCategoryTree:
  8133. properties:
  8134. areauserid:
  8135. description: 所属机构
  8136. type: integer
  8137. categorydesc:
  8138. description: 类别描述
  8139. type: string
  8140. categoryid:
  8141. description: 类别ID(SEQ_WRCATEGORY)
  8142. type: integer
  8143. categoryname:
  8144. description: 类别名称
  8145. type: string
  8146. iconurl:
  8147. description: 图标地址
  8148. type: string
  8149. orderindex:
  8150. description: 顺序
  8151. type: integer
  8152. parentcategoryid:
  8153. description: 父类别ID
  8154. type: integer
  8155. subcategory:
  8156. description: 子分类
  8157. items:
  8158. $ref: '#/definitions/models.WRCategoryTree'
  8159. type: array
  8160. required:
  8161. - categoryid
  8162. type: object
  8163. models.WRSConverTDetail:
  8164. properties:
  8165. convertratio:
  8166. description: 套保系数
  8167. type: number
  8168. deliverygoodsid:
  8169. description: 现货品种ID
  8170. type: integer
  8171. enumdicname:
  8172. description: 单位名称
  8173. type: string
  8174. goodsunitid:
  8175. description: 套保品种单位id
  8176. type: integer
  8177. middlegoodscode:
  8178. description: 套保品种代码
  8179. type: string
  8180. middlegoodsid:
  8181. description: 套保品种ID
  8182. type: integer
  8183. middlegoodsname:
  8184. description: 套保品种名称
  8185. type: string
  8186. modifytime:
  8187. description: 修改时间
  8188. type: string
  8189. wrstandardid:
  8190. description: 现货商品ID
  8191. type: integer
  8192. type: object
  8193. models.WRStandardInfo:
  8194. properties:
  8195. createtime:
  8196. description: 创建时间
  8197. type: string
  8198. creatorid:
  8199. description: 创建人
  8200. type: integer
  8201. deliverygoodsid:
  8202. description: 品种ID
  8203. type: integer
  8204. deliverygoodsname:
  8205. description: 交割商品名称
  8206. type: string
  8207. factoryitemjson:
  8208. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8209. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8210. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8211. 逗号分隔'
  8212. type: string
  8213. isvalid:
  8214. description: 是否有效 - 0:无效 1:有效
  8215. type: integer
  8216. minivalue:
  8217. description: 最小变动值
  8218. type: integer
  8219. minivaluedp:
  8220. description: 最小变动值小数位
  8221. type: integer
  8222. realminivalue:
  8223. description: 实际最小变动值
  8224. type: integer
  8225. realminivaluedp:
  8226. description: 实际最小变动值小数位
  8227. type: integer
  8228. unitid:
  8229. description: 单位ID
  8230. type: integer
  8231. unitname:
  8232. description: 单位
  8233. type: string
  8234. updatetime:
  8235. description: 更新时间
  8236. type: string
  8237. updatorid:
  8238. description: 更新人
  8239. type: integer
  8240. wrsstatus:
  8241. description: 状态 - 作废 - 0:未激活 1:正常
  8242. type: integer
  8243. wrstandardcode:
  8244. description: 仓单标准代码
  8245. type: string
  8246. wrstandardid:
  8247. description: 仓单标准ID(SEQ_WRSTANDARD)
  8248. type: integer
  8249. wrstandardname:
  8250. description: 仓单标准名称
  8251. type: string
  8252. required:
  8253. - wrstandardid
  8254. type: object
  8255. models.Warehouseinfo:
  8256. properties:
  8257. address:
  8258. description: 详细地址
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构
  8262. type: integer
  8263. autoid:
  8264. description: 自增ID
  8265. type: integer
  8266. cityid:
  8267. description: 市
  8268. type: integer
  8269. contactname:
  8270. description: 联系人
  8271. type: string
  8272. contactnum:
  8273. description: 联系电话
  8274. type: string
  8275. countryid:
  8276. description: 国家
  8277. type: integer
  8278. createtime:
  8279. description: 创建时间
  8280. type: string
  8281. districtid:
  8282. description: 区
  8283. type: integer
  8284. hasvideo:
  8285. description: 是否有视频 - 0:无 1:有
  8286. type: integer
  8287. provinceid:
  8288. description: 省
  8289. type: integer
  8290. remark:
  8291. description: 审核备注
  8292. type: string
  8293. videourl:
  8294. description: 视频地址
  8295. type: string
  8296. warehousecode:
  8297. description: 仓库代码
  8298. type: string
  8299. warehousename:
  8300. description: 仓库名称
  8301. type: string
  8302. warehousestatus:
  8303. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8304. type: integer
  8305. warehousetype:
  8306. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8307. type: integer
  8308. required:
  8309. - autoid
  8310. - warehousecode
  8311. type: object
  8312. order.QueryHisTradeDetailRsp:
  8313. properties:
  8314. accountid:
  8315. description: 账户ID[报价币种]
  8316. type: integer
  8317. buildtype:
  8318. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8319. type: integer
  8320. buyorsell:
  8321. description: 方向 - 0:买 1:卖
  8322. type: integer
  8323. charge:
  8324. description: 手续费
  8325. type: number
  8326. closecharge:
  8327. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8328. type: number
  8329. closeexchagechargevalue:
  8330. description: 平仓交易所手续费设置值
  8331. type: number
  8332. closefeealgorithm:
  8333. description: 平仓手续费收取方式 1:比率 2:固定
  8334. type: integer
  8335. closememberchargevalue:
  8336. description: 平仓会员手续费设置值
  8337. type: number
  8338. closepl:
  8339. description: 平仓盈亏
  8340. type: number
  8341. closepl2:
  8342. description: 平仓盈亏[逐笔]
  8343. type: number
  8344. closeqty:
  8345. description: 平仓数量(先建后平操作 需要记录)
  8346. type: integer
  8347. creditamount:
  8348. description: 授信金额
  8349. type: number
  8350. gcaccountid:
  8351. description: 账户ID[合约币种]
  8352. type: integer
  8353. goodscode:
  8354. description: 商品代码
  8355. type: string
  8356. goodsid:
  8357. description: 商品ID
  8358. type: integer
  8359. goodsname:
  8360. description: 商品名称
  8361. type: string
  8362. histradedate:
  8363. description: 历史交易日
  8364. type: string
  8365. intclosepl:
  8366. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8367. type: integer
  8368. isconfirmexercise:
  8369. description: 是否确认行权- 0:否 1:是
  8370. type: integer
  8371. ismain:
  8372. description: 是否主单 - 0:不是 1:是
  8373. type: integer
  8374. ispreexercise:
  8375. description: 是否预申报- 0:否 1:是
  8376. type: integer
  8377. isreckoned:
  8378. description: 是否结算 - 0:未结算 1:已结算
  8379. type: integer
  8380. isvaliddata:
  8381. description: 是否有效 - 0:无效 1:有效
  8382. type: integer
  8383. listingselecttype:
  8384. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8385. type: integer
  8386. marketid:
  8387. description: 市场ID
  8388. type: integer
  8389. marketname:
  8390. description: 市场名称
  8391. type: string
  8392. matchaccountid:
  8393. description: 对手账号id
  8394. type: integer
  8395. memberuserid:
  8396. description: 会员id 个人投资者 需要填写
  8397. type: integer
  8398. opencharge:
  8399. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8400. type: number
  8401. openexchagechargevalue:
  8402. description: 建仓交易所手续费设置值
  8403. type: number
  8404. openfeealgorithm:
  8405. description: 建仓手续费收取方式 1:比率 2:固定
  8406. type: integer
  8407. openmemberchargevalue:
  8408. description: 建仓会员手续费设置值
  8409. type: number
  8410. openqty:
  8411. description: 开仓数量(先建后平操作 需要记录)
  8412. type: integer
  8413. optiontype:
  8414. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8415. type: integer
  8416. orderid:
  8417. description: 委托单号
  8418. type: string
  8419. performanceplanid:
  8420. description: 履约计划ID[期权]
  8421. type: integer
  8422. performancestatus:
  8423. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8424. type: integer
  8425. preexerciseprice:
  8426. description: 预申报价格
  8427. type: number
  8428. premium:
  8429. description: 权利金 - [持仓单的权利金]
  8430. type: number
  8431. relatedouttradeid:
  8432. description: 关联外部成交单ID
  8433. type: integer
  8434. status:
  8435. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8436. type: integer
  8437. tradeamount:
  8438. description: 成交金额[账户币种,用于所有权]
  8439. type: number
  8440. tradedate:
  8441. description: 交易日(yyyyMMdd)
  8442. type: string
  8443. tradeid:
  8444. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8445. type: string
  8446. trademode:
  8447. description: 交易模式
  8448. type: integer
  8449. tradeprice:
  8450. description: 成交价格
  8451. type: number
  8452. tradeproperty:
  8453. description: 交易属性
  8454. type: integer
  8455. tradeqty:
  8456. description: 成交数量
  8457. type: integer
  8458. tradetime:
  8459. description: 成交时间
  8460. type: string
  8461. tradetype:
  8462. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8463. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8464. type: integer
  8465. required:
  8466. - accountid
  8467. - buyorsell
  8468. - goodsid
  8469. - histradedate
  8470. - marketid
  8471. - memberuserid
  8472. - orderid
  8473. - tradeamount
  8474. - tradedate
  8475. - tradeid
  8476. - tradeprice
  8477. - tradeqty
  8478. - tradetime
  8479. type: object
  8480. order.QueryHisTradeOrderDetailRsp:
  8481. properties:
  8482. accountid:
  8483. description: 账户ID[报价币种]
  8484. type: integer
  8485. buildtype:
  8486. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8487. type: integer
  8488. buyorsell:
  8489. description: 买卖 - 0:买 1:卖
  8490. type: integer
  8491. cancelorderid:
  8492. description: 撤单单号(撤单时填写)
  8493. type: string
  8494. cancelqty:
  8495. description: 撤单数量
  8496. type: integer
  8497. clientordertime:
  8498. description: 客户端委托时间
  8499. type: string
  8500. clientticket:
  8501. description: 客户端流水号
  8502. type: string
  8503. clienttype:
  8504. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8505. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8506. type: integer
  8507. closeexchagechargevalue:
  8508. description: 平仓交易所手续费设置值
  8509. type: number
  8510. closefeealgorithm:
  8511. description: 平仓手续费收取方式 1:比率 2:固定
  8512. type: integer
  8513. closefreezecharge:
  8514. description: 平仓冻结手续费(先建后平操作,需要记录)
  8515. type: number
  8516. closememberchargevalue:
  8517. description: 平仓会员手续费设置值
  8518. type: number
  8519. closeqty:
  8520. description: 平仓数量(先建后平操作 需要记录)
  8521. type: integer
  8522. closetradeqty:
  8523. description: 平仓成交数量(先建后平操作,需要记录)
  8524. type: integer
  8525. closeunfreezecharge:
  8526. description: 平仓解冻手续费(先建后平操作,需要记录)
  8527. type: number
  8528. delistingtype:
  8529. description: 摘牌类型 - 1:价格最优 2:点选成交
  8530. type: integer
  8531. freezecharge:
  8532. description: 冻结手续费
  8533. type: number
  8534. freezemargin:
  8535. description: 冻结保证金(冻结交易金额)
  8536. type: number
  8537. gcaccountid:
  8538. description: 账户ID[合约币种]
  8539. type: integer
  8540. goodscode:
  8541. description: 商品代码
  8542. type: string
  8543. goodsid:
  8544. description: 商品ID
  8545. type: integer
  8546. goodsname:
  8547. description: 商品名称
  8548. type: string
  8549. histradedate:
  8550. description: 历史交易日
  8551. type: string
  8552. isconfirmexercise:
  8553. description: 是否确认行权- 0:否 1:是
  8554. type: integer
  8555. ispreexercise:
  8556. description: 是否预申报- 0:否 1:是
  8557. type: integer
  8558. isvaliddata:
  8559. description: 是否有效 - 0:无效 1:有效
  8560. type: integer
  8561. listingselecttype:
  8562. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8563. type: integer
  8564. marginalgorithm:
  8565. description: 保证金收取方式 1:比率 2:固定
  8566. type: integer
  8567. marginvalue:
  8568. description: 即市保证金设置值
  8569. type: number
  8570. marketid:
  8571. description: 市场ID
  8572. type: integer
  8573. marketmaxsub:
  8574. description: 市价最大偏移范围
  8575. type: number
  8576. marketname:
  8577. description: 市场名称
  8578. type: string
  8579. memberuserid:
  8580. description: 所属会员UserID
  8581. type: integer
  8582. openexchagechargevalue:
  8583. description: 建仓交易所手续费设置值
  8584. type: number
  8585. openfeealgorithm:
  8586. description: 建仓手续费收取方式 1:比率 2:固定
  8587. type: integer
  8588. openfreezecharge:
  8589. description: 开仓冻结手续费(先建后平操作,需要记录)
  8590. type: number
  8591. openmemberchargevalue:
  8592. description: 建仓会员手续费设置值
  8593. type: number
  8594. openqty:
  8595. description: 开仓数量(先建后平操作,需要记录)
  8596. type: integer
  8597. opentradeqty:
  8598. description: 开仓成交数量(先建后平操作,需要记录)
  8599. type: integer
  8600. openunfreezecharge:
  8601. description: 开仓解冻手续费(先建后平操作,需要记录)
  8602. type: number
  8603. operatetype:
  8604. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8605. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8606. 15:管理端协议转让
  8607. type: integer
  8608. operatorid:
  8609. description: 登录账号(LoginID)
  8610. type: integer
  8611. optiontype:
  8612. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8613. type: integer
  8614. orderid:
  8615. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8616. type: string
  8617. orderprice:
  8618. description: 委托价格
  8619. type: number
  8620. orderqty:
  8621. description: 委托数量
  8622. type: integer
  8623. ordersrc:
  8624. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8625. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8626. type: integer
  8627. orderstatus:
  8628. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8629. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8630. 16:成交失败违约(荷兰式竞拍专用)
  8631. type: integer
  8632. ordertime:
  8633. description: 委托时间
  8634. type: string
  8635. preexerciseprice:
  8636. description: 预申报价格
  8637. type: number
  8638. premium:
  8639. description: 权利金
  8640. type: number
  8641. preorderid:
  8642. description: 关联预埋单号(止盈止损单时填写)
  8643. type: string
  8644. pricemode:
  8645. description: '取价方式 - 1:市价 2: 限价'
  8646. type: integer
  8647. quoteid:
  8648. description: 报价单ID
  8649. type: integer
  8650. relatedid:
  8651. description: 关联单号(交割单)
  8652. type: string
  8653. retcode:
  8654. description: 错误代码
  8655. type: integer
  8656. sessionid:
  8657. description: 会话ID
  8658. type: integer
  8659. tradedate:
  8660. description: 交易日(yyyyMMdd)
  8661. type: string
  8662. trademode:
  8663. description: 交易模式
  8664. type: integer
  8665. tradeproperty:
  8666. description: 交易属性
  8667. type: integer
  8668. tradeqty:
  8669. description: 成交数量
  8670. type: integer
  8671. unfreezecharge:
  8672. description: 解冻手续费
  8673. type: number
  8674. unfreezemargin:
  8675. description: 解冻保证金
  8676. type: number
  8677. updatetime:
  8678. description: 更新时间
  8679. type: string
  8680. uuid:
  8681. description: 发起端唯一id
  8682. type: string
  8683. validtime:
  8684. description: 有效期限
  8685. type: string
  8686. validtype:
  8687. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8688. type: integer
  8689. volumetype:
  8690. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8691. type: integer
  8692. required:
  8693. - accountid
  8694. - buildtype
  8695. - buyorsell
  8696. - goodsid
  8697. - histradedate
  8698. - marketid
  8699. - memberuserid
  8700. - operatetype
  8701. - orderid
  8702. - orderqty
  8703. - ordertime
  8704. - pricemode
  8705. - tradedate
  8706. - validtype
  8707. type: object
  8708. order.QueryTradeDetailRsp:
  8709. properties:
  8710. accountid:
  8711. description: 账户ID[报价币种]
  8712. type: integer
  8713. buildtype:
  8714. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8715. type: integer
  8716. buyorsell:
  8717. description: 方向 - 0:买 1:卖
  8718. type: integer
  8719. charge:
  8720. description: 手续费
  8721. type: number
  8722. closecharge:
  8723. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8724. type: number
  8725. closeexchagechargevalue:
  8726. description: 平仓交易所手续费设置值
  8727. type: number
  8728. closefeealgorithm:
  8729. description: 平仓手续费收取方式 1:比率 2:固定
  8730. type: integer
  8731. closememberchargevalue:
  8732. description: 平仓会员手续费设置值
  8733. type: number
  8734. closepl:
  8735. description: 平仓盈亏
  8736. type: number
  8737. closepl2:
  8738. description: 平仓盈亏[逐笔]
  8739. type: number
  8740. closeqty:
  8741. description: 平仓数量(先建后平操作 需要记录)
  8742. type: integer
  8743. creditamount:
  8744. description: 授信金额
  8745. type: number
  8746. gcaccountid:
  8747. description: 账户ID[合约币种]
  8748. type: integer
  8749. goodscode:
  8750. description: 商品代码
  8751. type: string
  8752. goodsid:
  8753. description: 商品ID
  8754. type: integer
  8755. goodsname:
  8756. description: 商品名称
  8757. type: string
  8758. intclosepl:
  8759. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8760. type: integer
  8761. isconfirmexercise:
  8762. description: 是否确认行权- 0:否 1:是
  8763. type: integer
  8764. ismain:
  8765. description: 是否主单 - 0:不是 1:是
  8766. type: integer
  8767. ispreexercise:
  8768. description: 是否预申报- 0:否 1:是
  8769. type: integer
  8770. isreckoned:
  8771. description: 是否结算 - 0:未结算 1:已结算
  8772. type: integer
  8773. listingselecttype:
  8774. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8775. type: integer
  8776. marketid:
  8777. description: 市场ID
  8778. type: integer
  8779. marketname:
  8780. description: 市场名称
  8781. type: string
  8782. matchaccountid:
  8783. description: 对手账号id
  8784. type: integer
  8785. memberuserid:
  8786. description: 会员id 个人投资者 需要填写
  8787. type: integer
  8788. opencharge:
  8789. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8790. type: number
  8791. openexchagechargevalue:
  8792. description: 建仓交易所手续费设置值
  8793. type: number
  8794. openfeealgorithm:
  8795. description: 建仓手续费收取方式 1:比率 2:固定
  8796. type: integer
  8797. openmemberchargevalue:
  8798. description: 建仓会员手续费设置值
  8799. type: number
  8800. openqty:
  8801. description: 开仓数量(先建后平操作 需要记录)
  8802. type: integer
  8803. optiontype:
  8804. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8805. type: integer
  8806. orderid:
  8807. description: 委托单号
  8808. type: string
  8809. performanceplanid:
  8810. description: 履约计划ID[期权]
  8811. type: integer
  8812. performancestatus:
  8813. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8814. type: integer
  8815. preexerciseprice:
  8816. description: 预申报价格
  8817. type: number
  8818. premium:
  8819. description: 权利金 - [持仓单的权利金]
  8820. type: number
  8821. relatedouttradeid:
  8822. description: 关联外部成交单ID
  8823. type: integer
  8824. status:
  8825. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8826. type: integer
  8827. tradeamount:
  8828. description: 成交金额[账户币种,用于所有权]
  8829. type: number
  8830. tradedate:
  8831. description: 交易日(yyyyMMdd)
  8832. type: string
  8833. tradeid:
  8834. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8835. type: string
  8836. trademode:
  8837. description: 交易模式
  8838. type: integer
  8839. tradeprice:
  8840. description: 成交价格
  8841. type: number
  8842. tradeproperty:
  8843. description: 交易属性
  8844. type: integer
  8845. tradeqty:
  8846. description: 成交数量
  8847. type: integer
  8848. tradetime:
  8849. description: 成交时间
  8850. type: string
  8851. tradetype:
  8852. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8853. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8854. type: integer
  8855. required:
  8856. - accountid
  8857. - buyorsell
  8858. - goodsid
  8859. - marketid
  8860. - memberuserid
  8861. - orderid
  8862. - tradeamount
  8863. - tradedate
  8864. - tradeid
  8865. - tradeprice
  8866. - tradeqty
  8867. - tradetime
  8868. type: object
  8869. order.QueryTradeOrderDetailRsp:
  8870. properties:
  8871. accountid:
  8872. description: 账户ID[报价币种]
  8873. type: integer
  8874. buildtype:
  8875. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8876. type: integer
  8877. buyorsell:
  8878. description: 买卖 - 0:买 1:卖
  8879. type: integer
  8880. cancelorderid:
  8881. description: 撤单单号(撤单时填写)
  8882. type: string
  8883. cancelqty:
  8884. description: 撤单数量
  8885. type: integer
  8886. clienttype:
  8887. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8888. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8889. type: integer
  8890. closefreezecharge:
  8891. description: 平仓冻结手续费(先建后平操作,需要记录)
  8892. type: number
  8893. closeqty:
  8894. description: 平仓数量(先建后平操作 需要记录)
  8895. type: integer
  8896. closetradeqty:
  8897. description: 平仓成交数量(先建后平操作,需要记录)
  8898. type: integer
  8899. closeunfreezecharge:
  8900. description: 平仓解冻手续费(先建后平操作,需要记录)
  8901. type: number
  8902. delistingtype:
  8903. description: 摘牌类型 - 1:价格最优 2:点选成交
  8904. type: integer
  8905. enableqty:
  8906. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8907. type: integer
  8908. freezecharge:
  8909. description: 冻结手续费
  8910. type: number
  8911. freezemargin:
  8912. description: 冻结保证金(冻结交易金额)
  8913. type: number
  8914. goodscode:
  8915. description: 商品代码
  8916. type: string
  8917. goodsid:
  8918. description: 商品ID
  8919. type: integer
  8920. goodsname:
  8921. description: 商品名称
  8922. type: string
  8923. listingselecttype:
  8924. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8925. type: integer
  8926. marketid:
  8927. description: 市场ID
  8928. type: integer
  8929. marketname:
  8930. description: 市场名称
  8931. type: string
  8932. openfreezecharge:
  8933. description: 开仓冻结手续费(先建后平操作,需要记录)
  8934. type: number
  8935. openqty:
  8936. description: 开仓数量(先建后平操作,需要记录)
  8937. type: integer
  8938. opentradeqty:
  8939. description: 开仓成交数量(先建后平操作,需要记录)
  8940. type: integer
  8941. openunfreezecharge:
  8942. description: 开仓解冻手续费(先建后平操作,需要记录)
  8943. type: number
  8944. operatetype:
  8945. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8946. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8947. 15:管理端协议转让
  8948. type: integer
  8949. operatorid:
  8950. description: 登录账号(LoginID)
  8951. type: integer
  8952. orderid:
  8953. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8954. type: string
  8955. orderprice:
  8956. description: 委托价格
  8957. type: number
  8958. orderqty:
  8959. description: 委托数量
  8960. type: integer
  8961. ordersrc:
  8962. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8963. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8964. type: integer
  8965. orderstatus:
  8966. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8967. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8968. 16:成交失败违约(荷兰式竞拍专用)
  8969. type: integer
  8970. ordertime:
  8971. description: 委托时间
  8972. type: string
  8973. preorderid:
  8974. description: 关联预埋单号(止盈止损单时填写)
  8975. type: string
  8976. pricemode:
  8977. description: '取价方式 - 1:市价 2: 限价'
  8978. type: integer
  8979. relatedid:
  8980. description: 关联单号(交割单)
  8981. type: string
  8982. tradedate:
  8983. description: 交易日(yyyyMMdd)
  8984. type: string
  8985. trademode:
  8986. description: 交易模式
  8987. type: integer
  8988. tradeqty:
  8989. description: 成交数量
  8990. type: integer
  8991. unfreezecharge:
  8992. description: 解冻手续费
  8993. type: number
  8994. unfreezemargin:
  8995. description: 解冻保证金
  8996. type: number
  8997. validtime:
  8998. description: 有效期限
  8999. type: string
  9000. validtype:
  9001. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9002. type: integer
  9003. volumetype:
  9004. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9005. type: integer
  9006. required:
  9007. - accountid
  9008. - buildtype
  9009. - buyorsell
  9010. - goodsid
  9011. - marketid
  9012. - operatetype
  9013. - orderqty
  9014. - ordertime
  9015. - pricemode
  9016. - tradedate
  9017. - validtype
  9018. type: object
  9019. order.QueryTradePositionRsp:
  9020. properties:
  9021. accountid:
  9022. description: 资金账户
  9023. type: integer
  9024. agreeunit:
  9025. description: 合约单位
  9026. type: number
  9027. averageprice:
  9028. description: 持仓均价
  9029. type: number
  9030. buyorsell:
  9031. description: 方向 - 0:买 1:卖
  9032. type: integer
  9033. closetotalqty:
  9034. description: 平仓总数量
  9035. type: integer
  9036. curholderamount:
  9037. description: 当前持仓总金额[商品币种]
  9038. type: number
  9039. curpositionqty:
  9040. description: 当前持仓总数量
  9041. type: integer
  9042. currencyid:
  9043. description: 报价货币ID
  9044. type: integer
  9045. curtdposition:
  9046. description: 期末今日头寸
  9047. type: integer
  9048. decimalplace:
  9049. description: 报价小数位
  9050. type: integer
  9051. enableqty:
  9052. description: 可用量
  9053. type: integer
  9054. fretdposition:
  9055. description: 冻结今日头寸
  9056. type: integer
  9057. frozenqty:
  9058. description: 持仓冻结数量
  9059. type: integer
  9060. goodscode:
  9061. description: 商品代码
  9062. type: string
  9063. goodsid:
  9064. description: 商品Id
  9065. type: integer
  9066. goodsname:
  9067. description: 商品名称
  9068. type: string
  9069. goodunit:
  9070. description: 报价单位
  9071. type: string
  9072. goodunitid:
  9073. description: 报价单位ID
  9074. type: integer
  9075. holderamount:
  9076. description: 期初持仓总金额[商品币种]
  9077. type: number
  9078. marketid:
  9079. description: 所属市场ID
  9080. type: integer
  9081. openreqqty:
  9082. description: 开仓申请数量(用于比较最大持仓数量)
  9083. type: integer
  9084. opentotalqty:
  9085. description: 开仓总数量
  9086. type: integer
  9087. otherfrozenqty:
  9088. description: 持仓其他冻结数量(交割冻结)
  9089. type: integer
  9090. positionqty:
  9091. description: 期初持仓数量
  9092. type: integer
  9093. tnqty:
  9094. description: T+N冻结总量
  9095. type: integer
  9096. tnusedqty:
  9097. description: T+N使用量(可以使用T+N的冻结数量)
  9098. type: integer
  9099. trademode:
  9100. description: 交易模式
  9101. type: integer
  9102. usedmargin:
  9103. description: 占用保证金[商品币种]
  9104. type: number
  9105. required:
  9106. - goodsid
  9107. type: object
  9108. quote.HistoryData:
  9109. properties:
  9110. c:
  9111. description: 收盘价
  9112. type: number
  9113. f:
  9114. description: 是否补充数据
  9115. type: boolean
  9116. h:
  9117. description: 最高价
  9118. type: number
  9119. hv:
  9120. description: 持仓量
  9121. type: integer
  9122. l:
  9123. description: 最低价
  9124. type: number
  9125. o:
  9126. description: 开盘价
  9127. type: number
  9128. s:
  9129. description: 结算价,日线周期(包括)以上才有
  9130. type: number
  9131. ts:
  9132. description: 时间
  9133. type: string
  9134. tt:
  9135. description: 总金额
  9136. type: number
  9137. tv:
  9138. description: 总量
  9139. type: integer
  9140. type: object
  9141. quote.HistoryTikData:
  9142. properties:
  9143. AV:
  9144. description: 卖量
  9145. type: integer
  9146. Ask:
  9147. description: 卖价
  9148. type: number
  9149. BV:
  9150. description: 买量
  9151. type: integer
  9152. Bid:
  9153. description: 买价
  9154. type: number
  9155. HI:
  9156. description: 单笔持仓
  9157. type: integer
  9158. HV:
  9159. description: 持仓量
  9160. type: integer
  9161. PE:
  9162. description: 现价
  9163. type: number
  9164. TDR:
  9165. description: 交易方向,0:买 1:卖
  9166. type: integer
  9167. TK:
  9168. description: 交易类型
  9169. type: integer
  9170. TS:
  9171. description: 行情时间文本
  9172. type: string
  9173. TT:
  9174. description: 现金额
  9175. type: number
  9176. Vol:
  9177. description: 现量
  9178. type: integer
  9179. type: object
  9180. quote.QueryQuoteDayRsp:
  9181. properties:
  9182. ask:
  9183. description: 卖1
  9184. type: number
  9185. ask2:
  9186. description: 卖2
  9187. type: number
  9188. ask3:
  9189. description: 卖3
  9190. type: number
  9191. ask4:
  9192. description: 卖4
  9193. type: number
  9194. ask5:
  9195. description: 卖5
  9196. type: number
  9197. ask6:
  9198. description: 卖6
  9199. type: number
  9200. ask7:
  9201. description: 卖7
  9202. type: number
  9203. ask8:
  9204. description: 卖8
  9205. type: number
  9206. ask9:
  9207. description: 卖9
  9208. type: number
  9209. ask10:
  9210. description: 卖10
  9211. type: number
  9212. askorderid:
  9213. description: 卖单号1
  9214. type: integer
  9215. askorderid2:
  9216. description: 卖单号2
  9217. type: integer
  9218. askorderid3:
  9219. description: 卖单号3
  9220. type: integer
  9221. askorderid4:
  9222. description: 卖单号4
  9223. type: integer
  9224. askorderid5:
  9225. description: 卖单号5
  9226. type: integer
  9227. askordervolume:
  9228. description: 卖单量1
  9229. type: integer
  9230. askordervolume2:
  9231. description: 卖单量2
  9232. type: integer
  9233. askordervolume3:
  9234. description: 卖单量3
  9235. type: integer
  9236. askordervolume4:
  9237. description: 卖单量4
  9238. type: integer
  9239. askordervolume5:
  9240. description: 卖单量5
  9241. type: integer
  9242. askordervolume6:
  9243. description: 卖单量6
  9244. type: integer
  9245. askordervolume7:
  9246. description: 卖单量7
  9247. type: integer
  9248. askordervolume8:
  9249. description: 卖单量8
  9250. type: integer
  9251. askordervolume9:
  9252. description: 卖单量9
  9253. type: integer
  9254. askordervolume10:
  9255. description: 卖单量10
  9256. type: integer
  9257. askqueueinfo:
  9258. description: 大利市卖港股用
  9259. type: string
  9260. askvolume:
  9261. description: 卖量1
  9262. type: integer
  9263. askvolume2:
  9264. description: 卖量2
  9265. type: integer
  9266. askvolume3:
  9267. description: 卖量3
  9268. type: integer
  9269. askvolume4:
  9270. description: 卖量4
  9271. type: integer
  9272. askvolume5:
  9273. description: 卖量5
  9274. type: integer
  9275. askvolume6:
  9276. description: 卖量6
  9277. type: integer
  9278. askvolume7:
  9279. description: 卖量7
  9280. type: integer
  9281. askvolume8:
  9282. description: 卖量8
  9283. type: integer
  9284. askvolume9:
  9285. description: 卖量9
  9286. type: integer
  9287. askvolume10:
  9288. description: 卖量10
  9289. type: integer
  9290. averageprice:
  9291. description: 均价
  9292. type: number
  9293. bid:
  9294. description: 买1
  9295. type: number
  9296. bid2:
  9297. description: 买2
  9298. type: number
  9299. bid3:
  9300. description: 买3
  9301. type: number
  9302. bid4:
  9303. description: 买4
  9304. type: number
  9305. bid5:
  9306. description: 买5
  9307. type: number
  9308. bid6:
  9309. description: 买6
  9310. type: number
  9311. bid7:
  9312. description: 买7
  9313. type: number
  9314. bid8:
  9315. description: 买8
  9316. type: number
  9317. bid9:
  9318. description: 买9
  9319. type: number
  9320. bid10:
  9321. description: 买10
  9322. type: number
  9323. bidorderid:
  9324. description: 买单号1
  9325. type: integer
  9326. bidorderid2:
  9327. description: 买单号2
  9328. type: integer
  9329. bidorderid3:
  9330. description: 买单号3
  9331. type: integer
  9332. bidorderid4:
  9333. description: 买单号4
  9334. type: integer
  9335. bidorderid5:
  9336. description: 买单号5
  9337. type: integer
  9338. bidordervolume:
  9339. description: 买单量1
  9340. type: integer
  9341. bidordervolume2:
  9342. description: 买单量2
  9343. type: integer
  9344. bidordervolume3:
  9345. description: 买单量3
  9346. type: integer
  9347. bidordervolume4:
  9348. description: 买单量4
  9349. type: integer
  9350. bidordervolume5:
  9351. description: 买单量5
  9352. type: integer
  9353. bidordervolume6:
  9354. description: 买单量6
  9355. type: integer
  9356. bidordervolume7:
  9357. description: 买单量7
  9358. type: integer
  9359. bidordervolume8:
  9360. description: 买单量8
  9361. type: integer
  9362. bidordervolume9:
  9363. description: 买单量9
  9364. type: integer
  9365. bidordervolume10:
  9366. description: 买单量10
  9367. type: integer
  9368. bidqueueinfo:
  9369. description: 大利市买港股用
  9370. type: string
  9371. bidvolume:
  9372. description: 买量1
  9373. type: integer
  9374. bidvolume2:
  9375. description: 买量2
  9376. type: integer
  9377. bidvolume3:
  9378. description: 买量3
  9379. type: integer
  9380. bidvolume4:
  9381. description: 买量4
  9382. type: integer
  9383. bidvolume5:
  9384. description: 买量5
  9385. type: integer
  9386. bidvolume6:
  9387. description: 买量6
  9388. type: integer
  9389. bidvolume7:
  9390. description: 买量7
  9391. type: integer
  9392. bidvolume8:
  9393. description: 买量8
  9394. type: integer
  9395. bidvolume9:
  9396. description: 买量9
  9397. type: integer
  9398. bidvolume10:
  9399. description: 买量10
  9400. type: integer
  9401. calloptionpremiums:
  9402. description: 认购期权1
  9403. type: integer
  9404. calloptionpremiums2:
  9405. description: 认购期权2
  9406. type: integer
  9407. calloptionpremiums3:
  9408. description: 认购期权3
  9409. type: integer
  9410. calloptionpremiums4:
  9411. description: 认购期权4
  9412. type: integer
  9413. calloptionpremiums5:
  9414. description: 认购期权5
  9415. type: integer
  9416. cleartime:
  9417. description: 清盘时间
  9418. type: integer
  9419. exchangecode:
  9420. description: 交易所代码
  9421. type: integer
  9422. exchangedate:
  9423. description: 交易日
  9424. type: integer
  9425. goodscode:
  9426. description: 商品代码
  9427. type: string
  9428. grepmarketprice:
  9429. description: 暗盘价 港股专用
  9430. type: number
  9431. highest:
  9432. description: 最高价
  9433. type: number
  9434. holdincrement:
  9435. description: 单笔持仓
  9436. type: integer
  9437. holdvolume:
  9438. description: 持仓
  9439. type: integer
  9440. iep:
  9441. description: 平衡价 港股专用
  9442. type: number
  9443. iev:
  9444. description: 平衡量 港股专用
  9445. type: number
  9446. inventory:
  9447. description: 库存
  9448. type: integer
  9449. iscleared:
  9450. description: 是否清盘标志
  9451. type: integer
  9452. issettled:
  9453. description: 是否结算标志
  9454. type: integer
  9455. last:
  9456. description: 最新价
  9457. type: number
  9458. lastlot:
  9459. description: 最新成交手数
  9460. type: integer
  9461. lasttime:
  9462. description: 行情时间(只有现价变化行情时间才变化)
  9463. type: string
  9464. lastturnover:
  9465. description: 最新成交金额
  9466. type: number
  9467. lastvolume:
  9468. description: 最新成交量
  9469. type: integer
  9470. limitdown:
  9471. description: 跌停价
  9472. type: number
  9473. limitup:
  9474. description: 涨停价
  9475. type: number
  9476. lowest:
  9477. description: 最低价
  9478. type: number
  9479. nontotalholdervolume:
  9480. description: 非交易持仓量
  9481. type: integer
  9482. nontotallot:
  9483. description: 非交易总手数
  9484. type: integer
  9485. nontotalturnover:
  9486. description: 非交易总金额
  9487. type: integer
  9488. nontotalvolume:
  9489. description: 非交易总量
  9490. type: integer
  9491. opened:
  9492. description: 开盘价
  9493. type: number
  9494. opentime:
  9495. description: 开盘时间
  9496. type: string
  9497. orderid:
  9498. description: 序号
  9499. type: integer
  9500. preclose:
  9501. description: 昨收
  9502. type: number
  9503. preholdvolume:
  9504. description: 昨持仓
  9505. type: integer
  9506. presettle:
  9507. description: 昨结价
  9508. type: number
  9509. publictradetype:
  9510. description: 公共交易标志类型 港股专用
  9511. type: string
  9512. putoptionpremiums:
  9513. description: 认沽期权1
  9514. type: integer
  9515. putoptionpremiums2:
  9516. description: 认沽期权2
  9517. type: integer
  9518. putoptionpremiums3:
  9519. description: 认沽期权3
  9520. type: integer
  9521. putoptionpremiums4:
  9522. description: 认沽期权4
  9523. type: integer
  9524. putoptionpremiums5:
  9525. description: 认沽期权5
  9526. type: integer
  9527. settle:
  9528. description: 结算价
  9529. type: number
  9530. strikeprice:
  9531. description: 发行价
  9532. type: number
  9533. totalaskvolume:
  9534. description: 内盘
  9535. type: integer
  9536. totalbidvolume:
  9537. description: 外盘
  9538. type: integer
  9539. totallot:
  9540. description: 总手数
  9541. type: integer
  9542. totalturnover:
  9543. description: 总金额
  9544. type: number
  9545. totalvolume:
  9546. description: 总量
  9547. type: integer
  9548. utclasttime:
  9549. description: utc的行情时间
  9550. type: string
  9551. type: object
  9552. quote.QueryTSDataRsp:
  9553. properties:
  9554. Count:
  9555. description: 交易日应有数据个数
  9556. type: integer
  9557. decimalPlace:
  9558. description: 小数位
  9559. type: integer
  9560. endTime:
  9561. description: 结束时间
  9562. type: string
  9563. goodsCode:
  9564. description: 商品代码
  9565. type: string
  9566. historyDatas:
  9567. description: 历史数据
  9568. items:
  9569. $ref: '#/definitions/quote.HistoryData'
  9570. type: array
  9571. outGoodsCode:
  9572. description: 外部商品代码
  9573. type: string
  9574. preSettle:
  9575. description: 昨结价
  9576. type: number
  9577. runSteps:
  9578. description: 交易日开休市计划
  9579. items:
  9580. $ref: '#/definitions/quote.TSDataRunStep'
  9581. type: array
  9582. startTime:
  9583. description: 开始时间
  9584. type: string
  9585. tradeDate:
  9586. description: 交易日
  9587. type: string
  9588. type: object
  9589. quote.TSDataRunStep:
  9590. properties:
  9591. end:
  9592. description: 真实结束时间
  9593. type: string
  9594. endflag:
  9595. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  9596. type: integer
  9597. endtime:
  9598. description: 结束时间(HH:mm)
  9599. type: string
  9600. endweekday:
  9601. description: 结束周几
  9602. type: integer
  9603. groupid:
  9604. description: 分组ID
  9605. type: integer
  9606. runstep:
  9607. description: 运行阶段 - 2:连续交易
  9608. type: integer
  9609. sectionid:
  9610. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  9611. 结束时间=结算时间 结束周几=结算周几
  9612. type: integer
  9613. start:
  9614. description: 真实开始时间
  9615. type: string
  9616. startflag:
  9617. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  9618. type: integer
  9619. starttime:
  9620. description: 起始时间(HH:mm)
  9621. type: string
  9622. startweekday:
  9623. description: 起始周几
  9624. type: integer
  9625. tradeweekday:
  9626. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  9627. type: integer
  9628. type: object
  9629. szdz.QueryConvertLogRsp:
  9630. properties:
  9631. accountid:
  9632. description: 资金账户ID
  9633. type: integer
  9634. clientticket:
  9635. description: 客户端流水号
  9636. type: string
  9637. converttype:
  9638. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9639. type: integer
  9640. createtime:
  9641. description: 记账时间
  9642. type: string
  9643. daymaxvalue:
  9644. description: 配置当日最大转入限制
  9645. type: number
  9646. daymaxvalue2:
  9647. description: 配置当日最大转入限制(转入)
  9648. type: number
  9649. goodscode:
  9650. description: 商品代码
  9651. type: string
  9652. goodsname:
  9653. description: 商品名称
  9654. type: string
  9655. handlestatus:
  9656. description: 处理状态
  9657. type: integer
  9658. innergoodsid:
  9659. description: 内部商品ID
  9660. type: integer
  9661. inratio:
  9662. description: 配置转入比值
  9663. type: integer
  9664. invalue:
  9665. description: 目标值
  9666. type: number
  9667. logid:
  9668. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9669. type: integer
  9670. mobile:
  9671. description: 手机号码(加密存储)
  9672. type: string
  9673. outergoodscode:
  9674. description: 外部商品代码[JD\PD]
  9675. type: string
  9676. outratio:
  9677. description: 配置转出比值
  9678. type: integer
  9679. outvalue:
  9680. description: 源值
  9681. type: number
  9682. pddecimalplace:
  9683. description: PD小数位
  9684. type: integer
  9685. qty:
  9686. description: 数量
  9687. type: string
  9688. remark:
  9689. description: 备注
  9690. type: string
  9691. sessionid:
  9692. description: 会话ID
  9693. type: integer
  9694. timemaxvalue:
  9695. description: 配置单次最大转入限制
  9696. type: number
  9697. timemaxvalue2:
  9698. description: 配置单次最大转入限制(转入)
  9699. type: number
  9700. timeminvalue:
  9701. description: 配置单次最小数量限制
  9702. type: number
  9703. timeminvalue2:
  9704. description: 配置单次最小数量限制(转入)
  9705. type: number
  9706. tradedate:
  9707. description: 交易日(yyyyMMdd)
  9708. type: string
  9709. userid:
  9710. description: 用户ID
  9711. type: integer
  9712. required:
  9713. - logid
  9714. type: object
  9715. szdz.QueryGoodsPickupRsp:
  9716. properties:
  9717. accountid:
  9718. description: 账户ID
  9719. type: integer
  9720. address:
  9721. description: 提货人详细地址
  9722. type: string
  9723. auditer:
  9724. description: 审核人
  9725. type: integer
  9726. audittime:
  9727. description: 审核时间
  9728. type: string
  9729. cardnum:
  9730. description: 提货人证件号码
  9731. type: string
  9732. cardtypeid:
  9733. description: 提货人证件类型
  9734. type: integer
  9735. checkremark:
  9736. description: 审核备注
  9737. type: string
  9738. goodscode:
  9739. description: 商品代码
  9740. type: string
  9741. goodsid:
  9742. description: 商品ID
  9743. type: integer
  9744. goodsname:
  9745. description: 商品名称
  9746. type: string
  9747. handlestatus:
  9748. description: 处理状态
  9749. type: integer
  9750. marketid:
  9751. description: 市场ID
  9752. type: integer
  9753. phonenum:
  9754. description: 提货人联系方式
  9755. type: string
  9756. qty:
  9757. description: 提货数量
  9758. type: number
  9759. recivername:
  9760. description: 提货人姓名
  9761. type: string
  9762. reqtime:
  9763. description: 更新时间
  9764. type: string
  9765. takemode:
  9766. description: 提货方式 - 2:自提 3:配送
  9767. type: integer
  9768. takeorderid:
  9769. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9770. type: string
  9771. takeorderstatus:
  9772. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9773. type: integer
  9774. takeremark:
  9775. description: 提货备注
  9776. type: string
  9777. tradedate:
  9778. description: 交易日(yyyyMMdd)
  9779. type: string
  9780. userid:
  9781. description: 用户ID
  9782. type: integer
  9783. required:
  9784. - takeorderid
  9785. type: object
  9786. szdz.QueryRecieptOrderRsp:
  9787. properties:
  9788. accountName:
  9789. description: 所属账号名称(已脱敏)
  9790. type: string
  9791. accountid:
  9792. description: 资金账号
  9793. type: integer
  9794. buyorsell:
  9795. description: 方向 - 0:买 1:卖
  9796. type: integer
  9797. enableqty:
  9798. description: 可摘数量
  9799. type: integer
  9800. goodscode:
  9801. description: 商品代码
  9802. type: string
  9803. goodsid:
  9804. description: 商品ID
  9805. type: integer
  9806. goodsname:
  9807. description: 商品名称
  9808. type: string
  9809. orderid:
  9810. description: 委托单号
  9811. type: string
  9812. orderprice:
  9813. description: 委托价格
  9814. type: number
  9815. ordertime:
  9816. description: 委托时间
  9817. type: string
  9818. tradedate:
  9819. description: 交易日(yyyyMMdd)
  9820. type: string
  9821. required:
  9822. - ordertime
  9823. type: object
  9824. szdz.QuerySZDZTradePositionRsp:
  9825. properties:
  9826. accountid:
  9827. description: 账号Id
  9828. type: integer
  9829. agreeunit:
  9830. description: 合约单位
  9831. type: number
  9832. averageprice:
  9833. description: 持仓均价
  9834. type: number
  9835. buyorsell:
  9836. description: 方向 - 0:买 1:卖
  9837. type: integer
  9838. closetotalqty:
  9839. description: 平仓总数量
  9840. type: integer
  9841. curholderamount:
  9842. description: 当前持仓总金额
  9843. type: number
  9844. curpositionqty:
  9845. description: 当前持仓总数量
  9846. type: integer
  9847. currencyid:
  9848. description: 报价货币ID
  9849. type: integer
  9850. curtdposition:
  9851. description: 期末今日头寸
  9852. type: integer
  9853. decimalplace:
  9854. description: 报价小数位
  9855. type: integer
  9856. enableqty:
  9857. description: 可用量
  9858. type: integer
  9859. fretdposition:
  9860. description: 冻结今日头寸
  9861. type: integer
  9862. frozenqty:
  9863. description: 持仓冻结数量
  9864. type: integer
  9865. goodscode:
  9866. description: 商品代码(内部)
  9867. type: string
  9868. goodsid:
  9869. description: 商品Id
  9870. type: integer
  9871. goodsname:
  9872. description: 商品名称
  9873. type: string
  9874. goodunit:
  9875. description: 报价单位
  9876. type: string
  9877. goodunitid:
  9878. description: 报价单位ID
  9879. type: integer
  9880. holderamount:
  9881. description: 期初持仓总金额
  9882. type: number
  9883. marketid:
  9884. description: 市场ID
  9885. type: integer
  9886. openreqqty:
  9887. description: 开仓申请数量
  9888. type: integer
  9889. opentotalqty:
  9890. description: 开仓总数量
  9891. type: integer
  9892. otherfrozenqty:
  9893. description: 持仓其他冻结数量(交割冻结)
  9894. type: integer
  9895. positionqty:
  9896. description: 期初持仓数量
  9897. type: integer
  9898. szdz3freezqty:
  9899. description: 尚志大宗转换冻结总数量
  9900. type: integer
  9901. tnqty:
  9902. description: T+N冻结总量
  9903. type: integer
  9904. tnusedqty:
  9905. description: T+N使用量
  9906. type: integer
  9907. trademode:
  9908. description: 交易模式
  9909. type: integer
  9910. usedmargin:
  9911. description: 占用保证金
  9912. type: number
  9913. type: object
  9914. taaccount.QueryAmountLogRsp:
  9915. properties:
  9916. OPERATETYPENAME:
  9917. description: 资金操作类型名称
  9918. type: string
  9919. accountid:
  9920. description: 资金账户ID
  9921. type: integer
  9922. agoodscode:
  9923. description: 竞拍商品代码
  9924. type: string
  9925. agoodsname:
  9926. description: 竞拍商品名称
  9927. type: string
  9928. amount:
  9929. description: 资金金额
  9930. type: number
  9931. amountadjusttype:
  9932. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9933. type: integer
  9934. autoid:
  9935. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9936. type: integer
  9937. balance:
  9938. description: 期初余额
  9939. type: number
  9940. businesscode:
  9941. description: 业务编号
  9942. type: integer
  9943. createtime:
  9944. description: 发生时间
  9945. type: string
  9946. currencyid:
  9947. description: 币种ID
  9948. type: integer
  9949. currentbalance:
  9950. description: 期末余额(变动后金额)
  9951. type: number
  9952. dgoodscode:
  9953. description: 交割商品代码
  9954. type: string
  9955. dgoodsname:
  9956. description: 交割商品名称
  9957. type: string
  9958. goodscode:
  9959. description: 商品代码
  9960. type: string
  9961. goodsid:
  9962. description: 商品ID
  9963. type: integer
  9964. goodsname:
  9965. description: 商品名称
  9966. type: string
  9967. marketid:
  9968. description: 市场ID
  9969. type: integer
  9970. marketname:
  9971. description: 市场名称
  9972. type: string
  9973. moneyticket:
  9974. description: 资金流水号:银行端流水号
  9975. type: integer
  9976. operatetype:
  9977. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9978. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9979. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9980. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9981. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9982. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9983. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9984. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9985. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9986. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9987. type: integer
  9988. relationorderid:
  9989. description: 关联单号
  9990. type: string
  9991. remark:
  9992. description: 备注
  9993. type: string
  9994. trademode:
  9995. description: 交易模式
  9996. type: integer
  9997. required:
  9998. - accountid
  9999. - amount
  10000. - amountadjusttype
  10001. - autoid
  10002. - balance
  10003. - createtime
  10004. - currentbalance
  10005. - operatetype
  10006. type: object
  10007. taaccount.QueryHisAmountLogRsp:
  10008. properties:
  10009. OPERATETYPENAME:
  10010. description: 资金操作类型名称
  10011. type: string
  10012. accountid:
  10013. description: 资金账户ID
  10014. type: integer
  10015. agoodscode:
  10016. description: 竞拍商品代码
  10017. type: string
  10018. agoodsname:
  10019. description: 竞拍商品名称
  10020. type: string
  10021. amount:
  10022. description: 资金金额
  10023. type: number
  10024. amountadjusttype:
  10025. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10026. type: integer
  10027. autoid:
  10028. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10029. type: integer
  10030. balance:
  10031. description: 期初余额
  10032. type: number
  10033. businesscode:
  10034. description: 业务编号
  10035. type: integer
  10036. createtime:
  10037. description: 发生时间
  10038. type: string
  10039. currencyid:
  10040. description: 币种ID
  10041. type: integer
  10042. currentbalance:
  10043. description: 期末余额(变动后金额)
  10044. type: number
  10045. dgoodscode:
  10046. description: 交割商品代码
  10047. type: string
  10048. dgoodsname:
  10049. description: 交割商品名称
  10050. type: string
  10051. goodscode:
  10052. description: 商品代码
  10053. type: string
  10054. goodsid:
  10055. description: 商品ID
  10056. type: integer
  10057. goodsname:
  10058. description: 商品名称
  10059. type: string
  10060. histradedate:
  10061. description: 历史交易日
  10062. type: string
  10063. isvaliddata:
  10064. description: 是否有效 - 0:无效 1:有效
  10065. type: integer
  10066. marketid:
  10067. description: 市场ID
  10068. type: integer
  10069. marketname:
  10070. description: 市场名称
  10071. type: string
  10072. moneyticket:
  10073. description: 资金流水号:银行端流水号
  10074. type: integer
  10075. operatetype:
  10076. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10077. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10078. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10079. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10080. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10081. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10082. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10083. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10084. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10085. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10086. type: integer
  10087. relationorderid:
  10088. description: 关联单号
  10089. type: string
  10090. remark:
  10091. description: 备注
  10092. type: string
  10093. trademode:
  10094. description: 交易模式
  10095. type: integer
  10096. required:
  10097. - accountid
  10098. - amount
  10099. - amountadjusttype
  10100. - autoid
  10101. - balance
  10102. - createtime
  10103. - currentbalance
  10104. - histradedate
  10105. - operatetype
  10106. type: object
  10107. trade.QueryRecieptOrderRsp:
  10108. properties:
  10109. accountName:
  10110. description: 所属账号名称(已脱敏)
  10111. type: string
  10112. accountid:
  10113. description: 资金账号
  10114. type: integer
  10115. buyorsell:
  10116. description: 方向 - 0:买 1:卖
  10117. type: integer
  10118. enableqty:
  10119. description: 可摘数量
  10120. type: integer
  10121. goodscode:
  10122. description: 商品代码
  10123. type: string
  10124. goodsid:
  10125. description: 商品ID
  10126. type: integer
  10127. goodsname:
  10128. description: 商品名称
  10129. type: string
  10130. orderid:
  10131. description: 委托单号
  10132. type: string
  10133. orderprice:
  10134. description: 委托价格
  10135. type: number
  10136. ordertime:
  10137. description: 委托时间
  10138. type: string
  10139. tradedate:
  10140. description: 交易日(yyyyMMdd)
  10141. type: string
  10142. required:
  10143. - ordertime
  10144. type: object
  10145. user.LoginQueryRsp:
  10146. properties:
  10147. externalExchanges:
  10148. description: 外部交易所
  10149. items:
  10150. $ref: '#/definitions/models.Externalexchange'
  10151. type: array
  10152. goodsgroups:
  10153. description: 商品组
  10154. items:
  10155. $ref: '#/definitions/models.Goodsgroup'
  10156. type: array
  10157. loginAccount:
  10158. $ref: '#/definitions/models.Loginaccount'
  10159. description: 登录账号
  10160. markets:
  10161. description: 市场
  10162. items:
  10163. $ref: '#/definitions/models.Market'
  10164. type: array
  10165. systemParams:
  10166. description: 系统参数
  10167. items:
  10168. $ref: '#/definitions/models.Systemparam'
  10169. type: array
  10170. userAccount:
  10171. $ref: '#/definitions/models.Useraccount'
  10172. description: 用户账号
  10173. userInfo:
  10174. $ref: '#/definitions/models.Userinfo'
  10175. description: 用户信息
  10176. username:
  10177. description: 用户姓名
  10178. type: string
  10179. type: object
  10180. info:
  10181. contact: {}
  10182. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10183. termsOfService: http://muchinfo.cn
  10184. title: MTP2.0 查询服务 API
  10185. version: "1.0"
  10186. paths:
  10187. /CPTrade/QueryCPTradeMyBidInfos:
  10188. get:
  10189. parameters:
  10190. - description: 资金账户
  10191. in: query
  10192. name: accountid
  10193. required: true
  10194. type: integer
  10195. - description: 预售市场ID
  10196. in: query
  10197. name: marketid
  10198. type: integer
  10199. - description: 预售商品ID
  10200. in: query
  10201. name: goodsid
  10202. type: integer
  10203. produces:
  10204. - application/json
  10205. responses:
  10206. "200":
  10207. description: OK
  10208. schema:
  10209. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10210. "500":
  10211. description: Internal Server Error
  10212. schema:
  10213. $ref: '#/definitions/app.Response'
  10214. security:
  10215. - ApiKeyAuth: []
  10216. summary: 查询产能预售我的出价信息
  10217. tags:
  10218. - 产能预售
  10219. /CPTrade/QueryCPTradeOrderDetail:
  10220. get:
  10221. parameters:
  10222. - description: 预售商品ID
  10223. in: query
  10224. name: goodsid
  10225. type: integer
  10226. - description: 预售市场ID
  10227. in: query
  10228. name: marketid
  10229. type: integer
  10230. - description: 预售商品ID列表 - 格式:1,2,3
  10231. in: query
  10232. name: goodsids
  10233. type: string
  10234. produces:
  10235. - application/json
  10236. responses:
  10237. "200":
  10238. description: OK
  10239. schema:
  10240. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  10241. "500":
  10242. description: Internal Server Error
  10243. schema:
  10244. $ref: '#/definitions/app.Response'
  10245. security:
  10246. - ApiKeyAuth: []
  10247. summary: 查询产能预售委托单信息
  10248. tags:
  10249. - 产能预售
  10250. /CPTrade/QueryMyCPTradeGoods:
  10251. get:
  10252. parameters:
  10253. - description: 资金账户
  10254. in: query
  10255. name: accountid
  10256. required: true
  10257. type: integer
  10258. produces:
  10259. - application/json
  10260. responses:
  10261. "200":
  10262. description: OK
  10263. schema:
  10264. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  10265. "500":
  10266. description: Internal Server Error
  10267. schema:
  10268. $ref: '#/definitions/app.Response'
  10269. security:
  10270. - ApiKeyAuth: []
  10271. summary: 查询我的预售信息
  10272. tags:
  10273. - 产能预售
  10274. /CPTrade/QueryPositionCancel:
  10275. get:
  10276. parameters:
  10277. - description: 账户ID
  10278. in: query
  10279. name: userid
  10280. required: true
  10281. type: integer
  10282. - description: 注销ID
  10283. in: query
  10284. name: cancelid
  10285. type: integer
  10286. - description: 资金账户ID
  10287. in: query
  10288. name: accountid
  10289. type: integer
  10290. produces:
  10291. - application/json
  10292. responses:
  10293. "200":
  10294. description: OK
  10295. schema:
  10296. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10297. "500":
  10298. description: Internal Server Error
  10299. schema:
  10300. $ref: '#/definitions/app.Response'
  10301. security:
  10302. - ApiKeyAuth: []
  10303. summary: 查询远期订单注销申请信息
  10304. tags:
  10305. - 产能预售
  10306. /CPTrade/QueryPreasleApply:
  10307. get:
  10308. parameters:
  10309. - description: 账户ID
  10310. in: query
  10311. name: userid
  10312. required: true
  10313. type: integer
  10314. - description: 申请ID
  10315. in: query
  10316. name: applyid
  10317. type: integer
  10318. - description: 资金账户ID
  10319. in: query
  10320. name: accountid
  10321. type: integer
  10322. produces:
  10323. - application/json
  10324. responses:
  10325. "200":
  10326. description: OK
  10327. schema:
  10328. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  10329. "500":
  10330. description: Internal Server Error
  10331. schema:
  10332. $ref: '#/definitions/app.Response'
  10333. security:
  10334. - ApiKeyAuth: []
  10335. summary: 查询产能预售申请信息
  10336. tags:
  10337. - 产能预售
  10338. /CPTrade/QueryPresaleGoodsEx:
  10339. get:
  10340. parameters:
  10341. - description: 预售商品ID
  10342. in: query
  10343. name: goodsid
  10344. type: integer
  10345. - description: 预售市场ID
  10346. in: query
  10347. name: marketid
  10348. type: integer
  10349. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  10350. in: query
  10351. name: presalemode
  10352. type: integer
  10353. - description: 预售商品ID列表 - 格式:1,2,3
  10354. in: query
  10355. name: goodsids
  10356. type: string
  10357. - description: 预售商品代码
  10358. in: query
  10359. name: goodscode
  10360. type: string
  10361. produces:
  10362. - application/json
  10363. responses:
  10364. "200":
  10365. description: OK
  10366. schema:
  10367. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  10368. "500":
  10369. description: Internal Server Error
  10370. schema:
  10371. $ref: '#/definitions/app.Response'
  10372. security:
  10373. - ApiKeyAuth: []
  10374. summary: 查询产能预售商品扩展信息
  10375. tags:
  10376. - 产能预售
  10377. /CPTrade/QueryUserGoodsData:
  10378. get:
  10379. parameters:
  10380. - description: 资金账户ID
  10381. in: query
  10382. name: accountid
  10383. required: true
  10384. type: integer
  10385. produces:
  10386. - application/json
  10387. responses:
  10388. "200":
  10389. description: OK
  10390. schema:
  10391. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  10392. "500":
  10393. description: Internal Server Error
  10394. schema:
  10395. $ref: '#/definitions/app.Response'
  10396. security:
  10397. - ApiKeyAuth: []
  10398. summary: 查询远期订单信息
  10399. tags:
  10400. - 产能预售
  10401. /Common/GetAllEnums:
  10402. get:
  10403. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  10404. parameters:
  10405. - description: 起始自增ID
  10406. in: query
  10407. name: autoid
  10408. type: integer
  10409. produces:
  10410. - application/json
  10411. responses:
  10412. "200":
  10413. description: OK
  10414. schema:
  10415. $ref: '#/definitions/models.Enumdicitem'
  10416. "500":
  10417. description: Internal Server Error
  10418. schema:
  10419. $ref: '#/definitions/app.Response'
  10420. summary: 获取所有枚举信息
  10421. tags:
  10422. - 通用服务
  10423. /Common/GetClientMenus:
  10424. get:
  10425. parameters:
  10426. - description: 登录账号
  10427. in: query
  10428. name: loginID
  10429. required: true
  10430. type: integer
  10431. - description: 终端类型,0:PC 1:Mobile
  10432. in: query
  10433. name: clientType
  10434. type: integer
  10435. produces:
  10436. - application/json
  10437. responses:
  10438. "200":
  10439. description: OK
  10440. schema:
  10441. items:
  10442. $ref: '#/definitions/common.ClientMenu'
  10443. type: array
  10444. "500":
  10445. description: Internal Server Error
  10446. schema:
  10447. $ref: '#/definitions/app.Response'
  10448. security:
  10449. - ApiKeyAuth: []
  10450. summary: 获取交易端菜单
  10451. tags:
  10452. - 通用服务
  10453. /Common/GetDivisions:
  10454. get:
  10455. produces:
  10456. - application/json
  10457. responses:
  10458. "200":
  10459. description: OK
  10460. schema:
  10461. $ref: '#/definitions/models.Division'
  10462. "500":
  10463. description: Internal Server Error
  10464. schema:
  10465. $ref: '#/definitions/app.Response'
  10466. summary: 查询区域信息
  10467. tags:
  10468. - 通用服务
  10469. /Common/GetServerTime:
  10470. get:
  10471. produces:
  10472. - application/json
  10473. responses:
  10474. "200":
  10475. description: OK
  10476. schema:
  10477. $ref: '#/definitions/app.Response'
  10478. "500":
  10479. description: Internal Server Error
  10480. schema:
  10481. $ref: '#/definitions/app.Response'
  10482. summary: 获取服务器时间
  10483. tags:
  10484. - 通用服务
  10485. /Common/NoticeReaded:
  10486. post:
  10487. parameters:
  10488. - description: 登录账号
  10489. in: query
  10490. name: loginID
  10491. required: true
  10492. type: integer
  10493. - description: 通知公告ID
  10494. in: query
  10495. name: noticeID
  10496. required: true
  10497. type: integer
  10498. produces:
  10499. - application/json
  10500. responses:
  10501. "200":
  10502. description: OK
  10503. schema:
  10504. $ref: '#/definitions/app.Response'
  10505. "500":
  10506. description: Internal Server Error
  10507. schema:
  10508. $ref: '#/definitions/app.Response'
  10509. security:
  10510. - ApiKeyAuth: []
  10511. summary: 通知公告设置已读请求
  10512. tags:
  10513. - 通用服务
  10514. /Common/QueryErrorInfos:
  10515. get:
  10516. description: 如果传入rowNumber,则返回此rowNumber后的数据
  10517. parameters:
  10518. - description: 起始行号前索引
  10519. in: query
  10520. name: rowNumber
  10521. type: string
  10522. produces:
  10523. - application/json
  10524. responses:
  10525. "200":
  10526. description: OK
  10527. schema:
  10528. $ref: '#/definitions/models.QueryErrorInfosRsp'
  10529. "500":
  10530. description: Internal Server Error
  10531. schema:
  10532. $ref: '#/definitions/app.Response'
  10533. summary: 获取数据库错误信息
  10534. tags:
  10535. - 通用服务
  10536. /Common/QueryImageConfigs:
  10537. get:
  10538. parameters:
  10539. - description: 类型 - 1:App首页轮播 2:我的
  10540. in: query
  10541. name: imageType
  10542. type: integer
  10543. produces:
  10544. - application/json
  10545. responses:
  10546. "200":
  10547. description: OK
  10548. schema:
  10549. $ref: '#/definitions/common.QueryImageConfigsRsp'
  10550. "500":
  10551. description: Internal Server Error
  10552. schema:
  10553. $ref: '#/definitions/app.Response'
  10554. summary: 查询轮播图配置信息
  10555. tags:
  10556. - 通用服务
  10557. /Common/QueryNotice:
  10558. get:
  10559. parameters:
  10560. - description: 页码
  10561. in: query
  10562. name: page
  10563. type: integer
  10564. - description: 每页条数
  10565. in: query
  10566. name: pagesize
  10567. type: integer
  10568. - description: 登录账号
  10569. in: query
  10570. name: loginID
  10571. required: true
  10572. type: integer
  10573. - description: 消息类型 - 1:公告通知 2:系统消息
  10574. in: query
  10575. name: msgType
  10576. type: integer
  10577. - description: 是否只获取未读信息
  10578. in: query
  10579. name: onlyUnRead
  10580. type: boolean
  10581. - description: 自增ID,传入后会返回这个ID后面的记录
  10582. in: query
  10583. name: lastID
  10584. type: integer
  10585. produces:
  10586. - application/json
  10587. responses:
  10588. "200":
  10589. description: OK
  10590. schema:
  10591. $ref: '#/definitions/common.QueryNoticeRsp'
  10592. "500":
  10593. description: Internal Server Error
  10594. schema:
  10595. $ref: '#/definitions/app.Response'
  10596. security:
  10597. - ApiKeyAuth: []
  10598. summary: 通知公告系统消息查询
  10599. tags:
  10600. - 通用服务
  10601. /Common/QueryProvincesAndCities:
  10602. get:
  10603. parameters:
  10604. - description: 省ID
  10605. in: query
  10606. name: provinceID
  10607. type: integer
  10608. produces:
  10609. - application/json
  10610. responses:
  10611. "200":
  10612. description: OK
  10613. schema:
  10614. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10615. "500":
  10616. description: Internal Server Error
  10617. schema:
  10618. $ref: '#/definitions/app.Response'
  10619. summary: 查询省市信息(不包括区)
  10620. tags:
  10621. - 通用服务
  10622. /Common/QueryTableDefine:
  10623. get:
  10624. parameters:
  10625. - description: 表key
  10626. in: query
  10627. name: tableKey
  10628. type: string
  10629. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10630. in: query
  10631. name: tableType
  10632. type: integer
  10633. produces:
  10634. - application/json
  10635. responses:
  10636. "200":
  10637. description: OK
  10638. schema:
  10639. $ref: '#/definitions/common.QueryTableDefineRsp'
  10640. "500":
  10641. description: Internal Server Error
  10642. schema:
  10643. $ref: '#/definitions/app.Response'
  10644. summary: 查询交易端列表头信息
  10645. tags:
  10646. - 通用服务
  10647. /Common/QueryTraderMenu:
  10648. get:
  10649. parameters:
  10650. - description: 登录账号
  10651. in: query
  10652. name: loginid
  10653. required: true
  10654. type: integer
  10655. produces:
  10656. - application/json
  10657. responses:
  10658. "200":
  10659. description: OK
  10660. schema:
  10661. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10662. "500":
  10663. description: Internal Server Error
  10664. schema:
  10665. $ref: '#/definitions/app.Response'
  10666. summary: 查询交易端菜单
  10667. tags:
  10668. - 通用服务
  10669. /Delivery/QueryDeliveryRelation:
  10670. get:
  10671. parameters:
  10672. - description: 商品ID
  10673. in: query
  10674. name: goodsid
  10675. type: integer
  10676. - description: 品种ID
  10677. in: query
  10678. name: deliverygoodsid
  10679. type: integer
  10680. - description: 市场ID
  10681. in: query
  10682. name: marketid
  10683. type: integer
  10684. produces:
  10685. - application/json
  10686. responses:
  10687. "200":
  10688. description: OK
  10689. schema:
  10690. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10691. "500":
  10692. description: Internal Server Error
  10693. schema:
  10694. $ref: '#/definitions/app.Response'
  10695. security:
  10696. - ApiKeyAuth: []
  10697. summary: 查询商品交割关系表
  10698. tags:
  10699. - 交割服务
  10700. /Ermcp/GetErmcpGoods:
  10701. get:
  10702. parameters:
  10703. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10704. in: query
  10705. name: lastUpdateTime
  10706. type: string
  10707. produces:
  10708. - application/json
  10709. responses:
  10710. "200":
  10711. description: OK
  10712. schema:
  10713. $ref: '#/definitions/models.Goods'
  10714. "500":
  10715. description: Internal Server Error
  10716. schema:
  10717. $ref: '#/definitions/app.Response'
  10718. security:
  10719. - ApiKeyAuth: []
  10720. summary: 查询企业风管期货商品信息
  10721. tags:
  10722. - 企业风险管理(app)
  10723. /Ermcp/GetErmcpGoodsSortByPosition:
  10724. get:
  10725. parameters:
  10726. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  10727. in: query
  10728. name: sortIndex
  10729. type: string
  10730. produces:
  10731. - application/json
  10732. responses:
  10733. "200":
  10734. description: OK
  10735. schema:
  10736. $ref: '#/definitions/models.Goodssortbypreposition'
  10737. "500":
  10738. description: Internal Server Error
  10739. schema:
  10740. $ref: '#/definitions/app.Response'
  10741. security:
  10742. - ApiKeyAuth: []
  10743. summary: 查询企业风管期货主力、次主力商品信息
  10744. tags:
  10745. - 企业风险管理(app)
  10746. /Ermcp/GetErmcpRoleFuncMenuLists:
  10747. get:
  10748. parameters:
  10749. - description: 登录账号
  10750. in: query
  10751. name: loginID
  10752. required: true
  10753. type: integer
  10754. produces:
  10755. - application/json
  10756. responses:
  10757. "200":
  10758. description: OK
  10759. schema:
  10760. $ref: '#/definitions/models.Funcmenulist'
  10761. "500":
  10762. description: Internal Server Error
  10763. schema:
  10764. $ref: '#/definitions/app.Response'
  10765. security:
  10766. - ApiKeyAuth: []
  10767. summary: 获取企业风管终端权限
  10768. tags:
  10769. - 企业风险管理(app)
  10770. /Ermcp/QryReportDayExposure:
  10771. get:
  10772. parameters:
  10773. - description: 用户ID
  10774. in: query
  10775. name: userid
  10776. required: true
  10777. type: integer
  10778. - description: 交易日(格式:yyyyMMdd)
  10779. in: query
  10780. name: tradedate
  10781. required: true
  10782. type: string
  10783. produces:
  10784. - application/json
  10785. responses:
  10786. "200":
  10787. description: OK
  10788. schema:
  10789. items:
  10790. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10791. type: array
  10792. "500":
  10793. description: Internal Server Error
  10794. schema:
  10795. $ref: '#/definitions/app.Response'
  10796. security:
  10797. - ApiKeyAuth: []
  10798. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10799. tags:
  10800. - 企业风险管理(app)
  10801. /Ermcp/QryReportDayFinance:
  10802. get:
  10803. parameters:
  10804. - description: 用户ID
  10805. in: query
  10806. name: userid
  10807. required: true
  10808. type: integer
  10809. - description: 交易日(格式:yyyyMMdd)
  10810. in: query
  10811. name: tradedate
  10812. required: true
  10813. type: string
  10814. produces:
  10815. - application/json
  10816. responses:
  10817. "200":
  10818. description: OK
  10819. schema:
  10820. items:
  10821. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10822. type: array
  10823. "500":
  10824. description: Internal Server Error
  10825. schema:
  10826. $ref: '#/definitions/app.Response'
  10827. security:
  10828. - ApiKeyAuth: []
  10829. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10830. tags:
  10831. - 企业风险管理(app)
  10832. /Ermcp/QryReportDayFinanceFp:
  10833. get:
  10834. parameters:
  10835. - description: 用户ID
  10836. in: query
  10837. name: userid
  10838. required: true
  10839. type: integer
  10840. - description: 交易日(格式:yyyyMMdd)
  10841. in: query
  10842. name: tradedate
  10843. required: true
  10844. type: string
  10845. produces:
  10846. - application/json
  10847. responses:
  10848. "200":
  10849. description: OK
  10850. schema:
  10851. items:
  10852. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10853. type: array
  10854. "500":
  10855. description: Internal Server Error
  10856. schema:
  10857. $ref: '#/definitions/app.Response'
  10858. security:
  10859. - ApiKeyAuth: []
  10860. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10861. tags:
  10862. - 企业风险管理(app)
  10863. /Ermcp/QryReportDayFinanceKx:
  10864. get:
  10865. parameters:
  10866. - description: 用户ID
  10867. in: query
  10868. name: userid
  10869. required: true
  10870. type: integer
  10871. - description: 交易日(格式:yyyyMMdd)
  10872. in: query
  10873. name: tradedate
  10874. required: true
  10875. type: string
  10876. produces:
  10877. - application/json
  10878. responses:
  10879. "200":
  10880. description: OK
  10881. schema:
  10882. items:
  10883. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10884. type: array
  10885. "500":
  10886. description: Internal Server Error
  10887. schema:
  10888. $ref: '#/definitions/app.Response'
  10889. security:
  10890. - ApiKeyAuth: []
  10891. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10892. tags:
  10893. - 企业风险管理(app)
  10894. /Ermcp/QryReportDaySpot:
  10895. get:
  10896. parameters:
  10897. - description: 用户ID
  10898. in: query
  10899. name: userid
  10900. required: true
  10901. type: integer
  10902. - description: 交易日(格式:yyyyMMdd)
  10903. in: query
  10904. name: tradedate
  10905. required: true
  10906. type: string
  10907. produces:
  10908. - application/json
  10909. responses:
  10910. "200":
  10911. description: OK
  10912. schema:
  10913. items:
  10914. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10915. type: array
  10916. "500":
  10917. description: Internal Server Error
  10918. schema:
  10919. $ref: '#/definitions/app.Response'
  10920. security:
  10921. - ApiKeyAuth: []
  10922. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10923. tags:
  10924. - 企业风险管理(app)
  10925. /Ermcp/QryReportDaySpotDetail:
  10926. get:
  10927. parameters:
  10928. - description: 用户ID
  10929. in: query
  10930. name: userid
  10931. required: true
  10932. type: integer
  10933. - description: 现货商品id
  10934. in: query
  10935. name: wrstandardid
  10936. required: true
  10937. type: integer
  10938. - description: 交易日(格式:yyyyMMdd)
  10939. in: query
  10940. name: tradedate
  10941. required: true
  10942. type: string
  10943. produces:
  10944. - application/json
  10945. responses:
  10946. "200":
  10947. description: OK
  10948. schema:
  10949. items:
  10950. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10951. type: array
  10952. "500":
  10953. description: Internal Server Error
  10954. schema:
  10955. $ref: '#/definitions/app.Response'
  10956. security:
  10957. - ApiKeyAuth: []
  10958. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10959. tags:
  10960. - 企业风险管理(app)
  10961. /Ermcp/QryReportMonthFinance:
  10962. get:
  10963. parameters:
  10964. - description: 用户ID
  10965. in: query
  10966. name: userid
  10967. required: true
  10968. type: integer
  10969. - description: 周期时间:月(格式:yyyyMM)
  10970. in: query
  10971. name: cycletime
  10972. required: true
  10973. type: string
  10974. produces:
  10975. - application/json
  10976. responses:
  10977. "200":
  10978. description: OK
  10979. schema:
  10980. items:
  10981. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10982. type: array
  10983. "500":
  10984. description: Internal Server Error
  10985. schema:
  10986. $ref: '#/definitions/app.Response'
  10987. security:
  10988. - ApiKeyAuth: []
  10989. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10990. tags:
  10991. - 企业风险管理(app)
  10992. /Ermcp/QryReportMonthSpot:
  10993. get:
  10994. parameters:
  10995. - description: 用户ID
  10996. in: query
  10997. name: userid
  10998. required: true
  10999. type: integer
  11000. - description: 周期时间:月(格式:yyyyMM)
  11001. in: query
  11002. name: cycletime
  11003. required: true
  11004. type: string
  11005. produces:
  11006. - application/json
  11007. responses:
  11008. "200":
  11009. description: OK
  11010. schema:
  11011. items:
  11012. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  11013. type: array
  11014. "500":
  11015. description: Internal Server Error
  11016. schema:
  11017. $ref: '#/definitions/app.Response'
  11018. security:
  11019. - ApiKeyAuth: []
  11020. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  11021. tags:
  11022. - 企业风险管理(app)
  11023. /Ermcp/QryReportMonthSpotDetail:
  11024. get:
  11025. parameters:
  11026. - description: 用户ID
  11027. in: query
  11028. name: userid
  11029. required: true
  11030. type: integer
  11031. - description: 现货商品id
  11032. in: query
  11033. name: wrstandardid
  11034. required: true
  11035. type: integer
  11036. - description: 周期时间:月(格式:yyyyMM)
  11037. in: query
  11038. name: cycletime
  11039. required: true
  11040. type: string
  11041. produces:
  11042. - application/json
  11043. responses:
  11044. "200":
  11045. description: OK
  11046. schema:
  11047. items:
  11048. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11049. type: array
  11050. "500":
  11051. description: Internal Server Error
  11052. schema:
  11053. $ref: '#/definitions/app.Response'
  11054. security:
  11055. - ApiKeyAuth: []
  11056. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11057. tags:
  11058. - 企业风险管理(app)
  11059. /Ermcp/QueryAreaStock:
  11060. get:
  11061. parameters:
  11062. - description: 用户ID
  11063. in: query
  11064. name: userid
  11065. required: true
  11066. type: integer
  11067. produces:
  11068. - application/json
  11069. responses:
  11070. "200":
  11071. description: OK
  11072. schema:
  11073. items:
  11074. $ref: '#/definitions/models.ErmcpAreaStock'
  11075. type: array
  11076. "500":
  11077. description: Internal Server Error
  11078. schema:
  11079. $ref: '#/definitions/app.Response'
  11080. security:
  11081. - ApiKeyAuth: []
  11082. summary: 查询机构库存(库存管理/当前库存)
  11083. tags:
  11084. - 企业风险管理(app)
  11085. /Ermcp/QueryAreaStockApply:
  11086. get:
  11087. parameters:
  11088. - description: 用户ID
  11089. in: query
  11090. name: userid
  11091. required: true
  11092. type: integer
  11093. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  11094. in: query
  11095. name: inouttype
  11096. type: string
  11097. - description: 合同ID
  11098. in: query
  11099. name: spotcontractid
  11100. type: integer
  11101. - description: 现货商品ID
  11102. in: query
  11103. name: wrstandardid
  11104. type: integer
  11105. - description: 品牌ID
  11106. in: query
  11107. name: spotgoodsbrandid
  11108. type: integer
  11109. - description: 型号ID
  11110. in: query
  11111. name: spotgoodsmodelid
  11112. type: integer
  11113. - description: 仓库ID
  11114. in: query
  11115. name: warehouseinfoid
  11116. type: integer
  11117. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11118. in: query
  11119. name: applystatus
  11120. type: string
  11121. produces:
  11122. - application/json
  11123. responses:
  11124. "200":
  11125. description: OK
  11126. schema:
  11127. items:
  11128. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  11129. type: array
  11130. "500":
  11131. description: Internal Server Error
  11132. schema:
  11133. $ref: '#/definitions/app.Response'
  11134. security:
  11135. - ApiKeyAuth: []
  11136. summary: 查询库存申请(出入库记录|库存审核)
  11137. tags:
  11138. - 企业风险管理(app)
  11139. /Ermcp/QueryAreaStockApplySum:
  11140. get:
  11141. parameters:
  11142. - description: 合同ID
  11143. in: query
  11144. name: spotcontractid
  11145. type: integer
  11146. produces:
  11147. - application/json
  11148. responses:
  11149. "200":
  11150. description: OK
  11151. schema:
  11152. items:
  11153. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  11154. type: array
  11155. "500":
  11156. description: Internal Server Error
  11157. schema:
  11158. $ref: '#/definitions/app.Response'
  11159. security:
  11160. - ApiKeyAuth: []
  11161. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  11162. tags:
  11163. - 企业风险管理(app)
  11164. /Ermcp/QueryAreaStockReport:
  11165. get:
  11166. parameters:
  11167. - description: 用户ID
  11168. in: query
  11169. name: userid
  11170. required: true
  11171. type: integer
  11172. - description: 查询类型 1-日报表 2-月报表
  11173. in: query
  11174. name: querytype
  11175. required: true
  11176. type: integer
  11177. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11178. in: query
  11179. name: querydate
  11180. required: true
  11181. type: string
  11182. - description: 现货商品ID
  11183. in: query
  11184. name: wrstandardid
  11185. type: integer
  11186. - description: 品牌ID
  11187. in: query
  11188. name: spotgoodsbrandid
  11189. type: integer
  11190. - description: 型号ID
  11191. in: query
  11192. name: spotgoodsmodelid
  11193. type: integer
  11194. - description: 仓库ID
  11195. in: query
  11196. name: warehouseinfoid
  11197. type: integer
  11198. produces:
  11199. - application/json
  11200. responses:
  11201. "200":
  11202. description: OK
  11203. schema:
  11204. items:
  11205. $ref: '#/definitions/models.ErmcpAreaStockReport'
  11206. type: array
  11207. "500":
  11208. description: Internal Server Error
  11209. schema:
  11210. $ref: '#/definitions/app.Response'
  11211. security:
  11212. - ApiKeyAuth: []
  11213. summary: 查询库存报表
  11214. tags:
  11215. - 企业风险管理(app)
  11216. /Ermcp/QueryAreaStockReportDetail:
  11217. get:
  11218. parameters:
  11219. - description: 用户ID
  11220. in: query
  11221. name: userid
  11222. required: true
  11223. type: integer
  11224. - description: 查询类型 1-日报表明细 2-月报表明细
  11225. in: query
  11226. name: querytype
  11227. required: true
  11228. type: integer
  11229. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  11230. in: query
  11231. name: detailtype
  11232. required: true
  11233. type: integer
  11234. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11235. in: query
  11236. name: querydate
  11237. required: true
  11238. type: string
  11239. - description: 现货商品ID
  11240. in: query
  11241. name: wrstandardid
  11242. type: integer
  11243. - description: 品牌ID
  11244. in: query
  11245. name: spotgoodsbrandid
  11246. type: integer
  11247. - description: 型号ID
  11248. in: query
  11249. name: spotgoodsmodelid
  11250. type: integer
  11251. - description: 仓库ID
  11252. in: query
  11253. name: warehouseinfoid
  11254. type: integer
  11255. produces:
  11256. - application/json
  11257. responses:
  11258. "200":
  11259. description: OK
  11260. schema:
  11261. items:
  11262. $ref: '#/definitions/models.ErmcpAreaStockApply'
  11263. type: array
  11264. "500":
  11265. description: Internal Server Error
  11266. schema:
  11267. $ref: '#/definitions/app.Response'
  11268. security:
  11269. - ApiKeyAuth: []
  11270. summary: 查询库存报表明细
  11271. tags:
  11272. - 企业风险管理(app)
  11273. /Ermcp/QueryAvaildGoodsGroup:
  11274. get:
  11275. parameters:
  11276. - description: 所属机构ID
  11277. in: query
  11278. name: userid
  11279. required: true
  11280. type: integer
  11281. produces:
  11282. - application/json
  11283. responses:
  11284. "200":
  11285. description: OK
  11286. schema:
  11287. items:
  11288. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11289. type: array
  11290. "500":
  11291. description: Internal Server Error
  11292. schema:
  11293. $ref: '#/definitions/app.Response'
  11294. security:
  11295. - ApiKeyAuth: []
  11296. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11297. tags:
  11298. - 企业风险管理(app)
  11299. /Ermcp/QueryBusinessDj:
  11300. get:
  11301. parameters:
  11302. - description: 用户ID
  11303. in: query
  11304. name: UserId
  11305. required: true
  11306. type: integer
  11307. - description: 现货合同ID, 不填则查所有
  11308. in: query
  11309. name: relatedid
  11310. type: string
  11311. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11312. in: query
  11313. name: applystatus
  11314. type: string
  11315. produces:
  11316. - application/json
  11317. responses:
  11318. "200":
  11319. description: OK
  11320. schema:
  11321. items:
  11322. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  11323. type: array
  11324. "500":
  11325. description: Internal Server Error
  11326. schema:
  11327. $ref: '#/definitions/app.Response'
  11328. security:
  11329. - ApiKeyAuth: []
  11330. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  11331. tags:
  11332. - 企业风险管理(app)
  11333. /Ermcp/QueryBusinessFp:
  11334. get:
  11335. parameters:
  11336. - description: 用户ID
  11337. in: query
  11338. name: UserId
  11339. required: true
  11340. type: integer
  11341. - description: 现货合同ID, 不填则查所有
  11342. in: query
  11343. name: relatedid
  11344. type: string
  11345. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11346. in: query
  11347. name: applystatus
  11348. type: string
  11349. produces:
  11350. - application/json
  11351. responses:
  11352. "200":
  11353. description: OK
  11354. schema:
  11355. items:
  11356. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  11357. type: array
  11358. "500":
  11359. description: Internal Server Error
  11360. schema:
  11361. $ref: '#/definitions/app.Response'
  11362. security:
  11363. - ApiKeyAuth: []
  11364. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  11365. tags:
  11366. - 企业风险管理(app)
  11367. /Ermcp/QueryBusinessJs:
  11368. get:
  11369. parameters:
  11370. - description: 用户ID
  11371. in: query
  11372. name: UserId
  11373. required: true
  11374. type: integer
  11375. - description: 现货合同ID, 不填则查所有
  11376. in: query
  11377. name: relatedid
  11378. type: string
  11379. - description: 操作申请id
  11380. in: query
  11381. name: operateapplyid
  11382. type: string
  11383. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11384. in: query
  11385. name: applystatus
  11386. type: string
  11387. produces:
  11388. - application/json
  11389. responses:
  11390. "200":
  11391. description: OK
  11392. schema:
  11393. items:
  11394. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  11395. type: array
  11396. "500":
  11397. description: Internal Server Error
  11398. schema:
  11399. $ref: '#/definitions/app.Response'
  11400. security:
  11401. - ApiKeyAuth: []
  11402. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  11403. tags:
  11404. - 企业风险管理(app)
  11405. /Ermcp/QueryBusinessJsEx:
  11406. get:
  11407. parameters:
  11408. - description: 用户ID
  11409. in: query
  11410. name: UserId
  11411. required: true
  11412. type: integer
  11413. - description: 现货合同ID, 不填则查所有
  11414. in: query
  11415. name: relatedid
  11416. type: string
  11417. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11418. in: query
  11419. name: applystatus
  11420. type: string
  11421. produces:
  11422. - application/json
  11423. responses:
  11424. "200":
  11425. description: OK
  11426. schema:
  11427. items:
  11428. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  11429. type: array
  11430. "500":
  11431. description: Internal Server Error
  11432. schema:
  11433. $ref: '#/definitions/app.Response'
  11434. security:
  11435. - ApiKeyAuth: []
  11436. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  11437. tags:
  11438. - 企业风险管理(app)
  11439. /Ermcp/QueryBusinessKx:
  11440. get:
  11441. parameters:
  11442. - description: 用户ID
  11443. in: query
  11444. name: UserId
  11445. required: true
  11446. type: integer
  11447. - description: 现货合同ID, 不填则查所有
  11448. in: query
  11449. name: relatedid
  11450. type: string
  11451. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11452. in: query
  11453. name: applystatus
  11454. type: string
  11455. produces:
  11456. - application/json
  11457. responses:
  11458. "200":
  11459. description: OK
  11460. schema:
  11461. items:
  11462. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  11463. type: array
  11464. "500":
  11465. description: Internal Server Error
  11466. schema:
  11467. $ref: '#/definitions/app.Response'
  11468. security:
  11469. - ApiKeyAuth: []
  11470. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  11471. tags:
  11472. - 企业风险管理(app)
  11473. /Ermcp/QueryChangeLog:
  11474. get:
  11475. parameters:
  11476. - description: 合同ID
  11477. in: query
  11478. name: RelatedId
  11479. required: true
  11480. type: string
  11481. produces:
  11482. - application/json
  11483. responses:
  11484. "200":
  11485. description: OK
  11486. schema:
  11487. items:
  11488. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11489. type: array
  11490. "500":
  11491. description: Internal Server Error
  11492. schema:
  11493. $ref: '#/definitions/app.Response'
  11494. security:
  11495. - ApiKeyAuth: []
  11496. summary: 查询变更记录
  11497. tags:
  11498. - 企业风险管理(app)
  11499. /Ermcp/QueryContract:
  11500. get:
  11501. parameters:
  11502. - description: 用户ID
  11503. in: query
  11504. name: userId
  11505. required: true
  11506. type: integer
  11507. - description: 合同类型 1-采购, -1-销售
  11508. in: query
  11509. name: contracttype
  11510. required: true
  11511. type: integer
  11512. - description: 查询类型 1-全部 2-待点价 3-履约结算
  11513. in: query
  11514. name: querytype
  11515. required: true
  11516. type: integer
  11517. - description: 合同ID(SpotContractId)
  11518. in: query
  11519. name: contractid
  11520. type: string
  11521. produces:
  11522. - application/json
  11523. responses:
  11524. "200":
  11525. description: OK
  11526. schema:
  11527. items:
  11528. $ref: '#/definitions/ermcp.QryErmcpRsp'
  11529. type: array
  11530. "500":
  11531. description: Internal Server Error
  11532. schema:
  11533. $ref: '#/definitions/app.Response'
  11534. security:
  11535. - ApiKeyAuth: []
  11536. summary: 查询合同(采购和销售)
  11537. tags:
  11538. - 企业风险管理(app)
  11539. /Ermcp/QueryErmcpHisOrderDetails:
  11540. get:
  11541. parameters:
  11542. - description: 资金账户ID
  11543. in: query
  11544. name: accountID
  11545. required: true
  11546. type: integer
  11547. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11548. in: query
  11549. name: startDate
  11550. type: string
  11551. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11552. in: query
  11553. name: endDate
  11554. type: string
  11555. produces:
  11556. - application/json
  11557. responses:
  11558. "200":
  11559. description: OK
  11560. schema:
  11561. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11562. "500":
  11563. description: Internal Server Error
  11564. schema:
  11565. $ref: '#/definitions/app.Response'
  11566. security:
  11567. - ApiKeyAuth: []
  11568. summary: 获取企业风管期货历史委托单信息
  11569. tags:
  11570. - 企业风险管理(app)
  11571. /Ermcp/QueryErmcpHisTradeDetails:
  11572. get:
  11573. parameters:
  11574. - description: 资金账户ID
  11575. in: query
  11576. name: accountID
  11577. required: true
  11578. type: integer
  11579. - description: 商品ID
  11580. in: query
  11581. name: goodsID
  11582. type: integer
  11583. - description: 买卖方向,0:买 1:卖
  11584. in: query
  11585. name: buyOrSell
  11586. type: integer
  11587. - description: 关联委托单号
  11588. in: query
  11589. name: orderID
  11590. type: integer
  11591. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11592. in: query
  11593. name: startDate
  11594. type: string
  11595. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11596. in: query
  11597. name: endDate
  11598. type: string
  11599. produces:
  11600. - application/json
  11601. responses:
  11602. "200":
  11603. description: OK
  11604. schema:
  11605. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11606. "500":
  11607. description: Internal Server Error
  11608. schema:
  11609. $ref: '#/definitions/app.Response'
  11610. security:
  11611. - ApiKeyAuth: []
  11612. summary: 获取企业风管期货历史成交单信息
  11613. tags:
  11614. - 企业风险管理(app)
  11615. /Ermcp/QueryErmcpInnerHolderDetails:
  11616. get:
  11617. parameters:
  11618. - description: 资金账户ID
  11619. in: query
  11620. name: accountID
  11621. required: true
  11622. type: integer
  11623. - description: 商品ID
  11624. in: query
  11625. name: goodsID
  11626. type: integer
  11627. - description: 买卖方向,0:买 1:卖
  11628. in: query
  11629. name: buyOrSell
  11630. type: integer
  11631. produces:
  11632. - application/json
  11633. responses:
  11634. "200":
  11635. description: OK
  11636. schema:
  11637. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  11638. "500":
  11639. description: Internal Server Error
  11640. schema:
  11641. $ref: '#/definitions/app.Response'
  11642. security:
  11643. - ApiKeyAuth: []
  11644. summary: 获取企业风管期货内部持仓单信息
  11645. tags:
  11646. - 企业风险管理(app)
  11647. /Ermcp/QueryErmcpOrderDetails:
  11648. get:
  11649. parameters:
  11650. - description: 资金账户ID
  11651. in: query
  11652. name: accountID
  11653. required: true
  11654. type: integer
  11655. produces:
  11656. - application/json
  11657. responses:
  11658. "200":
  11659. description: OK
  11660. schema:
  11661. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11662. "500":
  11663. description: Internal Server Error
  11664. schema:
  11665. $ref: '#/definitions/app.Response'
  11666. security:
  11667. - ApiKeyAuth: []
  11668. summary: 获取企业风管期货委托单信息
  11669. tags:
  11670. - 企业风险管理(app)
  11671. /Ermcp/QueryErmcpTradeDetails:
  11672. get:
  11673. parameters:
  11674. - description: 资金账户ID
  11675. in: query
  11676. name: accountID
  11677. required: true
  11678. type: integer
  11679. - description: 商品ID
  11680. in: query
  11681. name: goodsID
  11682. type: integer
  11683. - description: 买卖方向,0:买 1:卖
  11684. in: query
  11685. name: buyOrSell
  11686. type: integer
  11687. - description: 关联委托单号
  11688. in: query
  11689. name: orderID
  11690. type: integer
  11691. produces:
  11692. - application/json
  11693. responses:
  11694. "200":
  11695. description: OK
  11696. schema:
  11697. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11698. "500":
  11699. description: Internal Server Error
  11700. schema:
  11701. $ref: '#/definitions/app.Response'
  11702. security:
  11703. - ApiKeyAuth: []
  11704. summary: 获取企业风管期货成交单信息
  11705. tags:
  11706. - 企业风险管理(app)
  11707. /Ermcp/QueryErmcpTradePosition:
  11708. get:
  11709. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  11710. parameters:
  11711. - description: 资金账户ID
  11712. in: query
  11713. name: accountID
  11714. required: true
  11715. type: integer
  11716. - description: 所属市场ID
  11717. in: query
  11718. name: marketID
  11719. type: integer
  11720. produces:
  11721. - application/json
  11722. responses:
  11723. "200":
  11724. description: OK
  11725. schema:
  11726. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  11727. "500":
  11728. description: Internal Server Error
  11729. schema:
  11730. $ref: '#/definitions/app.Response'
  11731. security:
  11732. - ApiKeyAuth: []
  11733. summary: 获取企业风管期货持仓头寸信息
  11734. tags:
  11735. - 企业风险管理(app)
  11736. /Ermcp/QueryExposureDetail:
  11737. get:
  11738. parameters:
  11739. - description: 所属机构ID
  11740. in: query
  11741. name: areaUserId
  11742. required: true
  11743. type: integer
  11744. - description: 套保商品
  11745. in: query
  11746. name: middleGoodsId
  11747. required: true
  11748. type: integer
  11749. produces:
  11750. - application/json
  11751. responses:
  11752. "200":
  11753. description: OK
  11754. schema:
  11755. items:
  11756. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  11757. type: array
  11758. "500":
  11759. description: Internal Server Error
  11760. schema:
  11761. $ref: '#/definitions/app.Response'
  11762. security:
  11763. - ApiKeyAuth: []
  11764. summary: 查询敞口现货明细
  11765. tags:
  11766. - 企业风险管理(app)
  11767. /Ermcp/QueryExposureHedgePosition:
  11768. get:
  11769. parameters:
  11770. - description: 所属机构ID
  11771. in: query
  11772. name: areaUserId
  11773. required: true
  11774. type: integer
  11775. produces:
  11776. - application/json
  11777. responses:
  11778. "200":
  11779. description: OK
  11780. schema:
  11781. items:
  11782. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  11783. type: array
  11784. "500":
  11785. description: Internal Server Error
  11786. schema:
  11787. $ref: '#/definitions/app.Response'
  11788. security:
  11789. - ApiKeyAuth: []
  11790. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  11791. tags:
  11792. - 企业风险管理(app)
  11793. /Ermcp/QueryExposureHedgePositionDetail:
  11794. get:
  11795. parameters:
  11796. - description: 所属机构ID
  11797. in: query
  11798. name: areaUserId
  11799. required: true
  11800. type: integer
  11801. - description: 商品id
  11802. in: query
  11803. name: goodsId
  11804. required: true
  11805. type: integer
  11806. produces:
  11807. - application/json
  11808. responses:
  11809. "200":
  11810. description: OK
  11811. schema:
  11812. items:
  11813. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11814. type: array
  11815. "500":
  11816. description: Internal Server Error
  11817. schema:
  11818. $ref: '#/definitions/app.Response'
  11819. security:
  11820. - ApiKeyAuth: []
  11821. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11822. tags:
  11823. - 企业风险管理(app)
  11824. /Ermcp/QueryExposureSpot:
  11825. get:
  11826. parameters:
  11827. - description: 所属机构ID
  11828. in: query
  11829. name: areaUserId
  11830. required: true
  11831. type: integer
  11832. produces:
  11833. - application/json
  11834. responses:
  11835. "200":
  11836. description: OK
  11837. schema:
  11838. items:
  11839. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11840. type: array
  11841. "500":
  11842. description: Internal Server Error
  11843. schema:
  11844. $ref: '#/definitions/app.Response'
  11845. security:
  11846. - ApiKeyAuth: []
  11847. summary: 查询敞口现货头寸(敞口/现货头寸)
  11848. tags:
  11849. - 企业风险管理(app)
  11850. /Ermcp/QueryExposureSpotDetail:
  11851. get:
  11852. parameters:
  11853. - description: 所属机构ID
  11854. in: query
  11855. name: areaUserId
  11856. required: true
  11857. type: integer
  11858. - description: 现货品种ID
  11859. in: query
  11860. name: wrstandardId
  11861. required: true
  11862. type: integer
  11863. produces:
  11864. - application/json
  11865. responses:
  11866. "200":
  11867. description: OK
  11868. schema:
  11869. items:
  11870. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11871. type: array
  11872. "500":
  11873. description: Internal Server Error
  11874. schema:
  11875. $ref: '#/definitions/app.Response'
  11876. security:
  11877. - ApiKeyAuth: []
  11878. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11879. tags:
  11880. - 企业风险管理(app)
  11881. /Ermcp/QueryGGConvertConfig:
  11882. get:
  11883. parameters:
  11884. - description: 品种id(不填则查所有)
  11885. in: query
  11886. name: goodsgroupid
  11887. type: integer
  11888. produces:
  11889. - application/json
  11890. responses:
  11891. "200":
  11892. description: OK
  11893. schema:
  11894. items:
  11895. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11896. type: array
  11897. "500":
  11898. description: Internal Server Error
  11899. schema:
  11900. $ref: '#/definitions/app.Response'
  11901. security:
  11902. - ApiKeyAuth: []
  11903. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11904. tags:
  11905. - 企业风险管理(app)
  11906. /Ermcp/QueryGoodsBrand:
  11907. get:
  11908. parameters:
  11909. - description: 用户ID
  11910. in: query
  11911. name: userid
  11912. required: true
  11913. type: integer
  11914. - description: 现货商品ID
  11915. in: query
  11916. name: wrstandardid
  11917. type: integer
  11918. produces:
  11919. - application/json
  11920. responses:
  11921. "200":
  11922. description: OK
  11923. schema:
  11924. items:
  11925. $ref: '#/definitions/models.ErmcpGoodsBrand'
  11926. type: array
  11927. "500":
  11928. description: Internal Server Error
  11929. schema:
  11930. $ref: '#/definitions/app.Response'
  11931. security:
  11932. - ApiKeyAuth: []
  11933. summary: 查询商品品牌
  11934. tags:
  11935. - 企业风险管理(app)
  11936. /Ermcp/QueryGoodsModel:
  11937. get:
  11938. parameters:
  11939. - description: 用户ID
  11940. in: query
  11941. name: userid
  11942. required: true
  11943. type: integer
  11944. produces:
  11945. - application/json
  11946. responses:
  11947. "200":
  11948. description: OK
  11949. schema:
  11950. items:
  11951. $ref: '#/definitions/models.ErmcpGoodsModel'
  11952. type: array
  11953. "500":
  11954. description: Internal Server Error
  11955. schema:
  11956. $ref: '#/definitions/app.Response'
  11957. security:
  11958. - ApiKeyAuth: []
  11959. summary: 查询商品型号
  11960. tags:
  11961. - 企业风险管理(app)
  11962. /Ermcp/QueryHedgePlan:
  11963. get:
  11964. parameters:
  11965. - description: 用户ID
  11966. in: query
  11967. name: userId
  11968. required: true
  11969. type: integer
  11970. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11971. in: query
  11972. name: HedgePlanStatus
  11973. required: true
  11974. type: string
  11975. produces:
  11976. - application/json
  11977. responses:
  11978. "200":
  11979. description: OK
  11980. schema:
  11981. items:
  11982. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11983. type: array
  11984. "500":
  11985. description: Internal Server Error
  11986. schema:
  11987. $ref: '#/definitions/app.Response'
  11988. security:
  11989. - ApiKeyAuth: []
  11990. summary: 查询套保计划
  11991. tags:
  11992. - 企业风险管理(app)
  11993. /Ermcp/QueryHisExposure:
  11994. get:
  11995. parameters:
  11996. - description: 所属机构ID
  11997. in: query
  11998. name: areaUserId
  11999. required: true
  12000. type: integer
  12001. - description: 每个品种记录数
  12002. in: query
  12003. name: lastNum
  12004. required: true
  12005. type: integer
  12006. produces:
  12007. - application/json
  12008. responses:
  12009. "200":
  12010. description: OK
  12011. schema:
  12012. items:
  12013. $ref: '#/definitions/ermcp.HisExposureRsp'
  12014. type: array
  12015. "500":
  12016. description: Internal Server Error
  12017. schema:
  12018. $ref: '#/definitions/app.Response'
  12019. security:
  12020. - ApiKeyAuth: []
  12021. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12022. tags:
  12023. - 企业风险管理(app)
  12024. /Ermcp/QueryMiddleGoods:
  12025. get:
  12026. parameters:
  12027. - description: 所属机构ID
  12028. in: query
  12029. name: userid
  12030. required: true
  12031. type: integer
  12032. - description: 状态 0-停用 1-正常
  12033. in: query
  12034. name: status
  12035. required: true
  12036. type: integer
  12037. produces:
  12038. - application/json
  12039. responses:
  12040. "200":
  12041. description: OK
  12042. schema:
  12043. items:
  12044. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12045. type: array
  12046. "500":
  12047. description: Internal Server Error
  12048. schema:
  12049. $ref: '#/definitions/app.Response'
  12050. security:
  12051. - ApiKeyAuth: []
  12052. summary: 查询套保品种(菜单:套保品种)
  12053. tags:
  12054. - 企业风险管理(app)
  12055. /Ermcp/QueryMiddleGoodsChangeLog:
  12056. get:
  12057. parameters:
  12058. - description: 所属机构ID
  12059. in: query
  12060. name: userid
  12061. required: true
  12062. type: integer
  12063. - description: 套保品种id
  12064. in: query
  12065. name: middlegoodsid
  12066. required: true
  12067. type: integer
  12068. produces:
  12069. - application/json
  12070. responses:
  12071. "200":
  12072. description: OK
  12073. schema:
  12074. items:
  12075. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12076. type: array
  12077. "500":
  12078. description: Internal Server Error
  12079. schema:
  12080. $ref: '#/definitions/app.Response'
  12081. security:
  12082. - ApiKeyAuth: []
  12083. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12084. tags:
  12085. - 企业风险管理(app)
  12086. /Ermcp/QueryMiddleGoodsDetail:
  12087. get:
  12088. parameters:
  12089. - description: 所属机构ID
  12090. in: query
  12091. name: userid
  12092. required: true
  12093. type: integer
  12094. - description: 套保品种id
  12095. in: query
  12096. name: middlegoodsid
  12097. type: integer
  12098. produces:
  12099. - application/json
  12100. responses:
  12101. "200":
  12102. description: OK
  12103. schema:
  12104. items:
  12105. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12106. type: array
  12107. "500":
  12108. description: Internal Server Error
  12109. schema:
  12110. $ref: '#/definitions/app.Response'
  12111. security:
  12112. - ApiKeyAuth: []
  12113. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12114. tags:
  12115. - 企业风险管理(app)
  12116. /Ermcp/QueryPendingAuditInfo:
  12117. get:
  12118. parameters:
  12119. - description: 用户ID
  12120. in: query
  12121. name: UserId
  12122. required: true
  12123. type: integer
  12124. produces:
  12125. - application/json
  12126. responses:
  12127. "200":
  12128. description: OK
  12129. schema:
  12130. items:
  12131. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12132. type: array
  12133. "500":
  12134. description: Internal Server Error
  12135. schema:
  12136. $ref: '#/definitions/app.Response'
  12137. security:
  12138. - ApiKeyAuth: []
  12139. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12140. tags:
  12141. - 企业风险管理(app)
  12142. /Ermcp/QueryRealtimeExposure:
  12143. get:
  12144. parameters:
  12145. - description: 所属机构ID
  12146. in: query
  12147. name: AreaUserID
  12148. required: true
  12149. type: integer
  12150. produces:
  12151. - application/json
  12152. responses:
  12153. "200":
  12154. description: OK
  12155. schema:
  12156. items:
  12157. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12158. type: array
  12159. "500":
  12160. description: Internal Server Error
  12161. schema:
  12162. $ref: '#/definitions/app.Response'
  12163. security:
  12164. - ApiKeyAuth: []
  12165. summary: 查询实时敞口
  12166. tags:
  12167. - 企业风险管理(app)
  12168. /Ermcp/QueryRealtimeExposurePosition:
  12169. get:
  12170. parameters:
  12171. - description: 所属机构ID
  12172. in: query
  12173. name: areaUserId
  12174. required: true
  12175. type: integer
  12176. - description: 套保商品ID
  12177. in: query
  12178. name: middleGoodsId
  12179. required: true
  12180. type: integer
  12181. produces:
  12182. - application/json
  12183. responses:
  12184. "200":
  12185. description: OK
  12186. schema:
  12187. items:
  12188. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12189. type: array
  12190. "500":
  12191. description: Internal Server Error
  12192. schema:
  12193. $ref: '#/definitions/app.Response'
  12194. security:
  12195. - ApiKeyAuth: []
  12196. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12197. tags:
  12198. - 企业风险管理(app)
  12199. /Ermcp/QuerySpotContract:
  12200. get:
  12201. parameters:
  12202. - description: 用户ID
  12203. in: query
  12204. name: userId
  12205. required: true
  12206. type: integer
  12207. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  12208. in: query
  12209. name: QueryType
  12210. required: true
  12211. type: integer
  12212. produces:
  12213. - application/json
  12214. responses:
  12215. "200":
  12216. description: OK
  12217. schema:
  12218. items:
  12219. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  12220. type: array
  12221. "500":
  12222. description: Internal Server Error
  12223. schema:
  12224. $ref: '#/definitions/app.Response'
  12225. security:
  12226. - ApiKeyAuth: []
  12227. summary: 查询现货合同(对应现货合同菜单)
  12228. tags:
  12229. - 企业风险管理(app)
  12230. /Ermcp/QueryUserInfo:
  12231. get:
  12232. parameters:
  12233. - description: 所属机构用户ID
  12234. in: query
  12235. name: MemberUserID
  12236. required: true
  12237. type: integer
  12238. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12239. in: query
  12240. name: queryType
  12241. required: true
  12242. type: integer
  12243. produces:
  12244. - application/json
  12245. responses:
  12246. "200":
  12247. description: OK
  12248. schema:
  12249. items:
  12250. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12251. type: array
  12252. "500":
  12253. description: Internal Server Error
  12254. schema:
  12255. $ref: '#/definitions/app.Response'
  12256. security:
  12257. - ApiKeyAuth: []
  12258. summary: 查询客户资料
  12259. tags:
  12260. - 企业风险管理(app)
  12261. /Ermcp/QueryWarehouseInfo:
  12262. get:
  12263. parameters:
  12264. - description: 用户ID
  12265. in: query
  12266. name: userid
  12267. required: true
  12268. type: integer
  12269. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12270. in: query
  12271. name: status
  12272. type: string
  12273. produces:
  12274. - application/json
  12275. responses:
  12276. "200":
  12277. description: OK
  12278. schema:
  12279. items:
  12280. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12281. type: array
  12282. "500":
  12283. description: Internal Server Error
  12284. schema:
  12285. $ref: '#/definitions/app.Response'
  12286. security:
  12287. - ApiKeyAuth: []
  12288. summary: 查询仓库信息
  12289. tags:
  12290. - 企业风险管理(app)
  12291. /Ermcp/QueryWrStandard:
  12292. get:
  12293. parameters:
  12294. - description: 所属机构ID
  12295. in: query
  12296. name: userid
  12297. required: true
  12298. type: integer
  12299. - description: 状态 0-停用 1-正常
  12300. in: query
  12301. name: status
  12302. required: true
  12303. type: integer
  12304. produces:
  12305. - application/json
  12306. responses:
  12307. "200":
  12308. description: OK
  12309. schema:
  12310. items:
  12311. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  12312. type: array
  12313. "500":
  12314. description: Internal Server Error
  12315. schema:
  12316. $ref: '#/definitions/app.Response'
  12317. security:
  12318. - ApiKeyAuth: []
  12319. summary: 查询现货商品
  12320. tags:
  12321. - 企业风险管理(app)
  12322. /Ermcp/QueryWrStandardDetail:
  12323. get:
  12324. parameters:
  12325. - description: 所属机构ID
  12326. in: query
  12327. name: userid
  12328. required: true
  12329. type: integer
  12330. - description: 现货商品ID
  12331. in: query
  12332. name: wrstandardid
  12333. type: integer
  12334. - description: 可不填, 1-查询关联交易商品
  12335. in: query
  12336. name: goods
  12337. type: integer
  12338. produces:
  12339. - application/json
  12340. responses:
  12341. "200":
  12342. description: OK
  12343. schema:
  12344. items:
  12345. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  12346. type: array
  12347. "500":
  12348. description: Internal Server Error
  12349. schema:
  12350. $ref: '#/definitions/app.Response'
  12351. security:
  12352. - ApiKeyAuth: []
  12353. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  12354. tags:
  12355. - 企业风险管理(app)
  12356. /Erms2/QueryArbitrageStrategy:
  12357. get:
  12358. parameters:
  12359. - description: 账户ID
  12360. in: query
  12361. name: userid
  12362. required: true
  12363. type: integer
  12364. - description: 商品组ID(品种ID)
  12365. in: query
  12366. name: goodsgroupid
  12367. type: string
  12368. produces:
  12369. - application/json
  12370. responses:
  12371. "200":
  12372. description: OK
  12373. schema:
  12374. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  12375. "500":
  12376. description: Internal Server Error
  12377. schema:
  12378. $ref: '#/definitions/app.Response'
  12379. security:
  12380. - ApiKeyAuth: []
  12381. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  12382. tags:
  12383. - 风险管理
  12384. /Erms2/QueryInnerTradeDetail:
  12385. get:
  12386. parameters:
  12387. - description: 资金账户
  12388. in: query
  12389. name: accountid
  12390. required: true
  12391. type: integer
  12392. produces:
  12393. - application/json
  12394. responses:
  12395. "200":
  12396. description: OK
  12397. schema:
  12398. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 查询内部成交单信息
  12406. tags:
  12407. - 风险管理
  12408. /Erms2/QuerySpotContract:
  12409. get:
  12410. parameters:
  12411. - description: 策略申请ID
  12412. in: query
  12413. name: asapplyid
  12414. required: true
  12415. type: integer
  12416. - description: 现货合同ID
  12417. in: query
  12418. name: spotcontractid
  12419. type: integer
  12420. produces:
  12421. - application/json
  12422. responses:
  12423. "200":
  12424. description: OK
  12425. schema:
  12426. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  12427. "500":
  12428. description: Internal Server Error
  12429. schema:
  12430. $ref: '#/definitions/app.Response'
  12431. security:
  12432. - ApiKeyAuth: []
  12433. summary: 查询现货合同表信息(指定策略ID、未结束的)
  12434. tags:
  12435. - 风险管理
  12436. /Erms3/AddErms2ASApply:
  12437. post:
  12438. parameters:
  12439. - description: 申请参数
  12440. in: body
  12441. name: jsonBody
  12442. required: true
  12443. schema:
  12444. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  12445. produces:
  12446. - application/json
  12447. responses:
  12448. "200":
  12449. description: OK
  12450. schema:
  12451. $ref: '#/definitions/app.Response'
  12452. "500":
  12453. description: Internal Server Error
  12454. schema:
  12455. $ref: '#/definitions/app.Response'
  12456. security:
  12457. - ApiKeyAuth: []
  12458. summary: 新增期现套利业务申请
  12459. tags:
  12460. - 风险管理v3
  12461. /Erms3/AddErms2SpotTradeApply:
  12462. post:
  12463. parameters:
  12464. - description: 申请参数
  12465. in: body
  12466. name: jsonBody
  12467. required: true
  12468. schema:
  12469. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  12470. produces:
  12471. - application/json
  12472. responses:
  12473. "200":
  12474. description: OK
  12475. schema:
  12476. $ref: '#/definitions/app.Response'
  12477. "500":
  12478. description: Internal Server Error
  12479. schema:
  12480. $ref: '#/definitions/app.Response'
  12481. security:
  12482. - ApiKeyAuth: []
  12483. summary: 新增现货贸易业务申请
  12484. tags:
  12485. - 风险管理v3
  12486. /Erms3/AddSpotContractApply:
  12487. post:
  12488. parameters:
  12489. - description: 申请参数
  12490. in: body
  12491. name: jsonBody
  12492. required: true
  12493. schema:
  12494. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  12495. produces:
  12496. - application/json
  12497. responses:
  12498. "200":
  12499. description: OK
  12500. schema:
  12501. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  12502. "500":
  12503. description: Internal Server Error
  12504. schema:
  12505. $ref: '#/definitions/app.Response'
  12506. security:
  12507. - ApiKeyAuth: []
  12508. summary: 新增现货合同申请
  12509. tags:
  12510. - 风险管理v3
  12511. /Erms3/AddUserInfoApply:
  12512. post:
  12513. parameters:
  12514. - description: 用户信息
  12515. in: body
  12516. name: jsonBody
  12517. required: true
  12518. schema:
  12519. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  12520. produces:
  12521. - application/json
  12522. responses:
  12523. "200":
  12524. description: OK
  12525. schema:
  12526. $ref: '#/definitions/app.Response'
  12527. "500":
  12528. description: Internal Server Error
  12529. schema:
  12530. $ref: '#/definitions/app.Response'
  12531. security:
  12532. - ApiKeyAuth: []
  12533. summary: 新增客户申请
  12534. tags:
  12535. - 风险管理v3
  12536. /Erms3/ModifyUserInfoApply:
  12537. post:
  12538. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  12539. int, "userstate": 2 }'
  12540. parameters:
  12541. - description: 用户信息
  12542. in: body
  12543. name: jsonBody
  12544. required: true
  12545. schema:
  12546. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  12547. produces:
  12548. - application/json
  12549. responses:
  12550. "200":
  12551. description: OK
  12552. schema:
  12553. $ref: '#/definitions/app.Response'
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 修改客户申请
  12561. tags:
  12562. - 风险管理v3
  12563. /Erms3/QueryBusinessInfo:
  12564. get:
  12565. parameters:
  12566. - description: 资金账号ID列表,用逗号分隔
  12567. in: query
  12568. name: accountids
  12569. required: true
  12570. type: string
  12571. - description: 状态,0为未结束 1为已结束
  12572. in: query
  12573. name: status
  12574. required: true
  12575. type: integer
  12576. produces:
  12577. - application/json
  12578. responses:
  12579. "200":
  12580. description: OK
  12581. schema:
  12582. items:
  12583. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  12584. type: array
  12585. "500":
  12586. description: Internal Server Error
  12587. schema:
  12588. $ref: '#/definitions/app.Response'
  12589. security:
  12590. - ApiKeyAuth: []
  12591. summary: 查询业务表单数据
  12592. tags:
  12593. - 风险管理v3
  12594. /Erms3/QueryPendingAuditContract:
  12595. get:
  12596. parameters:
  12597. - description: 资金账号ID列表,逗号隔开
  12598. in: query
  12599. name: accountids
  12600. required: true
  12601. type: string
  12602. - description: 合同类型 1-采购 -1-销售
  12603. in: query
  12604. name: contracttype
  12605. required: true
  12606. type: integer
  12607. - description: 合同模式 1-普通 2-回购
  12608. in: query
  12609. name: contractmode
  12610. required: true
  12611. type: integer
  12612. produces:
  12613. - application/json
  12614. responses:
  12615. "200":
  12616. description: OK
  12617. schema:
  12618. items:
  12619. $ref: '#/definitions/erms3.QryAuditContractRsp'
  12620. type: array
  12621. "500":
  12622. description: Internal Server Error
  12623. schema:
  12624. $ref: '#/definitions/app.Response'
  12625. security:
  12626. - ApiKeyAuth: []
  12627. summary: 查询待审核合同
  12628. tags:
  12629. - 风险管理v3
  12630. /Erms3/QueryPendingBusiness:
  12631. get:
  12632. parameters:
  12633. - description: 资金账号ID列表,逗号隔开
  12634. in: query
  12635. name: accountids
  12636. required: true
  12637. type: string
  12638. produces:
  12639. - application/json
  12640. responses:
  12641. "200":
  12642. description: OK
  12643. schema:
  12644. items:
  12645. $ref: '#/definitions/erms3.QryPendingBizRsp'
  12646. type: array
  12647. "500":
  12648. description: Internal Server Error
  12649. schema:
  12650. $ref: '#/definitions/app.Response'
  12651. security:
  12652. - ApiKeyAuth: []
  12653. summary: 查询待审核基差贸易业务
  12654. tags:
  12655. - 风险管理v3
  12656. /Erms3/QuerySpotContractAppleForm:
  12657. get:
  12658. parameters:
  12659. - description: 登录账号
  12660. in: query
  12661. name: loginID
  12662. required: true
  12663. type: integer
  12664. produces:
  12665. - application/json
  12666. responses:
  12667. "200":
  12668. description: OK
  12669. schema:
  12670. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  12671. "500":
  12672. description: Internal Server Error
  12673. schema:
  12674. $ref: '#/definitions/app.Response'
  12675. security:
  12676. - ApiKeyAuth: []
  12677. summary: 查询合同申请表单数据
  12678. tags:
  12679. - 风险管理v3
  12680. /Erms3/QuerySpotContractDetail:
  12681. get:
  12682. parameters:
  12683. - description: 资金账号ID列表,用逗号分隔
  12684. in: query
  12685. name: accountids
  12686. required: true
  12687. type: string
  12688. - description: 合同类型,1为采购合同 -1为销售合同
  12689. in: query
  12690. name: contracttype
  12691. required: true
  12692. type: integer
  12693. - description: 合同模式,1为普通合同 2为回购销售合同
  12694. in: query
  12695. name: contractmode
  12696. required: true
  12697. type: integer
  12698. - description: 状态,0为履约中 1为已完成
  12699. in: query
  12700. name: status
  12701. required: true
  12702. type: integer
  12703. produces:
  12704. - application/json
  12705. responses:
  12706. "200":
  12707. description: OK
  12708. schema:
  12709. items:
  12710. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  12711. type: array
  12712. "500":
  12713. description: Internal Server Error
  12714. schema:
  12715. $ref: '#/definitions/app.Response'
  12716. security:
  12717. - ApiKeyAuth: []
  12718. summary: 查询合同详细信息
  12719. tags:
  12720. - 风险管理v3
  12721. /Erms3/QueryUserInfoApplies:
  12722. get:
  12723. parameters:
  12724. - description: 页码
  12725. in: query
  12726. name: page
  12727. type: integer
  12728. - description: 每页条数
  12729. in: query
  12730. name: pagesize
  12731. type: integer
  12732. - description: 客户名称,支持模糊查询
  12733. in: query
  12734. name: userName
  12735. type: string
  12736. produces:
  12737. - application/json
  12738. responses:
  12739. "200":
  12740. description: OK
  12741. schema:
  12742. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  12743. "500":
  12744. description: Internal Server Error
  12745. schema:
  12746. $ref: '#/definitions/app.Response'
  12747. security:
  12748. - ApiKeyAuth: []
  12749. summary: 客户申请信息查询
  12750. tags:
  12751. - 风险管理v3
  12752. /Erms3/QueryUserInfos:
  12753. get:
  12754. parameters:
  12755. - description: 页码
  12756. in: query
  12757. name: page
  12758. type: integer
  12759. - description: 每页条数
  12760. in: query
  12761. name: pagesize
  12762. type: integer
  12763. - description: 客户名称,支持模糊查询
  12764. in: query
  12765. name: userName
  12766. type: string
  12767. produces:
  12768. - application/json
  12769. responses:
  12770. "200":
  12771. description: OK
  12772. schema:
  12773. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  12774. "500":
  12775. description: Internal Server Error
  12776. schema:
  12777. $ref: '#/definitions/app.Response'
  12778. security:
  12779. - ApiKeyAuth: []
  12780. summary: 客户信息查询
  12781. tags:
  12782. - 风险管理v3
  12783. /HSBY/GetHsbyMyCount:
  12784. get:
  12785. description: 说明: 不包括已完成的数量。
  12786. parameters:
  12787. - description: 资金账户列表,格式:1,2,3
  12788. in: query
  12789. name: accountIDs
  12790. required: true
  12791. type: string
  12792. produces:
  12793. - application/json
  12794. responses:
  12795. "200":
  12796. description: OK
  12797. schema:
  12798. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  12799. "500":
  12800. description: Internal Server Error
  12801. schema:
  12802. $ref: '#/definitions/app.Response'
  12803. security:
  12804. - ApiKeyAuth: []
  12805. summary: 获取我的订单与包裹数量
  12806. tags:
  12807. - 定制【海商报业】
  12808. /HSBY/QueryClientFixedADConfigs:
  12809. get:
  12810. produces:
  12811. - application/json
  12812. responses:
  12813. "200":
  12814. description: OK
  12815. schema:
  12816. $ref: '#/definitions/models.Clientfixedadconfig'
  12817. "500":
  12818. description: Internal Server Error
  12819. schema:
  12820. $ref: '#/definitions/app.Response'
  12821. security:
  12822. - ApiKeyAuth: []
  12823. summary: 获取终端固定广告配置
  12824. tags:
  12825. - 定制【海商报业】
  12826. /HSBY/QueryHsbyBuyMyTradeDetail:
  12827. get:
  12828. parameters:
  12829. - description: 页码
  12830. in: query
  12831. name: page
  12832. type: integer
  12833. - description: 每页条数
  12834. in: query
  12835. name: pagesize
  12836. type: integer
  12837. - description: 资金账户列表,格式:1,2,3
  12838. in: query
  12839. name: accountIDs
  12840. required: true
  12841. type: string
  12842. produces:
  12843. - application/json
  12844. responses:
  12845. "200":
  12846. description: OK
  12847. schema:
  12848. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  12849. "500":
  12850. description: Internal Server Error
  12851. schema:
  12852. $ref: '#/definitions/app.Response'
  12853. security:
  12854. - ApiKeyAuth: []
  12855. summary: 查询"我的订单 - 已完成"单据信息
  12856. tags:
  12857. - 定制【海商报业】
  12858. /HSBY/QueryHsbyGoodsOrderDetails:
  12859. get:
  12860. description: 说明:查询结果已按委托价格和委托时间排序
  12861. parameters:
  12862. - description: 商品ID
  12863. in: query
  12864. name: goodsID
  12865. required: true
  12866. type: integer
  12867. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12868. in: query
  12869. name: accountIDs
  12870. type: string
  12871. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12872. in: query
  12873. name: buyOrSell
  12874. type: integer
  12875. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12876. in: query
  12877. name: price
  12878. type: number
  12879. - description: 档位,不传则默认为3档
  12880. in: query
  12881. name: speed
  12882. type: integer
  12883. produces:
  12884. - application/json
  12885. responses:
  12886. "200":
  12887. description: OK
  12888. schema:
  12889. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12890. "500":
  12891. description: Internal Server Error
  12892. schema:
  12893. $ref: '#/definitions/app.Response'
  12894. security:
  12895. - ApiKeyAuth: []
  12896. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12897. tags:
  12898. - 定制【海商报业】
  12899. /HSBY/QueryHsbyListingGoodsDetail:
  12900. get:
  12901. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12902. parameters:
  12903. - description: 商品ID
  12904. in: query
  12905. name: goodsID
  12906. required: true
  12907. type: integer
  12908. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12909. in: query
  12910. name: accountID
  12911. type: integer
  12912. produces:
  12913. - application/json
  12914. responses:
  12915. "200":
  12916. description: OK
  12917. schema:
  12918. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12919. "500":
  12920. description: Internal Server Error
  12921. schema:
  12922. $ref: '#/definitions/app.Response'
  12923. security:
  12924. - ApiKeyAuth: []
  12925. summary: 查询二级市场(挂牌点选)商品信息详情
  12926. tags:
  12927. - 定制【海商报业】
  12928. /HSBY/QueryHsbyMarketGoodsDetail:
  12929. get:
  12930. parameters:
  12931. - description: 委托单号
  12932. in: query
  12933. name: orderID
  12934. required: true
  12935. type: integer
  12936. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12937. in: query
  12938. name: accountID
  12939. type: integer
  12940. produces:
  12941. - application/json
  12942. responses:
  12943. "200":
  12944. description: OK
  12945. schema:
  12946. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12947. "500":
  12948. description: Internal Server Error
  12949. schema:
  12950. $ref: '#/definitions/app.Response'
  12951. security:
  12952. - ApiKeyAuth: []
  12953. summary: 查询三级市场(商城)商品信息详情
  12954. tags:
  12955. - 定制【海商报业】
  12956. /HSBY/QueryHsbyMarketGoodses:
  12957. get:
  12958. parameters:
  12959. - description: 页码
  12960. in: query
  12961. name: page
  12962. type: integer
  12963. - description: 每页条数
  12964. in: query
  12965. name: pagesize
  12966. type: integer
  12967. - description: 市场ID列表,格式:1,2,3
  12968. in: query
  12969. name: marketIDs
  12970. required: true
  12971. type: string
  12972. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12973. in: query
  12974. name: accountID
  12975. required: true
  12976. type: integer
  12977. - description: 类别ID
  12978. in: query
  12979. name: categoryID
  12980. type: integer
  12981. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12982. in: query
  12983. name: goodsIDs
  12984. type: string
  12985. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12986. in: query
  12987. name: couponTypeID
  12988. type: integer
  12989. produces:
  12990. - application/json
  12991. responses:
  12992. "200":
  12993. description: OK
  12994. schema:
  12995. $ref: '#/definitions/models.HsbyMarketGoods'
  12996. "500":
  12997. description: Internal Server Error
  12998. schema:
  12999. $ref: '#/definitions/app.Response'
  13000. security:
  13001. - ApiKeyAuth: []
  13002. summary: 查询特卖商品列表(三级商城)
  13003. tags:
  13004. - 定制【海商报业】
  13005. /HSBY/QueryHsbyMarkets:
  13006. get:
  13007. produces:
  13008. - application/json
  13009. responses:
  13010. "200":
  13011. description: OK
  13012. schema:
  13013. $ref: '#/definitions/models.HsbyMarketInfo'
  13014. "500":
  13015. description: Internal Server Error
  13016. schema:
  13017. $ref: '#/definitions/app.Response'
  13018. security:
  13019. - ApiKeyAuth: []
  13020. summary: 查询海商报业相关市场信息
  13021. tags:
  13022. - 定制【海商报业】
  13023. /HSBY/QueryHsbyMyBuyOrderDetails:
  13024. get:
  13025. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  13026. parameters:
  13027. - description: 资金账户列表,格式:1,2,3
  13028. in: query
  13029. name: accountIDs
  13030. required: true
  13031. type: string
  13032. produces:
  13033. - application/json
  13034. responses:
  13035. "200":
  13036. description: OK
  13037. schema:
  13038. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  13039. "500":
  13040. description: Internal Server Error
  13041. schema:
  13042. $ref: '#/definitions/app.Response'
  13043. security:
  13044. - ApiKeyAuth: []
  13045. summary: 查询“我的订单”信息
  13046. tags:
  13047. - 定制【海商报业】
  13048. /HSBY/QueryHsbyMyGoods:
  13049. get:
  13050. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  13051. parameters:
  13052. - description: 资金账户列表,格式:1,2,3
  13053. in: query
  13054. name: accountIDs
  13055. required: true
  13056. type: string
  13057. produces:
  13058. - application/json
  13059. responses:
  13060. "200":
  13061. description: OK
  13062. schema:
  13063. $ref: '#/definitions/models.HsbyMyGoods'
  13064. "500":
  13065. description: Internal Server Error
  13066. schema:
  13067. $ref: '#/definitions/app.Response'
  13068. security:
  13069. - ApiKeyAuth: []
  13070. summary: 查询“我的商品”信息
  13071. tags:
  13072. - 定制【海商报业】
  13073. /HSBY/QueryHsbyMyPackages:
  13074. get:
  13075. parameters:
  13076. - description: 资金账户列表,格式:1,2,3
  13077. in: query
  13078. name: accountIDs
  13079. required: true
  13080. type: string
  13081. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13082. in: query
  13083. name: takeOrderStatus
  13084. type: integer
  13085. produces:
  13086. - application/json
  13087. responses:
  13088. "200":
  13089. description: OK
  13090. schema:
  13091. $ref: '#/definitions/models.HsbyMyPackage'
  13092. "500":
  13093. description: Internal Server Error
  13094. schema:
  13095. $ref: '#/definitions/app.Response'
  13096. security:
  13097. - ApiKeyAuth: []
  13098. summary: 查询我的包裹信息
  13099. tags:
  13100. - 定制【海商报业】
  13101. /HSBY/QueryHsbyPreGoodsDetail:
  13102. get:
  13103. parameters:
  13104. - description: 商品ID
  13105. in: query
  13106. name: goodsID
  13107. required: true
  13108. type: integer
  13109. - description: 资金账户,主要用于获取预售商品购买上限
  13110. in: query
  13111. name: accountID
  13112. type: integer
  13113. produces:
  13114. - application/json
  13115. responses:
  13116. "200":
  13117. description: OK
  13118. schema:
  13119. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  13120. "500":
  13121. description: Internal Server Error
  13122. schema:
  13123. $ref: '#/definitions/app.Response'
  13124. security:
  13125. - ApiKeyAuth: []
  13126. summary: 查询一级市场(预售)商品信息详情
  13127. tags:
  13128. - 定制【海商报业】
  13129. /HSBY/QueryHsbyPreGoodses:
  13130. get:
  13131. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  13132. parameters:
  13133. - description: 页码
  13134. in: query
  13135. name: page
  13136. type: integer
  13137. - description: 每页条数
  13138. in: query
  13139. name: pagesize
  13140. type: integer
  13141. - description: 市场ID列表,格式:1,2,3
  13142. in: query
  13143. name: marketIDs
  13144. required: true
  13145. type: string
  13146. - description: 目的地(省)ID
  13147. in: query
  13148. name: descProvinceID
  13149. type: integer
  13150. - description: 目的地(市)ID
  13151. in: query
  13152. name: descCityID
  13153. type: integer
  13154. produces:
  13155. - application/json
  13156. responses:
  13157. "200":
  13158. description: OK
  13159. schema:
  13160. $ref: '#/definitions/models.HsbyPreGoods'
  13161. "500":
  13162. description: Internal Server Error
  13163. schema:
  13164. $ref: '#/definitions/app.Response'
  13165. security:
  13166. - ApiKeyAuth: []
  13167. summary: 查询新品上市商品列表(一级市场预售)
  13168. tags:
  13169. - 定制【海商报业】
  13170. /HSBY/QueryHsbySellMyDetails:
  13171. get:
  13172. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  13173. parameters:
  13174. - description: 页码
  13175. in: query
  13176. name: page
  13177. type: integer
  13178. - description: 每页条数
  13179. in: query
  13180. name: pagesize
  13181. type: integer
  13182. - description: 资金账户列表,格式:1,2,3
  13183. in: query
  13184. name: accountIDs
  13185. required: true
  13186. type: string
  13187. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  13188. in: query
  13189. name: orderType
  13190. type: integer
  13191. produces:
  13192. - application/json
  13193. responses:
  13194. "200":
  13195. description: OK
  13196. schema:
  13197. $ref: '#/definitions/models.HsbySellMyDetail'
  13198. "500":
  13199. description: Internal Server Error
  13200. schema:
  13201. $ref: '#/definitions/app.Response'
  13202. security:
  13203. - ApiKeyAuth: []
  13204. summary: 查询"我的闲置"单据信息
  13205. tags:
  13206. - 定制【海商报业】
  13207. /HSBY/QueryHsbyTopGoodses:
  13208. get:
  13209. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  13210. parameters:
  13211. - description: 页码
  13212. in: query
  13213. name: page
  13214. type: integer
  13215. - description: 每页条数
  13216. in: query
  13217. name: pagesize
  13218. type: integer
  13219. - description: 市场ID列表,格式:1,2,3
  13220. in: query
  13221. name: marketIDs
  13222. required: true
  13223. type: string
  13224. - description: 目的地(省)ID
  13225. in: query
  13226. name: descProvinceID
  13227. type: integer
  13228. - description: 目的地(市)ID
  13229. in: query
  13230. name: descCityID
  13231. type: integer
  13232. produces:
  13233. - application/json
  13234. responses:
  13235. "200":
  13236. description: OK
  13237. schema:
  13238. $ref: '#/definitions/models.HsbyTopGoods'
  13239. "500":
  13240. description: Internal Server Error
  13241. schema:
  13242. $ref: '#/definitions/app.Response'
  13243. security:
  13244. - ApiKeyAuth: []
  13245. summary: 查询热卖商品列表(二级市场挂牌点选)
  13246. tags:
  13247. - 定制【海商报业】
  13248. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  13249. get:
  13250. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  13251. parameters:
  13252. - description: 商品ID
  13253. in: query
  13254. name: goodsID
  13255. required: true
  13256. type: integer
  13257. produces:
  13258. - application/json
  13259. responses:
  13260. "200":
  13261. description: OK
  13262. schema:
  13263. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13264. "500":
  13265. description: Internal Server Error
  13266. schema:
  13267. $ref: '#/definitions/app.Response'
  13268. security:
  13269. - ApiKeyAuth: []
  13270. summary: 查询游客三级市场(商城)商品信息详情
  13271. tags:
  13272. - 定制【海商报业】
  13273. /HSBY/QueryHsbyVisitorMarketGoodses:
  13274. get:
  13275. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  13276. parameters:
  13277. - description: 页码
  13278. in: query
  13279. name: page
  13280. type: integer
  13281. - description: 每页条数
  13282. in: query
  13283. name: pagesize
  13284. type: integer
  13285. - description: 市场ID列表,格式:1,2,3
  13286. in: query
  13287. name: marketIDs
  13288. required: true
  13289. type: string
  13290. - description: 类别ID
  13291. in: query
  13292. name: categoryID
  13293. type: integer
  13294. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13295. in: query
  13296. name: goodsIDs
  13297. type: string
  13298. produces:
  13299. - application/json
  13300. responses:
  13301. "200":
  13302. description: OK
  13303. schema:
  13304. $ref: '#/definitions/models.HsbyMarketGoods'
  13305. "500":
  13306. description: Internal Server Error
  13307. schema:
  13308. $ref: '#/definitions/app.Response'
  13309. security:
  13310. - ApiKeyAuth: []
  13311. summary: 查询游客特卖商品列表(三级商城)
  13312. tags:
  13313. - 定制【海商报业】
  13314. /HSBY/QueryMyCollectionOrders:
  13315. get:
  13316. parameters:
  13317. - description: 页码
  13318. in: query
  13319. name: page
  13320. type: integer
  13321. - description: 每页条数
  13322. in: query
  13323. name: pagesize
  13324. type: integer
  13325. - description: 资金账户,格式:1,2,3
  13326. in: query
  13327. name: accountIDs
  13328. required: true
  13329. type: string
  13330. produces:
  13331. - application/json
  13332. responses:
  13333. "200":
  13334. description: OK
  13335. schema:
  13336. $ref: '#/definitions/models.HsbySellCollectionOrder'
  13337. "500":
  13338. description: Internal Server Error
  13339. schema:
  13340. $ref: '#/definitions/app.Response'
  13341. security:
  13342. - ApiKeyAuth: []
  13343. summary: 我的闲置中收款信息查询
  13344. tags:
  13345. - 定制【海商报业】
  13346. /HSBY/QueryMyCouponHolds:
  13347. get:
  13348. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  13349. parameters:
  13350. - description: 资金账户列表,格式:1,2,3
  13351. in: query
  13352. name: accountIDs
  13353. required: true
  13354. type: string
  13355. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  13356. in: query
  13357. name: holdStatus
  13358. type: string
  13359. produces:
  13360. - application/json
  13361. responses:
  13362. "200":
  13363. description: OK
  13364. schema:
  13365. $ref: '#/definitions/models.MyCouponHold'
  13366. "500":
  13367. description: Internal Server Error
  13368. schema:
  13369. $ref: '#/definitions/app.Response'
  13370. security:
  13371. - ApiKeyAuth: []
  13372. summary: 我的优惠卷持仓查询
  13373. tags:
  13374. - 定制【海商报业】
  13375. /HSBY/QueryMyCoupons:
  13376. get:
  13377. parameters:
  13378. - description: 资金账户列表,格式:1,2,3
  13379. in: query
  13380. name: accountIDs
  13381. required: true
  13382. type: string
  13383. - description: 商品ID, 一般与sellUserID配套传入
  13384. in: query
  13385. name: goodsID
  13386. type: integer
  13387. - description: 卖方UserID
  13388. in: query
  13389. name: sellUserID
  13390. type: integer
  13391. produces:
  13392. - application/json
  13393. responses:
  13394. "200":
  13395. description: OK
  13396. schema:
  13397. $ref: '#/definitions/models.MyCoupon'
  13398. "500":
  13399. description: Internal Server Error
  13400. schema:
  13401. $ref: '#/definitions/app.Response'
  13402. security:
  13403. - ApiKeyAuth: []
  13404. summary: 我的优惠卷查询
  13405. tags:
  13406. - 定制【海商报业】
  13407. /HSBY/QueryMyPayOrders:
  13408. get:
  13409. parameters:
  13410. - description: 页码
  13411. in: query
  13412. name: page
  13413. type: integer
  13414. - description: 每页条数
  13415. in: query
  13416. name: pagesize
  13417. type: integer
  13418. - description: 资金账户列表,格式:1,2,3
  13419. in: query
  13420. name: accountIDs
  13421. required: true
  13422. type: string
  13423. - description: 买方委托单号
  13424. in: query
  13425. name: buyOrderID
  13426. type: integer
  13427. - description: 卖方委托单号
  13428. in: query
  13429. name: sellOrderID
  13430. type: integer
  13431. produces:
  13432. - application/json
  13433. responses:
  13434. "200":
  13435. description: OK
  13436. schema:
  13437. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  13438. "500":
  13439. description: Internal Server Error
  13440. schema:
  13441. $ref: '#/definitions/app.Response'
  13442. security:
  13443. - ApiKeyAuth: []
  13444. summary: 获取我的订单中待付款信息
  13445. tags:
  13446. - 定制【海商报业】
  13447. /HSBY/QueryMyUsedCoupon:
  13448. get:
  13449. parameters:
  13450. - description: 资金账户列表,格式:1,2,3
  13451. in: query
  13452. name: accountIDs
  13453. required: true
  13454. type: string
  13455. produces:
  13456. - application/json
  13457. responses:
  13458. "200":
  13459. description: OK
  13460. schema:
  13461. $ref: '#/definitions/models.MyUsedCoupon'
  13462. "500":
  13463. description: Internal Server Error
  13464. schema:
  13465. $ref: '#/definitions/app.Response'
  13466. security:
  13467. - ApiKeyAuth: []
  13468. summary: 已使用优惠卷查询
  13469. tags:
  13470. - 定制【海商报业】
  13471. /HSBY/QueryProvincesAndCities:
  13472. get:
  13473. description: 查询结果只包括二级市场商品已关连的省市信息。
  13474. parameters:
  13475. - description: 省ID
  13476. in: query
  13477. name: provinceID
  13478. type: integer
  13479. produces:
  13480. - application/json
  13481. responses:
  13482. "200":
  13483. description: OK
  13484. schema:
  13485. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  13486. "500":
  13487. description: Internal Server Error
  13488. schema:
  13489. $ref: '#/definitions/app.Response'
  13490. security:
  13491. - ApiKeyAuth: []
  13492. summary: 查询省市信息(不包括区)
  13493. tags:
  13494. - 定制【海商报业】
  13495. /HSBY/SetHsbyMyPackagesStatus:
  13496. post:
  13497. parameters:
  13498. - description: 提货单号
  13499. in: query
  13500. name: takeOrderID
  13501. required: true
  13502. type: string
  13503. - description: 资金账号
  13504. in: query
  13505. name: accountID
  13506. required: true
  13507. type: integer
  13508. produces:
  13509. - application/json
  13510. responses:
  13511. "200":
  13512. description: OK
  13513. schema:
  13514. $ref: '#/definitions/app.Response'
  13515. "500":
  13516. description: Internal Server Error
  13517. schema:
  13518. $ref: '#/definitions/app.Response'
  13519. security:
  13520. - ApiKeyAuth: []
  13521. summary: 设置我的包裹已收货状态
  13522. tags:
  13523. - 定制【海商报业】
  13524. /Market/QueryGoodsesByLoginID:
  13525. get:
  13526. parameters:
  13527. - description: 登录账号
  13528. in: query
  13529. name: loginID
  13530. required: true
  13531. type: integer
  13532. - description: 市场ID列表,格式:1,2,3
  13533. in: query
  13534. name: marketIDs
  13535. type: string
  13536. produces:
  13537. - application/json
  13538. responses:
  13539. "200":
  13540. description: OK
  13541. schema:
  13542. $ref: '#/definitions/models.Goods'
  13543. "500":
  13544. description: Internal Server Error
  13545. schema:
  13546. $ref: '#/definitions/app.Response'
  13547. security:
  13548. - ApiKeyAuth: []
  13549. summary: 获取登录账号有权限的商品信息
  13550. tags:
  13551. - 通用市场
  13552. /Market/QueryMarketRun:
  13553. get:
  13554. parameters:
  13555. - description: 市场ID,不传返回所有
  13556. in: query
  13557. name: marketID
  13558. type: integer
  13559. produces:
  13560. - application/json
  13561. responses:
  13562. "200":
  13563. description: OK
  13564. schema:
  13565. $ref: '#/definitions/models.Marketrun'
  13566. "500":
  13567. description: Internal Server Error
  13568. schema:
  13569. $ref: '#/definitions/app.Response'
  13570. security:
  13571. - ApiKeyAuth: []
  13572. summary: 查询市场运行信息
  13573. tags:
  13574. - 通用市场
  13575. /Market/QueryMarketsByLoginID:
  13576. get:
  13577. parameters:
  13578. - description: 登录账号
  13579. in: query
  13580. name: loginID
  13581. required: true
  13582. type: integer
  13583. produces:
  13584. - application/json
  13585. responses:
  13586. "200":
  13587. description: OK
  13588. schema:
  13589. $ref: '#/definitions/models.Market'
  13590. "500":
  13591. description: Internal Server Error
  13592. schema:
  13593. $ref: '#/definitions/app.Response'
  13594. security:
  13595. - ApiKeyAuth: []
  13596. summary: 获取登录账号有权限的市场信息
  13597. tags:
  13598. - 通用市场
  13599. /Order/QueryHisTradeDetail:
  13600. get:
  13601. parameters:
  13602. - description: 资金账户 - 格式:1,2,3
  13603. in: query
  13604. name: accountID
  13605. required: true
  13606. type: string
  13607. - description: 成交单号
  13608. in: query
  13609. name: tradeID
  13610. type: integer
  13611. - description: 委托单号
  13612. in: query
  13613. name: orderID
  13614. type: integer
  13615. - description: 交易模式 - 格式:1,2,3
  13616. in: query
  13617. name: tradeMode
  13618. type: string
  13619. - description: 委托单据类型
  13620. in: query
  13621. name: buildType
  13622. type: integer
  13623. - description: 成交类别 - 格式:1,2,3
  13624. in: query
  13625. name: tradeType
  13626. type: string
  13627. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13628. in: query
  13629. name: startDate
  13630. type: string
  13631. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13632. in: query
  13633. name: endDate
  13634. type: string
  13635. produces:
  13636. - application/json
  13637. responses:
  13638. "200":
  13639. description: OK
  13640. schema:
  13641. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  13642. "500":
  13643. description: Internal Server Error
  13644. schema:
  13645. $ref: '#/definitions/app.Response'
  13646. security:
  13647. - ApiKeyAuth: []
  13648. summary: 历史成交单查询(合约市场)
  13649. tags:
  13650. - 通用单据
  13651. /Order/QueryHisTradeOrderDetail:
  13652. get:
  13653. parameters:
  13654. - description: 资金账户 - 格式:1,2,3
  13655. in: query
  13656. name: accountID
  13657. required: true
  13658. type: string
  13659. - description: 交易模式 - 格式:1,2,3
  13660. in: query
  13661. name: tradeMode
  13662. type: string
  13663. - description: 委托状态 - 格式:1,2,3
  13664. in: query
  13665. name: orderStatus
  13666. type: string
  13667. - description: 委托单号
  13668. in: query
  13669. name: orderID
  13670. type: integer
  13671. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13672. in: query
  13673. name: startDate
  13674. type: string
  13675. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13676. in: query
  13677. name: endDate
  13678. type: string
  13679. produces:
  13680. - application/json
  13681. responses:
  13682. "200":
  13683. description: OK
  13684. schema:
  13685. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  13686. "500":
  13687. description: Internal Server Error
  13688. schema:
  13689. $ref: '#/definitions/app.Response'
  13690. security:
  13691. - ApiKeyAuth: []
  13692. summary: 历史委托单查询请求(合约市场)
  13693. tags:
  13694. - 通用单据
  13695. /Order/QueryTradeDetail:
  13696. get:
  13697. parameters:
  13698. - description: 资金账户 - 格式:1,2,3
  13699. in: query
  13700. name: accountID
  13701. required: true
  13702. type: string
  13703. - description: 成交单号
  13704. in: query
  13705. name: tradeID
  13706. type: integer
  13707. - description: 委托单号
  13708. in: query
  13709. name: orderID
  13710. type: integer
  13711. - description: 交易模式 - 格式:1,2,3
  13712. in: query
  13713. name: tradeMode
  13714. type: string
  13715. - description: 委托单据类型
  13716. in: query
  13717. name: buildType
  13718. type: integer
  13719. - description: 成交类别 - 格式:1,2,3
  13720. in: query
  13721. name: tradeType
  13722. type: string
  13723. produces:
  13724. - application/json
  13725. responses:
  13726. "200":
  13727. description: OK
  13728. schema:
  13729. $ref: '#/definitions/order.QueryTradeDetailRsp'
  13730. "500":
  13731. description: Internal Server Error
  13732. schema:
  13733. $ref: '#/definitions/app.Response'
  13734. security:
  13735. - ApiKeyAuth: []
  13736. summary: 成交单查询(合约市场)
  13737. tags:
  13738. - 通用单据
  13739. /Order/QueryTradeOrderDetail:
  13740. get:
  13741. parameters:
  13742. - description: 资金账户 - 格式:1,2,3
  13743. in: query
  13744. name: accountID
  13745. required: true
  13746. type: string
  13747. - description: 交易模式 - 格式:1,2,3
  13748. in: query
  13749. name: tradeMode
  13750. type: string
  13751. - description: 委托状态 - 格式:1,2,3
  13752. in: query
  13753. name: orderStatus
  13754. type: string
  13755. - description: 委托单号
  13756. in: query
  13757. name: orderID
  13758. type: integer
  13759. produces:
  13760. - application/json
  13761. responses:
  13762. "200":
  13763. description: OK
  13764. schema:
  13765. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  13766. "500":
  13767. description: Internal Server Error
  13768. schema:
  13769. $ref: '#/definitions/app.Response'
  13770. security:
  13771. - ApiKeyAuth: []
  13772. summary: 委托单查询请求(合约市场)
  13773. tags:
  13774. - 通用单据
  13775. /Order/QueryTradePosition:
  13776. get:
  13777. parameters:
  13778. - description: 资金账户 - 格式:1,2,3
  13779. in: query
  13780. name: accountID
  13781. required: true
  13782. type: string
  13783. - description: 交易模式 - 格式:1,2,3
  13784. in: query
  13785. name: tradeMode
  13786. type: string
  13787. produces:
  13788. - application/json
  13789. responses:
  13790. "200":
  13791. description: OK
  13792. schema:
  13793. $ref: '#/definitions/order.QueryTradePositionRsp'
  13794. "500":
  13795. description: Internal Server Error
  13796. schema:
  13797. $ref: '#/definitions/app.Response'
  13798. security:
  13799. - ApiKeyAuth: []
  13800. summary: 持仓汇总查询(合约市场)
  13801. tags:
  13802. - 通用单据
  13803. /Quote/QueryHistoryDatas:
  13804. get:
  13805. parameters:
  13806. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  13807. 日线'
  13808. in: query
  13809. name: cycleType
  13810. required: true
  13811. type: integer
  13812. - description: 商品代码
  13813. in: query
  13814. name: goodsCode
  13815. required: true
  13816. type: string
  13817. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13818. in: query
  13819. name: startTime
  13820. type: string
  13821. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13822. in: query
  13823. name: endTime
  13824. type: string
  13825. - description: 条数
  13826. in: query
  13827. name: count
  13828. type: integer
  13829. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13830. in: query
  13831. name: isAsc
  13832. type: boolean
  13833. produces:
  13834. - application/json
  13835. responses:
  13836. "200":
  13837. description: OK
  13838. schema:
  13839. $ref: '#/definitions/quote.HistoryData'
  13840. "500":
  13841. description: Internal Server Error
  13842. schema:
  13843. $ref: '#/definitions/app.Response'
  13844. security:
  13845. - ApiKeyAuth: []
  13846. summary: 查询行情历史数据
  13847. tags:
  13848. - 行情服务
  13849. /Quote/QueryHistoryTikDatas:
  13850. get:
  13851. parameters:
  13852. - description: 商品代码
  13853. in: query
  13854. name: goodsCode
  13855. required: true
  13856. type: string
  13857. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13858. in: query
  13859. name: startTime
  13860. type: string
  13861. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13862. in: query
  13863. name: endTime
  13864. type: string
  13865. - description: 条数
  13866. in: query
  13867. name: count
  13868. type: integer
  13869. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13870. in: query
  13871. name: isAsc
  13872. type: boolean
  13873. produces:
  13874. - application/json
  13875. responses:
  13876. "200":
  13877. description: OK
  13878. schema:
  13879. $ref: '#/definitions/quote.HistoryTikData'
  13880. "500":
  13881. description: Internal Server Error
  13882. schema:
  13883. $ref: '#/definitions/app.Response'
  13884. security:
  13885. - ApiKeyAuth: []
  13886. summary: 查询行情Tik数据
  13887. tags:
  13888. - 行情服务
  13889. /Quote/QueryQuoteDay:
  13890. get:
  13891. parameters:
  13892. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13893. in: query
  13894. name: goodsCodes
  13895. required: true
  13896. type: string
  13897. produces:
  13898. - application/json
  13899. responses:
  13900. "200":
  13901. description: OK
  13902. schema:
  13903. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13904. "500":
  13905. description: Internal Server Error
  13906. schema:
  13907. $ref: '#/definitions/app.Response'
  13908. security:
  13909. - ApiKeyAuth: []
  13910. summary: 获取商品盘面信息
  13911. tags:
  13912. - 行情服务
  13913. /Quote/QueryTSData:
  13914. get:
  13915. parameters:
  13916. - description: 商品代码
  13917. in: query
  13918. name: goodsCode
  13919. required: true
  13920. type: string
  13921. produces:
  13922. - application/json
  13923. responses:
  13924. "200":
  13925. description: OK
  13926. schema:
  13927. $ref: '#/definitions/quote.QueryTSDataRsp'
  13928. "500":
  13929. description: Internal Server Error
  13930. schema:
  13931. $ref: '#/definitions/app.Response'
  13932. security:
  13933. - ApiKeyAuth: []
  13934. summary: 分时图数据查询
  13935. tags:
  13936. - 行情服务
  13937. /SZDZ/QueryConvertConfig:
  13938. get:
  13939. parameters:
  13940. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13941. 6:交易转花生米(不设置)
  13942. in: query
  13943. name: convertType
  13944. type: integer
  13945. - description: 外部商品代码[JD\PD]
  13946. in: query
  13947. name: outerGoodsCode
  13948. type: string
  13949. - description: 内部商品ID列表[交易],格式:1,2,3
  13950. in: query
  13951. name: innerGoodsIDs
  13952. type: string
  13953. produces:
  13954. - application/json
  13955. responses:
  13956. "200":
  13957. description: OK
  13958. schema:
  13959. $ref: '#/definitions/models.Szdz3convertconfig'
  13960. "500":
  13961. description: Internal Server Error
  13962. schema:
  13963. $ref: '#/definitions/app.Response'
  13964. security:
  13965. - ApiKeyAuth: []
  13966. summary: 查询交易系统转换设置
  13967. tags:
  13968. - 定制【尚志大宗】
  13969. /SZDZ/QueryConvertLog:
  13970. get:
  13971. parameters:
  13972. - description: 资金账户 - 格式:1,2,3
  13973. in: query
  13974. name: accountID
  13975. required: true
  13976. type: string
  13977. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13978. in: query
  13979. name: startDate
  13980. type: string
  13981. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13982. in: query
  13983. name: endDate
  13984. type: string
  13985. produces:
  13986. - application/json
  13987. responses:
  13988. "200":
  13989. description: OK
  13990. schema:
  13991. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13992. "500":
  13993. description: Internal Server Error
  13994. schema:
  13995. $ref: '#/definitions/app.Response'
  13996. security:
  13997. - ApiKeyAuth: []
  13998. summary: 交易系统转换流水查询
  13999. tags:
  14000. - 定制【尚志大宗】
  14001. /SZDZ/QueryGoodsPickup:
  14002. get:
  14003. parameters:
  14004. - description: 资金账户 - 格式:1,2,3
  14005. in: query
  14006. name: accountID
  14007. required: true
  14008. type: string
  14009. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14010. in: query
  14011. name: takeOrderStatus
  14012. type: integer
  14013. produces:
  14014. - application/json
  14015. responses:
  14016. "200":
  14017. description: OK
  14018. schema:
  14019. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  14020. "500":
  14021. description: Internal Server Error
  14022. schema:
  14023. $ref: '#/definitions/app.Response'
  14024. security:
  14025. - ApiKeyAuth: []
  14026. summary: 商品提货单查询
  14027. tags:
  14028. - 定制【尚志大宗】
  14029. /SZDZ/QueryRecieptOrder:
  14030. get:
  14031. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14032. parameters:
  14033. - description: 页码
  14034. in: query
  14035. name: page
  14036. type: integer
  14037. - description: 每页条数
  14038. in: query
  14039. name: pagesize
  14040. type: integer
  14041. - description: 商品ID
  14042. in: query
  14043. name: goodsID
  14044. required: true
  14045. type: integer
  14046. - description: 所属账户名称
  14047. in: query
  14048. name: accountName
  14049. type: string
  14050. - description: 市场ID
  14051. in: query
  14052. name: marketID
  14053. type: integer
  14054. - description: 方向 - 0:买 1:卖
  14055. in: query
  14056. name: buyorsell
  14057. required: true
  14058. type: integer
  14059. produces:
  14060. - application/json
  14061. responses:
  14062. "200":
  14063. description: OK
  14064. schema:
  14065. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  14066. "500":
  14067. description: Internal Server Error
  14068. schema:
  14069. $ref: '#/definitions/app.Response'
  14070. security:
  14071. - ApiKeyAuth: []
  14072. summary: 点选挂牌委托单据查询(摘牌大厅)
  14073. tags:
  14074. - 定制【尚志大宗】
  14075. /SZDZ/QuerySZDZTradePosition:
  14076. get:
  14077. parameters:
  14078. - description: 资金账户
  14079. in: query
  14080. name: accountID
  14081. required: true
  14082. type: integer
  14083. produces:
  14084. - application/json
  14085. responses:
  14086. "200":
  14087. description: OK
  14088. schema:
  14089. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  14090. "500":
  14091. description: Internal Server Error
  14092. schema:
  14093. $ref: '#/definitions/app.Response'
  14094. security:
  14095. - ApiKeyAuth: []
  14096. summary: 持仓汇总查询(尚志大宗)
  14097. tags:
  14098. - 定制【尚志大宗】
  14099. /SZDZ/SearchWhite:
  14100. get:
  14101. parameters:
  14102. - description: 用户ID
  14103. in: query
  14104. name: userID
  14105. required: true
  14106. type: integer
  14107. produces:
  14108. - application/json
  14109. responses:
  14110. "200":
  14111. description: OK
  14112. schema:
  14113. $ref: '#/definitions/models.Szdz3searchwhitelist'
  14114. "500":
  14115. description: Internal Server Error
  14116. schema:
  14117. $ref: '#/definitions/app.Response'
  14118. security:
  14119. - ApiKeyAuth: []
  14120. summary: 搜索白名单
  14121. tags:
  14122. - 定制【尚志大宗】
  14123. /Search/SearchGoodses:
  14124. get:
  14125. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  14126. parameters:
  14127. - description: 检索内容
  14128. in: query
  14129. name: content
  14130. required: true
  14131. type: string
  14132. - description: 交易模式,格式:1,2,3
  14133. in: query
  14134. name: tradeModes
  14135. type: string
  14136. produces:
  14137. - application/json
  14138. responses:
  14139. "200":
  14140. description: OK
  14141. schema:
  14142. $ref: '#/definitions/models.SearchGoods'
  14143. "500":
  14144. description: Internal Server Error
  14145. schema:
  14146. $ref: '#/definitions/app.Response'
  14147. summary: 检索商品信息
  14148. tags:
  14149. - 检索服务
  14150. /TaAccount/GetTaAccounts:
  14151. get:
  14152. parameters:
  14153. - description: 登录账户
  14154. in: query
  14155. name: loginID
  14156. required: true
  14157. type: integer
  14158. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14159. in: query
  14160. name: taAccountType
  14161. type: integer
  14162. produces:
  14163. - application/json
  14164. responses:
  14165. "200":
  14166. description: OK
  14167. schema:
  14168. $ref: '#/definitions/models.Taaccount'
  14169. "500":
  14170. description: Internal Server Error
  14171. schema:
  14172. $ref: '#/definitions/app.Response'
  14173. security:
  14174. - ApiKeyAuth: []
  14175. summary: 获取资金账户信息
  14176. tags:
  14177. - 资金账户
  14178. /TaAccount/QueryAmountLog:
  14179. get:
  14180. parameters:
  14181. - description: 页码
  14182. in: query
  14183. name: page
  14184. type: integer
  14185. - description: 每页条数
  14186. in: query
  14187. name: pagesize
  14188. type: integer
  14189. - description: 资金账户 - 格式:1,2,3
  14190. in: query
  14191. name: accountID
  14192. required: true
  14193. type: string
  14194. - description: 资金操作类型 - 格式:1,2,3
  14195. in: query
  14196. name: OperateType
  14197. type: string
  14198. produces:
  14199. - application/json
  14200. responses:
  14201. "200":
  14202. description: OK
  14203. schema:
  14204. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  14205. "500":
  14206. description: Internal Server Error
  14207. schema:
  14208. $ref: '#/definitions/app.Response'
  14209. security:
  14210. - ApiKeyAuth: []
  14211. summary: 资金流水查询(当前)
  14212. tags:
  14213. - 资金账户
  14214. /TaAccount/QueryHisAmountLog:
  14215. get:
  14216. parameters:
  14217. - description: 页码
  14218. in: query
  14219. name: page
  14220. type: integer
  14221. - description: 每页条数
  14222. in: query
  14223. name: pagesize
  14224. type: integer
  14225. - description: 资金账户 - 格式:1,2,3
  14226. in: query
  14227. name: accountID
  14228. required: true
  14229. type: string
  14230. - description: 资金操作类型 - 格式:1,2,3
  14231. in: query
  14232. name: OperateType
  14233. type: string
  14234. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14235. in: query
  14236. name: startDate
  14237. type: string
  14238. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14239. in: query
  14240. name: endDate
  14241. type: string
  14242. produces:
  14243. - application/json
  14244. responses:
  14245. "200":
  14246. description: OK
  14247. schema:
  14248. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  14249. "500":
  14250. description: Internal Server Error
  14251. schema:
  14252. $ref: '#/definitions/app.Response'
  14253. security:
  14254. - ApiKeyAuth: []
  14255. summary: 资金流水查询(历史)
  14256. tags:
  14257. - 资金账户
  14258. /Trade/QueryRecieptOrder:
  14259. get:
  14260. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14261. parameters:
  14262. - description: 页码
  14263. in: query
  14264. name: page
  14265. type: integer
  14266. - description: 每页条数
  14267. in: query
  14268. name: pagesize
  14269. type: integer
  14270. - description: 商品ID
  14271. in: query
  14272. name: goodsID
  14273. required: true
  14274. type: integer
  14275. - description: 所属账户名称
  14276. in: query
  14277. name: accountName
  14278. type: string
  14279. - description: 市场ID
  14280. in: query
  14281. name: marketID
  14282. type: integer
  14283. - description: 方向 - 0:买 1:卖
  14284. in: query
  14285. name: buyorsell
  14286. required: true
  14287. type: integer
  14288. produces:
  14289. - application/json
  14290. responses:
  14291. "200":
  14292. description: OK
  14293. schema:
  14294. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  14295. "500":
  14296. description: Internal Server Error
  14297. schema:
  14298. $ref: '#/definitions/app.Response'
  14299. security:
  14300. - ApiKeyAuth: []
  14301. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  14302. tags:
  14303. - 通用交易
  14304. /User/AddMessageBoard:
  14305. post:
  14306. parameters:
  14307. - description: 用户ID
  14308. in: query
  14309. name: userID
  14310. required: true
  14311. type: integer
  14312. - description: 留言信息
  14313. in: query
  14314. name: message
  14315. required: true
  14316. type: string
  14317. - description: 联系电话
  14318. in: query
  14319. name: contactNum
  14320. required: true
  14321. type: string
  14322. produces:
  14323. - application/json
  14324. responses:
  14325. "200":
  14326. description: OK
  14327. schema:
  14328. $ref: '#/definitions/app.Response'
  14329. "500":
  14330. description: Internal Server Error
  14331. schema:
  14332. $ref: '#/definitions/app.Response'
  14333. security:
  14334. - ApiKeyAuth: []
  14335. summary: 添加用户留言板信息
  14336. tags:
  14337. - 用户信息
  14338. /User/AddUserFavoriteGoods:
  14339. post:
  14340. parameters:
  14341. - description: 用户ID
  14342. in: query
  14343. name: userID
  14344. required: true
  14345. type: integer
  14346. - description: 商品ID
  14347. in: query
  14348. name: goodsID
  14349. required: true
  14350. type: integer
  14351. produces:
  14352. - application/json
  14353. responses:
  14354. "200":
  14355. description: OK
  14356. schema:
  14357. $ref: '#/definitions/app.Response'
  14358. "500":
  14359. description: Internal Server Error
  14360. schema:
  14361. $ref: '#/definitions/app.Response'
  14362. security:
  14363. - ApiKeyAuth: []
  14364. summary: 添加用户商品收藏信息
  14365. tags:
  14366. - 用户信息
  14367. /User/GetLoginID:
  14368. get:
  14369. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  14370. parameters:
  14371. - description: 登录代码
  14372. in: query
  14373. name: username
  14374. required: true
  14375. type: string
  14376. produces:
  14377. - application/json
  14378. responses:
  14379. "200":
  14380. description: OK
  14381. schema:
  14382. $ref: '#/definitions/app.Response'
  14383. "500":
  14384. description: Internal Server Error
  14385. schema:
  14386. $ref: '#/definitions/app.Response'
  14387. summary: 获取登录ID
  14388. tags:
  14389. - 用户信息
  14390. /User/GetUserAccount:
  14391. get:
  14392. parameters:
  14393. - description: 用户ID
  14394. in: query
  14395. name: userID
  14396. required: true
  14397. type: integer
  14398. produces:
  14399. - application/json
  14400. responses:
  14401. "200":
  14402. description: OK
  14403. schema:
  14404. $ref: '#/definitions/models.Useraccount'
  14405. "500":
  14406. description: Internal Server Error
  14407. schema:
  14408. $ref: '#/definitions/app.Response'
  14409. security:
  14410. - ApiKeyAuth: []
  14411. summary: 获取用户账号信息
  14412. tags:
  14413. - 用户信息
  14414. /User/GetUserAuthStatus:
  14415. get:
  14416. parameters:
  14417. - description: 用户ID
  14418. in: query
  14419. name: userID
  14420. required: true
  14421. type: integer
  14422. produces:
  14423. - application/json
  14424. responses:
  14425. "200":
  14426. description: OK
  14427. schema:
  14428. $ref: '#/definitions/app.Response'
  14429. "500":
  14430. description: Internal Server Error
  14431. schema:
  14432. $ref: '#/definitions/app.Response'
  14433. security:
  14434. - ApiKeyAuth: []
  14435. summary: 获取用户实名认证状态
  14436. tags:
  14437. - 用户信息
  14438. /User/LoginQuery:
  14439. get:
  14440. parameters:
  14441. - description: 登录账号
  14442. in: query
  14443. name: loginID
  14444. required: true
  14445. type: integer
  14446. produces:
  14447. - application/json
  14448. responses:
  14449. "200":
  14450. description: OK
  14451. schema:
  14452. $ref: '#/definitions/user.LoginQueryRsp'
  14453. "500":
  14454. description: Internal Server Error
  14455. schema:
  14456. $ref: '#/definitions/app.Response'
  14457. security:
  14458. - ApiKeyAuth: []
  14459. summary: 账户登录后信息查询
  14460. tags:
  14461. - 用户信息
  14462. /User/QueryMessageBoard:
  14463. get:
  14464. parameters:
  14465. - description: 用户ID
  14466. in: query
  14467. name: userID
  14468. required: true
  14469. type: integer
  14470. produces:
  14471. - application/json
  14472. responses:
  14473. "200":
  14474. description: OK
  14475. schema:
  14476. $ref: '#/definitions/models.Messageboard'
  14477. "500":
  14478. description: Internal Server Error
  14479. schema:
  14480. $ref: '#/definitions/app.Response'
  14481. security:
  14482. - ApiKeyAuth: []
  14483. summary: 获取用户留言板信息
  14484. tags:
  14485. - 用户信息
  14486. /User/QueryUserFavoriteGoodses:
  14487. get:
  14488. parameters:
  14489. - description: 用户ID
  14490. in: query
  14491. name: userID
  14492. required: true
  14493. type: integer
  14494. produces:
  14495. - application/json
  14496. responses:
  14497. "200":
  14498. description: OK
  14499. schema:
  14500. $ref: '#/definitions/models.Userfavoritegoods'
  14501. "500":
  14502. description: Internal Server Error
  14503. schema:
  14504. $ref: '#/definitions/app.Response'
  14505. security:
  14506. - ApiKeyAuth: []
  14507. summary: 获取用户商品收藏信息
  14508. tags:
  14509. - 用户信息
  14510. /User/QueryUserInfo:
  14511. get:
  14512. parameters:
  14513. - description: 用户ID
  14514. in: query
  14515. name: userID
  14516. required: true
  14517. type: integer
  14518. - description: 是否解密
  14519. in: query
  14520. name: isDecrypt
  14521. type: boolean
  14522. produces:
  14523. - application/json
  14524. responses:
  14525. "200":
  14526. description: OK
  14527. schema:
  14528. $ref: '#/definitions/models.Userinfo'
  14529. "500":
  14530. description: Internal Server Error
  14531. schema:
  14532. $ref: '#/definitions/app.Response'
  14533. security:
  14534. - ApiKeyAuth: []
  14535. summary: 获取用户信息
  14536. tags:
  14537. - 用户信息
  14538. /User/QueryUserReferNum:
  14539. get:
  14540. parameters:
  14541. - description: 用户ID
  14542. in: query
  14543. name: userID
  14544. required: true
  14545. type: integer
  14546. produces:
  14547. - application/json
  14548. responses:
  14549. "200":
  14550. description: OK
  14551. schema:
  14552. $ref: '#/definitions/app.Response'
  14553. "500":
  14554. description: Internal Server Error
  14555. schema:
  14556. $ref: '#/definitions/app.Response'
  14557. summary: 获取用户邀请码
  14558. tags:
  14559. - 用户信息
  14560. /User/RemoveUserFavoriteGoods:
  14561. post:
  14562. parameters:
  14563. - description: 用户ID
  14564. in: query
  14565. name: userID
  14566. required: true
  14567. type: integer
  14568. - description: 商品ID
  14569. in: query
  14570. name: goodsID
  14571. required: true
  14572. type: integer
  14573. produces:
  14574. - application/json
  14575. responses:
  14576. "200":
  14577. description: OK
  14578. schema:
  14579. $ref: '#/definitions/app.Response'
  14580. "500":
  14581. description: Internal Server Error
  14582. schema:
  14583. $ref: '#/definitions/app.Response'
  14584. security:
  14585. - ApiKeyAuth: []
  14586. summary: 移除用户商品收藏信息
  14587. tags:
  14588. - 用户信息
  14589. /User/UpdateUserAccountStatus:
  14590. post:
  14591. parameters:
  14592. - description: 用户ID
  14593. in: query
  14594. name: userID
  14595. required: true
  14596. type: integer
  14597. - description: 账户状态 - 4:正常 6:注销(停用)
  14598. in: query
  14599. name: accountStatus
  14600. required: true
  14601. type: integer
  14602. produces:
  14603. - application/json
  14604. responses:
  14605. "200":
  14606. description: OK
  14607. schema:
  14608. $ref: '#/definitions/app.Response'
  14609. "500":
  14610. description: Internal Server Error
  14611. schema:
  14612. $ref: '#/definitions/app.Response'
  14613. security:
  14614. - ApiKeyAuth: []
  14615. summary: 更新用户状态
  14616. tags:
  14617. - 用户信息
  14618. /WR/GetWRCategoryInfo:
  14619. get:
  14620. produces:
  14621. - application/json
  14622. responses:
  14623. "200":
  14624. description: OK
  14625. schema:
  14626. $ref: '#/definitions/models.WRCategoryTree'
  14627. "500":
  14628. description: Internal Server Error
  14629. schema:
  14630. $ref: '#/definitions/app.Response'
  14631. summary: 获取现货分类信息
  14632. tags:
  14633. - 仓单服务
  14634. /WRTrade/GetAllDeliveryGoods:
  14635. get:
  14636. produces:
  14637. - application/json
  14638. - application/json
  14639. responses:
  14640. "200":
  14641. description: OK
  14642. schema:
  14643. $ref: '#/definitions/app.Response'
  14644. "500":
  14645. description: Internal Server Error
  14646. schema:
  14647. $ref: '#/definitions/app.Response'
  14648. security:
  14649. - ApiKeyAuth: []
  14650. - ApiKeyAuth: []
  14651. summary: 获取带仓单分类的种类信息
  14652. tags:
  14653. - 仓单贸易
  14654. - 仓单贸易
  14655. securityDefinitions:
  14656. ApiKeyAuth:
  14657. in: header
  14658. name: Authorization
  14659. type: apiKey
  14660. swagger: "2.0"