swagger.yaml 463 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. increaseqty:
  3093. description: 增加数量=销售计划数量+采购已定价数量
  3094. type: number
  3095. oritoalspotqty:
  3096. description: 昨日数量
  3097. type: number
  3098. totalspotqty:
  3099. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3100. type: number
  3101. updatetime:
  3102. description: 更新时间
  3103. type: string
  3104. type: object
  3105. models.Ermcp3AreaSpotDetail:
  3106. properties:
  3107. contracttype:
  3108. description: 合同类型 1-采购 -1-销售
  3109. type: integer
  3110. createtime:
  3111. description: 创建时间
  3112. type: string
  3113. deliverygoodscode:
  3114. description: 现货品种代码
  3115. type: string
  3116. deliverygoodsid:
  3117. description: 现货品种id
  3118. type: integer
  3119. deliverygoodsname:
  3120. description: 现货品种名称
  3121. type: string
  3122. enumdicname:
  3123. description: 现货商品单位名称
  3124. type: string
  3125. logtype:
  3126. description: 记录类型 1-套保 2-现货合同
  3127. type: integer
  3128. qty:
  3129. description: 数量
  3130. type: number
  3131. recordname:
  3132. description: 类型名称
  3133. type: string
  3134. relatedid:
  3135. description: 套保计划ID/现货合同ID
  3136. type: string
  3137. relatedno:
  3138. description: 编号
  3139. type: string
  3140. strtime:
  3141. description: 时间
  3142. type: string
  3143. type: object
  3144. models.Ermcp3Brand:
  3145. properties:
  3146. areauserid:
  3147. description: 用户id
  3148. type: integer
  3149. brandid:
  3150. description: 品牌id
  3151. type: integer
  3152. brandname:
  3153. description: 品牌名称
  3154. type: string
  3155. deliverygoodsid:
  3156. description: 品种ID
  3157. type: integer
  3158. type: object
  3159. models.Ermcp3Contract:
  3160. properties:
  3161. accountid:
  3162. description: 期货账户id
  3163. type: string
  3164. amount:
  3165. description: 金额 [1:一口价、3:暂定价]
  3166. type: number
  3167. attachment:
  3168. description: 附件
  3169. type: string
  3170. auditremark:
  3171. description: 审核意见
  3172. type: string
  3173. audittime:
  3174. description: 审核时间
  3175. type: string
  3176. biztype:
  3177. description: 业务类型 1-套保 2-套利
  3178. type: integer
  3179. brandname:
  3180. description: 品牌名称
  3181. type: string
  3182. buynickname:
  3183. description: 销售方昵称
  3184. type: string
  3185. buyuserid:
  3186. description: 采购方ID
  3187. type: integer
  3188. buyusername:
  3189. description: 采购方名称
  3190. type: string
  3191. contracctstatus:
  3192. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3193. type: integer
  3194. contractmargin:
  3195. description: 合同保证金
  3196. type: number
  3197. contractno:
  3198. description: 现货合同编号
  3199. type: string
  3200. contracttype:
  3201. description: 现货合同类型 - 1:采购 -1:销售
  3202. type: integer
  3203. convertfactor:
  3204. description: 标仓系数(品类)
  3205. type: number
  3206. createtime:
  3207. description: 创建时间
  3208. type: string
  3209. deliveryenddate:
  3210. description: 交收期(结束)
  3211. type: string
  3212. deliverygoodscode:
  3213. description: 现货品种代码
  3214. type: string
  3215. deliverygoodsid:
  3216. description: 现货品种ID
  3217. type: integer
  3218. deliverygoodsname:
  3219. description: 现货品种名称
  3220. type: string
  3221. deliverystartdate:
  3222. description: 交收期(开始)
  3223. type: string
  3224. enddate:
  3225. description: 点价结束日期 [2:点价 3:暂定价]
  3226. type: string
  3227. enumdicname:
  3228. description: 单位名称
  3229. type: string
  3230. goodscode:
  3231. description: 点价合约代码
  3232. type: string
  3233. goodsid:
  3234. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3235. type: integer
  3236. goodsname:
  3237. description: 点价商品名称
  3238. type: string
  3239. margin:
  3240. description: 当前保证金
  3241. type: number
  3242. meruserid:
  3243. description: 业务员id
  3244. type: integer
  3245. meruserlogincode:
  3246. description: 业务员登录代码
  3247. type: string
  3248. price:
  3249. description: 价格\暂定价 [1:一口价、3:暂定价]
  3250. type: number
  3251. pricemove:
  3252. description: 升贴水 [2:点价 3:暂定价]
  3253. type: number
  3254. pricetype:
  3255. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3256. type: integer
  3257. producttype:
  3258. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3259. type: integer
  3260. qty:
  3261. description: 数量
  3262. type: number
  3263. remark:
  3264. description: 备注
  3265. type: string
  3266. saleuserid:
  3267. description: 销售员id
  3268. type: integer
  3269. saleuserlogincode:
  3270. description: 销售员登录代码
  3271. type: string
  3272. sellnickname:
  3273. description: 采购方昵称
  3274. type: string
  3275. selluserid:
  3276. description: 销售方ID
  3277. type: integer
  3278. sellusername:
  3279. description: 销售方名称
  3280. type: string
  3281. spotcontractid:
  3282. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3283. type: string
  3284. spotgoodsbrandid:
  3285. description: 现货品牌ID(DGFactoryItem表的ID)
  3286. type: integer
  3287. spotgoodsdesc:
  3288. description: 商品型号
  3289. type: string
  3290. startdate:
  3291. description: 点价开始日期 [2:点价 3:暂定价]
  3292. type: string
  3293. tradeuserid:
  3294. description: 交易员id
  3295. type: integer
  3296. tradeuserlogincode:
  3297. description: 交易员登录代码
  3298. type: string
  3299. unitid:
  3300. description: 单位id(取品类上的单位id)
  3301. type: integer
  3302. updatetime:
  3303. description: 更新时间
  3304. type: string
  3305. userid:
  3306. description: 所属机构ID
  3307. type: integer
  3308. wrstandardcode:
  3309. description: 品类代码
  3310. type: string
  3311. wrstandardid:
  3312. description: 品类ID
  3313. type: integer
  3314. wrstandardname:
  3315. description: 品类名称
  3316. type: string
  3317. type: object
  3318. models.Ermcp3ExposureDetail:
  3319. properties:
  3320. areauserid:
  3321. description: 机构ID
  3322. type: integer
  3323. changeQty:
  3324. description: 套保变动量
  3325. type: number
  3326. contracttype:
  3327. description: 现货合同类型 - 1:采购 -1:销售
  3328. type: integer
  3329. convertfactor:
  3330. description: 标仓系数
  3331. type: number
  3332. convertratio:
  3333. description: 套保系数
  3334. type: number
  3335. createtime:
  3336. description: 时间
  3337. type: string
  3338. deliverygoodscode:
  3339. description: 现货品种代码
  3340. type: string
  3341. deliverygoodsid:
  3342. description: 现货品种id
  3343. type: integer
  3344. deliverygoodsname:
  3345. description: 现货品种名称
  3346. type: string
  3347. enumdicname:
  3348. description: 现货商品单位名称
  3349. type: string
  3350. logtype:
  3351. description: 类型 - 1:套保计划 2:现货合同
  3352. type: integer
  3353. middlegoodsId:
  3354. description: 套保商品id
  3355. type: integer
  3356. middlegoodscode:
  3357. description: 套保商品代码
  3358. type: string
  3359. middlegoodsname:
  3360. description: 套保商品名称
  3361. type: string
  3362. qty:
  3363. description: 数量
  3364. type: number
  3365. relateNo:
  3366. description: 现货合同/套保计划编号
  3367. type: string
  3368. type: object
  3369. models.Ermcp3ReportAreaSpotPL:
  3370. properties:
  3371. actualpl:
  3372. description: 实际损益
  3373. type: number
  3374. areauserid:
  3375. description: 所属机构
  3376. type: integer
  3377. brandname:
  3378. description: 品牌名称
  3379. type: string
  3380. curamount:
  3381. description: 期末额
  3382. type: number
  3383. curaverageprice:
  3384. description: 期末均价
  3385. type: number
  3386. curbuyamount:
  3387. description: 期末采购总额(采购额)
  3388. type: number
  3389. curbuyqty:
  3390. description: 期末采购总量
  3391. type: number
  3392. curmarketvalue:
  3393. description: 参考市值
  3394. type: number
  3395. curqty:
  3396. description: 期末量
  3397. type: number
  3398. cursellamount:
  3399. description: 期末销售总额(销售额)
  3400. type: number
  3401. cursellqty:
  3402. description: 期末销售总量
  3403. type: number
  3404. curspotprice:
  3405. description: 参考市价
  3406. type: number
  3407. deliverygoodscode:
  3408. description: 现货品种代码
  3409. type: string
  3410. deliverygoodsid:
  3411. description: 现货品种id
  3412. type: integer
  3413. deliverygoodsname:
  3414. description: 现货品种名称
  3415. type: string
  3416. enumdicname:
  3417. description: 现货商品单位名称
  3418. type: string
  3419. floatpl:
  3420. description: 浮动损益
  3421. type: number
  3422. gbenumdicname:
  3423. description: 品类单位名称
  3424. type: string
  3425. gbunitid:
  3426. description: 现货单位id
  3427. type: integer
  3428. modelname:
  3429. description: 品类名称
  3430. type: string
  3431. oriamount:
  3432. description: 期初额
  3433. type: number
  3434. oriaverageprice:
  3435. description: 期初均价
  3436. type: number
  3437. oribuyamount:
  3438. description: 期初采购总额
  3439. type: number
  3440. oribuyqty:
  3441. description: 期初采购总量
  3442. type: number
  3443. oriqty:
  3444. description: 期初量
  3445. type: number
  3446. orisellamount:
  3447. description: 期初销售总额
  3448. type: number
  3449. orisellqty:
  3450. description: 期初销售总量
  3451. type: number
  3452. spotgoodsbrandid:
  3453. description: 现货品牌ID
  3454. type: integer
  3455. todaybuyamount:
  3456. description: 今日采购额
  3457. type: number
  3458. todaybuyaverageprice:
  3459. description: 今日采购均价(采购均价)
  3460. type: number
  3461. todaybuyqty:
  3462. description: 今日采购量(采购增量)
  3463. type: number
  3464. todaysellamount:
  3465. description: 今日销售额
  3466. type: number
  3467. todaysellaverageprice:
  3468. description: 今日销售均价(销售均价)
  3469. type: number
  3470. todaysellqty:
  3471. description: 今日销售量(销售增量)
  3472. type: number
  3473. unitid:
  3474. description: 品类单位id
  3475. type: integer
  3476. updatetime:
  3477. description: 更新时间
  3478. type: string
  3479. wrstandardcode:
  3480. description: 品类代码
  3481. type: string
  3482. wrstandardid:
  3483. description: 品类ID
  3484. type: integer
  3485. wrstandardname:
  3486. description: 品类名称
  3487. type: string
  3488. type: object
  3489. models.Ermcp3ReportDaySpot:
  3490. properties:
  3491. areauserid:
  3492. description: 所属机构T
  3493. type: integer
  3494. buyinqty:
  3495. description: 采购入库量
  3496. type: number
  3497. deliverygoodscode:
  3498. description: 现货品种代码
  3499. type: string
  3500. deliverygoodsid:
  3501. description: 现货品种id
  3502. type: integer
  3503. deliverygoodsname:
  3504. description: 现货品种名称
  3505. type: string
  3506. enumdicname:
  3507. description: 现货商品单位名称
  3508. type: string
  3509. reckondate:
  3510. description: 日照时期(yyyyMMdd)
  3511. type: string
  3512. selloutqty:
  3513. description: 销售出库量
  3514. type: number
  3515. todaybuyreckonqty:
  3516. description: 采购确定量
  3517. type: number
  3518. todaysellreckonqty:
  3519. description: 销售确定量
  3520. type: number
  3521. totalbuypricedqty:
  3522. description: 采购定价量 = 期末 - 期初
  3523. type: number
  3524. totalsellpricedqty:
  3525. description: 销售定价量 = 期末 - 期初
  3526. type: number
  3527. type: object
  3528. models.Ermcp3ReportMonSpot:
  3529. properties:
  3530. areauserid:
  3531. description: 所属机构id
  3532. type: integer
  3533. buyinqty:
  3534. description: 采购入库量
  3535. type: number
  3536. cycletime:
  3537. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3538. type: string
  3539. cycletype:
  3540. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3541. type: integer
  3542. deliverygoodscode:
  3543. description: 现货品种代码
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种id
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. enumdicname:
  3552. description: 现货商品单位名称
  3553. type: string
  3554. selloutqty:
  3555. description: 销售出库量
  3556. type: number
  3557. todaybuyreckonqty:
  3558. description: 采购确定量
  3559. type: number
  3560. todaysellreckonqty:
  3561. description: 销售确定量
  3562. type: number
  3563. totalbuypricedqty:
  3564. description: 采购定价量 = 期末 - 期初
  3565. type: number
  3566. totalsellpricedqty:
  3567. description: 销售定价量 = 期末 - 期初
  3568. type: number
  3569. type: object
  3570. models.Ermcp3ReportOPLog:
  3571. properties:
  3572. applyid:
  3573. description: 操作人
  3574. type: integer
  3575. applyname:
  3576. description: 操作人名称
  3577. type: string
  3578. biztype:
  3579. description: 业务类型 - 1:套保计划 2:现货合同
  3580. type: integer
  3581. brandname:
  3582. description: 品牌名称
  3583. type: string
  3584. contracttype:
  3585. description: 现货合同类型 - 1:采购 -1:销售
  3586. type: integer
  3587. deliverygoodscode:
  3588. description: 现货品种代码
  3589. type: string
  3590. deliverygoodsid:
  3591. description: 现货品种id
  3592. type: integer
  3593. deliverygoodsname:
  3594. description: 现货品种名称
  3595. type: string
  3596. enumdicName:
  3597. description: 单位名称
  3598. type: string
  3599. logdatetime:
  3600. description: 流水日期(时间)
  3601. type: string
  3602. logid:
  3603. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  3604. type: string
  3605. logtypename:
  3606. description: 合同类型(名称)
  3607. type: string
  3608. logvalue:
  3609. description: 数值
  3610. type: string
  3611. operatelogtype:
  3612. description: 操作流水类型 -
  3613. type: integer
  3614. optypename:
  3615. description: 流水类型名称
  3616. type: string
  3617. relatedid:
  3618. description: 现货合同ID\套保计划
  3619. type: string
  3620. relatedno:
  3621. description: 合同编号
  3622. type: string
  3623. tradedate:
  3624. description: 交易日(yyyyMMdd)
  3625. type: string
  3626. userid:
  3627. description: 机构ID
  3628. type: integer
  3629. type: object
  3630. models.Ermcp3SellBuyContract:
  3631. properties:
  3632. accountname:
  3633. description: 账户名称
  3634. type: string
  3635. attachment:
  3636. description: 附件
  3637. type: string
  3638. audittime:
  3639. description: 审核时间
  3640. type: string
  3641. brandname:
  3642. description: 品牌名称
  3643. type: string
  3644. contracctstatus:
  3645. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3646. type: integer
  3647. contractmargin:
  3648. description: 合同保证金
  3649. type: number
  3650. contractno:
  3651. description: 合同编号
  3652. type: string
  3653. contracttype:
  3654. description: 合同类型 1-采购, -1-销售
  3655. type: integer
  3656. convertfactor:
  3657. description: 标仓系数(品类)
  3658. type: number
  3659. createtime:
  3660. description: 创建时间
  3661. type: string
  3662. daikaiamount:
  3663. description: 应收(开)票额
  3664. type: number
  3665. deliveryenddate:
  3666. description: 交割结束日
  3667. type: string
  3668. deliverygoodscode:
  3669. description: 现货品种代码
  3670. type: string
  3671. deliverygoodsid:
  3672. description: 现货商品ID
  3673. type: integer
  3674. deliverygoodsname:
  3675. description: 现货品种名称
  3676. type: string
  3677. deliverystartdate:
  3678. description: 交割开始日
  3679. type: string
  3680. enddate:
  3681. description: 点价结束日
  3682. type: string
  3683. enumdicname:
  3684. description: 单位名称
  3685. type: string
  3686. goodscode:
  3687. description: 点价商品代码
  3688. type: string
  3689. goodsid:
  3690. description: 点价商品ID
  3691. type: integer
  3692. goodsname:
  3693. description: 点价商品名称
  3694. type: string
  3695. invoiceamount:
  3696. description: 已开票额
  3697. type: number
  3698. loanamount:
  3699. description: 贷款总额=已定价额+调整金额
  3700. type: number
  3701. margin:
  3702. description: 保证金
  3703. type: number
  3704. payamount:
  3705. description: 已收付额(收款或付款)
  3706. type: number
  3707. preinvoiceamount:
  3708. description: 预收(开)票额
  3709. type: number
  3710. prepayamount:
  3711. description: 预收付额
  3712. type: number
  3713. price:
  3714. description: 价格
  3715. type: number
  3716. pricedamount:
  3717. description: 已定价额
  3718. type: number
  3719. pricedavg:
  3720. description: 已点均价
  3721. type: number
  3722. pricedqty:
  3723. description: 已定价量
  3724. type: number
  3725. pricemove:
  3726. description: 升贴水
  3727. type: number
  3728. pricetype:
  3729. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3730. type: integer
  3731. producttype:
  3732. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3733. type: integer
  3734. qty:
  3735. description: 合同量
  3736. type: number
  3737. reckonadjustamount:
  3738. description: 调整金额
  3739. type: number
  3740. reckonedamount:
  3741. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  3742. type: number
  3743. reckonotheramount:
  3744. description: 其它费用
  3745. type: number
  3746. reckonrealqty:
  3747. description: 已确定量
  3748. type: number
  3749. remark:
  3750. description: 备注
  3751. type: string
  3752. spotcontractid:
  3753. description: 合同ID
  3754. type: string
  3755. spotgoodsbrandid:
  3756. description: 现货品牌ID(DGFactoryItem表的ID)
  3757. type: integer
  3758. spotgoodsdesc:
  3759. description: 商品型号(商品规格)
  3760. type: string
  3761. startdate:
  3762. description: 点价开始日
  3763. type: string
  3764. totalamount:
  3765. description: 合计总额
  3766. type: number
  3767. unpayamount:
  3768. description: 应收付款额(应支付或应收款)
  3769. type: number
  3770. unpricedqty:
  3771. description: 未定价量
  3772. type: number
  3773. unsureqty:
  3774. description: 未确定量
  3775. type: number
  3776. userid:
  3777. description: 机构ID
  3778. type: integer
  3779. wrstandardcode:
  3780. description: 品类代码
  3781. type: string
  3782. wrstandardid:
  3783. description: 品类ID
  3784. type: integer
  3785. wrstandardname:
  3786. description: 品类名称
  3787. type: string
  3788. type: object
  3789. models.Ermcp3Wrstandard:
  3790. properties:
  3791. areauserid:
  3792. description: 所属机构
  3793. type: integer
  3794. createtime:
  3795. description: 创建时间
  3796. type: string
  3797. creatorid:
  3798. description: 创建人
  3799. type: integer
  3800. deliverygoodsid:
  3801. description: 现货品种ID
  3802. type: integer
  3803. enumdicname:
  3804. description: 品类单位名称
  3805. type: string
  3806. isvalid:
  3807. description: 是否有效 0-无效(停用) 1-有效(正常)
  3808. type: integer
  3809. minivalue:
  3810. description: 最小变动值
  3811. type: integer
  3812. minivaluedp:
  3813. description: 最小变动值小数位
  3814. type: integer
  3815. realminivalue:
  3816. description: 实际最小变动值
  3817. type: integer
  3818. realminivaluedp:
  3819. description: 实际最小变动值小数位
  3820. type: integer
  3821. remark:
  3822. description: 备注
  3823. type: string
  3824. unitid:
  3825. description: 品类单位ID
  3826. type: integer
  3827. updatetime:
  3828. description: 更新时间
  3829. type: string
  3830. wrstandardcode:
  3831. description: 品类代码
  3832. type: string
  3833. wrstandardid:
  3834. description: 品类ID(SEQ_WRSTANDARD)
  3835. type: integer
  3836. wrstandardname:
  3837. description: 品类名称
  3838. type: string
  3839. type: object
  3840. models.ErmcpAreaSpotDetailModel:
  3841. properties:
  3842. contracttype:
  3843. description: 合同类型 1-采购 -1-销售
  3844. type: integer
  3845. createtime:
  3846. description: 创建时间
  3847. type: string
  3848. enumdicname:
  3849. description: 现货商品单位名称
  3850. type: string
  3851. logtype:
  3852. description: 记录类型 1-套保 2-现货合同
  3853. type: integer
  3854. qty:
  3855. description: 数量
  3856. type: number
  3857. recordname:
  3858. description: 类型名称
  3859. type: string
  3860. relatedid:
  3861. description: 套保计划ID/现货合同ID
  3862. type: string
  3863. relatedno:
  3864. description: 编号
  3865. type: string
  3866. strtime:
  3867. description: 时间
  3868. type: string
  3869. wrstandardcode:
  3870. description: 现货商品代码
  3871. type: string
  3872. wrstandardname:
  3873. description: 现货商品名称
  3874. type: string
  3875. type: object
  3876. models.ErmcpAreaStock:
  3877. properties:
  3878. brandname:
  3879. description: 品牌名称
  3880. type: string
  3881. curstock:
  3882. description: 期末库存量(今日量)
  3883. type: number
  3884. deliverygoodsid:
  3885. description: 现货品种ID
  3886. type: integer
  3887. enumdicname:
  3888. description: 单位名称
  3889. type: string
  3890. modelname:
  3891. description: 型号名称
  3892. type: string
  3893. oristock:
  3894. description: 期初库存量(昨日量)
  3895. type: number
  3896. spotgoodsbrandid:
  3897. description: 现货品牌ID
  3898. type: integer
  3899. spotgoodsmodelid:
  3900. description: 现货型号ID
  3901. type: integer
  3902. todaybuyinqty:
  3903. description: 今日采购入库量
  3904. type: number
  3905. todayproduceinqty:
  3906. description: 今日生产入库量
  3907. type: number
  3908. todayproduceoutqty:
  3909. description: 今日生产出库量
  3910. type: number
  3911. todayselloutqty:
  3912. description: 今日销售出库量
  3913. type: number
  3914. unitid:
  3915. description: 单位id
  3916. type: integer
  3917. updatetime:
  3918. description: 更新时间
  3919. type: string
  3920. userid:
  3921. description: 机构ID
  3922. type: integer
  3923. username:
  3924. description: 机构名称
  3925. type: string
  3926. warehousecode:
  3927. description: 仓库代码
  3928. type: string
  3929. warehouseinfoid:
  3930. description: 仓库ID
  3931. type: string
  3932. warehousename:
  3933. description: 仓库名称
  3934. type: string
  3935. warehousetype:
  3936. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3937. type: integer
  3938. wrstandardcode:
  3939. description: 现货商品代码
  3940. type: string
  3941. wrstandardid:
  3942. description: 现货商品ID
  3943. type: string
  3944. wrstandardname:
  3945. description: 现货商品名称
  3946. type: string
  3947. type: object
  3948. models.ErmcpAreaStockApply:
  3949. properties:
  3950. applyid:
  3951. description: 申请人
  3952. type: integer
  3953. applyname:
  3954. description: 申请人名称
  3955. type: string
  3956. applyremark:
  3957. description: 申请备注
  3958. type: string
  3959. applysrc:
  3960. description: 申请来源 - 1:管理端 2:终端
  3961. type: integer
  3962. applystatus:
  3963. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3964. type: integer
  3965. applytime:
  3966. description: 申请时间
  3967. type: string
  3968. auditid:
  3969. description: 审核人
  3970. type: integer
  3971. auditname:
  3972. description: 审核人名称
  3973. type: string
  3974. auditremark:
  3975. description: 审核备注
  3976. type: string
  3977. auditsrc:
  3978. description: 审核来源 - 1:管理端 2:终端
  3979. type: integer
  3980. audittime:
  3981. description: 审核时间
  3982. type: string
  3983. audittradedate:
  3984. description: 审核交易日(yyyyMMdd)
  3985. type: string
  3986. brandname:
  3987. description: 品牌名称
  3988. type: string
  3989. buyuserid:
  3990. description: 采购方userid
  3991. type: integer
  3992. buyusername:
  3993. description: 采购方名称
  3994. type: string
  3995. contractno:
  3996. description: 合同编号
  3997. type: string
  3998. contractqty:
  3999. description: 合同量
  4000. type: number
  4001. contracttype:
  4002. description: 现货合同类型 - 1:采购 -1:销售
  4003. type: integer
  4004. deliverygoodsid:
  4005. description: 现货品种ID
  4006. type: integer
  4007. enumdicname:
  4008. description: 现货商品单位名称
  4009. type: string
  4010. inoutapplyid:
  4011. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4012. type: string
  4013. inouttype:
  4014. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4015. type: integer
  4016. modelname:
  4017. description: 型号名称
  4018. type: string
  4019. pricetype:
  4020. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4021. type: integer
  4022. qty:
  4023. description: 数量
  4024. type: number
  4025. selluserid:
  4026. description: 销售方userid
  4027. type: integer
  4028. sellusername:
  4029. description: 销售方名称
  4030. type: string
  4031. spotcontractid:
  4032. description: 关联现货合同ID
  4033. type: string
  4034. spotgoodsbrandid:
  4035. description: 现货品牌ID
  4036. type: integer
  4037. spotgoodsmodelid:
  4038. description: 现货型号ID
  4039. type: integer
  4040. unitid:
  4041. description: 单位id
  4042. type: integer
  4043. userid:
  4044. description: 机构ID
  4045. type: integer
  4046. warehousecode:
  4047. description: 仓库代码
  4048. type: string
  4049. warehouseinfoid:
  4050. description: 现货仓库ID
  4051. type: string
  4052. warehousename:
  4053. description: 仓库名称
  4054. type: string
  4055. warehousetype:
  4056. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4057. type: integer
  4058. wrstandardcode:
  4059. description: 现货商品代码
  4060. type: string
  4061. wrstandardid:
  4062. description: 现货商品ID
  4063. type: string
  4064. wrstandardname:
  4065. description: 现货商品名称
  4066. type: string
  4067. type: object
  4068. models.ErmcpAreaStockApplySum:
  4069. properties:
  4070. brandname:
  4071. description: 品牌名称
  4072. type: string
  4073. inouttype:
  4074. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4075. type: integer
  4076. modelname:
  4077. description: 型号名称
  4078. type: string
  4079. spotcontractid:
  4080. description: 关联现货合同ID
  4081. type: string
  4082. spotgoodsbrandid:
  4083. description: 品牌id
  4084. type: integer
  4085. spotgoodsmodelid:
  4086. description: 型号id
  4087. type: integer
  4088. totalqty:
  4089. description: 总数量
  4090. type: number
  4091. type: object
  4092. models.ErmcpAreaStockReport:
  4093. properties:
  4094. brandname:
  4095. description: 品牌名称
  4096. type: string
  4097. curstock:
  4098. description: 期末库存量
  4099. type: number
  4100. deliverygoodsid:
  4101. description: 现货品种ID
  4102. type: integer
  4103. enumdicname:
  4104. description: 单位名称
  4105. type: string
  4106. modelname:
  4107. description: 型号名称
  4108. type: string
  4109. oristock:
  4110. description: 期初库存量
  4111. type: number
  4112. spotgoodsbrandid:
  4113. description: 现货品牌ID
  4114. type: integer
  4115. spotgoodsmodelid:
  4116. description: 现货型号ID
  4117. type: integer
  4118. todaybuyinqty:
  4119. description: 今日采购入库量
  4120. type: number
  4121. todayproduceinqty:
  4122. description: 今日生产入库量
  4123. type: number
  4124. todayproduceoutqty:
  4125. description: 今日生产出库量
  4126. type: number
  4127. todayselloutqty:
  4128. description: 今日销售出库量
  4129. type: number
  4130. unitid:
  4131. description: 单位id
  4132. type: integer
  4133. updatetime:
  4134. description: 更新时间
  4135. type: string
  4136. userid:
  4137. description: 机构ID
  4138. type: integer
  4139. username:
  4140. description: 机构名称
  4141. type: string
  4142. warehousecode:
  4143. description: 仓库代码
  4144. type: string
  4145. warehouseinfoid:
  4146. description: 仓库ID
  4147. type: string
  4148. warehousename:
  4149. description: 仓库名称
  4150. type: string
  4151. warehousetype:
  4152. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4153. type: integer
  4154. wrstandardcode:
  4155. description: 现货商品代码
  4156. type: string
  4157. wrstandardid:
  4158. description: 现货商品ID
  4159. type: string
  4160. wrstandardname:
  4161. description: 现货商品名称
  4162. type: string
  4163. type: object
  4164. models.ErmcpAvalidGoodsGroupModel:
  4165. properties:
  4166. goodsgroupid:
  4167. description: 期货品种id
  4168. type: integer
  4169. goodsgroupname:
  4170. description: 期货品种名称
  4171. type: string
  4172. goodunitid:
  4173. description: 品种单位id
  4174. type: integer
  4175. goodunitname:
  4176. description: 品种单位名称
  4177. type: string
  4178. outergroupcode:
  4179. description: 期货品种代码
  4180. type: string
  4181. type: object
  4182. models.ErmcpBizGroupEx:
  4183. properties:
  4184. acclist:
  4185. description: 账号列表
  4186. items:
  4187. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4188. type: array
  4189. bizgroupid:
  4190. description: 业务分组id
  4191. type: integer
  4192. biztype:
  4193. description: 业务类型 1-套保 2-套利
  4194. type: integer
  4195. wrlist:
  4196. description: 现货商品表
  4197. items:
  4198. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4199. type: array
  4200. type: object
  4201. models.ErmcpBizGroupSpotGoods:
  4202. properties:
  4203. areauserid:
  4204. description: 所属机构id
  4205. type: integer
  4206. bizgroupid:
  4207. description: 分组id
  4208. type: integer
  4209. biztype:
  4210. description: 业务类型 1-套保 2-套利
  4211. type: integer
  4212. deliverygoodscode:
  4213. description: 现货商品代码
  4214. type: string
  4215. deliverygoodsid:
  4216. description: 现货商品id
  4217. type: integer
  4218. deliverygoodsname:
  4219. description: 现货商品名称
  4220. type: string
  4221. unitid:
  4222. description: 现货商品单位id
  4223. type: integer
  4224. type: object
  4225. models.ErmcpBizGroupTaAccount:
  4226. properties:
  4227. accountid:
  4228. description: 账号id
  4229. type: string
  4230. accountname:
  4231. description: 账号名称
  4232. type: string
  4233. areauserid:
  4234. description: 所属机构id
  4235. type: integer
  4236. bizgroupid:
  4237. description: 业务分组id
  4238. type: integer
  4239. ismain:
  4240. description: 是否主账号 1-是 0-否
  4241. type: integer
  4242. type: object
  4243. models.ErmcpDGFactoryItem:
  4244. properties:
  4245. areauserid:
  4246. description: 用户id
  4247. type: integer
  4248. deliverygoodsid:
  4249. description: 现货品种ID
  4250. type: integer
  4251. dgfactoryitemid:
  4252. description: 选择项ID(SEQ_DGFACTORYITEM)
  4253. type: integer
  4254. dgfactoryitemtypeid:
  4255. description: 要素项类型
  4256. type: integer
  4257. dgfactoryitemvalue:
  4258. description: 要素项值(类型为仓库时填写仓库名称)
  4259. type: string
  4260. isvalid:
  4261. description: 是否有效 - 0:无效 1:有效
  4262. type: integer
  4263. orderindex:
  4264. description: 顺序
  4265. type: integer
  4266. warehouseid:
  4267. description: 仓库ID(类型为仓库时填写)
  4268. type: integer
  4269. type: object
  4270. models.ErmcpDeliveryGoods:
  4271. properties:
  4272. agreeunit:
  4273. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4274. type: integer
  4275. areauserid:
  4276. description: 所属机构
  4277. type: integer
  4278. auditflag:
  4279. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4280. type: integer
  4281. categoryid:
  4282. description: 类别ID(SEQ_WRCATEGORY)
  4283. type: integer
  4284. deliverygoodscode:
  4285. description: 现货品种代码
  4286. type: string
  4287. deliverygoodsid:
  4288. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4289. type: integer
  4290. deliverygoodsname:
  4291. description: 现货品种名称
  4292. type: string
  4293. deliverygoodstype:
  4294. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4295. type: integer
  4296. dgstatus:
  4297. description: 品种状态 - 作废 - 0:未激活 1:正常
  4298. type: integer
  4299. enumdicname:
  4300. description: 现货品种单位名称
  4301. type: string
  4302. goodsunitid:
  4303. description: 现货品种单位ID
  4304. type: integer
  4305. isvalid:
  4306. description: 是否有效 - 0:无效 1:有效
  4307. type: integer
  4308. qtydecimalplace:
  4309. description: 成交量小数位
  4310. type: integer
  4311. standardqty:
  4312. description: 标准数量(库位数量) [标准品特有]
  4313. type: integer
  4314. standardqtyrange:
  4315. description: 标准数量偏差范围 [标准品特有]
  4316. type: integer
  4317. type: object
  4318. models.ErmcpDeliveryGoodsDetail:
  4319. properties:
  4320. data:
  4321. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4322. description: 现货商品基本信息(交割品种)
  4323. type: object
  4324. gblist:
  4325. description: 品牌列表
  4326. items:
  4327. $ref: '#/definitions/models.Ermcp3Brand'
  4328. type: array
  4329. gmlist:
  4330. description: 品类列表(仓单标准)
  4331. items:
  4332. $ref: '#/definitions/models.ErmcpWrstandard'
  4333. type: array
  4334. goodslist:
  4335. description: 关联交易商品列表
  4336. items:
  4337. $ref: '#/definitions/models.ErmcpRelatedGoods'
  4338. type: array
  4339. wrslist:
  4340. description: 套保信息列表
  4341. items:
  4342. $ref: '#/definitions/models.WRSConverTDetail'
  4343. type: array
  4344. type: object
  4345. models.ErmcpExposureDetailModel:
  4346. properties:
  4347. areauserid:
  4348. description: 机构ID
  4349. type: integer
  4350. changeQty:
  4351. description: 套保变动量
  4352. type: number
  4353. contracttype:
  4354. description: 现货合同类型 - 1:采购 -1:销售
  4355. type: integer
  4356. convertfactor:
  4357. description: 标仓系数
  4358. type: number
  4359. convertratio:
  4360. description: 套保系数
  4361. type: number
  4362. createtime:
  4363. description: 时间
  4364. type: string
  4365. enumdicname:
  4366. description: 现货商品单位名称
  4367. type: string
  4368. logtype:
  4369. description: 类型 - 1:套保计划 2:现货合同
  4370. type: integer
  4371. middlegoodsId:
  4372. description: 套保商品id
  4373. type: integer
  4374. middlegoodscode:
  4375. description: 套保商品代码
  4376. type: string
  4377. middlegoodsname:
  4378. description: 套保商品名称
  4379. type: string
  4380. qty:
  4381. description: 数量
  4382. type: number
  4383. relateNo:
  4384. description: 现货合同/套保计划编号
  4385. type: string
  4386. wrstandardcode:
  4387. description: 现货商品代码
  4388. type: string
  4389. wrstandardid:
  4390. description: 现货商品ID
  4391. type: integer
  4392. wrstandardname:
  4393. description: 现货商品名称
  4394. type: string
  4395. type: object
  4396. models.ErmcpExposurePostion:
  4397. properties:
  4398. agreeunit:
  4399. description: 合约单位
  4400. type: string
  4401. areauserid:
  4402. description: 所属机构id
  4403. type: integer
  4404. convertratio:
  4405. description: 期货品种系数(折算系数)
  4406. type: number
  4407. curqty:
  4408. description: 当前持仓
  4409. type: integer
  4410. diffhedgeqty:
  4411. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  4412. type: number
  4413. diffqty:
  4414. description: 持仓变动量=当前持仓-昨日持仓
  4415. type: integer
  4416. goodscode:
  4417. description: 商品代码
  4418. type: string
  4419. goodsid:
  4420. description: 商品id
  4421. type: integer
  4422. goodsname:
  4423. description: 商品名称
  4424. type: string
  4425. middlegoodsid:
  4426. description: 套保商品id
  4427. type: integer
  4428. ydqty:
  4429. description: 昨日持仓
  4430. type: integer
  4431. type: object
  4432. models.ErmcpFuturesCompany:
  4433. properties:
  4434. brokerid:
  4435. description: 经纪公司代码
  4436. type: string
  4437. channeladdress:
  4438. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  4439. type: string
  4440. channelid:
  4441. description: 对冲渠道ID
  4442. type: string
  4443. createtime:
  4444. description: 创建时间
  4445. type: string
  4446. creatorid:
  4447. description: 创建人
  4448. type: string
  4449. fcid:
  4450. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  4451. type: integer
  4452. fcname:
  4453. description: 期货公司名称
  4454. type: string
  4455. isvalid:
  4456. description: 是否有效 - 0:无效 1:有效
  4457. type: integer
  4458. mhpaddress:
  4459. description: MHP服务地址(IP:Port)
  4460. type: string
  4461. riskrulegroupid:
  4462. description: 风控规则组ID
  4463. type: string
  4464. tradefeetmpid:
  4465. description: 手续费模板ID[TradeConfigTmpType为2]
  4466. type: string
  4467. trademargintmpid:
  4468. description: 保证金模板ID [TradeConfigTmpType为1]
  4469. type: string
  4470. traderatetmpid:
  4471. description: 汇率模板ID[TradeConfigTmpType为3]
  4472. type: string
  4473. updatetime:
  4474. description: 更新时间
  4475. type: string
  4476. updatorid:
  4477. description: 更新人
  4478. type: string
  4479. type: object
  4480. models.ErmcpGGConvertCfg:
  4481. properties:
  4482. convertratio:
  4483. description: 折算系数
  4484. type: number
  4485. destgoodsgroupid:
  4486. description: 目标品种ID
  4487. type: integer
  4488. dstcode:
  4489. description: 目录品种代码
  4490. type: string
  4491. dstexchangecode:
  4492. description: 目标期货交易所
  4493. type: string
  4494. dstname:
  4495. description: 目标品种名称
  4496. type: string
  4497. dstunitid:
  4498. description: 目标品种单位ID
  4499. type: integer
  4500. dstunitidname:
  4501. description: 目标品种单位名称
  4502. type: string
  4503. modifytime:
  4504. description: 修改时间
  4505. type: string
  4506. srccode:
  4507. description: 源品种代码
  4508. type: string
  4509. srcexchangecode:
  4510. description: 源期货交易所
  4511. type: string
  4512. srcgoodsgroupid:
  4513. description: 源品种ID
  4514. type: integer
  4515. srcname:
  4516. description: 源品种名称
  4517. type: string
  4518. srcunitid:
  4519. description: 源品种单位ID
  4520. type: integer
  4521. srcunitidname:
  4522. description: 源品种单位名称
  4523. type: string
  4524. type: object
  4525. models.ErmcpGoodsBrand:
  4526. properties:
  4527. areauserid:
  4528. description: 所属机构
  4529. type: integer
  4530. brandid:
  4531. description: BrandID(SEQ_SPOTGOODSBRAND)
  4532. type: integer
  4533. brandname:
  4534. description: 品牌名称
  4535. type: string
  4536. createtime:
  4537. description: 创建时间
  4538. type: string
  4539. creatorid:
  4540. description: 创建人
  4541. type: integer
  4542. creatorsrc:
  4543. description: 创建人来源 - 1:管理端 2:终端
  4544. type: integer
  4545. deliverygoodsid:
  4546. description: 现货品种ID
  4547. type: integer
  4548. isvalid:
  4549. description: 是否有效 - 0:无效 1:有效
  4550. type: integer
  4551. updatetime:
  4552. description: 更新时间
  4553. type: string
  4554. updatorid:
  4555. description: 更新人
  4556. type: integer
  4557. updatorsrc:
  4558. description: 更新人来源 - 1:管理端 2:终端
  4559. type: integer
  4560. wrstandardid:
  4561. description: 现货商品ID
  4562. type: integer
  4563. type: object
  4564. models.ErmcpGoodsModel:
  4565. properties:
  4566. areauserid:
  4567. description: 所属机构
  4568. type: integer
  4569. convertfactor:
  4570. description: 标仓系数
  4571. type: number
  4572. createtime:
  4573. description: 创建时间
  4574. type: string
  4575. creatorid:
  4576. description: 创建人
  4577. type: integer
  4578. creatorsrc:
  4579. description: 创建人来源 - 1:管理端 2:终端
  4580. type: integer
  4581. deliverygoodsid:
  4582. description: 现货品种ID
  4583. type: integer
  4584. isvalid:
  4585. description: 是否有效 - 0:无效 1:有效
  4586. type: integer
  4587. modelid:
  4588. description: ModelID(SEQ_SPOTGOODSMODEL)
  4589. type: integer
  4590. modelname:
  4591. description: 型号名称
  4592. type: string
  4593. updatetime:
  4594. description: 更新时间
  4595. type: string
  4596. updatorid:
  4597. description: 更新人
  4598. type: integer
  4599. updatorsrc:
  4600. description: 更新人来源 - 1:管理端 2:终端
  4601. type: integer
  4602. wrstandardid:
  4603. description: 现货商品ID
  4604. type: integer
  4605. type: object
  4606. models.ErmcpHedgePlan:
  4607. properties:
  4608. areauserid:
  4609. description: 用户ID
  4610. type: integer
  4611. audittime:
  4612. description: 审核时间
  4613. type: string
  4614. contracttype:
  4615. description: 计划类型 - 1:采购 -1:销售
  4616. type: integer
  4617. convertfactor:
  4618. description: 标仓系数
  4619. type: number
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. deliverygoodsid:
  4624. description: 现货品种ID
  4625. type: integer
  4626. deliverygoodsname:
  4627. description: 现货品种名称
  4628. type: string
  4629. enumdicname:
  4630. description: 单位名称
  4631. type: string
  4632. hedgeplanid:
  4633. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4634. type: string
  4635. hedgeplanno:
  4636. description: 套保计划编号(名称)
  4637. type: string
  4638. hedgeplanstatus:
  4639. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4640. type: integer
  4641. planqty:
  4642. description: 计划数量
  4643. type: number
  4644. plantime:
  4645. description: 计划时间
  4646. type: string
  4647. producttype:
  4648. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4649. type: integer
  4650. remark:
  4651. description: 备注
  4652. type: string
  4653. spotgoodsdesc:
  4654. description: 商品型号
  4655. type: string
  4656. unitid:
  4657. description: 单位id
  4658. type: integer
  4659. updatetime:
  4660. description: 更新时间
  4661. type: string
  4662. wrstandardid:
  4663. description: 现货商品ID
  4664. type: integer
  4665. wrstandardname:
  4666. description: 现货商品名称
  4667. type: string
  4668. type: object
  4669. models.ErmcpHedgePosition:
  4670. properties:
  4671. accountid:
  4672. description: 资金账号[外部母账户]
  4673. type: integer
  4674. curbuyposition:
  4675. description: 期末买头寸
  4676. type: integer
  4677. cursellposition:
  4678. description: 期末卖头寸
  4679. type: integer
  4680. curtdbuyposition:
  4681. description: 期末今日买头寸
  4682. type: integer
  4683. curtdsellposition:
  4684. description: 期末今日卖头寸
  4685. type: integer
  4686. curydbuyposition:
  4687. description: 期末上日买头寸
  4688. type: integer
  4689. curydsellposition:
  4690. description: 期末上日卖头寸
  4691. type: integer
  4692. decreaseqty:
  4693. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  4694. type: integer
  4695. fretdbuyposition:
  4696. description: 冻结今日买头寸
  4697. type: integer
  4698. fretdsellposition:
  4699. description: 冻结今日卖头寸
  4700. type: integer
  4701. freydbuyposition:
  4702. description: 冻结上日买头寸
  4703. type: integer
  4704. freydsellposition:
  4705. description: 冻结上日卖头寸
  4706. type: integer
  4707. goodscode:
  4708. description: 商品代码
  4709. type: string
  4710. goodsid:
  4711. description: 商品id
  4712. type: integer
  4713. goodsname:
  4714. description: 商品名称
  4715. type: string
  4716. hedgeaccountcode:
  4717. description: 对冲账号
  4718. type: string
  4719. hedgegoodsid:
  4720. description: 对冲合约ID
  4721. type: integer
  4722. increaseqty:
  4723. description: 增加数量 = 期末买头寸 - 期初买头寸
  4724. type: integer
  4725. marketid:
  4726. description: 市场ID
  4727. type: integer
  4728. relateduserid:
  4729. description: 关联用户id
  4730. type: integer
  4731. totalcurqty:
  4732. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  4733. type: integer
  4734. totalydqty:
  4735. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  4736. type: integer
  4737. tradedate:
  4738. description: 交易日(yyyyMMdd)
  4739. type: string
  4740. ydbuyposition:
  4741. description: 期初买头寸
  4742. type: integer
  4743. ydsellposition:
  4744. description: 期初卖头寸
  4745. type: integer
  4746. type: object
  4747. models.ErmcpHedgePositionDetail:
  4748. properties:
  4749. buyorsell:
  4750. description: 买卖方向 0-买 1-卖
  4751. type: integer
  4752. channelbuildtype:
  4753. description: 开平方向 1-建仓 2-平仓
  4754. type: integer
  4755. goodscode:
  4756. description: 商品代码
  4757. type: string
  4758. goodsname:
  4759. description: 商品名称
  4760. type: string
  4761. hedgegoodsid:
  4762. description: 商品id
  4763. type: integer
  4764. tradeqty:
  4765. description: 数量(成交数量)
  4766. type: integer
  4767. tradetime:
  4768. description: 时间(成交时间)
  4769. type: string
  4770. type: object
  4771. models.ErmcpHisExposure:
  4772. properties:
  4773. needhedgeexposoure:
  4774. description: 应套保敞口
  4775. type: number
  4776. reckondate:
  4777. description: 日照时期(yyyyMMdd)
  4778. type: string
  4779. totalexposure:
  4780. description: 总敞口
  4781. type: number
  4782. type: object
  4783. models.ErmcpHisExposureS:
  4784. properties:
  4785. data:
  4786. description: 历史敞口
  4787. items:
  4788. $ref: '#/definitions/models.ErmcpHisExposure'
  4789. type: array
  4790. enumdicname:
  4791. description: 单位名称
  4792. type: string
  4793. middlegoodscode:
  4794. description: 套保品种代码
  4795. type: string
  4796. middlegoodsid:
  4797. description: 套保品种ID
  4798. type: integer
  4799. middlegoodsname:
  4800. description: 套保品种名称
  4801. type: string
  4802. type: object
  4803. models.ErmcpLoginUser:
  4804. properties:
  4805. accountname:
  4806. description: 用户名称
  4807. type: string
  4808. clientroleid:
  4809. description: 角色id(usertype=2)
  4810. type: integer
  4811. createtime:
  4812. description: 创建时间
  4813. type: string
  4814. logincode:
  4815. description: 登录代码
  4816. type: string
  4817. loginid:
  4818. description: 登录id(LOGINID)
  4819. type: integer
  4820. loginstatus:
  4821. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  4822. type: integer
  4823. memberuserid:
  4824. description: 所属会员id
  4825. type: integer
  4826. modifytime:
  4827. description: 修改时间
  4828. type: string
  4829. rolename:
  4830. description: 角色名称
  4831. type: string
  4832. rolestatus:
  4833. description: 角色状态 1-启用 2-停用
  4834. type: integer
  4835. roletype:
  4836. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  4837. type: string
  4838. userid:
  4839. description: 用户id
  4840. type: integer
  4841. usertype:
  4842. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4843. type: integer
  4844. type: object
  4845. models.ErmcpLoginUserEx:
  4846. properties:
  4847. rolename:
  4848. description: 角色名称
  4849. type: string
  4850. userlist:
  4851. description: 用户列表
  4852. items:
  4853. $ref: '#/definitions/models.ErmcpLoginUser'
  4854. type: array
  4855. usertype:
  4856. description: 用户类型 2-机构 7-企业成员(云平台)
  4857. type: integer
  4858. type: object
  4859. models.ErmcpMiddleGoodsChangeLog:
  4860. properties:
  4861. aftervalue:
  4862. description: 变更后
  4863. type: number
  4864. applyid:
  4865. description: 操作人
  4866. type: integer
  4867. applyname:
  4868. description: 操作人名称
  4869. type: string
  4870. applysrc:
  4871. description: 操作来源 - 1:管理端 2:终端
  4872. type: integer
  4873. beforevalue:
  4874. description: 变更前
  4875. type: number
  4876. changelogtype:
  4877. description: 变更流水类型 - 1:套保比率变更
  4878. type: integer
  4879. handlestatus:
  4880. description: 处理状态
  4881. type: integer
  4882. logdatetime:
  4883. description: 流水日期
  4884. type: string
  4885. logid:
  4886. description: 流水ID
  4887. type: integer
  4888. logremark:
  4889. description: 流水备注
  4890. type: string
  4891. middlegoodsid:
  4892. description: 套保品种ID
  4893. type: integer
  4894. tradedate:
  4895. description: 交易日(yyyyMMdd)
  4896. type: string
  4897. updatetime:
  4898. description: 更新时间
  4899. type: string
  4900. type: object
  4901. models.ErmcpMiddleGoodsDetail:
  4902. properties:
  4903. cvList:
  4904. description: 期货品种折算列表
  4905. items:
  4906. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  4907. type: array
  4908. mg:
  4909. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4910. description: 套保品种基本信息
  4911. type: object
  4912. wrcList:
  4913. description: 现货品种列表(现货商品折算配置)
  4914. items:
  4915. $ref: '#/definitions/models.WRSConverTDetail'
  4916. type: array
  4917. type: object
  4918. models.ErmcpMiddleGoodsModel:
  4919. properties:
  4920. areauserid:
  4921. description: 机构用户ID
  4922. type: integer
  4923. createtime:
  4924. description: 修改时间
  4925. type: string
  4926. enumdicname:
  4927. description: 单位名称
  4928. type: string
  4929. evaluateratio:
  4930. description: 估价系数
  4931. type: number
  4932. goodsgroupid:
  4933. description: 关联期货品种ID
  4934. type: integer
  4935. isvalid:
  4936. description: 状态 0-无效(停用) 1-有效(正常)
  4937. type: integer
  4938. middlegoodscode:
  4939. description: 套保品种代码
  4940. type: string
  4941. middlegoodsid:
  4942. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4943. type: integer
  4944. middlegoodsname:
  4945. description: 套保品种名称
  4946. type: string
  4947. modifytime:
  4948. description: 修改时间
  4949. type: string
  4950. needhedgeratio:
  4951. description: 套保比率
  4952. type: number
  4953. qtydecimalplace:
  4954. description: 数量小数位
  4955. type: integer
  4956. relatedgoodsid:
  4957. description: 关联交易商品ID
  4958. type: integer
  4959. relatedgoodstype:
  4960. description: 关联商品类型 - 1:期货合约 2:现货品种
  4961. type: integer
  4962. remark:
  4963. description: 备注
  4964. type: string
  4965. type: object
  4966. models.ErmcpModel:
  4967. properties:
  4968. accountname:
  4969. description: 账户名称
  4970. type: string
  4971. attachment:
  4972. description: 附件
  4973. type: string
  4974. audittime:
  4975. description: 审核时间
  4976. type: string
  4977. brandname:
  4978. description: 品牌名称
  4979. type: string
  4980. contracctstatus:
  4981. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4982. type: integer
  4983. contractmargin:
  4984. description: 合同保证金
  4985. type: number
  4986. contractno:
  4987. description: 合同编号
  4988. type: string
  4989. contracttype:
  4990. description: 合同类型 1-采购, -1-销售
  4991. type: integer
  4992. convertfactor:
  4993. description: 标仓系数
  4994. type: number
  4995. createtime:
  4996. description: 创建时间
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. modelname:
  5041. description: 型号名称
  5042. type: string
  5043. payamount:
  5044. description: 已收付额(收款或付款)
  5045. type: number
  5046. preinvoiceamount:
  5047. description: 预收(开)票额
  5048. type: number
  5049. prepayamount:
  5050. description: 预收付额
  5051. type: number
  5052. price:
  5053. description: 价格
  5054. type: number
  5055. pricedamount:
  5056. description: 已定价额
  5057. type: number
  5058. pricedavg:
  5059. description: 已点均价
  5060. type: number
  5061. pricedqty:
  5062. description: 已定价量
  5063. type: number
  5064. pricemove:
  5065. description: 升贴水
  5066. type: number
  5067. pricetype:
  5068. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5069. type: integer
  5070. producttype:
  5071. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5072. type: integer
  5073. qty:
  5074. description: 合同量
  5075. type: number
  5076. reckonadjustamount:
  5077. description: 调整金额
  5078. type: number
  5079. reckonedamount:
  5080. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5081. type: number
  5082. reckonotheramount:
  5083. description: 其它费用
  5084. type: number
  5085. reckonrealqty:
  5086. description: 已确定量
  5087. type: number
  5088. remark:
  5089. description: 备注
  5090. type: string
  5091. spotcontractid:
  5092. description: 合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. spotgoodsdesc:
  5098. description: 商品型号(商品规格)
  5099. type: string
  5100. spotgoodsmodelid:
  5101. description: 现货型号ID
  5102. type: integer
  5103. startdate:
  5104. description: 点价开始日
  5105. type: string
  5106. totalamount:
  5107. description: 合计总额
  5108. type: number
  5109. unpayamount:
  5110. description: 应收付款额(应支付或应收款)
  5111. type: number
  5112. unpricedqty:
  5113. description: 未定价量
  5114. type: number
  5115. unsureqty:
  5116. description: 未确定量
  5117. type: number
  5118. userid:
  5119. description: 用户ID
  5120. type: integer
  5121. wrstandardcode:
  5122. description: 现货商品代码
  5123. type: string
  5124. wrstandardid:
  5125. description: 现货商品ID
  5126. type: integer
  5127. wrstandardname:
  5128. description: 现货商品名称
  5129. type: string
  5130. type: object
  5131. models.ErmcpOPLogModel:
  5132. properties:
  5133. aftervalue:
  5134. description: 变更后
  5135. type: number
  5136. applyid:
  5137. description: 操作人ID
  5138. type: string
  5139. applyname:
  5140. description: 操作人名称
  5141. type: string
  5142. beforevalue:
  5143. description: 变更前
  5144. type: number
  5145. biztype:
  5146. description: 业务类型 - 1:套保计划 2:现货合同
  5147. type: integer
  5148. contracttype:
  5149. description: 现货合同类型 - 1:采购 -1:销售
  5150. type: integer
  5151. logvalue:
  5152. description: 数值
  5153. type: number
  5154. operatelogtype:
  5155. description: 操作流水类型
  5156. type: integer
  5157. operatelogtypedesc:
  5158. description: 操作流水类型名称
  5159. type: string
  5160. relatedid:
  5161. description: 现货合同ID\套保计划
  5162. type: string
  5163. updatetime:
  5164. description: 更新时间
  5165. type: string
  5166. type: object
  5167. models.ErmcpPendingAudit:
  5168. properties:
  5169. areastockqty:
  5170. description: '待审核数量: 库存申请'
  5171. type: integer
  5172. businessdjqty:
  5173. description: '待审核数量: 点价'
  5174. type: integer
  5175. businessfpqty:
  5176. description: '待审核数量: 发票'
  5177. type: integer
  5178. businessjsqty:
  5179. description: '待审核数量: 结算'
  5180. type: integer
  5181. businesskxqty:
  5182. description: '待审核数量: 款项'
  5183. type: integer
  5184. hedgeplanqty:
  5185. description: '待审核数量: 套保计划'
  5186. type: integer
  5187. spotcontractqty:
  5188. description: '待审核数量: 现货合同'
  5189. type: integer
  5190. userqty:
  5191. description: '待审核数量: 用户'
  5192. type: integer
  5193. type: object
  5194. models.ErmcpRealExposureModel:
  5195. properties:
  5196. AreaUserID:
  5197. description: 所属机构
  5198. type: integer
  5199. BuyFutureQty:
  5200. description: 买入期货数量
  5201. type: number
  5202. BuyPlanQty:
  5203. description: 采购计划数量
  5204. type: number
  5205. BuyPricedQty:
  5206. description: 采购合同已定价数量
  5207. type: number
  5208. MiddleGoodsCode:
  5209. description: 套保品种代码
  5210. type: string
  5211. MiddleGoodsHedgeRatio:
  5212. description: 应套保比例
  5213. type: number
  5214. MiddleGoodsID:
  5215. description: 套保品种
  5216. type: integer
  5217. MiddleGoodsName:
  5218. description: 套保品种名称
  5219. type: string
  5220. NeedHedgeExposoure:
  5221. description: 应套保敞口
  5222. type: number
  5223. NeedHedgeRatio:
  5224. description: 应套保敞口比例
  5225. type: number
  5226. OriBuyFutureQty:
  5227. description: 期初买入期货数量
  5228. type: number
  5229. OriBuyPlanQty:
  5230. description: 期初采购计划数量
  5231. type: number
  5232. OriBuyPricedQty:
  5233. description: 期初采购合同已定价数量
  5234. type: number
  5235. OriSellFutureQty:
  5236. description: 期初卖出期货数量
  5237. type: number
  5238. OriSellPlanQty:
  5239. description: 期初销售计划数量
  5240. type: number
  5241. OriSellPricedQty:
  5242. description: 期初销售合同已定价数量
  5243. type: number
  5244. SellFutureQty:
  5245. description: 卖出期货数量
  5246. type: number
  5247. SellPlanQty:
  5248. description: 销售计划数量
  5249. type: number
  5250. SellPricedQty:
  5251. description: 销售合同已定价数量
  5252. type: number
  5253. TotalExposure:
  5254. description: 总敞口
  5255. type: number
  5256. TotalFutureQty:
  5257. description: 期货数量
  5258. type: number
  5259. TotalHedgeRatio:
  5260. description: 敞口比例
  5261. type: number
  5262. TotalNeedHedgeQty:
  5263. description: 期货应套保量
  5264. type: number
  5265. TotalSpotQty:
  5266. description: 现货数量
  5267. type: number
  5268. diffFutuQty:
  5269. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5270. type: number
  5271. diffSpotQty:
  5272. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5273. type: number
  5274. enumdicname:
  5275. description: 单位名称
  5276. type: string
  5277. oriTotalFutuQty:
  5278. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5279. type: number
  5280. oriTotalSpotQty:
  5281. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5282. type: number
  5283. type: object
  5284. models.ErmcpRelatedGoods:
  5285. properties:
  5286. deliverygoodsid:
  5287. description: 品种ID
  5288. type: integer
  5289. goodscode:
  5290. description: 商品代码
  5291. type: string
  5292. goodsid:
  5293. description: 商品id
  5294. type: integer
  5295. goodsname:
  5296. description: 商品名称
  5297. type: string
  5298. type: object
  5299. models.ErmcpReportAreaSpotPL:
  5300. properties:
  5301. actualpl:
  5302. description: 实际损益
  5303. type: number
  5304. areauserid:
  5305. description: 所属机构
  5306. type: integer
  5307. brandname:
  5308. description: 品牌名称
  5309. type: string
  5310. curamount:
  5311. description: 期末额
  5312. type: number
  5313. curaverageprice:
  5314. description: 期末均价
  5315. type: number
  5316. curbuyamount:
  5317. description: 期末采购总额(采购额)
  5318. type: number
  5319. curbuyqty:
  5320. description: 期末采购总量
  5321. type: number
  5322. curmarketvalue:
  5323. description: 参考市值
  5324. type: number
  5325. curqty:
  5326. description: 期末量
  5327. type: number
  5328. cursellamount:
  5329. description: 期末销售总额(销售额)
  5330. type: number
  5331. cursellqty:
  5332. description: 期末销售总量
  5333. type: number
  5334. curspotprice:
  5335. description: 参考市价
  5336. type: number
  5337. enumdicname:
  5338. description: 现货商品单位名称
  5339. type: string
  5340. floatpl:
  5341. description: 浮动损益
  5342. type: number
  5343. gbenumdicname:
  5344. description: 品类单位名称
  5345. type: string
  5346. gbunitid:
  5347. description: 品类单位id
  5348. type: integer
  5349. modelname:
  5350. description: 品类名称
  5351. type: string
  5352. oriamount:
  5353. description: 期初额
  5354. type: number
  5355. oriaverageprice:
  5356. description: 期初均价
  5357. type: number
  5358. oribuyamount:
  5359. description: 期初采购总额
  5360. type: number
  5361. oribuyqty:
  5362. description: 期初采购总量
  5363. type: number
  5364. oriqty:
  5365. description: 期初量
  5366. type: number
  5367. orisellamount:
  5368. description: 期初销售总额
  5369. type: number
  5370. orisellqty:
  5371. description: 期初销售总量
  5372. type: number
  5373. spotgoodsbrandid:
  5374. description: 现货品牌ID
  5375. type: integer
  5376. spotgoodsmodelid:
  5377. description: 现货品类ID
  5378. type: integer
  5379. todaybuyamount:
  5380. description: 今日采购额
  5381. type: number
  5382. todaybuyaverageprice:
  5383. description: 今日采购均价(采购均价)
  5384. type: number
  5385. todaybuyqty:
  5386. description: 今日采购量(采购增量)
  5387. type: number
  5388. todaysellamount:
  5389. description: 今日销售额
  5390. type: number
  5391. todaysellaverageprice:
  5392. description: 今日销售均价(销售均价)
  5393. type: number
  5394. todaysellqty:
  5395. description: 今日销售量(销售增量)
  5396. type: number
  5397. unitid:
  5398. description: 现货商品单位id
  5399. type: integer
  5400. updatetime:
  5401. description: 更新时间
  5402. type: string
  5403. wrstandardcode:
  5404. description: 现货商品代码
  5405. type: string
  5406. wrstandardid:
  5407. description: 现货商品ID
  5408. type: integer
  5409. wrstandardname:
  5410. description: 现货商品名称
  5411. type: string
  5412. type: object
  5413. models.ErmcpReportDayExposure:
  5414. properties:
  5415. areauserid:
  5416. description: 所属机构
  5417. type: integer
  5418. buyfutureqty:
  5419. description: 买入期货数量
  5420. type: number
  5421. buyplanqty:
  5422. description: 采购计划数量
  5423. type: number
  5424. buypricedqty:
  5425. description: 采购合同已定价数量
  5426. type: number
  5427. diffFutuQty:
  5428. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5429. type: number
  5430. diffSpotQty:
  5431. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5432. type: number
  5433. enumdicname:
  5434. description: 单位名称
  5435. type: string
  5436. middlegoodscode:
  5437. description: 套保品种代码
  5438. type: string
  5439. middlegoodshedgeratio:
  5440. description: 应套保比例
  5441. type: number
  5442. middlegoodsid:
  5443. description: 套保品种ID
  5444. type: integer
  5445. middlegoodsname:
  5446. description: 套保品种名称
  5447. type: string
  5448. needhedgeexposoure:
  5449. description: 应套保敞口
  5450. type: number
  5451. needhedgeratio:
  5452. description: 应套保敞口比例
  5453. type: number
  5454. oriTotalFutuQty:
  5455. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5456. type: number
  5457. oriTotalSpotQty:
  5458. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5459. type: number
  5460. oribuyfutureqty:
  5461. description: 期初买入期货数量
  5462. type: number
  5463. oribuyplanqty:
  5464. description: 期初采购计划数量
  5465. type: number
  5466. oribuypricedqty:
  5467. description: 期初采购合同已定价数量
  5468. type: number
  5469. orisellfutureqty:
  5470. description: 期初卖出期货数量
  5471. type: number
  5472. orisellplanqty:
  5473. description: 期初销售计划数量
  5474. type: number
  5475. orisellpricedqty:
  5476. description: 期初销售合同已定价数量
  5477. type: number
  5478. reckondate:
  5479. description: 日照时期(yyyyMMdd)
  5480. type: string
  5481. sellfutureqty:
  5482. description: 卖出期货数量
  5483. type: number
  5484. sellplanqty:
  5485. description: 销售计划数量
  5486. type: number
  5487. sellpricedqty:
  5488. description: 销售合同已定价数量
  5489. type: number
  5490. totalexposure:
  5491. description: 总敞口
  5492. type: number
  5493. totalfutureqty:
  5494. description: 期货数量
  5495. type: number
  5496. totalhedgeratio:
  5497. description: 敞口比例
  5498. type: number
  5499. totalneedhedgeqty:
  5500. description: 期货应套保量
  5501. type: number
  5502. totalspotqty:
  5503. description: 现货数量
  5504. type: number
  5505. type: object
  5506. models.ErmcpReportDayFR:
  5507. properties:
  5508. areauserid:
  5509. description: 所属机构
  5510. type: integer
  5511. collectinvoiceamount:
  5512. description: 今日开票金额
  5513. type: number
  5514. collectinvoicecount:
  5515. description: 今日开票笔数
  5516. type: integer
  5517. collectmoneyamount:
  5518. description: 今日收款金额
  5519. type: number
  5520. collectmoneycount:
  5521. description: 今日收款笔数
  5522. type: integer
  5523. payinvoiceamount:
  5524. description: 今日收票金额
  5525. type: number
  5526. payinvoicecount:
  5527. description: 今日收票笔数
  5528. type: integer
  5529. paymoneyamount:
  5530. description: 今日付款金额
  5531. type: number
  5532. paymoneycount:
  5533. description: 今日付款笔数
  5534. type: integer
  5535. reckondate:
  5536. description: 日照时期(yyyyMMdd)
  5537. type: string
  5538. updatetime:
  5539. description: 更新时间
  5540. type: string
  5541. type: object
  5542. models.ErmcpReportDaySpot:
  5543. properties:
  5544. areauserid:
  5545. description: 所属机构T
  5546. type: integer
  5547. buyinqty:
  5548. description: 采购入库量
  5549. type: number
  5550. enumdicname:
  5551. description: 现货商品单位名称
  5552. type: string
  5553. reckondate:
  5554. description: 日照时期(yyyyMMdd)
  5555. type: string
  5556. selloutqty:
  5557. description: 销售出库量
  5558. type: number
  5559. todaybuyreckonqty:
  5560. description: 采购确定量
  5561. type: number
  5562. todaysellreckonqty:
  5563. description: 销售确定量
  5564. type: number
  5565. totalbuypricedqty:
  5566. description: 采购定价量 = 期末 - 期初
  5567. type: number
  5568. totalsellpricedqty:
  5569. description: 销售定价量 = 期末 - 期初
  5570. type: number
  5571. wrstandardcode:
  5572. description: 现货商品代码
  5573. type: string
  5574. wrstandardid:
  5575. description: 现货商品ID
  5576. type: integer
  5577. wrstandardname:
  5578. description: 现货商品名称
  5579. type: string
  5580. type: object
  5581. models.ErmcpReportMonSpot:
  5582. properties:
  5583. areauserid:
  5584. description: 所属机构T
  5585. type: integer
  5586. buyinqty:
  5587. description: 采购入库量
  5588. type: number
  5589. cycletime:
  5590. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5591. type: string
  5592. cycletype:
  5593. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5594. type: integer
  5595. enumdicname:
  5596. description: 现货商品单位名称
  5597. type: string
  5598. selloutqty:
  5599. description: 销售出库量
  5600. type: number
  5601. todaybuyreckonqty:
  5602. description: 采购确定量
  5603. type: number
  5604. todaysellreckonqty:
  5605. description: 销售确定量
  5606. type: number
  5607. totalbuypricedqty:
  5608. description: 采购定价量 = 期末 - 期初
  5609. type: number
  5610. totalsellpricedqty:
  5611. description: 销售定价量 = 期末 - 期初
  5612. type: number
  5613. wrstandardcode:
  5614. description: 现货商品代码
  5615. type: string
  5616. wrstandardid:
  5617. description: 现货商品ID
  5618. type: integer
  5619. wrstandardname:
  5620. description: 现货商品名称
  5621. type: string
  5622. type: object
  5623. models.ErmcpReportMonthFR:
  5624. properties:
  5625. areauserid:
  5626. description: 所属机构【原值】
  5627. type: integer
  5628. collectinvoiceamount:
  5629. description: 今日开票金额【汇总】
  5630. type: number
  5631. collectinvoicecount:
  5632. description: 今日开票笔数【汇总】
  5633. type: integer
  5634. collectmoneyamount:
  5635. description: 今日收款金额【汇总】
  5636. type: number
  5637. collectmoneycount:
  5638. description: 今日收款笔数 【汇总】
  5639. type: integer
  5640. cycletime:
  5641. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5642. type: string
  5643. cycletype:
  5644. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5645. type: integer
  5646. dayFr:
  5647. description: 日报表明细
  5648. items:
  5649. $ref: '#/definitions/models.ErmcpReportDayFR'
  5650. type: array
  5651. payinvoiceamount:
  5652. description: 今日收票金额【汇总】
  5653. type: number
  5654. payinvoicecount:
  5655. description: 今日收票笔数【汇总】
  5656. type: integer
  5657. paymoneyamount:
  5658. description: 今日付款金额【汇总】
  5659. type: number
  5660. paymoneycount:
  5661. description: 今日付款笔数【汇总】
  5662. type: integer
  5663. updatetime:
  5664. description: 更新时间
  5665. type: string
  5666. type: object
  5667. models.ErmcpReportOPLog:
  5668. properties:
  5669. applyid:
  5670. description: 操作人
  5671. type: integer
  5672. applyname:
  5673. description: 操作人名称
  5674. type: string
  5675. biztype:
  5676. description: 业务类型 - 1:套保计划 2:现货合同
  5677. type: integer
  5678. brandname:
  5679. description: 品牌名称
  5680. type: string
  5681. contracttype:
  5682. description: 现货合同类型 - 1:采购 -1:销售
  5683. type: integer
  5684. enumdicName:
  5685. description: 单位名称
  5686. type: string
  5687. logdatetime:
  5688. description: 流水日期(时间)
  5689. type: string
  5690. logid:
  5691. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5692. type: string
  5693. logtypename:
  5694. description: 合同类型(名称)
  5695. type: string
  5696. logvalue:
  5697. description: 数值
  5698. type: string
  5699. modelname:
  5700. description: 型号名称
  5701. type: string
  5702. operatelogtype:
  5703. description: 操作流水类型 -
  5704. type: integer
  5705. optypename:
  5706. description: 流水类型名称
  5707. type: string
  5708. relatedid:
  5709. description: 现货合同ID\套保计划
  5710. type: string
  5711. relatedno:
  5712. description: 合同编号
  5713. type: string
  5714. tradedate:
  5715. description: 交易日(yyyyMMdd)
  5716. type: string
  5717. userid:
  5718. description: 机构ID
  5719. type: integer
  5720. wrstandardcode:
  5721. description: 现货商品代码
  5722. type: string
  5723. wrstandardid:
  5724. description: 现货商品ID
  5725. type: integer
  5726. wrstandardname:
  5727. description: 现货商品名称
  5728. type: string
  5729. type: object
  5730. models.ErmcpRole:
  5731. properties:
  5732. areauserid:
  5733. description: 所属机构
  5734. type: integer
  5735. autoid:
  5736. description: 角色ID(自增ID)
  5737. type: integer
  5738. modifierid:
  5739. description: 修改人(创建人)
  5740. type: integer
  5741. modifiername:
  5742. description: 修改人名称
  5743. type: string
  5744. modifytime:
  5745. description: 修改时间(创建时间)
  5746. type: string
  5747. rolename:
  5748. description: 角色名称
  5749. type: string
  5750. rolestatus:
  5751. description: 角色状态 - 1:启用 2:停用
  5752. type: integer
  5753. roletype:
  5754. description: 角色类型 - 1- 管理端 2- 交易端
  5755. type: integer
  5756. type: object
  5757. models.ErmcpRoleMenu:
  5758. properties:
  5759. iconame:
  5760. description: 菜单图标
  5761. type: string
  5762. menutype:
  5763. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5764. type: integer
  5765. parentcode:
  5766. description: 上级资源代码
  5767. type: string
  5768. remark:
  5769. description: 菜单备注
  5770. type: string
  5771. resourcecode:
  5772. description: 菜单代码
  5773. type: string
  5774. resourcelevel:
  5775. description: 级别
  5776. type: integer
  5777. resourcename:
  5778. description: 菜单名称
  5779. type: string
  5780. roleid:
  5781. description: 角色id
  5782. type: integer
  5783. sort:
  5784. description: 排序
  5785. type: integer
  5786. url:
  5787. description: URL
  5788. type: string
  5789. userid:
  5790. description: 用户id
  5791. type: integer
  5792. type: object
  5793. models.ErmcpRoleMenuEx:
  5794. properties:
  5795. menu:
  5796. $ref: '#/definitions/models.ErmcpRoleMenu'
  5797. description: 父级菜单
  5798. type: object
  5799. subMenu:
  5800. description: 子级菜单
  5801. items:
  5802. $ref: '#/definitions/models.ErmcpRoleMenu'
  5803. type: array
  5804. type: object
  5805. models.ErmcpSpotContractModel:
  5806. properties:
  5807. amount:
  5808. description: 金额 [1:一口价、3:暂定价]
  5809. type: number
  5810. attachment:
  5811. description: 附件
  5812. type: string
  5813. auditremark:
  5814. description: 审核意见
  5815. type: string
  5816. audittime:
  5817. description: 审核时间
  5818. type: string
  5819. brandname:
  5820. description: 品牌名称
  5821. type: string
  5822. buyuserid:
  5823. description: 采购方ID
  5824. type: integer
  5825. buyusername:
  5826. description: 采购方名称
  5827. type: string
  5828. contracctstatus:
  5829. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5830. type: integer
  5831. contractmargin:
  5832. description: 合同保证金
  5833. type: number
  5834. contractno:
  5835. description: 现货合同编号
  5836. type: string
  5837. contracttype:
  5838. description: 现货合同类型 - 1:采购 -1:销售
  5839. type: integer
  5840. convertfactor:
  5841. description: 标仓系数
  5842. type: number
  5843. createtime:
  5844. description: 创建时间
  5845. type: string
  5846. deliveryenddate:
  5847. description: 交收期(结束)
  5848. type: string
  5849. deliverygoodscode:
  5850. description: 现货品种代码
  5851. type: string
  5852. deliverygoodsid:
  5853. description: 现货品种ID
  5854. type: integer
  5855. deliverygoodsname:
  5856. description: 现货品种名称
  5857. type: string
  5858. deliverystartdate:
  5859. description: 交收期(开始)
  5860. type: string
  5861. enddate:
  5862. description: 点价结束日期 [2:点价 3:暂定价]
  5863. type: string
  5864. enumdicname:
  5865. description: 单位名称
  5866. type: string
  5867. goodscode:
  5868. description: 点价合约代码
  5869. type: string
  5870. goodsid:
  5871. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5872. type: integer
  5873. goodsname:
  5874. description: 点价商品名称
  5875. type: string
  5876. margin:
  5877. description: 当前保证金
  5878. type: number
  5879. modelname:
  5880. description: 型号名称
  5881. type: string
  5882. price:
  5883. description: 价格\暂定价 [1:一口价、3:暂定价]
  5884. type: number
  5885. pricemove:
  5886. description: 升贴水 [2:点价 3:暂定价]
  5887. type: number
  5888. pricetype:
  5889. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5890. type: integer
  5891. producttype:
  5892. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5893. type: integer
  5894. qty:
  5895. description: 数量
  5896. type: number
  5897. remark:
  5898. description: 备注
  5899. type: string
  5900. selluserid:
  5901. description: 销售方ID
  5902. type: integer
  5903. sellusername:
  5904. description: 销售方名称
  5905. type: string
  5906. spotcontractid:
  5907. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5908. type: string
  5909. spotgoodsbrandid:
  5910. description: 现货品牌ID
  5911. type: integer
  5912. spotgoodsdesc:
  5913. description: 商品型号
  5914. type: string
  5915. spotgoodsmodelid:
  5916. description: 现货型号ID
  5917. type: integer
  5918. startdate:
  5919. description: 点价开始日期 [2:点价 3:暂定价]
  5920. type: string
  5921. updatetime:
  5922. description: 更新时间
  5923. type: string
  5924. userid:
  5925. description: 机构ID
  5926. type: integer
  5927. wrstandardcode:
  5928. description: 现货商品代码
  5929. type: string
  5930. wrstandardid:
  5931. description: 现货商品ID
  5932. type: integer
  5933. wrstandardname:
  5934. description: 现货商品名称
  5935. type: string
  5936. type: object
  5937. models.ErmcpSpotGoodsPrice:
  5938. properties:
  5939. areauserid:
  5940. description: 所属机构id
  5941. type: integer
  5942. brandname:
  5943. description: 品牌名称
  5944. type: string
  5945. currencyid:
  5946. description: 报价货币ID
  5947. type: integer
  5948. enumdicname:
  5949. description: 现货商品单位名称
  5950. type: string
  5951. gbenumdicname:
  5952. description: 品类单位名称
  5953. type: string
  5954. gmunitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. isvalid:
  5958. description: 是否有效 - 0:无效 1:有效
  5959. type: integer
  5960. modelname:
  5961. description: 品类名称
  5962. type: string
  5963. operateid:
  5964. description: 最后操作人
  5965. type: integer
  5966. operatesrc:
  5967. description: 最后操作来源 - 1:管理端 2:终端
  5968. type: integer
  5969. operatetime:
  5970. description: 最后操作时间
  5971. type: string
  5972. operatorname:
  5973. description: 操作人名称
  5974. type: string
  5975. spotgoodsbrandid:
  5976. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5977. type: integer
  5978. spotgoodsmodelid:
  5979. description: 现货品类ID(通用则为0)
  5980. type: integer
  5981. spotgoodsprice:
  5982. description: 现货价格
  5983. type: number
  5984. tradedate:
  5985. description: 交易日(yyyyMMdd)
  5986. type: string
  5987. unitid:
  5988. description: 现货商品单位id
  5989. type: integer
  5990. wrstandardcode:
  5991. description: 现货商品代码
  5992. type: string
  5993. wrstandardid:
  5994. description: 现货商品ID
  5995. type: integer
  5996. wrstandardname:
  5997. description: 现货商品名称
  5998. type: string
  5999. type: object
  6000. models.ErmcpSpotGoodsPriceLog:
  6001. properties:
  6002. areauserid:
  6003. description: 所属机构id
  6004. type: integer
  6005. brandname:
  6006. description: 品牌名称
  6007. type: string
  6008. currencyid:
  6009. description: 报价货币ID
  6010. type: integer
  6011. enumdicname:
  6012. description: 现货商品单位名称
  6013. type: string
  6014. gbenumdicname:
  6015. description: 品类单位名称
  6016. type: string
  6017. gmunitid:
  6018. description: 品类单位id
  6019. type: integer
  6020. logid:
  6021. description: 日志id
  6022. type: integer
  6023. modelname:
  6024. description: 品类名称
  6025. type: string
  6026. operateid:
  6027. description: 最后操作人
  6028. type: integer
  6029. operatesrc:
  6030. description: 最后操作来源 - 1:管理端 2:终端
  6031. type: integer
  6032. operatetime:
  6033. description: 最后操作时间
  6034. type: string
  6035. operatorname:
  6036. description: 操作人名称
  6037. type: string
  6038. spotgoodsbrandid:
  6039. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6040. type: integer
  6041. spotgoodsmodelid:
  6042. description: 现货品类ID(通用则为0)
  6043. type: integer
  6044. spotgoodsprice:
  6045. description: 现货价格
  6046. type: number
  6047. tradedate:
  6048. description: 交易日(yyyyMMdd)
  6049. type: string
  6050. unitid:
  6051. description: 现货商品单位id
  6052. type: integer
  6053. wrstandardcode:
  6054. description: 现货商品代码
  6055. type: string
  6056. wrstandardid:
  6057. description: 现货商品ID
  6058. type: integer
  6059. wrstandardname:
  6060. description: 现货商品名称
  6061. type: string
  6062. type: object
  6063. models.ErmcpTaAccount:
  6064. properties:
  6065. accountid:
  6066. description: 账户id
  6067. type: integer
  6068. accountname:
  6069. description: 账户名称
  6070. type: string
  6071. currencyid:
  6072. description: 币种id
  6073. type: integer
  6074. ismain:
  6075. description: 是否主账户 0-否 1-是
  6076. type: integer
  6077. parentaccountid:
  6078. description: 父账户id
  6079. type: integer
  6080. relateduserid:
  6081. description: 关联userid
  6082. type: integer
  6083. tradestatus:
  6084. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6085. type: integer
  6086. type: object
  6087. models.ErmcpTaAccountEx:
  6088. properties:
  6089. mainAcc:
  6090. $ref: '#/definitions/models.ErmcpTaAccount'
  6091. description: 主账号
  6092. type: object
  6093. subacclist:
  6094. description: 子账号列表
  6095. items:
  6096. $ref: '#/definitions/models.ErmcpTaAccount'
  6097. type: array
  6098. type: object
  6099. models.ErmcpTaAccountInfo:
  6100. properties:
  6101. accountid:
  6102. description: 资金账户ID
  6103. type: integer
  6104. accountname:
  6105. description: 账户名称
  6106. type: string
  6107. balance:
  6108. description: 期初余额
  6109. type: number
  6110. capitalbalance:
  6111. description: 本金余额[外部子账户实际出入金余额]
  6112. type: number
  6113. closepl:
  6114. description: 今日平仓盈亏
  6115. type: number
  6116. creditdecrease:
  6117. description: 今日授信减少
  6118. type: number
  6119. creditincrease:
  6120. description: 今日授信增加
  6121. type: number
  6122. curdebt:
  6123. description: 期末欠款
  6124. type: number
  6125. currencyid:
  6126. description: 货币ID
  6127. type: integer
  6128. currentbalance:
  6129. description: 期末余额
  6130. type: number
  6131. freezecharge:
  6132. description: 手续费冻结
  6133. type: number
  6134. freezemargin:
  6135. description: 冻结保证金
  6136. type: number
  6137. fromaccountid:
  6138. description: 所属上级账户
  6139. type: integer
  6140. inamount:
  6141. description: 今日入金金额(包括三方入金)
  6142. type: number
  6143. ismain:
  6144. description: 是否母账号 0:不是母账户 1:是母账户
  6145. type: integer
  6146. mortgagecredit:
  6147. description: 授信金额
  6148. type: number
  6149. oridebt:
  6150. description: 期初欠款
  6151. type: number
  6152. orifreezecharge:
  6153. description: 期初手续费冻结
  6154. type: number
  6155. orifreezemargin:
  6156. description: 期初冻结保证金
  6157. type: number
  6158. orimortgagecredit:
  6159. description: 期初授信金额
  6160. type: number
  6161. oriothercredit:
  6162. description: 期初其它授信金额
  6163. type: number
  6164. oriotherfreezemargin:
  6165. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6166. type: number
  6167. orioutamountfreeze:
  6168. description: 期初出金冻结
  6169. type: number
  6170. oriusedmargin:
  6171. description: 期初占用保证金
  6172. type: number
  6173. othercredit:
  6174. description: 其它授信金额
  6175. type: number
  6176. othercreditdecrease:
  6177. description: 今日其它授信减少
  6178. type: number
  6179. othercreditincrease:
  6180. description: 今日其它授信增加
  6181. type: number
  6182. otherfreezemargin:
  6183. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6184. type: number
  6185. outamount:
  6186. description: 今日出金金额(包括三方出金)
  6187. type: number
  6188. outamountfreeze:
  6189. description: 出金冻结
  6190. type: number
  6191. outthreshold:
  6192. description: 出金阈值
  6193. type: number
  6194. parentaccountid:
  6195. description: 所属根账号
  6196. type: integer
  6197. paycharge:
  6198. description: 今日手续费支出
  6199. type: number
  6200. relateduserid:
  6201. description: 关联用户
  6202. type: integer
  6203. signstatus:
  6204. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6205. type: integer
  6206. sublevelpath:
  6207. description: 账号层级路径(逗号分隔,首尾加逗号)
  6208. type: string
  6209. taaccounttype:
  6210. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6211. type: integer
  6212. thirdinamount:
  6213. description: 今日三方入金
  6214. type: number
  6215. thirdoutamount:
  6216. description: 今日三方出金
  6217. type: number
  6218. tradestatus:
  6219. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6220. type: integer
  6221. transferamount:
  6222. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6223. type: number
  6224. usedmargin:
  6225. description: 占用保证金
  6226. type: number
  6227. userid:
  6228. description: 用户ID
  6229. type: integer
  6230. type: object
  6231. models.ErmcpTradeConfigTMP:
  6232. properties:
  6233. areauserid:
  6234. description: 所属机构
  6235. type: integer
  6236. basiccurrencyid:
  6237. description: 基本币种ID[汇率] - 目标币种
  6238. type: integer
  6239. mainaccountid:
  6240. description: 主账户ID
  6241. type: integer
  6242. modifierid:
  6243. description: 修改人
  6244. type: integer
  6245. remark:
  6246. description: 备注
  6247. type: string
  6248. tradeconfigtmpid:
  6249. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6250. type: integer
  6251. tradeconfigtmpname:
  6252. description: 交易配置模板名称
  6253. type: string
  6254. tradeconfigtmptype:
  6255. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6256. type: integer
  6257. updatetime:
  6258. description: 更新时间
  6259. type: string
  6260. type: object
  6261. models.ErmcpUserModel:
  6262. properties:
  6263. address:
  6264. description: 通讯地址
  6265. type: string
  6266. attachment1:
  6267. description: 附件1
  6268. type: string
  6269. audittime:
  6270. description: 审核时间
  6271. type: string
  6272. cardfrontphotourl:
  6273. description: 证件正面图片地址
  6274. type: string
  6275. cardnum:
  6276. description: 证件号码
  6277. type: string
  6278. cardtype:
  6279. description: 证件类型
  6280. type: integer
  6281. cardtypename:
  6282. description: 证件类型名称
  6283. type: string
  6284. cityid:
  6285. description: 市
  6286. type: integer
  6287. countryid:
  6288. description: 国家
  6289. type: integer
  6290. createtime:
  6291. description: 创建时间
  6292. type: string
  6293. customername:
  6294. description: 企业名称
  6295. type: string
  6296. districtid:
  6297. description: 区域
  6298. type: integer
  6299. memberuserid:
  6300. description: 所属机构ID
  6301. type: integer
  6302. mobile:
  6303. description: 手机号码
  6304. type: string
  6305. modifytime:
  6306. description: 修改时间
  6307. type: string
  6308. nickname:
  6309. description: 昵称
  6310. type: string
  6311. provinceid:
  6312. description: 省
  6313. type: integer
  6314. remark:
  6315. description: 备注
  6316. type: string
  6317. status:
  6318. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6319. type: integer
  6320. statusdesc:
  6321. description: 账户状态中文描述
  6322. type: string
  6323. telphone:
  6324. description: 联系电话
  6325. type: string
  6326. userid:
  6327. description: 用户ID
  6328. type: integer
  6329. userinfotype:
  6330. description: 客户类型
  6331. type: string
  6332. type: object
  6333. models.ErmcpWareHouseInfo:
  6334. properties:
  6335. address:
  6336. description: 详细地址
  6337. type: string
  6338. areauserid:
  6339. description: 所属机构
  6340. type: integer
  6341. autoid:
  6342. description: 自增ID(仓库ID)
  6343. type: integer
  6344. cityid:
  6345. description: 市
  6346. type: integer
  6347. contactname:
  6348. description: 联系人
  6349. type: string
  6350. contactnum:
  6351. description: 联系电话
  6352. type: string
  6353. countryid:
  6354. description: 国家
  6355. type: integer
  6356. createtime:
  6357. description: 创建时间
  6358. type: string
  6359. districtid:
  6360. description: 区
  6361. type: integer
  6362. hasvideo:
  6363. description: 是否有视频 - 0:无 1:有
  6364. type: integer
  6365. provinceid:
  6366. description: 省
  6367. type: integer
  6368. remark:
  6369. description: 审核备注
  6370. type: string
  6371. videourl:
  6372. description: 视频地址
  6373. type: string
  6374. warehousecode:
  6375. description: 仓库代码
  6376. type: string
  6377. warehousename:
  6378. description: 仓库名称
  6379. type: string
  6380. warehousestatus:
  6381. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6382. type: integer
  6383. warehousetype:
  6384. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6385. type: integer
  6386. type: object
  6387. models.ErmcpWrstandDetail:
  6388. properties:
  6389. gbList:
  6390. description: 品牌列表
  6391. items:
  6392. $ref: '#/definitions/models.GoodsBrand'
  6393. type: array
  6394. goodsList:
  6395. description: 关联交易商品列表
  6396. items:
  6397. $ref: '#/definitions/models.RelatedGoodsEx'
  6398. type: array
  6399. gtList:
  6400. description: 型号列表
  6401. items:
  6402. $ref: '#/definitions/models.GoodsTypeModel'
  6403. type: array
  6404. wrd:
  6405. $ref: '#/definitions/models.ErmcpWrstandard'
  6406. description: 基本信息
  6407. type: object
  6408. wrsList:
  6409. description: 套保信息列表
  6410. items:
  6411. $ref: '#/definitions/models.WRSConverTDetail'
  6412. type: array
  6413. type: object
  6414. models.ErmcpWrstandard:
  6415. properties:
  6416. areauserid:
  6417. description: 所属机构
  6418. type: integer
  6419. createtime:
  6420. description: 创建时间
  6421. type: string
  6422. creatorid:
  6423. description: 创建人
  6424. type: integer
  6425. deliverygoodsid:
  6426. description: 品种ID
  6427. type: integer
  6428. enumdicname:
  6429. description: 单位名称
  6430. type: string
  6431. isvalid:
  6432. description: 是否有效 0-无效(停用) 1-有效(正常)
  6433. type: integer
  6434. minivalue:
  6435. description: 最小变动值
  6436. type: integer
  6437. minivaluedp:
  6438. description: 最小变动值小数位
  6439. type: integer
  6440. realminivalue:
  6441. description: 实际最小变动值
  6442. type: integer
  6443. realminivaluedp:
  6444. description: 实际最小变动值小数位
  6445. type: integer
  6446. remark:
  6447. description: 备注
  6448. type: string
  6449. unitid:
  6450. description: 单位ID
  6451. type: integer
  6452. updatetime:
  6453. description: 更新时间
  6454. type: string
  6455. wrstandardcode:
  6456. description: 现货商品代码
  6457. type: string
  6458. wrstandardid:
  6459. description: 现货商品ID(SEQ_WRSTANDARD)
  6460. type: integer
  6461. wrstandardname:
  6462. description: 现货商品名称
  6463. type: string
  6464. type: object
  6465. models.Externalexchange:
  6466. properties:
  6467. autoid:
  6468. description: AutoID - SEQ_EXTERNALEXCHANGE
  6469. type: integer
  6470. exchangefullname:
  6471. description: 外部交易所全称
  6472. type: string
  6473. exexchangecode:
  6474. description: 外部交易所代码
  6475. type: string
  6476. exexchangename:
  6477. description: 外部交易所名称(简称)
  6478. type: string
  6479. ismarketprice:
  6480. description: 是否支持市价 - 0:不支持 1:支持
  6481. type: integer
  6482. quotegear:
  6483. description: 行情档位(1-10)
  6484. type: integer
  6485. showbrokerflag:
  6486. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6487. type: integer
  6488. updatetime:
  6489. description: 更新时间
  6490. type: string
  6491. required:
  6492. - autoid
  6493. type: object
  6494. models.Funcmenulist:
  6495. properties:
  6496. iconame:
  6497. description: 菜单图标
  6498. type: string
  6499. menutype:
  6500. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6501. type: integer
  6502. parentcode:
  6503. description: 上级资源代码
  6504. type: string
  6505. remark:
  6506. description: 备注
  6507. type: string
  6508. resourcecode:
  6509. description: 资源代码
  6510. type: string
  6511. resourcelevel:
  6512. description: 级别 1-一级 2-二级 3-三级 4-四级
  6513. type: integer
  6514. resourcename:
  6515. description: 资源名
  6516. type: string
  6517. sort:
  6518. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6519. type: integer
  6520. url:
  6521. description: URL
  6522. type: string
  6523. required:
  6524. - resourcecode
  6525. type: object
  6526. models.Goods:
  6527. properties:
  6528. agreeunit:
  6529. description: 合约单位
  6530. type: number
  6531. auditaccountid:
  6532. description: 审核操作员账号
  6533. type: integer
  6534. audittime:
  6535. description: 审核时间
  6536. type: string
  6537. cancelaccountid:
  6538. description: 注销操作员账号
  6539. type: integer
  6540. canceltime:
  6541. description: 注销时间
  6542. type: string
  6543. closepricemode:
  6544. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6545. type: integer
  6546. closepriceparam:
  6547. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6548. type: number
  6549. createtime:
  6550. description: 创建时间
  6551. type: string
  6552. creatorid:
  6553. description: 创建人
  6554. type: integer
  6555. currencyid:
  6556. description: 报价货币ID
  6557. type: integer
  6558. cutmode:
  6559. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6560. type: integer
  6561. decimalplace:
  6562. description: 报价小数位
  6563. type: integer
  6564. delistingdate:
  6565. description: 商品退市时间(状态:退市) -- 已作废
  6566. type: string
  6567. delistingmode:
  6568. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6569. type: integer
  6570. deliveryflag:
  6571. description: 交割标志 - 0:不可交割 1:可交割
  6572. type: integer
  6573. forceclosemode:
  6574. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6575. type: integer
  6576. forceclosevalue:
  6577. description: 定期强平参数 [收益权]
  6578. type: integer
  6579. goodscode:
  6580. description: 商品代码(内部)
  6581. type: string
  6582. goodscurrencyid:
  6583. description: 合约货币ID
  6584. type: integer
  6585. goodsgroupid:
  6586. description: 所属商品组ID
  6587. type: integer
  6588. goodsid:
  6589. description: 商品ID(自增ID SEQ_GOODS)
  6590. type: integer
  6591. goodsname:
  6592. description: 商品名称
  6593. type: string
  6594. goodsquotetype:
  6595. description: '合约报价类型: 1-直接报价 2-间接报价'
  6596. type: integer
  6597. goodsstatus:
  6598. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6599. type: integer
  6600. goodstradetype:
  6601. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6602. type: integer
  6603. goodunitid:
  6604. description: 报价单位ID
  6605. type: integer
  6606. hasquoter:
  6607. description: 是否有报价商 - 0:无报价商 1:有报价商
  6608. type: integer
  6609. hqprotecttime:
  6610. description: 行情保护时间(秒)
  6611. type: integer
  6612. innerdealmode:
  6613. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6614. type: integer
  6615. isbuylimited:
  6616. description: 是否限制建仓量 - 0:不限制 1:限制
  6617. type: integer
  6618. lasttradedate:
  6619. description: 最后交易日期(状态:待退市)
  6620. type: string
  6621. listingdate:
  6622. description: 交易开始日期
  6623. type: string
  6624. marketid:
  6625. description: 所属市场ID
  6626. type: integer
  6627. modifierid:
  6628. description: 修改人
  6629. type: integer
  6630. modifystatus:
  6631. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6632. type: integer
  6633. modifytime:
  6634. description: 修改时间
  6635. type: string
  6636. outerdealmode:
  6637. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6638. type: integer
  6639. outgoodscode:
  6640. description: 商品代码(外部)
  6641. type: string
  6642. qtydecimalplace:
  6643. description: 成交量小数位
  6644. type: integer
  6645. quotegear:
  6646. description: 行情档位(1-10)
  6647. type: integer
  6648. quoteminunit:
  6649. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6650. type: integer
  6651. quoteshowtype:
  6652. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6653. type: integer
  6654. quoteshowtypeinterval:
  6655. description: 行情报价间隔时间(秒)(成交价时为0)
  6656. type: integer
  6657. remark:
  6658. description: 备注
  6659. type: string
  6660. required:
  6661. - goodscode
  6662. - goodsid
  6663. - goodsname
  6664. - marketid
  6665. type: object
  6666. models.GoodsBrand:
  6667. properties:
  6668. brandid:
  6669. description: 品牌ID
  6670. type: integer
  6671. brandname:
  6672. description: 品牌名称
  6673. type: string
  6674. isvalid:
  6675. description: 是否有效 - 0:无效 1:有效
  6676. type: integer
  6677. type: object
  6678. models.GoodsIDAndName:
  6679. properties:
  6680. goodscode:
  6681. description: 商品代码(内部)
  6682. type: string
  6683. goodsid:
  6684. description: 商品ID(自增ID SEQ_GOODS)
  6685. type: integer
  6686. goodsname:
  6687. description: 商品名称
  6688. type: string
  6689. marketid:
  6690. description: 所属市场ID
  6691. type: integer
  6692. required:
  6693. - goodscode
  6694. - goodsid
  6695. - goodsname
  6696. - marketid
  6697. type: object
  6698. models.GoodsTypeModel:
  6699. properties:
  6700. convertfactor:
  6701. description: 标仓系数
  6702. type: number
  6703. modelid:
  6704. description: 型号ID
  6705. type: integer
  6706. modelname:
  6707. description: 型号名称
  6708. type: string
  6709. updatetime:
  6710. description: 更新时间
  6711. type: string
  6712. type: object
  6713. models.Goodsgroup:
  6714. properties:
  6715. agreeunit:
  6716. description: 合约单位
  6717. type: number
  6718. canshort:
  6719. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6720. type: integer
  6721. closepricemode:
  6722. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6723. type: integer
  6724. closepriceparam:
  6725. description: 强平最新价浮动比例 - 方式为2时使用
  6726. type: number
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人
  6732. type: integer
  6733. currencyid:
  6734. description: 报价货币ID
  6735. type: integer
  6736. decimalplace:
  6737. description: 报价小数位
  6738. type: integer
  6739. exercisetype:
  6740. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6741. type: integer
  6742. exexchangeid:
  6743. description: 外部交易所ID[通道交易]
  6744. type: integer
  6745. goodsgroupid:
  6746. description: 商品组ID(自增ID)
  6747. type: integer
  6748. goodsgroupname:
  6749. description: 商品组名称
  6750. type: string
  6751. goodsgroupstatus:
  6752. description: 商品组状态 - 1:正常 2:注销
  6753. type: integer
  6754. goodunitid:
  6755. description: 报价单位ID
  6756. type: integer
  6757. innerdealmode:
  6758. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6759. type: integer
  6760. isbuylimited:
  6761. description: 是否限制建仓量 - 0:不限制 1:限制
  6762. type: integer
  6763. marketid:
  6764. description: 所属市场ID
  6765. type: integer
  6766. modifierid:
  6767. description: 修改人
  6768. type: integer
  6769. modifytime:
  6770. description: 修改时间
  6771. type: string
  6772. outerdealmode:
  6773. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6774. type: integer
  6775. outergroupcode:
  6776. description: 外部商品组代码[通道交易]
  6777. type: string
  6778. premiumdecimalplace:
  6779. description: 权利金小数位[场外期权]
  6780. type: integer
  6781. premiumspreadalgorithm:
  6782. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6783. type: integer
  6784. premiumspreadvalue:
  6785. description: 权利金点差值[场外期权]
  6786. type: number
  6787. qtydecimalplace:
  6788. description: 成交量小数位
  6789. type: integer
  6790. quotegear:
  6791. description: 行情档位(1-10)
  6792. type: integer
  6793. quoteminunit:
  6794. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6795. type: integer
  6796. quoterid:
  6797. description: 报价商ID[场外期权]
  6798. type: integer
  6799. quotesourcegroupid:
  6800. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6801. type: integer
  6802. syncgoodsqty:
  6803. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6804. type: integer
  6805. required:
  6806. - goodsgroupid
  6807. - goodsgroupname
  6808. - goodsgroupstatus
  6809. - marketid
  6810. type: object
  6811. models.Goodssortbypreposition:
  6812. properties:
  6813. goodscode:
  6814. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6815. type: string
  6816. goodsgroupcode:
  6817. description: 品种代码
  6818. type: string
  6819. prepositionqty:
  6820. description: 昨持仓量
  6821. type: integer
  6822. sortindex:
  6823. description: 排序
  6824. type: integer
  6825. tradedate:
  6826. description: 交易日
  6827. type: string
  6828. updatetime:
  6829. description: 更新时间
  6830. type: string
  6831. required:
  6832. - goodscode
  6833. - tradedate
  6834. type: object
  6835. models.Hedgeinnerholderdetail:
  6836. properties:
  6837. accountid:
  6838. description: 账号ID
  6839. type: integer
  6840. buyorsell:
  6841. description: 方向 - 0:买 1:卖
  6842. type: integer
  6843. freezeqty:
  6844. description: 冻结数量 - 按单平使用
  6845. type: integer
  6846. goodsid:
  6847. description: 商品ID
  6848. type: integer
  6849. holderamount:
  6850. description: 持仓金额 [商品币种]
  6851. type: number
  6852. holderdays:
  6853. description: 剩余冻结天数
  6854. type: integer
  6855. holderprice:
  6856. description: 持仓价格
  6857. type: number
  6858. holderqty:
  6859. description: 持仓数量
  6860. type: integer
  6861. marketid:
  6862. description: 市场ID
  6863. type: integer
  6864. openprice:
  6865. description: 建仓价格
  6866. type: number
  6867. openqty:
  6868. description: 建仓数量
  6869. type: integer
  6870. parentaccountid:
  6871. description: 所属母账户
  6872. type: integer
  6873. releaseamount:
  6874. description: 释放持仓金额[商品币种]
  6875. type: number
  6876. tradeamount:
  6877. description: 成交金额[账户]
  6878. type: number
  6879. tradedate:
  6880. description: 交易日(yyyyMMdd)
  6881. type: string
  6882. tradeid:
  6883. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6884. type: string
  6885. tradetime:
  6886. description: 交易时间
  6887. type: string
  6888. required:
  6889. - buyorsell
  6890. - tradeid
  6891. type: object
  6892. models.HsbyBuyMyPayOrder:
  6893. properties:
  6894. agreeunit:
  6895. description: 合约单位
  6896. type: number
  6897. buyaccountid:
  6898. description: 买方账号ID[报价币种]
  6899. type: integer
  6900. buyorderid:
  6901. description: 买方委托单号
  6902. type: string
  6903. createtime:
  6904. description: 创建时间
  6905. type: string
  6906. currencysign:
  6907. description: 货币符号
  6908. type: string
  6909. decimalplace:
  6910. description: 报价小数位
  6911. type: integer
  6912. goodscode:
  6913. description: 商品代码(内部)
  6914. type: string
  6915. goodsid:
  6916. description: 商品ID
  6917. type: integer
  6918. goodsname:
  6919. description: 商品名称
  6920. type: string
  6921. marketid:
  6922. description: 市场ID
  6923. type: integer
  6924. offamount:
  6925. description: 优惠金额
  6926. type: number
  6927. originalamount:
  6928. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6929. type: number
  6930. payamount:
  6931. description: 支付金额 = TradeAmount + TradeCharge
  6932. type: number
  6933. payflag:
  6934. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6935. type: integer
  6936. paylimitedtime:
  6937. description: 支付期限
  6938. type: string
  6939. paytime:
  6940. description: 付款时间
  6941. type: string
  6942. picurls1:
  6943. description: 预售商品介绍图片[多张用逗号分隔]
  6944. type: string
  6945. picurls2:
  6946. description: 挂牌商品介绍图片[多张用逗号分隔]
  6947. type: string
  6948. sellaccountid:
  6949. description: 卖方账号ID[报价币种]
  6950. type: integer
  6951. sellorderid:
  6952. description: 卖方委托单号
  6953. type: string
  6954. tradeamount:
  6955. description: 成交金额
  6956. type: number
  6957. tradecharge:
  6958. description: 成交手续费(买方)
  6959. type: number
  6960. tradedate:
  6961. description: 交易日(yyyyMMdd)
  6962. type: string
  6963. tradeid:
  6964. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6965. type: string
  6966. trademode:
  6967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6968. 21:竞拍-大宗式 22:受托竞价
  6969. type: integer
  6970. tradeprice:
  6971. description: 成交价格
  6972. type: number
  6973. tradeqty:
  6974. description: 成交数量
  6975. type: integer
  6976. vendorname1:
  6977. description: 预售商品供应商名称
  6978. type: string
  6979. vendorname2:
  6980. description: 挂牌商品供应商名称
  6981. type: string
  6982. required:
  6983. - goodscode
  6984. - goodsname
  6985. - tradeid
  6986. - trademode
  6987. type: object
  6988. models.HsbyBuyMyTradeDetail:
  6989. properties:
  6990. accountid:
  6991. description: 账户ID[报价币种]
  6992. type: integer
  6993. agreeunit:
  6994. description: 合约单位
  6995. type: number
  6996. amount:
  6997. description: 金额 = 价格 * 数量 * 合约单位
  6998. type: number
  6999. buyorsell:
  7000. description: 买卖 - 0:买 1:卖
  7001. type: integer
  7002. currencysign:
  7003. description: 货币符号
  7004. type: string
  7005. decimalplace:
  7006. description: 报价小数位
  7007. type: integer
  7008. goodscode:
  7009. description: 商品代码(内部)
  7010. type: string
  7011. goodsid:
  7012. description: 商品ID
  7013. type: integer
  7014. goodsname:
  7015. description: 商品名称
  7016. type: string
  7017. marketid:
  7018. description: 市场ID
  7019. type: integer
  7020. orderamount:
  7021. description: 委托金额
  7022. type: number
  7023. orderid:
  7024. description: 单号(成交单号)
  7025. type: string
  7026. picurls1:
  7027. description: 预售商品介绍图片[多张用逗号分隔]
  7028. type: string
  7029. picurls2:
  7030. description: 挂牌商品介绍图片[多张用逗号分隔]
  7031. type: string
  7032. price:
  7033. description: 价格
  7034. type: number
  7035. qty:
  7036. description: 数量
  7037. type: integer
  7038. time:
  7039. description: 时间
  7040. type: string
  7041. trademode:
  7042. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7043. 21:竞拍-大宗式 22:受托竞价
  7044. type: integer
  7045. vendorname1:
  7046. description: 预售商品供应商名称
  7047. type: string
  7048. vendorname2:
  7049. description: 挂牌商品供应商名称
  7050. type: string
  7051. required:
  7052. - accountid
  7053. - buyorsell
  7054. - goodscode
  7055. - goodsid
  7056. - goodsname
  7057. - marketid
  7058. - orderid
  7059. - qty
  7060. - time
  7061. - trademode
  7062. type: object
  7063. models.HsbyGoodsOrderDetail:
  7064. properties:
  7065. buyorsell:
  7066. description: 买卖 - 0:买 1:卖
  7067. type: integer
  7068. currencysign:
  7069. description: 货币符号
  7070. type: string
  7071. customername:
  7072. description: 客户名称(企业名称),已脱敏
  7073. type: string
  7074. enableqty:
  7075. description: 可用数量
  7076. type: integer
  7077. goodunit:
  7078. description: 报价单位
  7079. type: string
  7080. orderid:
  7081. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7082. type: string
  7083. orderprice:
  7084. description: 委托价格
  7085. type: number
  7086. ordertime:
  7087. description: 委托时间
  7088. type: string
  7089. required:
  7090. - buyorsell
  7091. - orderid
  7092. - ordertime
  7093. type: object
  7094. models.HsbyListingGoodsDetail:
  7095. properties:
  7096. agreeunit:
  7097. description: 合约单位
  7098. type: number
  7099. buymaxqty:
  7100. description: 购买上限 [71] - 0为不限
  7101. type: integer
  7102. currency:
  7103. description: 货币
  7104. type: string
  7105. currencysign:
  7106. description: 货币符号
  7107. type: string
  7108. decimalplace:
  7109. description: 报价小数位
  7110. type: integer
  7111. desccityid:
  7112. description: 目的地(市)ID
  7113. type: integer
  7114. descprovinceid:
  7115. description: 目的地(省)ID
  7116. type: integer
  7117. goodscode:
  7118. description: 商品代码(内部)
  7119. type: string
  7120. goodsdesc:
  7121. description: 商品详情
  7122. type: string
  7123. goodsid:
  7124. description: 商品ID(自增ID SEQ_GOODS)
  7125. type: integer
  7126. goodsname:
  7127. description: 商品名称
  7128. type: string
  7129. goodsprice:
  7130. description: 商品价格
  7131. type: number
  7132. hotindex:
  7133. description: 景点热度
  7134. type: integer
  7135. last:
  7136. description: 现价
  7137. type: number
  7138. limitdown:
  7139. description: 跌停价
  7140. type: number
  7141. limitup:
  7142. description: 涨停价
  7143. type: number
  7144. lotsize:
  7145. description: 手数最小变动单位
  7146. type: integer
  7147. marketid:
  7148. description: 所属市场ID
  7149. type: integer
  7150. picurls:
  7151. description: 介绍图片[多张用逗号分隔]
  7152. type: string
  7153. quoteminunit:
  7154. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7155. type: integer
  7156. stepvalue:
  7157. description: 价格最小变动单位
  7158. type: number
  7159. trademode:
  7160. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7161. 21:竞拍-大宗式 22:受托竞价
  7162. type: integer
  7163. vendorattr:
  7164. description: 供应商附件(多张,逗号分隔)
  7165. type: string
  7166. vendorname:
  7167. description: 供应商名称
  7168. type: string
  7169. vendorphone:
  7170. description: 供应商客服电话
  7171. type: string
  7172. videourls:
  7173. description: 介绍视频[多张用逗号分隔]
  7174. type: string
  7175. required:
  7176. - goodscode
  7177. - goodsid
  7178. - goodsname
  7179. - marketid
  7180. - trademode
  7181. type: object
  7182. models.HsbyMarketGoods:
  7183. properties:
  7184. accountid:
  7185. description: 账户ID[报价币种]
  7186. type: integer
  7187. agreeunit:
  7188. description: 合约单位
  7189. type: number
  7190. buyorsell:
  7191. description: 买卖 - 0:买 1:卖
  7192. type: integer
  7193. categoryid:
  7194. description: 类别ID(WRCATEGORY)
  7195. type: integer
  7196. currency:
  7197. description: 货币
  7198. type: string
  7199. currencysign:
  7200. description: 货币符号
  7201. type: string
  7202. customername:
  7203. description: 卖家名称
  7204. type: string
  7205. decimalplace:
  7206. description: 报价小数位
  7207. type: integer
  7208. goodscode:
  7209. description: 商品代码(内部)
  7210. type: string
  7211. goodsid:
  7212. description: 商品ID
  7213. type: integer
  7214. goodsname:
  7215. description: 商品名称
  7216. type: string
  7217. goodsprice:
  7218. description: 商品价格
  7219. type: number
  7220. hascoupon:
  7221. description: 是否可用优惠卷
  7222. type: boolean
  7223. hotindex:
  7224. description: 景点热度
  7225. type: integer
  7226. marketid:
  7227. description: 市场ID
  7228. type: integer
  7229. orderid:
  7230. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7231. type: string
  7232. orderprice:
  7233. description: 委托价格
  7234. type: number
  7235. orderstatus:
  7236. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7237. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7238. 16:成交失败违约(荷兰式竞拍专用)
  7239. type: integer
  7240. picurls:
  7241. description: 介绍图片[多张用逗号分隔]
  7242. type: string
  7243. quoteminunit:
  7244. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7245. type: integer
  7246. sellUserID:
  7247. description: 卖方UserID
  7248. type: integer
  7249. trademode:
  7250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7251. 21:竞拍-大宗式 22:受托竞价
  7252. type: integer
  7253. videourls:
  7254. description: 介绍视频[多张用逗号分隔]
  7255. type: string
  7256. required:
  7257. - accountid
  7258. - buyorsell
  7259. - goodscode
  7260. - goodsid
  7261. - goodsname
  7262. - marketid
  7263. - orderid
  7264. - trademode
  7265. type: object
  7266. models.HsbyMarketGoodsDetail:
  7267. properties:
  7268. accountid:
  7269. description: 账户ID[报价币种]
  7270. type: integer
  7271. agreeunit:
  7272. description: 合约单位
  7273. type: number
  7274. buymaxqty:
  7275. description: 购买上限 [71] - 0为不限
  7276. type: integer
  7277. buyorsell:
  7278. description: 买卖 - 0:买 1:卖
  7279. type: integer
  7280. cancelqty:
  7281. description: 撤单数量
  7282. type: integer
  7283. categoryid:
  7284. description: 类别ID(WRCATEGORY)
  7285. type: integer
  7286. currency:
  7287. description: 货币
  7288. type: string
  7289. currencysign:
  7290. description: 货币符号
  7291. type: string
  7292. customername:
  7293. description: 卖家名称
  7294. type: string
  7295. decimalplace:
  7296. description: 报价小数位
  7297. type: integer
  7298. goodscode:
  7299. description: 商品代码(内部)
  7300. type: string
  7301. goodsdesc:
  7302. description: 商品详情
  7303. type: string
  7304. goodsid:
  7305. description: 商品ID
  7306. type: integer
  7307. goodsname:
  7308. description: 商品名称
  7309. type: string
  7310. goodsprice:
  7311. description: 商品价格
  7312. type: number
  7313. hotindex:
  7314. description: 景点热度
  7315. type: integer
  7316. lotsize:
  7317. description: 手数最小变动单位
  7318. type: integer
  7319. marketid:
  7320. description: 市场ID
  7321. type: integer
  7322. orderid:
  7323. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7324. type: string
  7325. orderprice:
  7326. description: 委托价格
  7327. type: number
  7328. orderqty:
  7329. description: 委托数量
  7330. type: integer
  7331. orderstatus:
  7332. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7333. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7334. 16:成交失败违约(荷兰式竞拍专用)
  7335. type: integer
  7336. picurls:
  7337. description: 介绍图片[多张用逗号分隔]
  7338. type: string
  7339. quoteminunit:
  7340. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7341. type: integer
  7342. sellUserID:
  7343. description: 卖方UserID
  7344. type: integer
  7345. trademode:
  7346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7347. 21:竞拍-大宗式 22:受托竞价
  7348. type: integer
  7349. tradeqty:
  7350. description: 成交数量
  7351. type: integer
  7352. vendorattr:
  7353. description: 供应商附件(多张,逗号分隔)
  7354. type: string
  7355. vendorname:
  7356. description: 供应商名称
  7357. type: string
  7358. vendorphone:
  7359. description: 供应商客服电话
  7360. type: string
  7361. videourls:
  7362. description: 介绍视频[多张用逗号分隔]
  7363. type: string
  7364. required:
  7365. - accountid
  7366. - buyorsell
  7367. - goodscode
  7368. - goodsid
  7369. - goodsname
  7370. - marketid
  7371. - orderid
  7372. - orderqty
  7373. - trademode
  7374. type: object
  7375. models.HsbyMarketInfo:
  7376. properties:
  7377. marketid:
  7378. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7379. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7380. type: integer
  7381. marketname:
  7382. description: 市场名称
  7383. type: string
  7384. marketstatus:
  7385. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7386. type: integer
  7387. trademode:
  7388. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7389. 21:竞拍-大宗式 22:受托竞价
  7390. type: integer
  7391. required:
  7392. - marketid
  7393. - marketstatus
  7394. - trademode
  7395. type: object
  7396. models.HsbyMyGoods:
  7397. properties:
  7398. accountid:
  7399. description: 账号Id
  7400. type: integer
  7401. agreeunit:
  7402. description: 合约单位
  7403. type: number
  7404. buyaverageprice:
  7405. description: 持仓均价
  7406. type: number
  7407. buycurholderamount:
  7408. description: 买当前持仓总金额[商品币种]
  7409. type: number
  7410. buycurpositionqty:
  7411. description: 买当前持仓总数量
  7412. type: integer
  7413. buymaxqty:
  7414. description: 购买上限 [71] - 0为不限
  7415. type: integer
  7416. currencysign:
  7417. description: 货币符号
  7418. type: string
  7419. decimalplace:
  7420. description: 报价小数位
  7421. type: integer
  7422. enableqty:
  7423. description: 可用数量
  7424. type: integer
  7425. goodscode:
  7426. description: 商品代码(内部)
  7427. type: string
  7428. goodsid:
  7429. description: 商品Id
  7430. type: integer
  7431. goodsname:
  7432. description: 商品名称
  7433. type: string
  7434. goodsprice:
  7435. description: 商品价格
  7436. type: number
  7437. goodsstatus:
  7438. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7439. type: integer
  7440. last:
  7441. description: 现价(仅使用于挂牌点选)
  7442. type: number
  7443. limitdown:
  7444. description: 跌停价(仅使用于挂牌点选)
  7445. type: number
  7446. limitup:
  7447. description: 涨停价(仅使用于挂牌点选)
  7448. type: number
  7449. lotsize:
  7450. description: 手数最小变动单位
  7451. type: integer
  7452. marketid:
  7453. description: 所属市场ID
  7454. type: integer
  7455. picurls:
  7456. description: 介绍图片[多张用逗号分隔]
  7457. type: string
  7458. quoteminunit:
  7459. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7460. type: integer
  7461. stepvalue:
  7462. description: 价格最小变动单位
  7463. type: number
  7464. trademode:
  7465. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7466. 21:竞拍-大宗式 22:受托竞价
  7467. type: integer
  7468. required:
  7469. - accountid
  7470. - goodscode
  7471. - goodsid
  7472. - goodsname
  7473. - marketid
  7474. - trademode
  7475. type: object
  7476. models.HsbyMyPackage:
  7477. properties:
  7478. accountid:
  7479. description: 账户ID
  7480. type: integer
  7481. address:
  7482. description: 提货人详细地址
  7483. type: string
  7484. agreeunit:
  7485. description: 合约单位
  7486. type: number
  7487. amount:
  7488. description: 提货金额
  7489. type: number
  7490. auditer:
  7491. description: 审核人
  7492. type: integer
  7493. audittime:
  7494. description: 审核时间
  7495. type: string
  7496. averageprice:
  7497. description: 均价
  7498. type: number
  7499. cardnum:
  7500. description: 提货人证件号码
  7501. type: string
  7502. cardtypeid:
  7503. description: 提货人证件类型
  7504. type: integer
  7505. checkremark:
  7506. description: 审核备注
  7507. type: string
  7508. currencysign:
  7509. description: 货币符号
  7510. type: string
  7511. decimalplace:
  7512. description: 报价小数位
  7513. type: integer
  7514. goodscode:
  7515. description: 商品代码(内部)
  7516. type: string
  7517. goodsid:
  7518. description: 商品ID
  7519. type: integer
  7520. goodsname:
  7521. description: 商品名称
  7522. type: string
  7523. handlestatus:
  7524. description: 处理状态
  7525. type: integer
  7526. marketid:
  7527. description: 市场ID
  7528. type: integer
  7529. phonenum:
  7530. description: 提货人联系方式
  7531. type: string
  7532. picurls:
  7533. description: 介绍图片[多张用逗号分隔]
  7534. type: string
  7535. qty:
  7536. description: 提货数量
  7537. type: number
  7538. recivername:
  7539. description: 提货人姓名
  7540. type: string
  7541. reqtime:
  7542. description: 更新时间
  7543. type: string
  7544. takemode:
  7545. description: 提货方式 - 2:自提 3:配送
  7546. type: integer
  7547. takeorderid:
  7548. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7549. type: string
  7550. takeorderstatus:
  7551. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7552. type: integer
  7553. takeremark:
  7554. description: 提货备注
  7555. type: string
  7556. tradedate:
  7557. description: 交易日(yyyyMMdd)
  7558. type: string
  7559. trademode:
  7560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7561. 21:竞拍-大宗式 22:受托竞价
  7562. type: integer
  7563. userid:
  7564. description: 用户ID
  7565. type: integer
  7566. vendorname:
  7567. description: 供应商名称
  7568. type: string
  7569. required:
  7570. - goodscode
  7571. - goodsname
  7572. - takeorderid
  7573. - trademode
  7574. type: object
  7575. models.HsbyPreGoods:
  7576. properties:
  7577. agreeunit:
  7578. description: 合约单位
  7579. type: number
  7580. currency:
  7581. description: 货币
  7582. type: string
  7583. currencysign:
  7584. description: 货币符号
  7585. type: string
  7586. decimalplace:
  7587. description: 报价小数位
  7588. type: integer
  7589. desccityid:
  7590. description: 目的地(市)
  7591. type: integer
  7592. descprovinceid:
  7593. description: 目的地(省)
  7594. type: integer
  7595. enableqty:
  7596. description: 剩余数量
  7597. type: integer
  7598. goodscode:
  7599. description: 商品代码(内部)
  7600. type: string
  7601. goodsid:
  7602. description: 商品ID(自增ID SEQ_GOODS)
  7603. type: integer
  7604. goodsname:
  7605. description: 商品名称
  7606. type: string
  7607. goodsstatus:
  7608. description: 商品状态- 2:未上市 3:上市
  7609. type: integer
  7610. lasttradedate:
  7611. description: 最后交易日期(状态:待退市)
  7612. type: string
  7613. listingdate:
  7614. description: 交易开始日期
  7615. type: string
  7616. marketid:
  7617. description: 所属市场ID
  7618. type: integer
  7619. picurls:
  7620. description: 介绍图片[多张用逗号分隔]
  7621. type: string
  7622. presaledqty:
  7623. description: 已预售量(预售结束时更新)
  7624. type: integer
  7625. presaleqty:
  7626. description: 预售数量
  7627. type: integer
  7628. quoteminunit:
  7629. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7630. type: integer
  7631. refprice:
  7632. description: 参考价格[一口价]
  7633. type: number
  7634. relatedgoodsid:
  7635. description: 关联交易合约ID
  7636. type: integer
  7637. trademode:
  7638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7639. 21:竞拍-大宗式 22:受托竞价
  7640. type: integer
  7641. videourls:
  7642. description: 介绍视频[多张用逗号分隔]
  7643. type: string
  7644. required:
  7645. - goodscode
  7646. - goodsid
  7647. - goodsname
  7648. - marketid
  7649. - trademode
  7650. type: object
  7651. models.HsbyPreGoodsDetail:
  7652. properties:
  7653. agreeunit:
  7654. description: 合约单位
  7655. type: number
  7656. buymaxqty:
  7657. description: 购买上限 [71] - 0为不限
  7658. type: integer
  7659. currency:
  7660. description: 货币
  7661. type: string
  7662. currencysign:
  7663. description: 货币符号
  7664. type: string
  7665. customername:
  7666. description: 发行单位
  7667. type: string
  7668. decimalplace:
  7669. description: 报价小数位
  7670. type: integer
  7671. desccityid:
  7672. description: 目的地(市)ID
  7673. type: integer
  7674. descprovinceid:
  7675. description: 目的地(省)ID
  7676. type: integer
  7677. enableqty:
  7678. description: 剩余数量
  7679. type: integer
  7680. goodscode:
  7681. description: 商品代码(内部)
  7682. type: string
  7683. goodsdesc:
  7684. description: 商品详情
  7685. type: string
  7686. goodsid:
  7687. description: 商品ID(自增ID SEQ_GOODS)
  7688. type: integer
  7689. goodsname:
  7690. description: 商品名称
  7691. type: string
  7692. goodsstatus:
  7693. description: 商品状态- 2:未上市 3:上市
  7694. type: integer
  7695. goodunit:
  7696. description: 报价单位
  7697. type: string
  7698. lasttradedate:
  7699. description: 最后交易日期(状态:待退市)
  7700. type: string
  7701. listingdate:
  7702. description: 交易开始日期
  7703. type: string
  7704. lotsize:
  7705. description: 手数最小变动单位
  7706. type: integer
  7707. marketid:
  7708. description: 所属市场ID
  7709. type: integer
  7710. picurls:
  7711. description: 介绍图片[多张用逗号分隔]
  7712. type: string
  7713. presaledqty:
  7714. description: 已预售量(预售结束时更新)
  7715. type: integer
  7716. presaleqty:
  7717. description: 预售数量
  7718. type: integer
  7719. quoteminunit:
  7720. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7721. type: integer
  7722. refprice:
  7723. description: 参考价格[一口价]
  7724. type: number
  7725. relatedgoodsid:
  7726. description: 关联交易合约ID
  7727. type: integer
  7728. stepvalue:
  7729. description: 价格最小变动单位
  7730. type: number
  7731. trademode:
  7732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7733. 21:竞拍-大宗式 22:受托竞价
  7734. type: integer
  7735. vendorattr:
  7736. description: 供应商附件(多张,逗号分隔)
  7737. type: string
  7738. vendorname:
  7739. description: 供应商名称
  7740. type: string
  7741. vendorphone:
  7742. description: 供应商客服电话
  7743. type: string
  7744. videourls:
  7745. description: 介绍视频[多张用逗号分隔]
  7746. type: string
  7747. required:
  7748. - goodscode
  7749. - goodsid
  7750. - goodsname
  7751. - marketid
  7752. - trademode
  7753. type: object
  7754. models.HsbySellCollectionOrder:
  7755. properties:
  7756. agreeunit:
  7757. description: 合约单位
  7758. type: number
  7759. buyaccountid:
  7760. description: 买方账号ID[报价币种]
  7761. type: integer
  7762. buyorderid:
  7763. description: 买方委托单号
  7764. type: string
  7765. createtime:
  7766. description: 创建时间
  7767. type: string
  7768. currencysign:
  7769. description: 货币符号
  7770. type: string
  7771. decimalplace:
  7772. description: 报价小数位
  7773. type: integer
  7774. goodscode:
  7775. description: 商品代码(内部)
  7776. type: string
  7777. goodsid:
  7778. description: 商品ID
  7779. type: integer
  7780. goodsname:
  7781. description: 商品名称
  7782. type: string
  7783. marketid:
  7784. description: 市场ID
  7785. type: integer
  7786. offamount:
  7787. description: 优惠金额
  7788. type: number
  7789. payamount:
  7790. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7791. type: number
  7792. payflag:
  7793. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7794. type: integer
  7795. paylimitedtime:
  7796. description: 支付期限
  7797. type: string
  7798. paytime:
  7799. description: 付款时间
  7800. type: string
  7801. picurls:
  7802. description: 商品介绍图片[多张用逗号分隔]
  7803. type: string
  7804. sellaccountid:
  7805. description: 卖方账号ID[报价币种]
  7806. type: integer
  7807. sellorderid:
  7808. description: 卖方委托单号
  7809. type: string
  7810. tradeamount:
  7811. description: 成交金额
  7812. type: number
  7813. tradecharge:
  7814. description: 成交手续费(买方)
  7815. type: number
  7816. tradedate:
  7817. description: 交易日(yyyyMMdd)
  7818. type: string
  7819. tradeid:
  7820. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7821. type: string
  7822. trademode:
  7823. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7824. 21:竞拍-大宗式 22:受托竞价
  7825. type: integer
  7826. tradeprice:
  7827. description: 成交价格
  7828. type: number
  7829. tradeqty:
  7830. description: 成交数量
  7831. type: integer
  7832. required:
  7833. - goodscode
  7834. - goodsname
  7835. - tradeid
  7836. - trademode
  7837. type: object
  7838. models.HsbySellMyDetail:
  7839. properties:
  7840. accountid:
  7841. description: 账户ID[报价币种]
  7842. type: integer
  7843. agreeunit:
  7844. description: 合约单位
  7845. type: number
  7846. buyorsell:
  7847. description: 买卖 - 0:买 1:卖
  7848. type: integer
  7849. currencysign:
  7850. description: 货币符号
  7851. type: string
  7852. decimalplace:
  7853. description: 报价小数位
  7854. type: integer
  7855. goodscode:
  7856. description: 商品代码(内部)
  7857. type: string
  7858. goodsid:
  7859. description: 商品ID
  7860. type: integer
  7861. goodsname:
  7862. description: 商品名称
  7863. type: string
  7864. marketid:
  7865. description: 市场ID
  7866. type: integer
  7867. orderid:
  7868. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7869. type: string
  7870. ordertype:
  7871. description: 单据类型:0 - 发布中, 1 - 已完成
  7872. type: integer
  7873. picurls:
  7874. description: 介绍图片[多张用逗号分隔]
  7875. type: string
  7876. price:
  7877. description: 价格
  7878. type: number
  7879. qty:
  7880. description: 数量
  7881. type: integer
  7882. time:
  7883. description: 时间
  7884. type: string
  7885. trademode:
  7886. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7887. 21:竞拍-大宗式 22:受托竞价
  7888. type: integer
  7889. vendorname:
  7890. description: 供应商名称
  7891. type: string
  7892. required:
  7893. - accountid
  7894. - buyorsell
  7895. - goodscode
  7896. - goodsid
  7897. - goodsname
  7898. - marketid
  7899. - orderid
  7900. - time
  7901. - trademode
  7902. type: object
  7903. models.HsbyTopGoods:
  7904. properties:
  7905. agreeunit:
  7906. description: 合约单位
  7907. type: number
  7908. currency:
  7909. description: 货币
  7910. type: string
  7911. currencysign:
  7912. description: 货币符号
  7913. type: string
  7914. decimalplace:
  7915. description: 报价小数位
  7916. type: integer
  7917. desccityid:
  7918. description: 目的地(市)
  7919. type: integer
  7920. descprovinceid:
  7921. description: 目的地(省)
  7922. type: integer
  7923. goodscode:
  7924. description: 商品代码(内部)
  7925. type: string
  7926. goodsid:
  7927. description: 商品ID(自增ID SEQ_GOODS)
  7928. type: integer
  7929. goodsname:
  7930. description: 商品名称
  7931. type: string
  7932. hotindex:
  7933. description: 景点热度
  7934. type: integer
  7935. last:
  7936. description: 现价
  7937. type: number
  7938. marketid:
  7939. description: 所属市场ID
  7940. type: integer
  7941. picurls:
  7942. description: 介绍图片[多张用逗号分隔]
  7943. type: string
  7944. quoteminunit:
  7945. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7946. type: integer
  7947. trademode:
  7948. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7949. 21:竞拍-大宗式 22:受托竞价
  7950. type: integer
  7951. videourls:
  7952. description: 介绍视频[多张用逗号分隔]
  7953. type: string
  7954. required:
  7955. - goodscode
  7956. - goodsid
  7957. - goodsname
  7958. - marketid
  7959. - trademode
  7960. type: object
  7961. models.HybsMyBuyOrderDetail:
  7962. properties:
  7963. accountid:
  7964. description: 账户ID[报价币种]
  7965. type: integer
  7966. agreeunit:
  7967. description: 合约单位
  7968. type: number
  7969. buyorsell:
  7970. description: 买卖 - 0:买 1:卖
  7971. type: integer
  7972. cancelqty:
  7973. description: 撤单数量
  7974. type: integer
  7975. currencysign:
  7976. description: 货币符号
  7977. type: string
  7978. decimalplace:
  7979. description: 报价小数位
  7980. type: integer
  7981. goodscode:
  7982. description: 商品代码(内部)
  7983. type: string
  7984. goodsid:
  7985. description: 商品ID
  7986. type: integer
  7987. goodsname:
  7988. description: 商品名称
  7989. type: string
  7990. listingselecttype:
  7991. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7992. type: integer
  7993. marketid:
  7994. description: 市场ID
  7995. type: integer
  7996. mybuystatus:
  7997. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7998. type: integer
  7999. orderamount:
  8000. description: 委托金额
  8001. type: number
  8002. orderid:
  8003. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8004. type: string
  8005. orderprice:
  8006. description: 委托价格
  8007. type: number
  8008. orderqty:
  8009. description: 委托数量
  8010. type: integer
  8011. orderstatus:
  8012. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8013. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8014. 16:成交失败违约(荷兰式竞拍专用)
  8015. type: integer
  8016. ordertime:
  8017. description: 委托时间
  8018. type: string
  8019. picurls1:
  8020. description: 预售商品介绍图片[多张用逗号分隔]
  8021. type: string
  8022. picurls2:
  8023. description: 挂牌商品介绍图片[多张用逗号分隔]
  8024. type: string
  8025. trademode:
  8026. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8027. 21:竞拍-大宗式 22:受托竞价
  8028. type: integer
  8029. tradeqty:
  8030. description: 成交数量
  8031. type: integer
  8032. vendorname1:
  8033. description: 预售商品供应商名称
  8034. type: string
  8035. vendorname2:
  8036. description: 挂牌商品供应商名称
  8037. type: string
  8038. required:
  8039. - accountid
  8040. - buyorsell
  8041. - goodscode
  8042. - goodsid
  8043. - goodsname
  8044. - marketid
  8045. - orderid
  8046. - orderqty
  8047. - ordertime
  8048. - trademode
  8049. type: object
  8050. models.Loginaccount:
  8051. properties:
  8052. canoutin:
  8053. description: 是否可出入金 - 0:不可 1:可
  8054. type: integer
  8055. clientroleid:
  8056. description: 终端角色ID
  8057. type: integer
  8058. haslogined:
  8059. description: 是否已登录 - 0:未登录 1:已登录
  8060. type: integer
  8061. hasupdatedpwd:
  8062. description: 是否已更改密码 - 0:未修改 1:已修改
  8063. type: integer
  8064. lastloginip:
  8065. description: 最新登录地址
  8066. type: string
  8067. lastloginmode:
  8068. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8069. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8070. type: integer
  8071. lastloginremark:
  8072. description: 最新登录描述
  8073. type: string
  8074. lastlogintime:
  8075. description: 最新登录时间
  8076. type: string
  8077. logincode:
  8078. description: 登录代码
  8079. type: string
  8080. loginfailnum:
  8081. description: 连续登录失败次数(登录成功时清零)
  8082. type: integer
  8083. loginid:
  8084. description: 登陆账号
  8085. type: integer
  8086. loginport:
  8087. description: 最新登录端口
  8088. type: integer
  8089. loginstatus:
  8090. description: 登录账号状态 1:正常 2:冻结 3:无效
  8091. type: integer
  8092. loginusertype:
  8093. description: 登录账号类型 - 1:投资者 2:机构交易员
  8094. type: integer
  8095. modifierid:
  8096. description: 修改人
  8097. type: integer
  8098. modifytime:
  8099. description: 修改时间
  8100. type: string
  8101. pwdwrongcount:
  8102. description: 密码错误次数
  8103. type: integer
  8104. taaccountrighttype:
  8105. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8106. type: integer
  8107. unfreezetime:
  8108. description: 账户解冻时间
  8109. type: string
  8110. userid:
  8111. description: 用户ID
  8112. type: integer
  8113. required:
  8114. - loginid
  8115. type: object
  8116. models.MainAccountInfo:
  8117. properties:
  8118. accountid:
  8119. description: 账号id
  8120. type: string
  8121. appid:
  8122. description: AppID
  8123. type: string
  8124. authcode:
  8125. description: 授权码
  8126. type: string
  8127. brokerid:
  8128. description: 经纪商id
  8129. type: string
  8130. fcid:
  8131. description: 期货公司id
  8132. type: integer
  8133. fcname:
  8134. description: 期货公司代码
  8135. type: string
  8136. hedgeaccountcode:
  8137. description: 外部账号代码
  8138. type: string
  8139. hedgeaccountpwd:
  8140. description: 密码
  8141. type: string
  8142. ismain:
  8143. description: 是否主账号
  8144. type: integer
  8145. relateduserid:
  8146. description: 关联用户id
  8147. type: integer
  8148. type: object
  8149. models.Market:
  8150. properties:
  8151. auctionwrtype:
  8152. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8153. type: integer
  8154. canacceptquote:
  8155. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8156. type: integer
  8157. cangoodsexercise:
  8158. description: '[期权]是否可现货行权- 0:否 1:是'
  8159. type: integer
  8160. cangoodsexercisetype:
  8161. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8162. type: integer
  8163. canmanualquotestrike:
  8164. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8165. type: integer
  8166. canmutistage:
  8167. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8168. type: integer
  8169. canpreexercise:
  8170. description: '[期权]是否可预申报- 0:否 1:是'
  8171. type: integer
  8172. clearinterval:
  8173. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8174. type: integer
  8175. contracttmp:
  8176. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8177. type: string
  8178. exchareaid:
  8179. description: 所属交易所,可以没有
  8180. type: integer
  8181. goodstype:
  8182. description: 商品类型 - 1:交易商品 2:仓单商品
  8183. type: integer
  8184. hasrebate:
  8185. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8186. type: integer
  8187. hastradecredit:
  8188. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8189. type: integer
  8190. haswr:
  8191. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8192. type: integer
  8193. isdeductmargin:
  8194. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8195. type: integer
  8196. isrecordsource:
  8197. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8198. type: integer
  8199. isreleasemargin:
  8200. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8201. type: integer
  8202. marginformula:
  8203. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8204. type: integer
  8205. marginformula2:
  8206. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8207. type: integer
  8208. marketid:
  8209. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8210. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8211. type: integer
  8212. marketname:
  8213. description: 市场名称
  8214. type: string
  8215. marketserviceid:
  8216. description: 市场服务ID
  8217. type: integer
  8218. marketstatus:
  8219. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8220. type: integer
  8221. markettype:
  8222. description: 市场类型- 1:非交易服务 2:交易服务
  8223. type: integer
  8224. matchermode:
  8225. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8226. type: integer
  8227. openmethod:
  8228. description: 开盘模式 - 0 自动 1手动
  8229. type: integer
  8230. otcuserid:
  8231. description: 场外期权做市商[场外期权]
  8232. type: integer
  8233. outersynctime:
  8234. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8235. type: string
  8236. pendingflag:
  8237. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8238. type: integer
  8239. pendingtime:
  8240. description: 待开市时间[通道交易-对冲](HH:mm)
  8241. type: string
  8242. performancetempid:
  8243. description: 履约计划模板ID - 作废
  8244. type: integer
  8245. premiumquotemode:
  8246. description: 权利金报价方式 - 1:自动 2:手动
  8247. type: integer
  8248. rebateratio:
  8249. description: 返利比率[竞价式]
  8250. type: number
  8251. reckonorder:
  8252. description: 结算顺序
  8253. type: integer
  8254. reckonpricealgorithm:
  8255. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8256. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8257. type: integer
  8258. reckonpriceparam:
  8259. description: 结算价参数
  8260. type: integer
  8261. reckontime:
  8262. description: 结算时间[通道交易-对冲](HH:mm)
  8263. type: string
  8264. roleprioritytype:
  8265. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8266. type: integer
  8267. selllistingauditflag:
  8268. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8269. type: integer
  8270. trademarkettype:
  8271. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8272. type: integer
  8273. trademode:
  8274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8275. 21:竞拍-大宗式 22:受托竞价
  8276. type: integer
  8277. tradeproperty:
  8278. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8279. 8:场外期权
  8280. type: integer
  8281. tradetype:
  8282. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8283. type: integer
  8284. required:
  8285. - marketid
  8286. - marketstatus
  8287. - openmethod
  8288. - reckonpricealgorithm
  8289. - trademode
  8290. - tradeproperty
  8291. type: object
  8292. models.Marketrun:
  8293. properties:
  8294. afternexttradedate:
  8295. description: 下下交易日
  8296. type: string
  8297. clearquoteflag:
  8298. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8299. type: integer
  8300. lastreckondate:
  8301. description: 最新交易日(结算成功)
  8302. type: string
  8303. machinedate:
  8304. description: 机器时间
  8305. type: string
  8306. manualflag:
  8307. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8308. type: integer
  8309. marketid:
  8310. description: 市场ID
  8311. type: integer
  8312. nexttradedate:
  8313. description: 下一交易日
  8314. type: string
  8315. pretradedate:
  8316. description: 上一交易日
  8317. type: string
  8318. reckonflag:
  8319. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8320. type: integer
  8321. runstatus:
  8322. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8323. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8324. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8325. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8326. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8327. 62.今日免清算
  8328. type: integer
  8329. sectionid:
  8330. description: 时间段号[多时段时用]
  8331. type: integer
  8332. tradedate:
  8333. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8334. type: string
  8335. tradedate2:
  8336. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8337. type: string
  8338. updatetime:
  8339. description: 更新时间
  8340. type: string
  8341. required:
  8342. - marketid
  8343. - nexttradedate
  8344. - reckonflag
  8345. - runstatus
  8346. - tradedate
  8347. - tradedate2
  8348. type: object
  8349. models.Messageboard:
  8350. properties:
  8351. contactnum:
  8352. description: 联系电话
  8353. type: string
  8354. createtime:
  8355. description: 创建时间
  8356. type: string
  8357. message:
  8358. description: 留言信息
  8359. type: string
  8360. messageboardid:
  8361. description: 留言簿ID(SEQ_MessageBoard)
  8362. type: integer
  8363. userid:
  8364. description: 用户ID
  8365. type: integer
  8366. required:
  8367. - messageboardid
  8368. type: object
  8369. models.MyCoupon:
  8370. properties:
  8371. accountid:
  8372. description: 资金账户ID
  8373. type: integer
  8374. areauserid:
  8375. description: 所属机构
  8376. type: integer
  8377. conditionvalue:
  8378. description: 条件阈值(可为0)
  8379. type: number
  8380. couponcategroy:
  8381. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8382. type: integer
  8383. couponname:
  8384. description: 优惠券名称
  8385. type: string
  8386. coupontypeid:
  8387. description: 优惠券类型ID
  8388. type: string
  8389. couponvalue:
  8390. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8391. type: number
  8392. curfreezeqty:
  8393. description: 期末冻结数量
  8394. type: integer
  8395. curqty:
  8396. description: 期末数量
  8397. type: integer
  8398. isgeneral:
  8399. description: 是否通用券 - 0:否 1:是
  8400. type: integer
  8401. isunusable:
  8402. description: 是否不可用
  8403. type: boolean
  8404. limitedflag:
  8405. description: 是否指定商品 - 0:不限 1:限制
  8406. type: integer
  8407. limitedgoodsids:
  8408. description: 指定商品IDs[逗号分隔,前后加逗号]
  8409. type: string
  8410. orifreezeqty:
  8411. description: 期初冻结数量
  8412. type: integer
  8413. oriqty:
  8414. description: 期初数量
  8415. type: integer
  8416. reasontype:
  8417. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8418. type: integer
  8419. todaydecrease:
  8420. description: 今日减少
  8421. type: integer
  8422. todayincrease:
  8423. description: 今日增加
  8424. type: integer
  8425. userid:
  8426. description: 用户ID
  8427. type: integer
  8428. userscope:
  8429. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8430. type: string
  8431. required:
  8432. - accountid
  8433. - coupontypeid
  8434. type: object
  8435. models.MyCouponHold:
  8436. properties:
  8437. accountid:
  8438. description: 资金账户ID
  8439. type: integer
  8440. conditionvalue:
  8441. description: 条件阈值(可为0)
  8442. type: number
  8443. couponcategroy:
  8444. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8445. type: integer
  8446. couponholdid:
  8447. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8448. type: string
  8449. couponname:
  8450. description: 优惠券名称
  8451. type: string
  8452. coupontypeid:
  8453. description: 优惠券类型ID - SEQ_COUPONTYPE
  8454. type: string
  8455. couponvalue:
  8456. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8457. type: number
  8458. createtime:
  8459. description: 创建时间
  8460. type: string
  8461. enddate:
  8462. description: 结束日期
  8463. type: string
  8464. giveapplyid:
  8465. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8466. type: integer
  8467. holdstatus:
  8468. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8469. type: integer
  8470. isgeneral:
  8471. description: 是否通用券 - 0:否 1:是
  8472. type: integer
  8473. limitedflag:
  8474. description: 是否指定商品 - 0:不限 1:限制
  8475. type: integer
  8476. limitedgoodsids:
  8477. description: 指定商品IDs[逗号分隔]
  8478. type: string
  8479. qty:
  8480. description: 数量(按1平铺)
  8481. type: integer
  8482. startdate:
  8483. description: 开始日期
  8484. type: string
  8485. userid:
  8486. description: 用户ID
  8487. type: integer
  8488. userscope:
  8489. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8490. type: string
  8491. required:
  8492. - couponholdid
  8493. type: object
  8494. models.MyUsedCoupon:
  8495. properties:
  8496. accountid:
  8497. description: 资金账户ID(买方)
  8498. type: integer
  8499. conditionvalue:
  8500. description: 条件阈值(可为0)
  8501. type: number
  8502. couponcategroy:
  8503. description: 种类 - 1:现金券 2:折扣券
  8504. type: integer
  8505. couponname:
  8506. description: 优惠券名称
  8507. type: string
  8508. coupontypeid:
  8509. description: 优惠券类型ID(买方)
  8510. type: string
  8511. couponvalue:
  8512. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8513. type: number
  8514. createtime:
  8515. description: 创建时间
  8516. type: string
  8517. goodsid:
  8518. description: 商品ID
  8519. type: integer
  8520. handlestatus:
  8521. description: 处理状态
  8522. type: integer
  8523. marketid:
  8524. description: 市场ID
  8525. type: integer
  8526. offamount:
  8527. description: 优惠金额
  8528. type: number
  8529. orderid:
  8530. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8531. type: string
  8532. sellaccountid:
  8533. description: 资金账户ID(卖方)
  8534. type: integer
  8535. tradeamount:
  8536. description: 成交金额
  8537. type: number
  8538. tradeid:
  8539. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8540. type: string
  8541. usedqty:
  8542. description: 使用数量
  8543. type: integer
  8544. required:
  8545. - coupontypeid
  8546. - orderid
  8547. type: object
  8548. models.OperationPrimaryMenu:
  8549. properties:
  8550. Children:
  8551. description: 二级功能菜单
  8552. items:
  8553. $ref: '#/definitions/models.OperationSecondaryMenu'
  8554. type: array
  8555. Key:
  8556. description: 菜单KEY
  8557. type: string
  8558. Label:
  8559. description: 菜单标题
  8560. type: string
  8561. type: object
  8562. models.OperationSecondaryMenu:
  8563. properties:
  8564. Key:
  8565. description: 菜单KEY
  8566. type: string
  8567. Label:
  8568. description: 菜单标题
  8569. type: string
  8570. TabList:
  8571. description: 三级功能菜单
  8572. items:
  8573. $ref: '#/definitions/models.OperationTabMenu'
  8574. type: array
  8575. type: object
  8576. models.OperationTabMenu:
  8577. properties:
  8578. Key:
  8579. description: 菜单KEY
  8580. type: string
  8581. Label:
  8582. description: 菜单标题
  8583. type: string
  8584. type: object
  8585. models.PendingAuditBizModel:
  8586. properties:
  8587. accountid:
  8588. description: 现货账户
  8589. type: string
  8590. areaname:
  8591. description: 所属部门
  8592. type: string
  8593. bizid:
  8594. description: 业务ID
  8595. type: string
  8596. bizname:
  8597. description: 业务名称
  8598. type: string
  8599. status:
  8600. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8601. type: integer
  8602. type:
  8603. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8604. type: integer
  8605. type: object
  8606. models.QueryErrorInfosRsp:
  8607. properties:
  8608. description:
  8609. description: 异常描述
  8610. type: string
  8611. errorcode:
  8612. description: 异常代码
  8613. type: string
  8614. errorid:
  8615. description: 异常ID
  8616. type: integer
  8617. modulecode:
  8618. description: 所属模块
  8619. type: string
  8620. operatecode:
  8621. description: 所属操作
  8622. type: string
  8623. rownumber:
  8624. description: 行号
  8625. type: string
  8626. required:
  8627. - errorid
  8628. type: object
  8629. models.QueryHedgeOrderDetailRsp:
  8630. properties:
  8631. accountid:
  8632. description: 账户ID
  8633. type: integer
  8634. buyorsell:
  8635. description: 买卖 - 0:买 1:卖
  8636. type: integer
  8637. cancellogincode:
  8638. description: 撤单人
  8639. type: string
  8640. channelbuildtype:
  8641. description: 开平标志 - 0:无 1:建仓 2:平仓
  8642. type: integer
  8643. channelinnerorderstatus:
  8644. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8645. 9:全部成交
  8646. type: integer
  8647. channeloperatetype:
  8648. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8649. type: integer
  8650. closetype:
  8651. description: 平仓方式 - 0:无 1:平今 2:平昨
  8652. type: integer
  8653. curexchangerate:
  8654. description: 当前汇率
  8655. type: number
  8656. exchangefullname:
  8657. description: 外部交易所全称
  8658. type: string
  8659. goodscode:
  8660. description: 商品代码(内部)
  8661. type: string
  8662. goodsid:
  8663. description: 商品ID
  8664. type: integer
  8665. goodsname:
  8666. description: 商品名称
  8667. type: string
  8668. marketid:
  8669. description: 市场ID
  8670. type: integer
  8671. openfreezemargin:
  8672. description: 冻结保证金(冻结交易金额)
  8673. type: number
  8674. orderid:
  8675. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8676. type: string
  8677. orderlogincode:
  8678. description: 委托人
  8679. type: string
  8680. orderprice:
  8681. description: 委托价格(账户)
  8682. type: number
  8683. orderqty:
  8684. description: 委托数量
  8685. type: integer
  8686. ordertime:
  8687. description: 委托时间
  8688. type: string
  8689. pricemode:
  8690. description: '取价方式 - 1:市价 2: 限价'
  8691. type: integer
  8692. tradedate:
  8693. description: 交易日(yyyyMMdd)
  8694. type: string
  8695. tradeqty:
  8696. description: 成交数量
  8697. type: integer
  8698. type: object
  8699. models.QueryHedgeTradeDetailRsp:
  8700. properties:
  8701. accountid:
  8702. description: 账号ID
  8703. type: integer
  8704. buyorsell:
  8705. description: 方向 - 0:买 1:卖
  8706. type: integer
  8707. channelbuildtype:
  8708. description: 委托单据类型 0:无 1:建仓 2:平仓
  8709. type: integer
  8710. closecharge:
  8711. description: 平仓手续费(账户)
  8712. type: number
  8713. closecharge2:
  8714. description: 平仓手续费(商品)
  8715. type: number
  8716. closepl:
  8717. description: 平仓盈亏(账户)
  8718. type: number
  8719. closepl2:
  8720. description: 平仓盈亏(商品)
  8721. type: number
  8722. closepl3:
  8723. description: 平仓盈亏(账户)(逐笔)
  8724. type: number
  8725. closepl4:
  8726. description: 平仓盈亏(商品)(逐笔)
  8727. type: number
  8728. closetype:
  8729. description: 平仓方式 - 0:无 1:平今 2:平昨
  8730. type: integer
  8731. curexchangerate:
  8732. description: 当前汇率
  8733. type: number
  8734. exchangefullname:
  8735. description: 外部交易所全称
  8736. type: string
  8737. goodscode:
  8738. description: 商品代码(内部)
  8739. type: string
  8740. goodsid:
  8741. description: 商品ID
  8742. type: integer
  8743. goodsname:
  8744. description: 商品名称
  8745. type: string
  8746. marketid:
  8747. description: 市场ID
  8748. type: integer
  8749. opencharge:
  8750. description: 建仓手续费(账户)
  8751. type: number
  8752. opencharge2:
  8753. description: 建仓手续费(商品)
  8754. type: number
  8755. orderid:
  8756. description: 委托单号
  8757. type: string
  8758. orderlogincode:
  8759. description: 委托人
  8760. type: string
  8761. tradeamount:
  8762. description: 成交金额(账户)
  8763. type: number
  8764. tradedate:
  8765. description: 交易日(yyyyMMdd)
  8766. type: string
  8767. tradeid:
  8768. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8769. type: string
  8770. tradeprice:
  8771. description: 成交价格
  8772. type: number
  8773. tradeqty:
  8774. description: 成交数量
  8775. type: integer
  8776. tradetime:
  8777. description: 成交时间
  8778. type: string
  8779. tradetype:
  8780. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8781. type: integer
  8782. type: object
  8783. models.QuotePrimaryMenu:
  8784. properties:
  8785. Index:
  8786. description: 序号
  8787. type: integer
  8788. Key:
  8789. description: 键名
  8790. type: string
  8791. Name:
  8792. description: 菜单名称
  8793. type: string
  8794. SubMenus:
  8795. description: 子菜单
  8796. items:
  8797. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8798. type: array
  8799. SubTitleType:
  8800. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8801. type: integer
  8802. TradeModes:
  8803. description: 包含市场交易类型
  8804. type: string
  8805. type: object
  8806. models.QuoteSecondaryMenu:
  8807. properties:
  8808. ExExchangeCode:
  8809. description: 外部交易所代码
  8810. type: string
  8811. ExExchangeID:
  8812. description: 外部交易所ID
  8813. type: integer
  8814. GoodsGroupIDs:
  8815. description: 商品组ID列表
  8816. items:
  8817. type: integer
  8818. type: array
  8819. Index:
  8820. description: 序号
  8821. type: integer
  8822. MarketID:
  8823. description: 市场ID
  8824. type: integer
  8825. MenuTitle:
  8826. description: 菜单标题(市场名称或外部交易所名称)
  8827. type: string
  8828. TradeMode:
  8829. description: 交易模式
  8830. type: integer
  8831. type: object
  8832. models.RelatedGoodsEx:
  8833. properties:
  8834. goodscode:
  8835. description: 商品代码
  8836. type: string
  8837. goodsid:
  8838. description: 商品id
  8839. type: integer
  8840. goodsname:
  8841. description: 商品名称
  8842. type: string
  8843. type: object
  8844. models.SearchGoods:
  8845. properties:
  8846. goodscode:
  8847. description: 商品代码(内部)
  8848. type: string
  8849. goodsid:
  8850. description: 商品ID(自增ID SEQ_GOODS)
  8851. type: integer
  8852. goodsname:
  8853. description: 商品名称
  8854. type: string
  8855. marketid:
  8856. description: 所属市场ID
  8857. type: integer
  8858. marketname:
  8859. description: 市场名称
  8860. type: string
  8861. trademode:
  8862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8863. 21:竞拍-大宗式 22:受托竞价
  8864. type: integer
  8865. required:
  8866. - goodscode
  8867. - goodsid
  8868. - goodsname
  8869. - marketid
  8870. - trademode
  8871. type: object
  8872. models.Systemparam:
  8873. properties:
  8874. loginid:
  8875. description: 更新用户账号,登录账号
  8876. type: string
  8877. modifyflag:
  8878. description: 修改标志0 不允许修改 1 允许修改
  8879. type: integer
  8880. paramcode:
  8881. description: 参数代码
  8882. type: string
  8883. paramname:
  8884. description: 参数名
  8885. type: string
  8886. paramtype:
  8887. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8888. type: integer
  8889. paramvalue:
  8890. description: 参数值
  8891. type: string
  8892. paramvalue2:
  8893. description: 参数值(CLOB)
  8894. type: string
  8895. regexpress:
  8896. description: 正则表达式
  8897. type: string
  8898. remark:
  8899. description: 备注
  8900. type: string
  8901. serverip:
  8902. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8903. type: string
  8904. showflag:
  8905. description: 是否显示0 不显示 1 显示
  8906. type: integer
  8907. updatetime:
  8908. description: 更新时间
  8909. type: string
  8910. userid:
  8911. description: 更新用户ID
  8912. type: integer
  8913. required:
  8914. - paramcode
  8915. type: object
  8916. models.Szdz3convertconfig:
  8917. properties:
  8918. canin:
  8919. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8920. type: integer
  8921. canout:
  8922. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8923. type: integer
  8924. converttype:
  8925. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8926. 6:交易转花生米(不设置)
  8927. type: integer
  8928. createtime:
  8929. description: 创建时间
  8930. type: string
  8931. creatorid:
  8932. description: 创建人
  8933. type: integer
  8934. daymaxvalue:
  8935. description: 当日最大转入限制
  8936. type: number
  8937. freezedays:
  8938. description: 冻结天数 [5:花生米转交易]
  8939. type: integer
  8940. innergoodsid:
  8941. description: 内部商品ID[交易]
  8942. type: integer
  8943. inratio:
  8944. description: 目标值
  8945. type: integer
  8946. modifierid:
  8947. description: 修改人
  8948. type: integer
  8949. modifytime:
  8950. description: 修改时间
  8951. type: string
  8952. outergoodscode:
  8953. description: 外部商品代码[JD\PD]
  8954. type: string
  8955. outratio:
  8956. description: 源值
  8957. type: integer
  8958. pddecimalplace:
  8959. description: PD小数位
  8960. type: integer
  8961. timemaxvalue:
  8962. description: 单次最大转入限制
  8963. type: number
  8964. timeminvalue:
  8965. description: 单次最小转入限制
  8966. type: number
  8967. required:
  8968. - converttype
  8969. - innergoodsid
  8970. - outergoodscode
  8971. type: object
  8972. models.Szdz3searchwhitelist:
  8973. properties:
  8974. createtime:
  8975. description: 创建时间
  8976. type: string
  8977. creatorid:
  8978. description: 创建人
  8979. type: integer
  8980. modifierid:
  8981. description: 修改人
  8982. type: integer
  8983. modifytime:
  8984. description: 修改时间
  8985. type: string
  8986. userid:
  8987. description: 用户ID
  8988. type: integer
  8989. required:
  8990. - userid
  8991. type: object
  8992. models.Taaccount:
  8993. properties:
  8994. accountflag:
  8995. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8996. type: integer
  8997. accountid:
  8998. description: 资金账户ID
  8999. type: integer
  9000. accountname:
  9001. description: 账户名称
  9002. type: string
  9003. balance:
  9004. description: 期初余额
  9005. type: number
  9006. capitalbalance:
  9007. description: 本金余额[外部子账户实际出入金余额]
  9008. type: number
  9009. changeflag:
  9010. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9011. type: integer
  9012. changetime:
  9013. description: 账户状态变更时间
  9014. type: string
  9015. closepl:
  9016. description: 今日平仓盈亏
  9017. type: number
  9018. creditdecrease:
  9019. description: 今日授信减少
  9020. type: number
  9021. creditincrease:
  9022. description: 今日授信增加
  9023. type: number
  9024. currencyid:
  9025. description: 货币ID
  9026. type: integer
  9027. currentbalance:
  9028. description: 期末余额
  9029. type: number
  9030. freezecharge:
  9031. description: 手续费冻结
  9032. type: number
  9033. freezemargin:
  9034. description: 冻结保证金
  9035. type: number
  9036. fromaccountid:
  9037. description: 所属上级账户
  9038. type: integer
  9039. inamount:
  9040. description: 今日入金金额(包括三方入金)
  9041. type: number
  9042. ismain:
  9043. description: 是否母账号 0:不是母账户 1:是母账户
  9044. type: integer
  9045. ismarketaccount:
  9046. description: 是否机构接单账号 0:不是 1:是
  9047. type: integer
  9048. isreckonaccount:
  9049. description: 是否机构分润账号 0:不是 1:是
  9050. type: integer
  9051. mortgagecredit:
  9052. description: 授信金额
  9053. type: number
  9054. orifreezecharge:
  9055. description: 期初手续费冻结
  9056. type: number
  9057. orifreezemargin:
  9058. description: 期初冻结保证金
  9059. type: number
  9060. orimortgagecredit:
  9061. description: 期初授信金额
  9062. type: number
  9063. oriothercredit:
  9064. description: 期初其它授信金额
  9065. type: number
  9066. oriotherfreezemargin:
  9067. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9068. type: number
  9069. orioutamountfreeze:
  9070. description: 期初出金冻结
  9071. type: number
  9072. oriusedmargin:
  9073. description: 期初占用保证金
  9074. type: number
  9075. othercredit:
  9076. description: 其它授信金额
  9077. type: number
  9078. othercreditdecrease:
  9079. description: 今日其它授信减少
  9080. type: number
  9081. othercreditincrease:
  9082. description: 今日其它授信增加
  9083. type: number
  9084. otherfreezemargin:
  9085. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9086. type: number
  9087. otherincome:
  9088. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9089. type: number
  9090. otherpay:
  9091. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9092. type: number
  9093. outamount:
  9094. description: 今日出金金额(包括三方出金)
  9095. type: number
  9096. outamountfreeze:
  9097. description: 出金冻结
  9098. type: number
  9099. outthreshold:
  9100. description: 出金阈值
  9101. type: number
  9102. parentaccountid:
  9103. description: 所属根账号
  9104. type: integer
  9105. paycharge:
  9106. description: 今日手续费支出
  9107. type: number
  9108. relatedaccountstatus:
  9109. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9110. type: integer
  9111. relateduserid:
  9112. description: 关联用户
  9113. type: integer
  9114. serivcegroup:
  9115. description: 服务分组
  9116. type: integer
  9117. signstatus:
  9118. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9119. type: integer
  9120. sublevelpath:
  9121. description: 账号层级路径(逗号分隔,首尾加逗号)
  9122. type: string
  9123. taaccounttype:
  9124. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9125. type: integer
  9126. thirdinamount:
  9127. description: 今日三方入金
  9128. type: number
  9129. thirdoutamount:
  9130. description: 今日三方出金
  9131. type: number
  9132. tradestatus:
  9133. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9134. type: integer
  9135. tradestatuschangetime:
  9136. description: 激活时间
  9137. type: string
  9138. transferamount:
  9139. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9140. type: number
  9141. usedmargin:
  9142. description: 占用保证金
  9143. type: number
  9144. userid:
  9145. description: 用户ID
  9146. type: integer
  9147. required:
  9148. - accountid
  9149. - userid
  9150. type: object
  9151. models.Tablecolumnconfig:
  9152. properties:
  9153. aligntype:
  9154. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9155. type: integer
  9156. autoid:
  9157. description: AutoID
  9158. type: integer
  9159. columnfield:
  9160. description: 列字段
  9161. type: string
  9162. columntitle:
  9163. description: 列Title
  9164. type: string
  9165. columnwidth:
  9166. description: 列宽
  9167. type: string
  9168. formatterstring:
  9169. description: 格式化字符
  9170. type: string
  9171. formattertype:
  9172. description: 格式化类型
  9173. type: string
  9174. groupname:
  9175. description: 表头分组名称
  9176. type: string
  9177. isshow:
  9178. description: 是否显示 - 0:不显示 1:显示
  9179. type: integer
  9180. needsummary:
  9181. description: 是否需要汇总 - 0:不需要 1:需要
  9182. type: integer
  9183. orderindex:
  9184. description: 顺序
  9185. type: integer
  9186. remark:
  9187. description: 备注
  9188. type: string
  9189. summarytype:
  9190. description: 汇总类型 - 1:加总 2:最后一个
  9191. type: integer
  9192. tablekey:
  9193. description: 列表Key
  9194. type: string
  9195. required:
  9196. - autoid
  9197. type: object
  9198. models.Useraccount:
  9199. properties:
  9200. accountname:
  9201. description: 账户名称(机构名称)
  9202. type: string
  9203. accountstatus:
  9204. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9205. type: integer
  9206. auditremark:
  9207. description: 审核备注
  9208. type: string
  9209. audittime:
  9210. description: 审核时间
  9211. type: string
  9212. audituserid:
  9213. description: 审核人
  9214. type: integer
  9215. broker:
  9216. description: 所属经纪人ID
  9217. type: integer
  9218. canceltime:
  9219. description: 销户时间
  9220. type: string
  9221. canceluserid:
  9222. description: 销户人
  9223. type: integer
  9224. createtime:
  9225. description: 创建时间
  9226. type: string
  9227. creatorid:
  9228. description: 创建人
  9229. type: integer
  9230. hasauth:
  9231. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9232. type: integer
  9233. isanonymous:
  9234. description: 是否匿名下单 - 0:否 1:是
  9235. type: integer
  9236. maxinvestornum:
  9237. description: 最大用户数(经纪会员下投资者个数)
  9238. type: integer
  9239. memberuserid:
  9240. description: 所属会员ID
  9241. type: integer
  9242. modifierid:
  9243. description: 修改人
  9244. type: integer
  9245. modifyremark:
  9246. description: 变更备注
  9247. type: string
  9248. modifystatus:
  9249. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9250. type: integer
  9251. modifytime:
  9252. description: 修改时间
  9253. type: string
  9254. parentuserid:
  9255. description: 所属机构ID
  9256. type: integer
  9257. reckonaccountid:
  9258. description: 默认结算资金账号ID(机构分润使用) 作废
  9259. type: integer
  9260. refercount:
  9261. description: 推荐总人数
  9262. type: integer
  9263. refereeuserid:
  9264. description: 推荐人ID
  9265. type: integer
  9266. refernum:
  9267. description: 推荐码
  9268. type: string
  9269. subarealevelpath:
  9270. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9271. type: string
  9272. userid:
  9273. description: 用户ID
  9274. type: integer
  9275. usertype:
  9276. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9277. type: integer
  9278. required:
  9279. - userid
  9280. type: object
  9281. models.Userfavoritegoods:
  9282. properties:
  9283. goodsid:
  9284. description: 商品ID
  9285. type: integer
  9286. required:
  9287. - goodsid
  9288. type: object
  9289. models.Userinfo:
  9290. properties:
  9291. address:
  9292. description: 地址
  9293. type: string
  9294. attachment1:
  9295. description: 附件1
  9296. type: string
  9297. attachment2:
  9298. description: 附件2
  9299. type: string
  9300. bankaccount:
  9301. description: 银行帐号 (加密存储)
  9302. type: string
  9303. bankaccountname:
  9304. description: 收款人名称
  9305. type: string
  9306. bankcardfrontphotourl:
  9307. description: 银行卡正面照地址
  9308. type: string
  9309. bankid:
  9310. description: 银行编码
  9311. type: string
  9312. bankname:
  9313. description: 银行名称
  9314. type: string
  9315. biznature:
  9316. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9317. type: integer
  9318. bizscope:
  9319. description: 企业经营范围(企业)
  9320. type: string
  9321. cardbackphotourl:
  9322. description: 证件背面图片地址
  9323. type: string
  9324. cardfrontphotourl:
  9325. description: 证件正面图片地址
  9326. type: string
  9327. cardnum:
  9328. description: 证件号码(加密存储)
  9329. type: string
  9330. cardtypeid:
  9331. description: 证件类型ID
  9332. type: integer
  9333. cityid:
  9334. description: 市
  9335. type: integer
  9336. company:
  9337. description: 公司(个人)
  9338. type: string
  9339. contactname:
  9340. description: 联系人
  9341. type: string
  9342. countryid:
  9343. description: 国家
  9344. type: integer
  9345. createtime:
  9346. description: 创建时间
  9347. type: string
  9348. creatorid:
  9349. description: 创建人
  9350. type: integer
  9351. customername:
  9352. description: 客户名称(企业名称)
  9353. type: string
  9354. districtid:
  9355. description: 地区
  9356. type: integer
  9357. email:
  9358. description: 邮件(加密存储)
  9359. type: string
  9360. fax:
  9361. description: 传真(加密存储)
  9362. type: string
  9363. halfbodyphotourl:
  9364. description: 半身照地址
  9365. type: string
  9366. hasencrypt:
  9367. description: 数据是否已加密 - 0:未加密 1:已加密
  9368. type: integer
  9369. headurl:
  9370. description: 头像地址
  9371. type: string
  9372. legalcardbackphotourl:
  9373. description: 法人身份证背面照地址
  9374. type: string
  9375. legalcardfrontphotourl:
  9376. description: 法人身份证正面照地址
  9377. type: string
  9378. legalpersonname:
  9379. description: 法人姓名(企业)
  9380. type: string
  9381. mobile:
  9382. description: 手机号码(加密存储)
  9383. type: string
  9384. mobile2:
  9385. description: 手机号码[明文-尚志]
  9386. type: string
  9387. modifierid:
  9388. description: 修改人
  9389. type: integer
  9390. modifiertime:
  9391. description: 修改时间
  9392. type: string
  9393. needinvoice:
  9394. description: 是否需要发票 - 0:不需要 1:需要
  9395. type: integer
  9396. nickname:
  9397. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9398. type: string
  9399. openmode:
  9400. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9401. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9402. type: integer
  9403. otherurl:
  9404. description: 其它图片地址[使用分号分隔]
  9405. type: string
  9406. postalcode:
  9407. description: 邮政编码
  9408. type: string
  9409. provinceid:
  9410. description: 省
  9411. type: integer
  9412. qq:
  9413. description: QQ(加密存储
  9414. type: string
  9415. remark:
  9416. description: 备注
  9417. type: string
  9418. sex:
  9419. description: '用户性别 0: 女 1: 男'
  9420. type: integer
  9421. signpdfurl:
  9422. description: 签约pdf文件
  9423. type: string
  9424. telphone:
  9425. description: 联系电话(加密存储)
  9426. type: string
  9427. userid:
  9428. description: 用户ID
  9429. type: integer
  9430. userinfotype:
  9431. description: 用户信息类型 - 1:个人 2:企业
  9432. type: integer
  9433. userstatus:
  9434. description: 用户状态 - 1:正常 2:注销
  9435. type: integer
  9436. usertype:
  9437. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9438. type: integer
  9439. wechat:
  9440. description: 微信(加密存储)
  9441. type: string
  9442. wskhinfo:
  9443. description: 开户申请信息(JSON)
  9444. type: string
  9445. required:
  9446. - userid
  9447. type: object
  9448. models.WRCategoryTree:
  9449. properties:
  9450. areauserid:
  9451. description: 所属机构
  9452. type: integer
  9453. categorydesc:
  9454. description: 类别描述
  9455. type: string
  9456. categoryid:
  9457. description: 类别ID(SEQ_WRCATEGORY)
  9458. type: integer
  9459. categoryname:
  9460. description: 类别名称
  9461. type: string
  9462. iconurl:
  9463. description: 图标地址
  9464. type: string
  9465. orderindex:
  9466. description: 顺序
  9467. type: integer
  9468. parentcategoryid:
  9469. description: 父类别ID
  9470. type: integer
  9471. subcategory:
  9472. description: 子分类
  9473. items:
  9474. $ref: '#/definitions/models.WRCategoryTree'
  9475. type: array
  9476. required:
  9477. - categoryid
  9478. type: object
  9479. models.WRSConverTDetail:
  9480. properties:
  9481. convertratio:
  9482. description: 套保系数
  9483. type: number
  9484. deliverygoodscode:
  9485. description: 现货商品代码
  9486. type: string
  9487. deliverygoodsid:
  9488. description: 现货品种ID
  9489. type: integer
  9490. deliverygoodsname:
  9491. description: 现货商品名称
  9492. type: string
  9493. enumdicname:
  9494. description: 单位名称
  9495. type: string
  9496. goodsunitid:
  9497. description: 套保品种单位id
  9498. type: integer
  9499. middlegoodscode:
  9500. description: 套保品种代码
  9501. type: string
  9502. middlegoodsid:
  9503. description: 套保品种ID
  9504. type: integer
  9505. middlegoodsname:
  9506. description: 套保品种名称
  9507. type: string
  9508. modifytime:
  9509. description: 修改时间
  9510. type: string
  9511. wrstandardid:
  9512. description: 品类ID
  9513. type: integer
  9514. type: object
  9515. models.WRStandardInfo:
  9516. properties:
  9517. createtime:
  9518. description: 创建时间
  9519. type: string
  9520. creatorid:
  9521. description: 创建人
  9522. type: integer
  9523. deliverygoodsid:
  9524. description: 品种ID
  9525. type: integer
  9526. deliverygoodsname:
  9527. description: 交割商品名称
  9528. type: string
  9529. factoryitemjson:
  9530. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9531. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9532. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9533. 逗号分隔'
  9534. type: string
  9535. isvalid:
  9536. description: 是否有效 - 0:无效 1:有效
  9537. type: integer
  9538. minivalue:
  9539. description: 最小变动值
  9540. type: integer
  9541. minivaluedp:
  9542. description: 最小变动值小数位
  9543. type: integer
  9544. realminivalue:
  9545. description: 实际最小变动值
  9546. type: integer
  9547. realminivaluedp:
  9548. description: 实际最小变动值小数位
  9549. type: integer
  9550. unitid:
  9551. description: 单位ID
  9552. type: integer
  9553. unitname:
  9554. description: 单位
  9555. type: string
  9556. updatetime:
  9557. description: 更新时间
  9558. type: string
  9559. updatorid:
  9560. description: 更新人
  9561. type: integer
  9562. wrsstatus:
  9563. description: 状态 - 作废 - 0:未激活 1:正常
  9564. type: integer
  9565. wrstandardcode:
  9566. description: 仓单标准代码
  9567. type: string
  9568. wrstandardid:
  9569. description: 仓单标准ID(SEQ_WRSTANDARD)
  9570. type: integer
  9571. wrstandardname:
  9572. description: 仓单标准名称
  9573. type: string
  9574. required:
  9575. - wrstandardid
  9576. type: object
  9577. models.Warehouseinfo:
  9578. properties:
  9579. address:
  9580. description: 详细地址
  9581. type: string
  9582. areauserid:
  9583. description: 所属机构
  9584. type: integer
  9585. autoid:
  9586. description: 自增ID
  9587. type: integer
  9588. cityid:
  9589. description: 市
  9590. type: integer
  9591. contactname:
  9592. description: 联系人
  9593. type: string
  9594. contactnum:
  9595. description: 联系电话
  9596. type: string
  9597. countryid:
  9598. description: 国家
  9599. type: integer
  9600. createtime:
  9601. description: 创建时间
  9602. type: string
  9603. districtid:
  9604. description: 区
  9605. type: integer
  9606. hasvideo:
  9607. description: 是否有视频 - 0:无 1:有
  9608. type: integer
  9609. provinceid:
  9610. description: 省
  9611. type: integer
  9612. remark:
  9613. description: 审核备注
  9614. type: string
  9615. videourl:
  9616. description: 视频地址
  9617. type: string
  9618. warehousecode:
  9619. description: 仓库代码
  9620. type: string
  9621. warehousename:
  9622. description: 仓库名称
  9623. type: string
  9624. warehousestatus:
  9625. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9626. type: integer
  9627. warehousetype:
  9628. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9629. type: integer
  9630. required:
  9631. - autoid
  9632. - warehousecode
  9633. type: object
  9634. order.QueryHisTradeDetailRsp:
  9635. properties:
  9636. accountid:
  9637. description: 账户ID[报价币种]
  9638. type: integer
  9639. buildtype:
  9640. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9641. type: integer
  9642. buyorsell:
  9643. description: 方向 - 0:买 1:卖
  9644. type: integer
  9645. charge:
  9646. description: 手续费
  9647. type: number
  9648. closecharge:
  9649. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9650. type: number
  9651. closeexchagechargevalue:
  9652. description: 平仓交易所手续费设置值
  9653. type: number
  9654. closefeealgorithm:
  9655. description: 平仓手续费收取方式 1:比率 2:固定
  9656. type: integer
  9657. closememberchargevalue:
  9658. description: 平仓会员手续费设置值
  9659. type: number
  9660. closepl:
  9661. description: 平仓盈亏
  9662. type: number
  9663. closepl2:
  9664. description: 平仓盈亏[逐笔]
  9665. type: number
  9666. closeqty:
  9667. description: 平仓数量(先建后平操作 需要记录)
  9668. type: integer
  9669. creditamount:
  9670. description: 授信金额
  9671. type: number
  9672. gcaccountid:
  9673. description: 账户ID[合约币种]
  9674. type: integer
  9675. goodscode:
  9676. description: 商品代码
  9677. type: string
  9678. goodsid:
  9679. description: 商品ID
  9680. type: integer
  9681. goodsname:
  9682. description: 商品名称
  9683. type: string
  9684. histradedate:
  9685. description: 历史交易日
  9686. type: string
  9687. intclosepl:
  9688. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9689. type: integer
  9690. isconfirmexercise:
  9691. description: 是否确认行权- 0:否 1:是
  9692. type: integer
  9693. ismain:
  9694. description: 是否主单 - 0:不是 1:是
  9695. type: integer
  9696. ispreexercise:
  9697. description: 是否预申报- 0:否 1:是
  9698. type: integer
  9699. isreckoned:
  9700. description: 是否结算 - 0:未结算 1:已结算
  9701. type: integer
  9702. isvaliddata:
  9703. description: 是否有效 - 0:无效 1:有效
  9704. type: integer
  9705. listingselecttype:
  9706. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9707. type: integer
  9708. marketid:
  9709. description: 市场ID
  9710. type: integer
  9711. marketname:
  9712. description: 市场名称
  9713. type: string
  9714. matchaccountid:
  9715. description: 对手账号id
  9716. type: integer
  9717. memberuserid:
  9718. description: 会员id 个人投资者 需要填写
  9719. type: integer
  9720. opencharge:
  9721. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9722. type: number
  9723. openexchagechargevalue:
  9724. description: 建仓交易所手续费设置值
  9725. type: number
  9726. openfeealgorithm:
  9727. description: 建仓手续费收取方式 1:比率 2:固定
  9728. type: integer
  9729. openmemberchargevalue:
  9730. description: 建仓会员手续费设置值
  9731. type: number
  9732. openqty:
  9733. description: 开仓数量(先建后平操作 需要记录)
  9734. type: integer
  9735. optiontype:
  9736. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9737. type: integer
  9738. orderid:
  9739. description: 委托单号
  9740. type: string
  9741. performanceplanid:
  9742. description: 履约计划ID[期权]
  9743. type: integer
  9744. performancestatus:
  9745. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9746. type: integer
  9747. preexerciseprice:
  9748. description: 预申报价格
  9749. type: number
  9750. premium:
  9751. description: 权利金 - [持仓单的权利金]
  9752. type: number
  9753. relatedouttradeid:
  9754. description: 关联外部成交单ID
  9755. type: integer
  9756. status:
  9757. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9758. type: integer
  9759. tradeamount:
  9760. description: 成交金额[账户币种,用于所有权]
  9761. type: number
  9762. tradedate:
  9763. description: 交易日(yyyyMMdd)
  9764. type: string
  9765. tradeid:
  9766. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9767. type: string
  9768. trademode:
  9769. description: 交易模式
  9770. type: integer
  9771. tradeprice:
  9772. description: 成交价格
  9773. type: number
  9774. tradeproperty:
  9775. description: 交易属性
  9776. type: integer
  9777. tradeqty:
  9778. description: 成交数量
  9779. type: integer
  9780. tradetime:
  9781. description: 成交时间
  9782. type: string
  9783. tradetype:
  9784. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9785. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9786. type: integer
  9787. required:
  9788. - accountid
  9789. - buyorsell
  9790. - goodsid
  9791. - histradedate
  9792. - marketid
  9793. - memberuserid
  9794. - orderid
  9795. - tradeamount
  9796. - tradedate
  9797. - tradeid
  9798. - tradeprice
  9799. - tradeqty
  9800. - tradetime
  9801. type: object
  9802. order.QueryHisTradeOrderDetailRsp:
  9803. properties:
  9804. accountid:
  9805. description: 账户ID[报价币种]
  9806. type: integer
  9807. buildtype:
  9808. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9809. type: integer
  9810. buyorsell:
  9811. description: 买卖 - 0:买 1:卖
  9812. type: integer
  9813. cancelorderid:
  9814. description: 撤单单号(撤单时填写)
  9815. type: string
  9816. cancelqty:
  9817. description: 撤单数量
  9818. type: integer
  9819. clientordertime:
  9820. description: 客户端委托时间
  9821. type: string
  9822. clientticket:
  9823. description: 客户端流水号
  9824. type: string
  9825. clienttype:
  9826. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9827. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9828. type: integer
  9829. closeexchagechargevalue:
  9830. description: 平仓交易所手续费设置值
  9831. type: number
  9832. closefeealgorithm:
  9833. description: 平仓手续费收取方式 1:比率 2:固定
  9834. type: integer
  9835. closefreezecharge:
  9836. description: 平仓冻结手续费(先建后平操作,需要记录)
  9837. type: number
  9838. closememberchargevalue:
  9839. description: 平仓会员手续费设置值
  9840. type: number
  9841. closeqty:
  9842. description: 平仓数量(先建后平操作 需要记录)
  9843. type: integer
  9844. closetradeqty:
  9845. description: 平仓成交数量(先建后平操作,需要记录)
  9846. type: integer
  9847. closeunfreezecharge:
  9848. description: 平仓解冻手续费(先建后平操作,需要记录)
  9849. type: number
  9850. delistingtype:
  9851. description: 摘牌类型 - 1:价格最优 2:点选成交
  9852. type: integer
  9853. freezecharge:
  9854. description: 冻结手续费
  9855. type: number
  9856. freezemargin:
  9857. description: 冻结保证金(冻结交易金额)
  9858. type: number
  9859. gcaccountid:
  9860. description: 账户ID[合约币种]
  9861. type: integer
  9862. goodscode:
  9863. description: 商品代码
  9864. type: string
  9865. goodsid:
  9866. description: 商品ID
  9867. type: integer
  9868. goodsname:
  9869. description: 商品名称
  9870. type: string
  9871. histradedate:
  9872. description: 历史交易日
  9873. type: string
  9874. isconfirmexercise:
  9875. description: 是否确认行权- 0:否 1:是
  9876. type: integer
  9877. ispreexercise:
  9878. description: 是否预申报- 0:否 1:是
  9879. type: integer
  9880. isvaliddata:
  9881. description: 是否有效 - 0:无效 1:有效
  9882. type: integer
  9883. listingselecttype:
  9884. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9885. type: integer
  9886. marginalgorithm:
  9887. description: 保证金收取方式 1:比率 2:固定
  9888. type: integer
  9889. marginvalue:
  9890. description: 即市保证金设置值
  9891. type: number
  9892. marketid:
  9893. description: 市场ID
  9894. type: integer
  9895. marketmaxsub:
  9896. description: 市价最大偏移范围
  9897. type: number
  9898. marketname:
  9899. description: 市场名称
  9900. type: string
  9901. memberuserid:
  9902. description: 所属会员UserID
  9903. type: integer
  9904. openexchagechargevalue:
  9905. description: 建仓交易所手续费设置值
  9906. type: number
  9907. openfeealgorithm:
  9908. description: 建仓手续费收取方式 1:比率 2:固定
  9909. type: integer
  9910. openfreezecharge:
  9911. description: 开仓冻结手续费(先建后平操作,需要记录)
  9912. type: number
  9913. openmemberchargevalue:
  9914. description: 建仓会员手续费设置值
  9915. type: number
  9916. openqty:
  9917. description: 开仓数量(先建后平操作,需要记录)
  9918. type: integer
  9919. opentradeqty:
  9920. description: 开仓成交数量(先建后平操作,需要记录)
  9921. type: integer
  9922. openunfreezecharge:
  9923. description: 开仓解冻手续费(先建后平操作,需要记录)
  9924. type: number
  9925. operatetype:
  9926. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9927. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9928. 15:管理端协议转让
  9929. type: integer
  9930. operatorid:
  9931. description: 登录账号(LoginID)
  9932. type: integer
  9933. optiontype:
  9934. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9935. type: integer
  9936. orderid:
  9937. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9938. type: string
  9939. orderprice:
  9940. description: 委托价格
  9941. type: number
  9942. orderqty:
  9943. description: 委托数量
  9944. type: integer
  9945. ordersrc:
  9946. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9947. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9948. type: integer
  9949. orderstatus:
  9950. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9951. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9952. 16:成交失败违约(荷兰式竞拍专用)
  9953. type: integer
  9954. ordertime:
  9955. description: 委托时间
  9956. type: string
  9957. preexerciseprice:
  9958. description: 预申报价格
  9959. type: number
  9960. premium:
  9961. description: 权利金
  9962. type: number
  9963. preorderid:
  9964. description: 关联预埋单号(止盈止损单时填写)
  9965. type: string
  9966. pricemode:
  9967. description: '取价方式 - 1:市价 2: 限价'
  9968. type: integer
  9969. quoteid:
  9970. description: 报价单ID
  9971. type: integer
  9972. relatedid:
  9973. description: 关联单号(交割单)
  9974. type: string
  9975. retcode:
  9976. description: 错误代码
  9977. type: integer
  9978. sessionid:
  9979. description: 会话ID
  9980. type: integer
  9981. tradedate:
  9982. description: 交易日(yyyyMMdd)
  9983. type: string
  9984. trademode:
  9985. description: 交易模式
  9986. type: integer
  9987. tradeproperty:
  9988. description: 交易属性
  9989. type: integer
  9990. tradeqty:
  9991. description: 成交数量
  9992. type: integer
  9993. unfreezecharge:
  9994. description: 解冻手续费
  9995. type: number
  9996. unfreezemargin:
  9997. description: 解冻保证金
  9998. type: number
  9999. updatetime:
  10000. description: 更新时间
  10001. type: string
  10002. uuid:
  10003. description: 发起端唯一id
  10004. type: string
  10005. validtime:
  10006. description: 有效期限
  10007. type: string
  10008. validtype:
  10009. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10010. type: integer
  10011. volumetype:
  10012. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10013. type: integer
  10014. required:
  10015. - accountid
  10016. - buildtype
  10017. - buyorsell
  10018. - goodsid
  10019. - histradedate
  10020. - marketid
  10021. - memberuserid
  10022. - operatetype
  10023. - orderid
  10024. - orderqty
  10025. - ordertime
  10026. - pricemode
  10027. - tradedate
  10028. - validtype
  10029. type: object
  10030. order.QueryTradeDetailRsp:
  10031. properties:
  10032. accountid:
  10033. description: 账户ID[报价币种]
  10034. type: integer
  10035. buildtype:
  10036. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10037. type: integer
  10038. buyorsell:
  10039. description: 方向 - 0:买 1:卖
  10040. type: integer
  10041. charge:
  10042. description: 手续费
  10043. type: number
  10044. closecharge:
  10045. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10046. type: number
  10047. closeexchagechargevalue:
  10048. description: 平仓交易所手续费设置值
  10049. type: number
  10050. closefeealgorithm:
  10051. description: 平仓手续费收取方式 1:比率 2:固定
  10052. type: integer
  10053. closememberchargevalue:
  10054. description: 平仓会员手续费设置值
  10055. type: number
  10056. closepl:
  10057. description: 平仓盈亏
  10058. type: number
  10059. closepl2:
  10060. description: 平仓盈亏[逐笔]
  10061. type: number
  10062. closeqty:
  10063. description: 平仓数量(先建后平操作 需要记录)
  10064. type: integer
  10065. creditamount:
  10066. description: 授信金额
  10067. type: number
  10068. gcaccountid:
  10069. description: 账户ID[合约币种]
  10070. type: integer
  10071. goodscode:
  10072. description: 商品代码
  10073. type: string
  10074. goodsid:
  10075. description: 商品ID
  10076. type: integer
  10077. goodsname:
  10078. description: 商品名称
  10079. type: string
  10080. intclosepl:
  10081. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10082. type: integer
  10083. isconfirmexercise:
  10084. description: 是否确认行权- 0:否 1:是
  10085. type: integer
  10086. ismain:
  10087. description: 是否主单 - 0:不是 1:是
  10088. type: integer
  10089. ispreexercise:
  10090. description: 是否预申报- 0:否 1:是
  10091. type: integer
  10092. isreckoned:
  10093. description: 是否结算 - 0:未结算 1:已结算
  10094. type: integer
  10095. listingselecttype:
  10096. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10097. type: integer
  10098. marketid:
  10099. description: 市场ID
  10100. type: integer
  10101. marketname:
  10102. description: 市场名称
  10103. type: string
  10104. matchaccountid:
  10105. description: 对手账号id
  10106. type: integer
  10107. memberuserid:
  10108. description: 会员id 个人投资者 需要填写
  10109. type: integer
  10110. opencharge:
  10111. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10112. type: number
  10113. openexchagechargevalue:
  10114. description: 建仓交易所手续费设置值
  10115. type: number
  10116. openfeealgorithm:
  10117. description: 建仓手续费收取方式 1:比率 2:固定
  10118. type: integer
  10119. openmemberchargevalue:
  10120. description: 建仓会员手续费设置值
  10121. type: number
  10122. openqty:
  10123. description: 开仓数量(先建后平操作 需要记录)
  10124. type: integer
  10125. optiontype:
  10126. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10127. type: integer
  10128. orderid:
  10129. description: 委托单号
  10130. type: string
  10131. performanceplanid:
  10132. description: 履约计划ID[期权]
  10133. type: integer
  10134. performancestatus:
  10135. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10136. type: integer
  10137. preexerciseprice:
  10138. description: 预申报价格
  10139. type: number
  10140. premium:
  10141. description: 权利金 - [持仓单的权利金]
  10142. type: number
  10143. relatedouttradeid:
  10144. description: 关联外部成交单ID
  10145. type: integer
  10146. status:
  10147. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10148. type: integer
  10149. tradeamount:
  10150. description: 成交金额[账户币种,用于所有权]
  10151. type: number
  10152. tradedate:
  10153. description: 交易日(yyyyMMdd)
  10154. type: string
  10155. tradeid:
  10156. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10157. type: string
  10158. trademode:
  10159. description: 交易模式
  10160. type: integer
  10161. tradeprice:
  10162. description: 成交价格
  10163. type: number
  10164. tradeproperty:
  10165. description: 交易属性
  10166. type: integer
  10167. tradeqty:
  10168. description: 成交数量
  10169. type: integer
  10170. tradetime:
  10171. description: 成交时间
  10172. type: string
  10173. tradetype:
  10174. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10175. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10176. type: integer
  10177. required:
  10178. - accountid
  10179. - buyorsell
  10180. - goodsid
  10181. - marketid
  10182. - memberuserid
  10183. - orderid
  10184. - tradeamount
  10185. - tradedate
  10186. - tradeid
  10187. - tradeprice
  10188. - tradeqty
  10189. - tradetime
  10190. type: object
  10191. order.QueryTradeOrderDetailRsp:
  10192. properties:
  10193. accountid:
  10194. description: 账户ID[报价币种]
  10195. type: integer
  10196. buildtype:
  10197. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10198. type: integer
  10199. buyorsell:
  10200. description: 买卖 - 0:买 1:卖
  10201. type: integer
  10202. cancelorderid:
  10203. description: 撤单单号(撤单时填写)
  10204. type: string
  10205. cancelqty:
  10206. description: 撤单数量
  10207. type: integer
  10208. clienttype:
  10209. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10210. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10211. type: integer
  10212. closefreezecharge:
  10213. description: 平仓冻结手续费(先建后平操作,需要记录)
  10214. type: number
  10215. closeqty:
  10216. description: 平仓数量(先建后平操作 需要记录)
  10217. type: integer
  10218. closetradeqty:
  10219. description: 平仓成交数量(先建后平操作,需要记录)
  10220. type: integer
  10221. closeunfreezecharge:
  10222. description: 平仓解冻手续费(先建后平操作,需要记录)
  10223. type: number
  10224. delistingtype:
  10225. description: 摘牌类型 - 1:价格最优 2:点选成交
  10226. type: integer
  10227. enableqty:
  10228. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10229. type: integer
  10230. freezecharge:
  10231. description: 冻结手续费
  10232. type: number
  10233. freezemargin:
  10234. description: 冻结保证金(冻结交易金额)
  10235. type: number
  10236. goodscode:
  10237. description: 商品代码
  10238. type: string
  10239. goodsid:
  10240. description: 商品ID
  10241. type: integer
  10242. goodsname:
  10243. description: 商品名称
  10244. type: string
  10245. listingselecttype:
  10246. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10247. type: integer
  10248. marketid:
  10249. description: 市场ID
  10250. type: integer
  10251. marketname:
  10252. description: 市场名称
  10253. type: string
  10254. openfreezecharge:
  10255. description: 开仓冻结手续费(先建后平操作,需要记录)
  10256. type: number
  10257. openqty:
  10258. description: 开仓数量(先建后平操作,需要记录)
  10259. type: integer
  10260. opentradeqty:
  10261. description: 开仓成交数量(先建后平操作,需要记录)
  10262. type: integer
  10263. openunfreezecharge:
  10264. description: 开仓解冻手续费(先建后平操作,需要记录)
  10265. type: number
  10266. operatetype:
  10267. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10268. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10269. 15:管理端协议转让
  10270. type: integer
  10271. operatorid:
  10272. description: 登录账号(LoginID)
  10273. type: integer
  10274. orderid:
  10275. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10276. type: string
  10277. orderprice:
  10278. description: 委托价格
  10279. type: number
  10280. orderqty:
  10281. description: 委托数量
  10282. type: integer
  10283. ordersrc:
  10284. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10285. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10286. type: integer
  10287. orderstatus:
  10288. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10289. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10290. 16:成交失败违约(荷兰式竞拍专用)
  10291. type: integer
  10292. ordertime:
  10293. description: 委托时间
  10294. type: string
  10295. preorderid:
  10296. description: 关联预埋单号(止盈止损单时填写)
  10297. type: string
  10298. pricemode:
  10299. description: '取价方式 - 1:市价 2: 限价'
  10300. type: integer
  10301. relatedid:
  10302. description: 关联单号(交割单)
  10303. type: string
  10304. tradedate:
  10305. description: 交易日(yyyyMMdd)
  10306. type: string
  10307. trademode:
  10308. description: 交易模式
  10309. type: integer
  10310. tradeqty:
  10311. description: 成交数量
  10312. type: integer
  10313. unfreezecharge:
  10314. description: 解冻手续费
  10315. type: number
  10316. unfreezemargin:
  10317. description: 解冻保证金
  10318. type: number
  10319. validtime:
  10320. description: 有效期限
  10321. type: string
  10322. validtype:
  10323. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10324. type: integer
  10325. volumetype:
  10326. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10327. type: integer
  10328. required:
  10329. - accountid
  10330. - buildtype
  10331. - buyorsell
  10332. - goodsid
  10333. - marketid
  10334. - operatetype
  10335. - orderqty
  10336. - ordertime
  10337. - pricemode
  10338. - tradedate
  10339. - validtype
  10340. type: object
  10341. order.QueryTradePositionRsp:
  10342. properties:
  10343. accountid:
  10344. description: 资金账户
  10345. type: integer
  10346. agreeunit:
  10347. description: 合约单位
  10348. type: number
  10349. averageprice:
  10350. description: 持仓均价
  10351. type: number
  10352. buyorsell:
  10353. description: 方向 - 0:买 1:卖
  10354. type: integer
  10355. closetotalqty:
  10356. description: 平仓总数量
  10357. type: integer
  10358. curholderamount:
  10359. description: 当前持仓总金额[商品币种]
  10360. type: number
  10361. curpositionqty:
  10362. description: 当前持仓总数量
  10363. type: integer
  10364. currencyid:
  10365. description: 报价货币ID
  10366. type: integer
  10367. curtdposition:
  10368. description: 期末今日头寸
  10369. type: integer
  10370. decimalplace:
  10371. description: 报价小数位
  10372. type: integer
  10373. enableqty:
  10374. description: 可用量
  10375. type: integer
  10376. fretdposition:
  10377. description: 冻结今日头寸
  10378. type: integer
  10379. frozenqty:
  10380. description: 持仓冻结数量
  10381. type: integer
  10382. goodscode:
  10383. description: 商品代码
  10384. type: string
  10385. goodsid:
  10386. description: 商品Id
  10387. type: integer
  10388. goodsname:
  10389. description: 商品名称
  10390. type: string
  10391. goodunit:
  10392. description: 报价单位
  10393. type: string
  10394. goodunitid:
  10395. description: 报价单位ID
  10396. type: integer
  10397. holderamount:
  10398. description: 期初持仓总金额[商品币种]
  10399. type: number
  10400. marketid:
  10401. description: 所属市场ID
  10402. type: integer
  10403. openreqqty:
  10404. description: 开仓申请数量(用于比较最大持仓数量)
  10405. type: integer
  10406. opentotalqty:
  10407. description: 开仓总数量
  10408. type: integer
  10409. otherfrozenqty:
  10410. description: 持仓其他冻结数量(交割冻结)
  10411. type: integer
  10412. positionqty:
  10413. description: 期初持仓数量
  10414. type: integer
  10415. tnqty:
  10416. description: T+N冻结总量
  10417. type: integer
  10418. tnusedqty:
  10419. description: T+N使用量(可以使用T+N的冻结数量)
  10420. type: integer
  10421. trademode:
  10422. description: 交易模式
  10423. type: integer
  10424. usedmargin:
  10425. description: 占用保证金[商品币种]
  10426. type: number
  10427. required:
  10428. - goodsid
  10429. type: object
  10430. quote.HistoryData:
  10431. properties:
  10432. c:
  10433. description: 收盘价
  10434. type: number
  10435. f:
  10436. description: 是否补充数据
  10437. type: boolean
  10438. h:
  10439. description: 最高价
  10440. type: number
  10441. hv:
  10442. description: 持仓量
  10443. type: integer
  10444. l:
  10445. description: 最低价
  10446. type: number
  10447. o:
  10448. description: 开盘价
  10449. type: number
  10450. s:
  10451. description: 结算价,日线周期(包括)以上才有
  10452. type: number
  10453. ts:
  10454. description: 时间
  10455. type: string
  10456. tt:
  10457. description: 总金额
  10458. type: number
  10459. tv:
  10460. description: 总量
  10461. type: integer
  10462. type: object
  10463. quote.HistoryTikData:
  10464. properties:
  10465. AV:
  10466. description: 卖量
  10467. type: integer
  10468. Ask:
  10469. description: 卖价
  10470. type: number
  10471. BV:
  10472. description: 买量
  10473. type: integer
  10474. Bid:
  10475. description: 买价
  10476. type: number
  10477. HI:
  10478. description: 单笔持仓
  10479. type: integer
  10480. HV:
  10481. description: 持仓量
  10482. type: integer
  10483. PE:
  10484. description: 现价
  10485. type: number
  10486. TDR:
  10487. description: 交易方向,0:买 1:卖
  10488. type: integer
  10489. TK:
  10490. description: 交易类型
  10491. type: integer
  10492. TS:
  10493. description: 行情时间文本
  10494. type: string
  10495. TT:
  10496. description: 现金额
  10497. type: number
  10498. Vol:
  10499. description: 现量
  10500. type: integer
  10501. type: object
  10502. quote.QueryQuoteDayRsp:
  10503. properties:
  10504. ask:
  10505. description: 卖1
  10506. type: number
  10507. ask2:
  10508. description: 卖2
  10509. type: number
  10510. ask3:
  10511. description: 卖3
  10512. type: number
  10513. ask4:
  10514. description: 卖4
  10515. type: number
  10516. ask5:
  10517. description: 卖5
  10518. type: number
  10519. ask6:
  10520. description: 卖6
  10521. type: number
  10522. ask7:
  10523. description: 卖7
  10524. type: number
  10525. ask8:
  10526. description: 卖8
  10527. type: number
  10528. ask9:
  10529. description: 卖9
  10530. type: number
  10531. ask10:
  10532. description: 卖10
  10533. type: number
  10534. askorderid:
  10535. description: 卖单号1
  10536. type: integer
  10537. askorderid2:
  10538. description: 卖单号2
  10539. type: integer
  10540. askorderid3:
  10541. description: 卖单号3
  10542. type: integer
  10543. askorderid4:
  10544. description: 卖单号4
  10545. type: integer
  10546. askorderid5:
  10547. description: 卖单号5
  10548. type: integer
  10549. askordervolume:
  10550. description: 卖单量1
  10551. type: integer
  10552. askordervolume2:
  10553. description: 卖单量2
  10554. type: integer
  10555. askordervolume3:
  10556. description: 卖单量3
  10557. type: integer
  10558. askordervolume4:
  10559. description: 卖单量4
  10560. type: integer
  10561. askordervolume5:
  10562. description: 卖单量5
  10563. type: integer
  10564. askordervolume6:
  10565. description: 卖单量6
  10566. type: integer
  10567. askordervolume7:
  10568. description: 卖单量7
  10569. type: integer
  10570. askordervolume8:
  10571. description: 卖单量8
  10572. type: integer
  10573. askordervolume9:
  10574. description: 卖单量9
  10575. type: integer
  10576. askordervolume10:
  10577. description: 卖单量10
  10578. type: integer
  10579. askqueueinfo:
  10580. description: 大利市卖港股用
  10581. type: string
  10582. askvolume:
  10583. description: 卖量1
  10584. type: integer
  10585. askvolume2:
  10586. description: 卖量2
  10587. type: integer
  10588. askvolume3:
  10589. description: 卖量3
  10590. type: integer
  10591. askvolume4:
  10592. description: 卖量4
  10593. type: integer
  10594. askvolume5:
  10595. description: 卖量5
  10596. type: integer
  10597. askvolume6:
  10598. description: 卖量6
  10599. type: integer
  10600. askvolume7:
  10601. description: 卖量7
  10602. type: integer
  10603. askvolume8:
  10604. description: 卖量8
  10605. type: integer
  10606. askvolume9:
  10607. description: 卖量9
  10608. type: integer
  10609. askvolume10:
  10610. description: 卖量10
  10611. type: integer
  10612. averageprice:
  10613. description: 均价
  10614. type: number
  10615. bid:
  10616. description: 买1
  10617. type: number
  10618. bid2:
  10619. description: 买2
  10620. type: number
  10621. bid3:
  10622. description: 买3
  10623. type: number
  10624. bid4:
  10625. description: 买4
  10626. type: number
  10627. bid5:
  10628. description: 买5
  10629. type: number
  10630. bid6:
  10631. description: 买6
  10632. type: number
  10633. bid7:
  10634. description: 买7
  10635. type: number
  10636. bid8:
  10637. description: 买8
  10638. type: number
  10639. bid9:
  10640. description: 买9
  10641. type: number
  10642. bid10:
  10643. description: 买10
  10644. type: number
  10645. bidorderid:
  10646. description: 买单号1
  10647. type: integer
  10648. bidorderid2:
  10649. description: 买单号2
  10650. type: integer
  10651. bidorderid3:
  10652. description: 买单号3
  10653. type: integer
  10654. bidorderid4:
  10655. description: 买单号4
  10656. type: integer
  10657. bidorderid5:
  10658. description: 买单号5
  10659. type: integer
  10660. bidordervolume:
  10661. description: 买单量1
  10662. type: integer
  10663. bidordervolume2:
  10664. description: 买单量2
  10665. type: integer
  10666. bidordervolume3:
  10667. description: 买单量3
  10668. type: integer
  10669. bidordervolume4:
  10670. description: 买单量4
  10671. type: integer
  10672. bidordervolume5:
  10673. description: 买单量5
  10674. type: integer
  10675. bidordervolume6:
  10676. description: 买单量6
  10677. type: integer
  10678. bidordervolume7:
  10679. description: 买单量7
  10680. type: integer
  10681. bidordervolume8:
  10682. description: 买单量8
  10683. type: integer
  10684. bidordervolume9:
  10685. description: 买单量9
  10686. type: integer
  10687. bidordervolume10:
  10688. description: 买单量10
  10689. type: integer
  10690. bidqueueinfo:
  10691. description: 大利市买港股用
  10692. type: string
  10693. bidvolume:
  10694. description: 买量1
  10695. type: integer
  10696. bidvolume2:
  10697. description: 买量2
  10698. type: integer
  10699. bidvolume3:
  10700. description: 买量3
  10701. type: integer
  10702. bidvolume4:
  10703. description: 买量4
  10704. type: integer
  10705. bidvolume5:
  10706. description: 买量5
  10707. type: integer
  10708. bidvolume6:
  10709. description: 买量6
  10710. type: integer
  10711. bidvolume7:
  10712. description: 买量7
  10713. type: integer
  10714. bidvolume8:
  10715. description: 买量8
  10716. type: integer
  10717. bidvolume9:
  10718. description: 买量9
  10719. type: integer
  10720. bidvolume10:
  10721. description: 买量10
  10722. type: integer
  10723. calloptionpremiums:
  10724. description: 认购期权1
  10725. type: integer
  10726. calloptionpremiums2:
  10727. description: 认购期权2
  10728. type: integer
  10729. calloptionpremiums3:
  10730. description: 认购期权3
  10731. type: integer
  10732. calloptionpremiums4:
  10733. description: 认购期权4
  10734. type: integer
  10735. calloptionpremiums5:
  10736. description: 认购期权5
  10737. type: integer
  10738. cleartime:
  10739. description: 清盘时间
  10740. type: integer
  10741. exchangecode:
  10742. description: 交易所代码
  10743. type: integer
  10744. exchangedate:
  10745. description: 交易日
  10746. type: integer
  10747. goodscode:
  10748. description: 商品代码
  10749. type: string
  10750. grepmarketprice:
  10751. description: 暗盘价 港股专用
  10752. type: number
  10753. highest:
  10754. description: 最高价
  10755. type: number
  10756. holdincrement:
  10757. description: 单笔持仓
  10758. type: integer
  10759. holdvolume:
  10760. description: 持仓
  10761. type: integer
  10762. iep:
  10763. description: 平衡价 港股专用
  10764. type: number
  10765. iev:
  10766. description: 平衡量 港股专用
  10767. type: number
  10768. inventory:
  10769. description: 库存
  10770. type: integer
  10771. iscleared:
  10772. description: 是否清盘标志
  10773. type: integer
  10774. issettled:
  10775. description: 是否结算标志
  10776. type: integer
  10777. last:
  10778. description: 最新价
  10779. type: number
  10780. lastlot:
  10781. description: 最新成交手数
  10782. type: integer
  10783. lasttime:
  10784. description: 行情时间(只有现价变化行情时间才变化)
  10785. type: string
  10786. lastturnover:
  10787. description: 最新成交金额
  10788. type: number
  10789. lastvolume:
  10790. description: 最新成交量
  10791. type: integer
  10792. limitdown:
  10793. description: 跌停价
  10794. type: number
  10795. limitup:
  10796. description: 涨停价
  10797. type: number
  10798. lowest:
  10799. description: 最低价
  10800. type: number
  10801. nontotalholdervolume:
  10802. description: 非交易持仓量
  10803. type: integer
  10804. nontotallot:
  10805. description: 非交易总手数
  10806. type: integer
  10807. nontotalturnover:
  10808. description: 非交易总金额
  10809. type: integer
  10810. nontotalvolume:
  10811. description: 非交易总量
  10812. type: integer
  10813. opened:
  10814. description: 开盘价
  10815. type: number
  10816. opentime:
  10817. description: 开盘时间
  10818. type: string
  10819. orderid:
  10820. description: 序号
  10821. type: integer
  10822. preclose:
  10823. description: 昨收
  10824. type: number
  10825. preholdvolume:
  10826. description: 昨持仓
  10827. type: integer
  10828. presettle:
  10829. description: 昨结价
  10830. type: number
  10831. publictradetype:
  10832. description: 公共交易标志类型 港股专用
  10833. type: string
  10834. putoptionpremiums:
  10835. description: 认沽期权1
  10836. type: integer
  10837. putoptionpremiums2:
  10838. description: 认沽期权2
  10839. type: integer
  10840. putoptionpremiums3:
  10841. description: 认沽期权3
  10842. type: integer
  10843. putoptionpremiums4:
  10844. description: 认沽期权4
  10845. type: integer
  10846. putoptionpremiums5:
  10847. description: 认沽期权5
  10848. type: integer
  10849. settle:
  10850. description: 结算价
  10851. type: number
  10852. strikeprice:
  10853. description: 发行价
  10854. type: number
  10855. totalaskvolume:
  10856. description: 内盘
  10857. type: integer
  10858. totalbidvolume:
  10859. description: 外盘
  10860. type: integer
  10861. totallot:
  10862. description: 总手数
  10863. type: integer
  10864. totalturnover:
  10865. description: 总金额
  10866. type: number
  10867. totalvolume:
  10868. description: 总量
  10869. type: integer
  10870. utclasttime:
  10871. description: utc的行情时间
  10872. type: string
  10873. type: object
  10874. quote.QueryTSDataRsp:
  10875. properties:
  10876. Count:
  10877. description: 交易日应有数据个数
  10878. type: integer
  10879. decimalPlace:
  10880. description: 小数位
  10881. type: integer
  10882. endTime:
  10883. description: 结束时间
  10884. type: string
  10885. goodsCode:
  10886. description: 商品代码
  10887. type: string
  10888. historyDatas:
  10889. description: 历史数据
  10890. items:
  10891. $ref: '#/definitions/quote.HistoryData'
  10892. type: array
  10893. outGoodsCode:
  10894. description: 外部商品代码
  10895. type: string
  10896. preSettle:
  10897. description: 昨结价
  10898. type: number
  10899. runSteps:
  10900. description: 交易日开休市计划
  10901. items:
  10902. $ref: '#/definitions/quote.TSDataRunStep'
  10903. type: array
  10904. startTime:
  10905. description: 开始时间
  10906. type: string
  10907. tradeDate:
  10908. description: 交易日
  10909. type: string
  10910. type: object
  10911. quote.TSDataRunStep:
  10912. properties:
  10913. end:
  10914. description: 真实结束时间
  10915. type: string
  10916. endflag:
  10917. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10918. type: integer
  10919. endtime:
  10920. description: 结束时间(HH:mm)
  10921. type: string
  10922. endweekday:
  10923. description: 结束周几
  10924. type: integer
  10925. groupid:
  10926. description: 分组ID
  10927. type: integer
  10928. runstep:
  10929. description: 运行阶段 - 2:连续交易
  10930. type: integer
  10931. sectionid:
  10932. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10933. 结束时间=结算时间 结束周几=结算周几
  10934. type: integer
  10935. start:
  10936. description: 真实开始时间
  10937. type: string
  10938. startflag:
  10939. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10940. type: integer
  10941. starttime:
  10942. description: 起始时间(HH:mm)
  10943. type: string
  10944. startweekday:
  10945. description: 起始周几
  10946. type: integer
  10947. tradeweekday:
  10948. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10949. type: integer
  10950. type: object
  10951. szdz.QueryConvertLogRsp:
  10952. properties:
  10953. accountid:
  10954. description: 资金账户ID
  10955. type: integer
  10956. clientticket:
  10957. description: 客户端流水号
  10958. type: string
  10959. converttype:
  10960. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10961. type: integer
  10962. createtime:
  10963. description: 记账时间
  10964. type: string
  10965. daymaxvalue:
  10966. description: 配置当日最大转入限制
  10967. type: number
  10968. daymaxvalue2:
  10969. description: 配置当日最大转入限制(转入)
  10970. type: number
  10971. goodscode:
  10972. description: 商品代码
  10973. type: string
  10974. goodsname:
  10975. description: 商品名称
  10976. type: string
  10977. handlestatus:
  10978. description: 处理状态
  10979. type: integer
  10980. innergoodsid:
  10981. description: 内部商品ID
  10982. type: integer
  10983. inratio:
  10984. description: 配置转入比值
  10985. type: integer
  10986. invalue:
  10987. description: 目标值
  10988. type: number
  10989. logid:
  10990. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10991. type: integer
  10992. mobile:
  10993. description: 手机号码(加密存储)
  10994. type: string
  10995. outergoodscode:
  10996. description: 外部商品代码[JD\PD]
  10997. type: string
  10998. outratio:
  10999. description: 配置转出比值
  11000. type: integer
  11001. outvalue:
  11002. description: 源值
  11003. type: number
  11004. pddecimalplace:
  11005. description: PD小数位
  11006. type: integer
  11007. qty:
  11008. description: 数量
  11009. type: string
  11010. remark:
  11011. description: 备注
  11012. type: string
  11013. sessionid:
  11014. description: 会话ID
  11015. type: integer
  11016. timemaxvalue:
  11017. description: 配置单次最大转入限制
  11018. type: number
  11019. timemaxvalue2:
  11020. description: 配置单次最大转入限制(转入)
  11021. type: number
  11022. timeminvalue:
  11023. description: 配置单次最小数量限制
  11024. type: number
  11025. timeminvalue2:
  11026. description: 配置单次最小数量限制(转入)
  11027. type: number
  11028. tradedate:
  11029. description: 交易日(yyyyMMdd)
  11030. type: string
  11031. userid:
  11032. description: 用户ID
  11033. type: integer
  11034. required:
  11035. - logid
  11036. type: object
  11037. szdz.QueryGoodsPickupRsp:
  11038. properties:
  11039. accountid:
  11040. description: 账户ID
  11041. type: integer
  11042. address:
  11043. description: 提货人详细地址
  11044. type: string
  11045. auditer:
  11046. description: 审核人
  11047. type: integer
  11048. audittime:
  11049. description: 审核时间
  11050. type: string
  11051. cardnum:
  11052. description: 提货人证件号码
  11053. type: string
  11054. cardtypeid:
  11055. description: 提货人证件类型
  11056. type: integer
  11057. checkremark:
  11058. description: 审核备注
  11059. type: string
  11060. goodscode:
  11061. description: 商品代码
  11062. type: string
  11063. goodsid:
  11064. description: 商品ID
  11065. type: integer
  11066. goodsname:
  11067. description: 商品名称
  11068. type: string
  11069. handlestatus:
  11070. description: 处理状态
  11071. type: integer
  11072. marketid:
  11073. description: 市场ID
  11074. type: integer
  11075. phonenum:
  11076. description: 提货人联系方式
  11077. type: string
  11078. qty:
  11079. description: 提货数量
  11080. type: number
  11081. recivername:
  11082. description: 提货人姓名
  11083. type: string
  11084. reqtime:
  11085. description: 更新时间
  11086. type: string
  11087. takemode:
  11088. description: 提货方式 - 2:自提 3:配送
  11089. type: integer
  11090. takeorderid:
  11091. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11092. type: string
  11093. takeorderstatus:
  11094. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11095. type: integer
  11096. takeremark:
  11097. description: 提货备注
  11098. type: string
  11099. tradedate:
  11100. description: 交易日(yyyyMMdd)
  11101. type: string
  11102. userid:
  11103. description: 用户ID
  11104. type: integer
  11105. required:
  11106. - takeorderid
  11107. type: object
  11108. szdz.QueryRecieptOrderRsp:
  11109. properties:
  11110. accountName:
  11111. description: 所属账号名称(已脱敏)
  11112. type: string
  11113. accountid:
  11114. description: 资金账号
  11115. type: integer
  11116. buyorsell:
  11117. description: 方向 - 0:买 1:卖
  11118. type: integer
  11119. enableqty:
  11120. description: 可摘数量
  11121. type: integer
  11122. goodscode:
  11123. description: 商品代码
  11124. type: string
  11125. goodsid:
  11126. description: 商品ID
  11127. type: integer
  11128. goodsname:
  11129. description: 商品名称
  11130. type: string
  11131. orderid:
  11132. description: 委托单号
  11133. type: string
  11134. orderprice:
  11135. description: 委托价格
  11136. type: number
  11137. ordertime:
  11138. description: 委托时间
  11139. type: string
  11140. tradedate:
  11141. description: 交易日(yyyyMMdd)
  11142. type: string
  11143. required:
  11144. - ordertime
  11145. type: object
  11146. szdz.QuerySZDZTradePositionRsp:
  11147. properties:
  11148. accountid:
  11149. description: 账号Id
  11150. type: integer
  11151. agreeunit:
  11152. description: 合约单位
  11153. type: number
  11154. averageprice:
  11155. description: 持仓均价
  11156. type: number
  11157. buyorsell:
  11158. description: 方向 - 0:买 1:卖
  11159. type: integer
  11160. closetotalqty:
  11161. description: 平仓总数量
  11162. type: integer
  11163. curholderamount:
  11164. description: 当前持仓总金额
  11165. type: number
  11166. curpositionqty:
  11167. description: 当前持仓总数量
  11168. type: integer
  11169. currencyid:
  11170. description: 报价货币ID
  11171. type: integer
  11172. curtdposition:
  11173. description: 期末今日头寸
  11174. type: integer
  11175. decimalplace:
  11176. description: 报价小数位
  11177. type: integer
  11178. enableqty:
  11179. description: 可用量
  11180. type: integer
  11181. fretdposition:
  11182. description: 冻结今日头寸
  11183. type: integer
  11184. frozenqty:
  11185. description: 持仓冻结数量
  11186. type: integer
  11187. goodscode:
  11188. description: 商品代码(内部)
  11189. type: string
  11190. goodsid:
  11191. description: 商品Id
  11192. type: integer
  11193. goodsname:
  11194. description: 商品名称
  11195. type: string
  11196. goodunit:
  11197. description: 报价单位
  11198. type: string
  11199. goodunitid:
  11200. description: 报价单位ID
  11201. type: integer
  11202. holderamount:
  11203. description: 期初持仓总金额
  11204. type: number
  11205. marketid:
  11206. description: 市场ID
  11207. type: integer
  11208. openreqqty:
  11209. description: 开仓申请数量
  11210. type: integer
  11211. opentotalqty:
  11212. description: 开仓总数量
  11213. type: integer
  11214. otherfrozenqty:
  11215. description: 持仓其他冻结数量(交割冻结)
  11216. type: integer
  11217. positionqty:
  11218. description: 期初持仓数量
  11219. type: integer
  11220. szdz3freezqty:
  11221. description: 尚志大宗转换冻结总数量
  11222. type: integer
  11223. tnqty:
  11224. description: T+N冻结总量
  11225. type: integer
  11226. tnusedqty:
  11227. description: T+N使用量
  11228. type: integer
  11229. trademode:
  11230. description: 交易模式
  11231. type: integer
  11232. usedmargin:
  11233. description: 占用保证金
  11234. type: number
  11235. type: object
  11236. taaccount.QueryAmountLogRsp:
  11237. properties:
  11238. OPERATETYPENAME:
  11239. description: 资金操作类型名称
  11240. type: string
  11241. accountid:
  11242. description: 资金账户ID
  11243. type: integer
  11244. agoodscode:
  11245. description: 竞拍商品代码
  11246. type: string
  11247. agoodsname:
  11248. description: 竞拍商品名称
  11249. type: string
  11250. amount:
  11251. description: 资金金额
  11252. type: number
  11253. amountadjusttype:
  11254. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11255. type: integer
  11256. autoid:
  11257. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11258. type: integer
  11259. balance:
  11260. description: 期初余额
  11261. type: number
  11262. businesscode:
  11263. description: 业务编号
  11264. type: integer
  11265. createtime:
  11266. description: 发生时间
  11267. type: string
  11268. currencyid:
  11269. description: 币种ID
  11270. type: integer
  11271. currentbalance:
  11272. description: 期末余额(变动后金额)
  11273. type: number
  11274. dgoodscode:
  11275. description: 交割商品代码
  11276. type: string
  11277. dgoodsname:
  11278. description: 交割商品名称
  11279. type: string
  11280. goodscode:
  11281. description: 商品代码
  11282. type: string
  11283. goodsid:
  11284. description: 商品ID
  11285. type: integer
  11286. goodsname:
  11287. description: 商品名称
  11288. type: string
  11289. marketid:
  11290. description: 市场ID
  11291. type: integer
  11292. marketname:
  11293. description: 市场名称
  11294. type: string
  11295. moneyticket:
  11296. description: 资金流水号:银行端流水号
  11297. type: integer
  11298. operatetype:
  11299. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11300. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11301. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11302. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11303. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11304. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11305. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11306. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11307. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11308. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11309. type: integer
  11310. relationorderid:
  11311. description: 关联单号
  11312. type: string
  11313. remark:
  11314. description: 备注
  11315. type: string
  11316. trademode:
  11317. description: 交易模式
  11318. type: integer
  11319. required:
  11320. - accountid
  11321. - amount
  11322. - amountadjusttype
  11323. - autoid
  11324. - balance
  11325. - createtime
  11326. - currentbalance
  11327. - operatetype
  11328. type: object
  11329. taaccount.QueryHisAmountLogRsp:
  11330. properties:
  11331. OPERATETYPENAME:
  11332. description: 资金操作类型名称
  11333. type: string
  11334. accountid:
  11335. description: 资金账户ID
  11336. type: integer
  11337. agoodscode:
  11338. description: 竞拍商品代码
  11339. type: string
  11340. agoodsname:
  11341. description: 竞拍商品名称
  11342. type: string
  11343. amount:
  11344. description: 资金金额
  11345. type: number
  11346. amountadjusttype:
  11347. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11348. type: integer
  11349. autoid:
  11350. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11351. type: integer
  11352. balance:
  11353. description: 期初余额
  11354. type: number
  11355. businesscode:
  11356. description: 业务编号
  11357. type: integer
  11358. createtime:
  11359. description: 发生时间
  11360. type: string
  11361. currencyid:
  11362. description: 币种ID
  11363. type: integer
  11364. currentbalance:
  11365. description: 期末余额(变动后金额)
  11366. type: number
  11367. dgoodscode:
  11368. description: 交割商品代码
  11369. type: string
  11370. dgoodsname:
  11371. description: 交割商品名称
  11372. type: string
  11373. goodscode:
  11374. description: 商品代码
  11375. type: string
  11376. goodsid:
  11377. description: 商品ID
  11378. type: integer
  11379. goodsname:
  11380. description: 商品名称
  11381. type: string
  11382. histradedate:
  11383. description: 历史交易日
  11384. type: string
  11385. isvaliddata:
  11386. description: 是否有效 - 0:无效 1:有效
  11387. type: integer
  11388. marketid:
  11389. description: 市场ID
  11390. type: integer
  11391. marketname:
  11392. description: 市场名称
  11393. type: string
  11394. moneyticket:
  11395. description: 资金流水号:银行端流水号
  11396. type: integer
  11397. operatetype:
  11398. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11399. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11400. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11401. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11402. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11403. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11404. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11405. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11406. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11407. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11408. type: integer
  11409. relationorderid:
  11410. description: 关联单号
  11411. type: string
  11412. remark:
  11413. description: 备注
  11414. type: string
  11415. trademode:
  11416. description: 交易模式
  11417. type: integer
  11418. required:
  11419. - accountid
  11420. - amount
  11421. - amountadjusttype
  11422. - autoid
  11423. - balance
  11424. - createtime
  11425. - currentbalance
  11426. - histradedate
  11427. - operatetype
  11428. type: object
  11429. trade.QueryRecieptOrderRsp:
  11430. properties:
  11431. accountName:
  11432. description: 所属账号名称(已脱敏)
  11433. type: string
  11434. accountid:
  11435. description: 资金账号
  11436. type: integer
  11437. buyorsell:
  11438. description: 方向 - 0:买 1:卖
  11439. type: integer
  11440. enableqty:
  11441. description: 可摘数量
  11442. type: integer
  11443. goodscode:
  11444. description: 商品代码
  11445. type: string
  11446. goodsid:
  11447. description: 商品ID
  11448. type: integer
  11449. goodsname:
  11450. description: 商品名称
  11451. type: string
  11452. orderid:
  11453. description: 委托单号
  11454. type: string
  11455. orderprice:
  11456. description: 委托价格
  11457. type: number
  11458. ordertime:
  11459. description: 委托时间
  11460. type: string
  11461. tradedate:
  11462. description: 交易日(yyyyMMdd)
  11463. type: string
  11464. required:
  11465. - ordertime
  11466. type: object
  11467. user.LoginQueryRsp:
  11468. properties:
  11469. externalExchanges:
  11470. description: 外部交易所
  11471. items:
  11472. $ref: '#/definitions/models.Externalexchange'
  11473. type: array
  11474. goodsgroups:
  11475. description: 商品组
  11476. items:
  11477. $ref: '#/definitions/models.Goodsgroup'
  11478. type: array
  11479. loginAccount:
  11480. $ref: '#/definitions/models.Loginaccount'
  11481. description: 登录账号
  11482. type: object
  11483. markets:
  11484. description: 市场
  11485. items:
  11486. $ref: '#/definitions/models.Market'
  11487. type: array
  11488. systemParams:
  11489. description: 系统参数
  11490. items:
  11491. $ref: '#/definitions/models.Systemparam'
  11492. type: array
  11493. userAccount:
  11494. $ref: '#/definitions/models.Useraccount'
  11495. description: 用户账号
  11496. type: object
  11497. userInfo:
  11498. $ref: '#/definitions/models.Userinfo'
  11499. description: 用户信息
  11500. type: object
  11501. username:
  11502. description: 用户姓名
  11503. type: string
  11504. type: object
  11505. info:
  11506. contact: {}
  11507. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11508. license: {}
  11509. termsOfService: http://muchinfo.cn
  11510. title: MTP2.0 查询服务 API
  11511. version: "1.0"
  11512. paths:
  11513. /CPTrade/QueryCPTradeMyBidInfos:
  11514. get:
  11515. parameters:
  11516. - description: 资金账户
  11517. in: query
  11518. name: accountid
  11519. required: true
  11520. type: integer
  11521. - description: 预售市场ID
  11522. in: query
  11523. name: marketid
  11524. type: integer
  11525. - description: 预售商品ID
  11526. in: query
  11527. name: goodsid
  11528. type: integer
  11529. produces:
  11530. - application/json
  11531. responses:
  11532. "200":
  11533. description: OK
  11534. schema:
  11535. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11536. "500":
  11537. description: Internal Server Error
  11538. schema:
  11539. $ref: '#/definitions/app.Response'
  11540. security:
  11541. - ApiKeyAuth: []
  11542. summary: 查询产能预售我的出价信息
  11543. tags:
  11544. - 产能预售
  11545. /CPTrade/QueryCPTradeOrderDetail:
  11546. get:
  11547. parameters:
  11548. - description: 预售商品ID
  11549. in: query
  11550. name: goodsid
  11551. type: integer
  11552. - description: 预售市场ID
  11553. in: query
  11554. name: marketid
  11555. type: integer
  11556. - description: 预售商品ID列表 - 格式:1,2,3
  11557. in: query
  11558. name: goodsids
  11559. type: string
  11560. produces:
  11561. - application/json
  11562. responses:
  11563. "200":
  11564. description: OK
  11565. schema:
  11566. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11567. "500":
  11568. description: Internal Server Error
  11569. schema:
  11570. $ref: '#/definitions/app.Response'
  11571. security:
  11572. - ApiKeyAuth: []
  11573. summary: 查询产能预售委托单信息
  11574. tags:
  11575. - 产能预售
  11576. /CPTrade/QueryMyCPTradeGoods:
  11577. get:
  11578. parameters:
  11579. - description: 资金账户
  11580. in: query
  11581. name: accountid
  11582. required: true
  11583. type: integer
  11584. produces:
  11585. - application/json
  11586. responses:
  11587. "200":
  11588. description: OK
  11589. schema:
  11590. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11591. "500":
  11592. description: Internal Server Error
  11593. schema:
  11594. $ref: '#/definitions/app.Response'
  11595. security:
  11596. - ApiKeyAuth: []
  11597. summary: 查询我的预售信息
  11598. tags:
  11599. - 产能预售
  11600. /CPTrade/QueryPositionCancel:
  11601. get:
  11602. parameters:
  11603. - description: 账户ID
  11604. in: query
  11605. name: userid
  11606. required: true
  11607. type: integer
  11608. - description: 注销ID
  11609. in: query
  11610. name: cancelid
  11611. type: integer
  11612. - description: 资金账户ID
  11613. in: query
  11614. name: accountid
  11615. type: integer
  11616. produces:
  11617. - application/json
  11618. responses:
  11619. "200":
  11620. description: OK
  11621. schema:
  11622. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11623. "500":
  11624. description: Internal Server Error
  11625. schema:
  11626. $ref: '#/definitions/app.Response'
  11627. security:
  11628. - ApiKeyAuth: []
  11629. summary: 查询远期订单注销申请信息
  11630. tags:
  11631. - 产能预售
  11632. /CPTrade/QueryPreasleApply:
  11633. get:
  11634. parameters:
  11635. - description: 账户ID
  11636. in: query
  11637. name: userid
  11638. required: true
  11639. type: integer
  11640. - description: 申请ID
  11641. in: query
  11642. name: applyid
  11643. type: integer
  11644. - description: 资金账户ID
  11645. in: query
  11646. name: accountid
  11647. type: integer
  11648. produces:
  11649. - application/json
  11650. responses:
  11651. "200":
  11652. description: OK
  11653. schema:
  11654. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11655. "500":
  11656. description: Internal Server Error
  11657. schema:
  11658. $ref: '#/definitions/app.Response'
  11659. security:
  11660. - ApiKeyAuth: []
  11661. summary: 查询产能预售申请信息
  11662. tags:
  11663. - 产能预售
  11664. /CPTrade/QueryPresaleGoodsEx:
  11665. get:
  11666. parameters:
  11667. - description: 预售商品ID
  11668. in: query
  11669. name: goodsid
  11670. type: integer
  11671. - description: 预售市场ID
  11672. in: query
  11673. name: marketid
  11674. type: integer
  11675. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11676. in: query
  11677. name: presalemode
  11678. type: integer
  11679. - description: 预售商品ID列表 - 格式:1,2,3
  11680. in: query
  11681. name: goodsids
  11682. type: string
  11683. - description: 预售商品代码
  11684. in: query
  11685. name: goodscode
  11686. type: string
  11687. produces:
  11688. - application/json
  11689. responses:
  11690. "200":
  11691. description: OK
  11692. schema:
  11693. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11694. "500":
  11695. description: Internal Server Error
  11696. schema:
  11697. $ref: '#/definitions/app.Response'
  11698. security:
  11699. - ApiKeyAuth: []
  11700. summary: 查询产能预售商品扩展信息
  11701. tags:
  11702. - 产能预售
  11703. /CPTrade/QueryUserGoodsData:
  11704. get:
  11705. parameters:
  11706. - description: 资金账户ID
  11707. in: query
  11708. name: accountid
  11709. required: true
  11710. type: integer
  11711. produces:
  11712. - application/json
  11713. responses:
  11714. "200":
  11715. description: OK
  11716. schema:
  11717. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11718. "500":
  11719. description: Internal Server Error
  11720. schema:
  11721. $ref: '#/definitions/app.Response'
  11722. security:
  11723. - ApiKeyAuth: []
  11724. summary: 查询远期订单信息
  11725. tags:
  11726. - 产能预售
  11727. /Common/GetAllEnums:
  11728. get:
  11729. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11730. parameters:
  11731. - description: 起始自增ID
  11732. in: query
  11733. name: autoid
  11734. type: integer
  11735. produces:
  11736. - application/json
  11737. responses:
  11738. "200":
  11739. description: OK
  11740. schema:
  11741. $ref: '#/definitions/models.Enumdicitem'
  11742. "500":
  11743. description: Internal Server Error
  11744. schema:
  11745. $ref: '#/definitions/app.Response'
  11746. summary: 获取所有枚举信息
  11747. tags:
  11748. - 通用服务
  11749. /Common/GetClientMenus:
  11750. get:
  11751. parameters:
  11752. - description: 登录账号
  11753. in: query
  11754. name: loginID
  11755. required: true
  11756. type: integer
  11757. - description: 终端类型,0:PC 1:Mobile
  11758. in: query
  11759. name: clientType
  11760. type: integer
  11761. produces:
  11762. - application/json
  11763. responses:
  11764. "200":
  11765. description: OK
  11766. schema:
  11767. items:
  11768. $ref: '#/definitions/common.ClientMenu'
  11769. type: array
  11770. "500":
  11771. description: Internal Server Error
  11772. schema:
  11773. $ref: '#/definitions/app.Response'
  11774. security:
  11775. - ApiKeyAuth: []
  11776. summary: 获取交易端菜单
  11777. tags:
  11778. - 通用服务
  11779. /Common/GetDivisions:
  11780. get:
  11781. produces:
  11782. - application/json
  11783. responses:
  11784. "200":
  11785. description: OK
  11786. schema:
  11787. $ref: '#/definitions/models.Division'
  11788. "500":
  11789. description: Internal Server Error
  11790. schema:
  11791. $ref: '#/definitions/app.Response'
  11792. summary: 查询区域信息
  11793. tags:
  11794. - 通用服务
  11795. /Common/GetServerTime:
  11796. get:
  11797. produces:
  11798. - application/json
  11799. responses:
  11800. "200":
  11801. description: OK
  11802. schema:
  11803. $ref: '#/definitions/app.Response'
  11804. "500":
  11805. description: Internal Server Error
  11806. schema:
  11807. $ref: '#/definitions/app.Response'
  11808. summary: 获取服务器时间
  11809. tags:
  11810. - 通用服务
  11811. /Common/NoticeReaded:
  11812. post:
  11813. parameters:
  11814. - description: 登录账号
  11815. in: query
  11816. name: loginID
  11817. required: true
  11818. type: integer
  11819. - description: 通知公告ID
  11820. in: query
  11821. name: noticeID
  11822. required: true
  11823. type: integer
  11824. produces:
  11825. - application/json
  11826. responses:
  11827. "200":
  11828. description: OK
  11829. schema:
  11830. $ref: '#/definitions/app.Response'
  11831. "500":
  11832. description: Internal Server Error
  11833. schema:
  11834. $ref: '#/definitions/app.Response'
  11835. security:
  11836. - ApiKeyAuth: []
  11837. summary: 通知公告设置已读请求
  11838. tags:
  11839. - 通用服务
  11840. /Common/QueryErrorInfos:
  11841. get:
  11842. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11843. parameters:
  11844. - description: 起始行号前索引
  11845. in: query
  11846. name: rowNumber
  11847. type: string
  11848. produces:
  11849. - application/json
  11850. responses:
  11851. "200":
  11852. description: OK
  11853. schema:
  11854. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11855. "500":
  11856. description: Internal Server Error
  11857. schema:
  11858. $ref: '#/definitions/app.Response'
  11859. summary: 获取数据库错误信息
  11860. tags:
  11861. - 通用服务
  11862. /Common/QueryImageConfigs:
  11863. get:
  11864. parameters:
  11865. - description: 类型 - 1:App首页轮播 2:我的
  11866. in: query
  11867. name: imageType
  11868. type: integer
  11869. produces:
  11870. - application/json
  11871. responses:
  11872. "200":
  11873. description: OK
  11874. schema:
  11875. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11876. "500":
  11877. description: Internal Server Error
  11878. schema:
  11879. $ref: '#/definitions/app.Response'
  11880. summary: 查询轮播图配置信息
  11881. tags:
  11882. - 通用服务
  11883. /Common/QueryNotice:
  11884. get:
  11885. parameters:
  11886. - description: 页码
  11887. in: query
  11888. name: page
  11889. type: integer
  11890. - description: 每页条数
  11891. in: query
  11892. name: pagesize
  11893. type: integer
  11894. - description: 登录账号
  11895. in: query
  11896. name: loginID
  11897. required: true
  11898. type: integer
  11899. - description: 消息类型 - 1:公告通知 2:系统消息
  11900. in: query
  11901. name: msgType
  11902. type: integer
  11903. - description: 是否只获取未读信息
  11904. in: query
  11905. name: onlyUnRead
  11906. type: boolean
  11907. - description: 自增ID,传入后会返回这个ID后面的记录
  11908. in: query
  11909. name: lastID
  11910. type: integer
  11911. produces:
  11912. - application/json
  11913. responses:
  11914. "200":
  11915. description: OK
  11916. schema:
  11917. $ref: '#/definitions/common.QueryNoticeRsp'
  11918. "500":
  11919. description: Internal Server Error
  11920. schema:
  11921. $ref: '#/definitions/app.Response'
  11922. security:
  11923. - ApiKeyAuth: []
  11924. summary: 通知公告系统消息查询
  11925. tags:
  11926. - 通用服务
  11927. /Common/QueryProvincesAndCities:
  11928. get:
  11929. parameters:
  11930. - description: 省ID
  11931. in: query
  11932. name: provinceID
  11933. type: integer
  11934. produces:
  11935. - application/json
  11936. responses:
  11937. "200":
  11938. description: OK
  11939. schema:
  11940. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11941. "500":
  11942. description: Internal Server Error
  11943. schema:
  11944. $ref: '#/definitions/app.Response'
  11945. summary: 查询省市信息(不包括区)
  11946. tags:
  11947. - 通用服务
  11948. /Common/QueryTableDefine:
  11949. get:
  11950. parameters:
  11951. - description: 表key
  11952. in: query
  11953. name: tableKey
  11954. type: string
  11955. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11956. in: query
  11957. name: tableType
  11958. type: integer
  11959. produces:
  11960. - application/json
  11961. responses:
  11962. "200":
  11963. description: OK
  11964. schema:
  11965. $ref: '#/definitions/common.QueryTableDefineRsp'
  11966. "500":
  11967. description: Internal Server Error
  11968. schema:
  11969. $ref: '#/definitions/app.Response'
  11970. summary: 查询交易端列表头信息
  11971. tags:
  11972. - 通用服务
  11973. /Common/QueryTraderMenu:
  11974. get:
  11975. parameters:
  11976. - description: 登录账号
  11977. in: query
  11978. name: loginid
  11979. required: true
  11980. type: integer
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. summary: 查询交易端菜单
  11993. tags:
  11994. - 通用服务
  11995. /Delivery/QueryDeliveryRelation:
  11996. get:
  11997. parameters:
  11998. - description: 商品ID
  11999. in: query
  12000. name: goodsid
  12001. type: integer
  12002. - description: 品种ID
  12003. in: query
  12004. name: deliverygoodsid
  12005. type: integer
  12006. - description: 市场ID
  12007. in: query
  12008. name: marketid
  12009. type: integer
  12010. produces:
  12011. - application/json
  12012. responses:
  12013. "200":
  12014. description: OK
  12015. schema:
  12016. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12017. "500":
  12018. description: Internal Server Error
  12019. schema:
  12020. $ref: '#/definitions/app.Response'
  12021. security:
  12022. - ApiKeyAuth: []
  12023. summary: 查询商品交割关系表
  12024. tags:
  12025. - 交割服务
  12026. /Ermcp/GetErmcpGoods:
  12027. get:
  12028. parameters:
  12029. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12030. in: query
  12031. name: lastUpdateTime
  12032. type: string
  12033. produces:
  12034. - application/json
  12035. responses:
  12036. "200":
  12037. description: OK
  12038. schema:
  12039. $ref: '#/definitions/models.Goods'
  12040. "500":
  12041. description: Internal Server Error
  12042. schema:
  12043. $ref: '#/definitions/app.Response'
  12044. security:
  12045. - ApiKeyAuth: []
  12046. summary: 查询企业风管期货商品信息
  12047. tags:
  12048. - 企业风险管理(app)
  12049. /Ermcp/GetErmcpGoodsSortByPosition:
  12050. get:
  12051. parameters:
  12052. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12053. in: query
  12054. name: sortIndex
  12055. type: string
  12056. produces:
  12057. - application/json
  12058. responses:
  12059. "200":
  12060. description: OK
  12061. schema:
  12062. $ref: '#/definitions/models.Goodssortbypreposition'
  12063. "500":
  12064. description: Internal Server Error
  12065. schema:
  12066. $ref: '#/definitions/app.Response'
  12067. security:
  12068. - ApiKeyAuth: []
  12069. summary: 查询企业风管期货主力、次主力商品信息
  12070. tags:
  12071. - 企业风险管理(app)
  12072. /Ermcp/GetErmcpRoleFuncMenuLists:
  12073. get:
  12074. parameters:
  12075. - description: 登录账号
  12076. in: query
  12077. name: loginID
  12078. required: true
  12079. type: integer
  12080. produces:
  12081. - application/json
  12082. responses:
  12083. "200":
  12084. description: OK
  12085. schema:
  12086. $ref: '#/definitions/models.Funcmenulist'
  12087. "500":
  12088. description: Internal Server Error
  12089. schema:
  12090. $ref: '#/definitions/app.Response'
  12091. security:
  12092. - ApiKeyAuth: []
  12093. summary: 获取企业风管终端权限
  12094. tags:
  12095. - 企业风险管理(app)
  12096. /Ermcp/QryReportAreaSpotPL:
  12097. get:
  12098. parameters:
  12099. - description: 用户ID
  12100. in: query
  12101. name: userid
  12102. required: true
  12103. type: integer
  12104. - description: 查询类型 1-日报表 2-月报表
  12105. in: query
  12106. name: querytype
  12107. required: true
  12108. type: integer
  12109. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12110. in: query
  12111. name: querydate
  12112. required: true
  12113. type: string
  12114. - description: 现货商品ID
  12115. in: query
  12116. name: wrstandardid
  12117. type: integer
  12118. - description: 品牌ID
  12119. in: query
  12120. name: spotgoodsbrandid
  12121. type: integer
  12122. - description: 型号ID
  12123. in: query
  12124. name: spotgoodsmodelid
  12125. type: integer
  12126. produces:
  12127. - application/json
  12128. responses:
  12129. "200":
  12130. description: OK
  12131. schema:
  12132. items:
  12133. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12134. type: array
  12135. "500":
  12136. description: Internal Server Error
  12137. schema:
  12138. $ref: '#/definitions/app.Response'
  12139. security:
  12140. - ApiKeyAuth: []
  12141. summary: 查询现货损益报表(现货损益报表)
  12142. tags:
  12143. - 企业风险管理(app)
  12144. /Ermcp/QryReportDayExposure:
  12145. get:
  12146. parameters:
  12147. - description: 用户ID
  12148. in: query
  12149. name: userid
  12150. required: true
  12151. type: integer
  12152. - description: 交易日(格式:yyyyMMdd)
  12153. in: query
  12154. name: tradedate
  12155. required: true
  12156. type: string
  12157. produces:
  12158. - application/json
  12159. responses:
  12160. "200":
  12161. description: OK
  12162. schema:
  12163. items:
  12164. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12165. type: array
  12166. "500":
  12167. description: Internal Server Error
  12168. schema:
  12169. $ref: '#/definitions/app.Response'
  12170. security:
  12171. - ApiKeyAuth: []
  12172. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12173. tags:
  12174. - 企业风险管理(app)
  12175. /Ermcp/QryReportDayFinance:
  12176. get:
  12177. parameters:
  12178. - description: 用户ID
  12179. in: query
  12180. name: userid
  12181. required: true
  12182. type: integer
  12183. - description: 交易日(格式:yyyyMMdd)
  12184. in: query
  12185. name: tradedate
  12186. required: true
  12187. type: string
  12188. produces:
  12189. - application/json
  12190. responses:
  12191. "200":
  12192. description: OK
  12193. schema:
  12194. items:
  12195. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12196. type: array
  12197. "500":
  12198. description: Internal Server Error
  12199. schema:
  12200. $ref: '#/definitions/app.Response'
  12201. security:
  12202. - ApiKeyAuth: []
  12203. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12204. tags:
  12205. - 企业风险管理(app)
  12206. /Ermcp/QryReportDayFinanceFp:
  12207. get:
  12208. parameters:
  12209. - description: 用户ID
  12210. in: query
  12211. name: userid
  12212. required: true
  12213. type: integer
  12214. - description: 交易日(格式:yyyyMMdd)
  12215. in: query
  12216. name: tradedate
  12217. required: true
  12218. type: string
  12219. produces:
  12220. - application/json
  12221. responses:
  12222. "200":
  12223. description: OK
  12224. schema:
  12225. items:
  12226. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12227. type: array
  12228. "500":
  12229. description: Internal Server Error
  12230. schema:
  12231. $ref: '#/definitions/app.Response'
  12232. security:
  12233. - ApiKeyAuth: []
  12234. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12235. tags:
  12236. - 企业风险管理(app)
  12237. /Ermcp/QryReportDayFinanceKx:
  12238. get:
  12239. parameters:
  12240. - description: 用户ID
  12241. in: query
  12242. name: userid
  12243. required: true
  12244. type: integer
  12245. - description: 交易日(格式:yyyyMMdd)
  12246. in: query
  12247. name: tradedate
  12248. required: true
  12249. type: string
  12250. produces:
  12251. - application/json
  12252. responses:
  12253. "200":
  12254. description: OK
  12255. schema:
  12256. items:
  12257. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12258. type: array
  12259. "500":
  12260. description: Internal Server Error
  12261. schema:
  12262. $ref: '#/definitions/app.Response'
  12263. security:
  12264. - ApiKeyAuth: []
  12265. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12266. tags:
  12267. - 企业风险管理(app)
  12268. /Ermcp/QryReportDaySpot:
  12269. get:
  12270. parameters:
  12271. - description: 用户ID
  12272. in: query
  12273. name: userid
  12274. required: true
  12275. type: integer
  12276. - description: 交易日(格式:yyyyMMdd)
  12277. in: query
  12278. name: tradedate
  12279. required: true
  12280. type: string
  12281. produces:
  12282. - application/json
  12283. responses:
  12284. "200":
  12285. description: OK
  12286. schema:
  12287. items:
  12288. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12289. type: array
  12290. "500":
  12291. description: Internal Server Error
  12292. schema:
  12293. $ref: '#/definitions/app.Response'
  12294. security:
  12295. - ApiKeyAuth: []
  12296. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12297. tags:
  12298. - 企业风险管理(app)
  12299. /Ermcp/QryReportDaySpotDetail:
  12300. get:
  12301. parameters:
  12302. - description: 用户ID
  12303. in: query
  12304. name: userid
  12305. required: true
  12306. type: integer
  12307. - description: 现货商品id
  12308. in: query
  12309. name: wrstandardid
  12310. required: true
  12311. type: integer
  12312. - description: 交易日(格式:yyyyMMdd)
  12313. in: query
  12314. name: tradedate
  12315. required: true
  12316. type: string
  12317. produces:
  12318. - application/json
  12319. responses:
  12320. "200":
  12321. description: OK
  12322. schema:
  12323. items:
  12324. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12325. type: array
  12326. "500":
  12327. description: Internal Server Error
  12328. schema:
  12329. $ref: '#/definitions/app.Response'
  12330. security:
  12331. - ApiKeyAuth: []
  12332. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12333. tags:
  12334. - 企业风险管理(app)
  12335. /Ermcp/QryReportMonthFinance:
  12336. get:
  12337. parameters:
  12338. - description: 用户ID
  12339. in: query
  12340. name: userid
  12341. required: true
  12342. type: integer
  12343. - description: 周期时间:月(格式:yyyyMM)
  12344. in: query
  12345. name: cycletime
  12346. required: true
  12347. type: string
  12348. produces:
  12349. - application/json
  12350. responses:
  12351. "200":
  12352. description: OK
  12353. schema:
  12354. items:
  12355. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12356. type: array
  12357. "500":
  12358. description: Internal Server Error
  12359. schema:
  12360. $ref: '#/definitions/app.Response'
  12361. security:
  12362. - ApiKeyAuth: []
  12363. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12364. tags:
  12365. - 企业风险管理(app)
  12366. /Ermcp/QryReportMonthSpot:
  12367. get:
  12368. parameters:
  12369. - description: 用户ID
  12370. in: query
  12371. name: userid
  12372. required: true
  12373. type: integer
  12374. - description: 周期时间:月(格式:yyyyMM)
  12375. in: query
  12376. name: cycletime
  12377. required: true
  12378. type: string
  12379. produces:
  12380. - application/json
  12381. responses:
  12382. "200":
  12383. description: OK
  12384. schema:
  12385. items:
  12386. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12387. type: array
  12388. "500":
  12389. description: Internal Server Error
  12390. schema:
  12391. $ref: '#/definitions/app.Response'
  12392. security:
  12393. - ApiKeyAuth: []
  12394. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12395. tags:
  12396. - 企业风险管理(app)
  12397. /Ermcp/QryReportMonthSpotDetail:
  12398. get:
  12399. parameters:
  12400. - description: 用户ID
  12401. in: query
  12402. name: userid
  12403. required: true
  12404. type: integer
  12405. - description: 现货商品id
  12406. in: query
  12407. name: wrstandardid
  12408. required: true
  12409. type: integer
  12410. - description: 周期时间:月(格式:yyyyMM)
  12411. in: query
  12412. name: cycletime
  12413. required: true
  12414. type: string
  12415. produces:
  12416. - application/json
  12417. responses:
  12418. "200":
  12419. description: OK
  12420. schema:
  12421. items:
  12422. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12423. type: array
  12424. "500":
  12425. description: Internal Server Error
  12426. schema:
  12427. $ref: '#/definitions/app.Response'
  12428. security:
  12429. - ApiKeyAuth: []
  12430. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12431. tags:
  12432. - 企业风险管理(app)
  12433. /Ermcp/QueryAccMgrBizGroupSet:
  12434. get:
  12435. parameters:
  12436. - description: 用户ID
  12437. in: query
  12438. name: userid
  12439. required: true
  12440. type: integer
  12441. produces:
  12442. - application/json
  12443. responses:
  12444. "200":
  12445. description: OK
  12446. schema:
  12447. items:
  12448. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12449. type: array
  12450. "500":
  12451. description: Internal Server Error
  12452. schema:
  12453. $ref: '#/definitions/app.Response'
  12454. security:
  12455. - ApiKeyAuth: []
  12456. summary: 查询业务类型分组(账户管理/账户设置)
  12457. tags:
  12458. - 企业风险管理(app)
  12459. /Ermcp/QueryAccMgrLoginUser:
  12460. get:
  12461. parameters:
  12462. - description: 用户ID
  12463. in: query
  12464. name: userid
  12465. required: true
  12466. type: integer
  12467. produces:
  12468. - application/json
  12469. responses:
  12470. "200":
  12471. description: OK
  12472. schema:
  12473. items:
  12474. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12475. type: array
  12476. "500":
  12477. description: Internal Server Error
  12478. schema:
  12479. $ref: '#/definitions/app.Response'
  12480. security:
  12481. - ApiKeyAuth: []
  12482. summary: 查询账户管理登录账号(账户管理/登录账号)
  12483. tags:
  12484. - 企业风险管理(app)
  12485. /Ermcp/QueryAccMgrMainAccountInfo:
  12486. get:
  12487. parameters:
  12488. - description: 用户ID
  12489. in: query
  12490. name: userid
  12491. type: integer
  12492. - description: 主账号id
  12493. in: query
  12494. name: accountid
  12495. type: integer
  12496. produces:
  12497. - application/json
  12498. responses:
  12499. "200":
  12500. description: OK
  12501. schema:
  12502. items:
  12503. $ref: '#/definitions/models.MainAccountInfo'
  12504. type: array
  12505. "500":
  12506. description: Internal Server Error
  12507. schema:
  12508. $ref: '#/definitions/app.Response'
  12509. security:
  12510. - ApiKeyAuth: []
  12511. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12512. tags:
  12513. - 企业风险管理(app)
  12514. /Ermcp/QueryAccMgrRole:
  12515. get:
  12516. parameters:
  12517. - description: 用户ID
  12518. in: query
  12519. name: userid
  12520. required: true
  12521. type: integer
  12522. produces:
  12523. - application/json
  12524. responses:
  12525. "200":
  12526. description: OK
  12527. schema:
  12528. items:
  12529. $ref: '#/definitions/models.ErmcpRole'
  12530. type: array
  12531. "500":
  12532. description: Internal Server Error
  12533. schema:
  12534. $ref: '#/definitions/app.Response'
  12535. security:
  12536. - ApiKeyAuth: []
  12537. summary: 查询账户管理角色设置(账户管理/角色设置)
  12538. tags:
  12539. - 企业风险管理(app)
  12540. /Ermcp/QueryAccMgrRoleMenu:
  12541. get:
  12542. parameters:
  12543. - description: 用户ID
  12544. in: query
  12545. name: userid
  12546. required: true
  12547. type: integer
  12548. - description: 角色id(可多个,逗号隔开)
  12549. in: query
  12550. name: roleid
  12551. type: string
  12552. produces:
  12553. - application/json
  12554. responses:
  12555. "200":
  12556. description: OK
  12557. schema:
  12558. items:
  12559. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12560. type: array
  12561. "500":
  12562. description: Internal Server Error
  12563. schema:
  12564. $ref: '#/definitions/app.Response'
  12565. security:
  12566. - ApiKeyAuth: []
  12567. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12568. tags:
  12569. - 企业风险管理(app)
  12570. /Ermcp/QueryAccMgrTaAccountInfo:
  12571. get:
  12572. parameters:
  12573. - description: 用户ID
  12574. in: query
  12575. name: userid
  12576. required: true
  12577. type: integer
  12578. - description: 账号id
  12579. in: query
  12580. name: accountid
  12581. type: integer
  12582. produces:
  12583. - application/json
  12584. responses:
  12585. "200":
  12586. description: OK
  12587. schema:
  12588. items:
  12589. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12590. type: array
  12591. "500":
  12592. description: Internal Server Error
  12593. schema:
  12594. $ref: '#/definitions/app.Response'
  12595. security:
  12596. - ApiKeyAuth: []
  12597. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12598. tags:
  12599. - 企业风险管理(app)
  12600. /Ermcp/QueryAccMgrTaaccount:
  12601. get:
  12602. parameters:
  12603. - description: 用户ID
  12604. in: query
  12605. name: userid
  12606. required: true
  12607. type: integer
  12608. produces:
  12609. - application/json
  12610. responses:
  12611. "200":
  12612. description: OK
  12613. schema:
  12614. items:
  12615. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12616. type: array
  12617. "500":
  12618. description: Internal Server Error
  12619. schema:
  12620. $ref: '#/definitions/app.Response'
  12621. security:
  12622. - ApiKeyAuth: []
  12623. summary: 查询账户管理期货账号(账户管理/期货账号)
  12624. tags:
  12625. - 企业风险管理(app)
  12626. /Ermcp/QueryAreaStock:
  12627. get:
  12628. parameters:
  12629. - description: 用户ID
  12630. in: query
  12631. name: userid
  12632. required: true
  12633. type: integer
  12634. produces:
  12635. - application/json
  12636. responses:
  12637. "200":
  12638. description: OK
  12639. schema:
  12640. items:
  12641. $ref: '#/definitions/models.ErmcpAreaStock'
  12642. type: array
  12643. "500":
  12644. description: Internal Server Error
  12645. schema:
  12646. $ref: '#/definitions/app.Response'
  12647. security:
  12648. - ApiKeyAuth: []
  12649. summary: 查询机构库存(库存管理/当前库存)
  12650. tags:
  12651. - 企业风险管理(app)
  12652. /Ermcp/QueryAreaStockApply:
  12653. get:
  12654. parameters:
  12655. - description: 用户ID
  12656. in: query
  12657. name: userid
  12658. required: true
  12659. type: integer
  12660. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12661. in: query
  12662. name: inouttype
  12663. type: string
  12664. - description: 合同ID
  12665. in: query
  12666. name: spotcontractid
  12667. type: integer
  12668. - description: 现货商品ID
  12669. in: query
  12670. name: wrstandardid
  12671. type: integer
  12672. - description: 品牌ID
  12673. in: query
  12674. name: spotgoodsbrandid
  12675. type: integer
  12676. - description: 型号ID
  12677. in: query
  12678. name: spotgoodsmodelid
  12679. type: integer
  12680. - description: 仓库ID
  12681. in: query
  12682. name: warehouseinfoid
  12683. type: integer
  12684. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12685. in: query
  12686. name: applystatus
  12687. type: string
  12688. produces:
  12689. - application/json
  12690. responses:
  12691. "200":
  12692. description: OK
  12693. schema:
  12694. items:
  12695. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  12696. type: array
  12697. "500":
  12698. description: Internal Server Error
  12699. schema:
  12700. $ref: '#/definitions/app.Response'
  12701. security:
  12702. - ApiKeyAuth: []
  12703. summary: 查询库存申请(出入库记录|库存审核)
  12704. tags:
  12705. - 企业风险管理(app)
  12706. /Ermcp/QueryAreaStockApplySum:
  12707. get:
  12708. parameters:
  12709. - description: 合同ID
  12710. in: query
  12711. name: spotcontractid
  12712. type: integer
  12713. produces:
  12714. - application/json
  12715. responses:
  12716. "200":
  12717. description: OK
  12718. schema:
  12719. items:
  12720. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  12721. type: array
  12722. "500":
  12723. description: Internal Server Error
  12724. schema:
  12725. $ref: '#/definitions/app.Response'
  12726. security:
  12727. - ApiKeyAuth: []
  12728. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  12729. tags:
  12730. - 企业风险管理(app)
  12731. /Ermcp/QueryAreaStockReport:
  12732. get:
  12733. parameters:
  12734. - description: 用户ID
  12735. in: query
  12736. name: userid
  12737. required: true
  12738. type: integer
  12739. - description: 查询类型 1-日报表 2-月报表
  12740. in: query
  12741. name: querytype
  12742. required: true
  12743. type: integer
  12744. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12745. in: query
  12746. name: querydate
  12747. required: true
  12748. type: string
  12749. - description: 现货商品ID
  12750. in: query
  12751. name: wrstandardid
  12752. type: integer
  12753. - description: 品牌ID
  12754. in: query
  12755. name: spotgoodsbrandid
  12756. type: integer
  12757. - description: 型号ID
  12758. in: query
  12759. name: spotgoodsmodelid
  12760. type: integer
  12761. - description: 仓库ID
  12762. in: query
  12763. name: warehouseinfoid
  12764. type: integer
  12765. produces:
  12766. - application/json
  12767. responses:
  12768. "200":
  12769. description: OK
  12770. schema:
  12771. items:
  12772. $ref: '#/definitions/models.ErmcpAreaStockReport'
  12773. type: array
  12774. "500":
  12775. description: Internal Server Error
  12776. schema:
  12777. $ref: '#/definitions/app.Response'
  12778. security:
  12779. - ApiKeyAuth: []
  12780. summary: 查询库存报表
  12781. tags:
  12782. - 企业风险管理(app)
  12783. /Ermcp/QueryAreaStockReportDetail:
  12784. get:
  12785. parameters:
  12786. - description: 用户ID
  12787. in: query
  12788. name: userid
  12789. required: true
  12790. type: integer
  12791. - description: 查询类型 1-日报表明细 2-月报表明细
  12792. in: query
  12793. name: querytype
  12794. required: true
  12795. type: integer
  12796. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  12797. in: query
  12798. name: detailtype
  12799. required: true
  12800. type: integer
  12801. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12802. in: query
  12803. name: querydate
  12804. required: true
  12805. type: string
  12806. - description: 现货商品ID
  12807. in: query
  12808. name: wrstandardid
  12809. type: integer
  12810. - description: 品牌ID
  12811. in: query
  12812. name: spotgoodsbrandid
  12813. type: integer
  12814. - description: 型号ID
  12815. in: query
  12816. name: spotgoodsmodelid
  12817. type: integer
  12818. - description: 仓库ID
  12819. in: query
  12820. name: warehouseinfoid
  12821. type: integer
  12822. produces:
  12823. - application/json
  12824. responses:
  12825. "200":
  12826. description: OK
  12827. schema:
  12828. items:
  12829. $ref: '#/definitions/models.ErmcpAreaStockApply'
  12830. type: array
  12831. "500":
  12832. description: Internal Server Error
  12833. schema:
  12834. $ref: '#/definitions/app.Response'
  12835. security:
  12836. - ApiKeyAuth: []
  12837. summary: 查询库存报表明细
  12838. tags:
  12839. - 企业风险管理(app)
  12840. /Ermcp/QueryAvaildGoodsGroup:
  12841. get:
  12842. parameters:
  12843. - description: 所属机构ID
  12844. in: query
  12845. name: userid
  12846. required: true
  12847. type: integer
  12848. produces:
  12849. - application/json
  12850. responses:
  12851. "200":
  12852. description: OK
  12853. schema:
  12854. items:
  12855. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12856. type: array
  12857. "500":
  12858. description: Internal Server Error
  12859. schema:
  12860. $ref: '#/definitions/app.Response'
  12861. security:
  12862. - ApiKeyAuth: []
  12863. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12864. tags:
  12865. - 企业风险管理(app)
  12866. /Ermcp/QueryBusinessDj:
  12867. get:
  12868. parameters:
  12869. - description: 用户ID
  12870. in: query
  12871. name: UserId
  12872. required: true
  12873. type: integer
  12874. - description: 现货合同ID, 不填则查所有
  12875. in: query
  12876. name: relatedid
  12877. type: string
  12878. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12879. in: query
  12880. name: applystatus
  12881. type: string
  12882. produces:
  12883. - application/json
  12884. responses:
  12885. "200":
  12886. description: OK
  12887. schema:
  12888. items:
  12889. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12890. type: array
  12891. "500":
  12892. description: Internal Server Error
  12893. schema:
  12894. $ref: '#/definitions/app.Response'
  12895. security:
  12896. - ApiKeyAuth: []
  12897. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12898. tags:
  12899. - 企业风险管理(app)
  12900. /Ermcp/QueryBusinessFp:
  12901. get:
  12902. parameters:
  12903. - description: 用户ID
  12904. in: query
  12905. name: UserId
  12906. required: true
  12907. type: integer
  12908. - description: 现货合同ID, 不填则查所有
  12909. in: query
  12910. name: relatedid
  12911. type: string
  12912. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12913. in: query
  12914. name: applystatus
  12915. type: string
  12916. produces:
  12917. - application/json
  12918. responses:
  12919. "200":
  12920. description: OK
  12921. schema:
  12922. items:
  12923. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12924. type: array
  12925. "500":
  12926. description: Internal Server Error
  12927. schema:
  12928. $ref: '#/definitions/app.Response'
  12929. security:
  12930. - ApiKeyAuth: []
  12931. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12932. tags:
  12933. - 企业风险管理(app)
  12934. /Ermcp/QueryBusinessJs:
  12935. get:
  12936. parameters:
  12937. - description: 用户ID
  12938. in: query
  12939. name: UserId
  12940. required: true
  12941. type: integer
  12942. - description: 现货合同ID, 不填则查所有
  12943. in: query
  12944. name: relatedid
  12945. type: string
  12946. - description: 操作申请id
  12947. in: query
  12948. name: operateapplyid
  12949. type: string
  12950. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12951. in: query
  12952. name: applystatus
  12953. type: string
  12954. produces:
  12955. - application/json
  12956. responses:
  12957. "200":
  12958. description: OK
  12959. schema:
  12960. items:
  12961. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12962. type: array
  12963. "500":
  12964. description: Internal Server Error
  12965. schema:
  12966. $ref: '#/definitions/app.Response'
  12967. security:
  12968. - ApiKeyAuth: []
  12969. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12970. tags:
  12971. - 企业风险管理(app)
  12972. /Ermcp/QueryBusinessJsEx:
  12973. get:
  12974. parameters:
  12975. - description: 用户ID
  12976. in: query
  12977. name: UserId
  12978. required: true
  12979. type: integer
  12980. - description: 现货合同ID, 不填则查所有
  12981. in: query
  12982. name: relatedid
  12983. type: string
  12984. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12985. in: query
  12986. name: applystatus
  12987. type: string
  12988. produces:
  12989. - application/json
  12990. responses:
  12991. "200":
  12992. description: OK
  12993. schema:
  12994. items:
  12995. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12996. type: array
  12997. "500":
  12998. description: Internal Server Error
  12999. schema:
  13000. $ref: '#/definitions/app.Response'
  13001. security:
  13002. - ApiKeyAuth: []
  13003. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13004. tags:
  13005. - 企业风险管理(app)
  13006. /Ermcp/QueryBusinessKx:
  13007. get:
  13008. parameters:
  13009. - description: 用户ID
  13010. in: query
  13011. name: UserId
  13012. required: true
  13013. type: integer
  13014. - description: 现货合同ID, 不填则查所有
  13015. in: query
  13016. name: relatedid
  13017. type: string
  13018. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13019. in: query
  13020. name: applystatus
  13021. type: string
  13022. produces:
  13023. - application/json
  13024. responses:
  13025. "200":
  13026. description: OK
  13027. schema:
  13028. items:
  13029. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13030. type: array
  13031. "500":
  13032. description: Internal Server Error
  13033. schema:
  13034. $ref: '#/definitions/app.Response'
  13035. security:
  13036. - ApiKeyAuth: []
  13037. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13038. tags:
  13039. - 企业风险管理(app)
  13040. /Ermcp/QueryChangeLog:
  13041. get:
  13042. parameters:
  13043. - description: 合同ID
  13044. in: query
  13045. name: RelatedId
  13046. required: true
  13047. type: string
  13048. produces:
  13049. - application/json
  13050. responses:
  13051. "200":
  13052. description: OK
  13053. schema:
  13054. items:
  13055. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13056. type: array
  13057. "500":
  13058. description: Internal Server Error
  13059. schema:
  13060. $ref: '#/definitions/app.Response'
  13061. security:
  13062. - ApiKeyAuth: []
  13063. summary: 查询变更记录
  13064. tags:
  13065. - 企业风险管理(app)
  13066. /Ermcp/QueryContract:
  13067. get:
  13068. parameters:
  13069. - description: 用户ID
  13070. in: query
  13071. name: userId
  13072. required: true
  13073. type: integer
  13074. - description: 合同类型 1-采购, -1-销售
  13075. in: query
  13076. name: contracttype
  13077. required: true
  13078. type: integer
  13079. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13080. in: query
  13081. name: querytype
  13082. required: true
  13083. type: integer
  13084. - description: 合同ID(SpotContractId)
  13085. in: query
  13086. name: contractid
  13087. type: string
  13088. produces:
  13089. - application/json
  13090. responses:
  13091. "200":
  13092. description: OK
  13093. schema:
  13094. items:
  13095. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13096. type: array
  13097. "500":
  13098. description: Internal Server Error
  13099. schema:
  13100. $ref: '#/definitions/app.Response'
  13101. security:
  13102. - ApiKeyAuth: []
  13103. summary: 查询合同(采购和销售)
  13104. tags:
  13105. - 企业风险管理(app)
  13106. /Ermcp/QueryErmcpHisOrderDetails:
  13107. get:
  13108. parameters:
  13109. - description: 资金账户ID
  13110. in: query
  13111. name: accountID
  13112. required: true
  13113. type: integer
  13114. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13115. in: query
  13116. name: startDate
  13117. type: string
  13118. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13119. in: query
  13120. name: endDate
  13121. type: string
  13122. produces:
  13123. - application/json
  13124. responses:
  13125. "200":
  13126. description: OK
  13127. schema:
  13128. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13129. "500":
  13130. description: Internal Server Error
  13131. schema:
  13132. $ref: '#/definitions/app.Response'
  13133. security:
  13134. - ApiKeyAuth: []
  13135. summary: 获取企业风管期货历史委托单信息
  13136. tags:
  13137. - 企业风险管理(app)
  13138. /Ermcp/QueryErmcpHisTradeDetails:
  13139. get:
  13140. parameters:
  13141. - description: 资金账户ID
  13142. in: query
  13143. name: accountID
  13144. required: true
  13145. type: integer
  13146. - description: 商品ID
  13147. in: query
  13148. name: goodsID
  13149. type: integer
  13150. - description: 买卖方向,0:买 1:卖
  13151. in: query
  13152. name: buyOrSell
  13153. type: integer
  13154. - description: 关联委托单号
  13155. in: query
  13156. name: orderID
  13157. type: integer
  13158. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13159. in: query
  13160. name: startDate
  13161. type: string
  13162. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13163. in: query
  13164. name: endDate
  13165. type: string
  13166. produces:
  13167. - application/json
  13168. responses:
  13169. "200":
  13170. description: OK
  13171. schema:
  13172. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13173. "500":
  13174. description: Internal Server Error
  13175. schema:
  13176. $ref: '#/definitions/app.Response'
  13177. security:
  13178. - ApiKeyAuth: []
  13179. summary: 获取企业风管期货历史成交单信息
  13180. tags:
  13181. - 企业风险管理(app)
  13182. /Ermcp/QueryErmcpInnerHolderDetails:
  13183. get:
  13184. parameters:
  13185. - description: 资金账户ID
  13186. in: query
  13187. name: accountID
  13188. required: true
  13189. type: integer
  13190. - description: 商品ID
  13191. in: query
  13192. name: goodsID
  13193. type: integer
  13194. - description: 买卖方向,0:买 1:卖
  13195. in: query
  13196. name: buyOrSell
  13197. type: integer
  13198. produces:
  13199. - application/json
  13200. responses:
  13201. "200":
  13202. description: OK
  13203. schema:
  13204. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 获取企业风管期货内部持仓单信息
  13212. tags:
  13213. - 企业风险管理(app)
  13214. /Ermcp/QueryErmcpOrderDetails:
  13215. get:
  13216. parameters:
  13217. - description: 资金账户ID
  13218. in: query
  13219. name: accountID
  13220. required: true
  13221. type: integer
  13222. produces:
  13223. - application/json
  13224. responses:
  13225. "200":
  13226. description: OK
  13227. schema:
  13228. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13229. "500":
  13230. description: Internal Server Error
  13231. schema:
  13232. $ref: '#/definitions/app.Response'
  13233. security:
  13234. - ApiKeyAuth: []
  13235. summary: 获取企业风管期货委托单信息
  13236. tags:
  13237. - 企业风险管理(app)
  13238. /Ermcp/QueryErmcpTradeDetails:
  13239. get:
  13240. parameters:
  13241. - description: 资金账户ID
  13242. in: query
  13243. name: accountID
  13244. required: true
  13245. type: integer
  13246. - description: 商品ID
  13247. in: query
  13248. name: goodsID
  13249. type: integer
  13250. - description: 买卖方向,0:买 1:卖
  13251. in: query
  13252. name: buyOrSell
  13253. type: integer
  13254. - description: 关联委托单号
  13255. in: query
  13256. name: orderID
  13257. type: integer
  13258. produces:
  13259. - application/json
  13260. responses:
  13261. "200":
  13262. description: OK
  13263. schema:
  13264. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13265. "500":
  13266. description: Internal Server Error
  13267. schema:
  13268. $ref: '#/definitions/app.Response'
  13269. security:
  13270. - ApiKeyAuth: []
  13271. summary: 获取企业风管期货成交单信息
  13272. tags:
  13273. - 企业风险管理(app)
  13274. /Ermcp/QueryErmcpTradePosition:
  13275. get:
  13276. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13277. parameters:
  13278. - description: 资金账户ID
  13279. in: query
  13280. name: accountID
  13281. required: true
  13282. type: integer
  13283. - description: 所属市场ID
  13284. in: query
  13285. name: marketID
  13286. type: integer
  13287. produces:
  13288. - application/json
  13289. responses:
  13290. "200":
  13291. description: OK
  13292. schema:
  13293. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13294. "500":
  13295. description: Internal Server Error
  13296. schema:
  13297. $ref: '#/definitions/app.Response'
  13298. security:
  13299. - ApiKeyAuth: []
  13300. summary: 获取企业风管期货持仓头寸信息
  13301. tags:
  13302. - 企业风险管理(app)
  13303. /Ermcp/QueryExposureDetail:
  13304. get:
  13305. parameters:
  13306. - description: 所属机构ID
  13307. in: query
  13308. name: areaUserId
  13309. required: true
  13310. type: integer
  13311. - description: 套保商品
  13312. in: query
  13313. name: middleGoodsId
  13314. required: true
  13315. type: integer
  13316. produces:
  13317. - application/json
  13318. responses:
  13319. "200":
  13320. description: OK
  13321. schema:
  13322. items:
  13323. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13324. type: array
  13325. "500":
  13326. description: Internal Server Error
  13327. schema:
  13328. $ref: '#/definitions/app.Response'
  13329. security:
  13330. - ApiKeyAuth: []
  13331. summary: 查询敞口现货明细
  13332. tags:
  13333. - 企业风险管理(app)
  13334. /Ermcp/QueryExposureHedgePosition:
  13335. get:
  13336. parameters:
  13337. - description: 所属机构ID
  13338. in: query
  13339. name: areaUserId
  13340. required: true
  13341. type: integer
  13342. produces:
  13343. - application/json
  13344. responses:
  13345. "200":
  13346. description: OK
  13347. schema:
  13348. items:
  13349. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13350. type: array
  13351. "500":
  13352. description: Internal Server Error
  13353. schema:
  13354. $ref: '#/definitions/app.Response'
  13355. security:
  13356. - ApiKeyAuth: []
  13357. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13358. tags:
  13359. - 企业风险管理(app)
  13360. /Ermcp/QueryExposureHedgePositionDetail:
  13361. get:
  13362. parameters:
  13363. - description: 所属机构ID
  13364. in: query
  13365. name: areaUserId
  13366. required: true
  13367. type: integer
  13368. - description: 商品id
  13369. in: query
  13370. name: goodsId
  13371. required: true
  13372. type: integer
  13373. produces:
  13374. - application/json
  13375. responses:
  13376. "200":
  13377. description: OK
  13378. schema:
  13379. items:
  13380. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13381. type: array
  13382. "500":
  13383. description: Internal Server Error
  13384. schema:
  13385. $ref: '#/definitions/app.Response'
  13386. security:
  13387. - ApiKeyAuth: []
  13388. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13389. tags:
  13390. - 企业风险管理(app)
  13391. /Ermcp/QueryExposureSpot:
  13392. get:
  13393. parameters:
  13394. - description: 所属机构ID
  13395. in: query
  13396. name: areaUserId
  13397. required: true
  13398. type: integer
  13399. produces:
  13400. - application/json
  13401. responses:
  13402. "200":
  13403. description: OK
  13404. schema:
  13405. items:
  13406. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13407. type: array
  13408. "500":
  13409. description: Internal Server Error
  13410. schema:
  13411. $ref: '#/definitions/app.Response'
  13412. security:
  13413. - ApiKeyAuth: []
  13414. summary: 查询敞口现货头寸(敞口/现货头寸)
  13415. tags:
  13416. - 企业风险管理(app)
  13417. /Ermcp/QueryExposureSpotDetail:
  13418. get:
  13419. parameters:
  13420. - description: 所属机构ID
  13421. in: query
  13422. name: areaUserId
  13423. required: true
  13424. type: integer
  13425. - description: 现货品种ID
  13426. in: query
  13427. name: wrstandardId
  13428. required: true
  13429. type: integer
  13430. produces:
  13431. - application/json
  13432. responses:
  13433. "200":
  13434. description: OK
  13435. schema:
  13436. items:
  13437. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13438. type: array
  13439. "500":
  13440. description: Internal Server Error
  13441. schema:
  13442. $ref: '#/definitions/app.Response'
  13443. security:
  13444. - ApiKeyAuth: []
  13445. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13446. tags:
  13447. - 企业风险管理(app)
  13448. /Ermcp/QueryFuturesCompany:
  13449. get:
  13450. produces:
  13451. - application/json
  13452. responses:
  13453. "200":
  13454. description: OK
  13455. schema:
  13456. items:
  13457. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13458. type: array
  13459. "500":
  13460. description: Internal Server Error
  13461. schema:
  13462. $ref: '#/definitions/app.Response'
  13463. security:
  13464. - ApiKeyAuth: []
  13465. summary: 查询期货公司
  13466. tags:
  13467. - 企业风险管理(app)
  13468. /Ermcp/QueryGGConvertConfig:
  13469. get:
  13470. parameters:
  13471. - description: 品种id(不填则查所有)
  13472. in: query
  13473. name: goodsgroupid
  13474. type: integer
  13475. produces:
  13476. - application/json
  13477. responses:
  13478. "200":
  13479. description: OK
  13480. schema:
  13481. items:
  13482. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13483. type: array
  13484. "500":
  13485. description: Internal Server Error
  13486. schema:
  13487. $ref: '#/definitions/app.Response'
  13488. security:
  13489. - ApiKeyAuth: []
  13490. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13491. tags:
  13492. - 企业风险管理(app)
  13493. /Ermcp/QueryGoodsBrand:
  13494. get:
  13495. parameters:
  13496. - description: 用户ID
  13497. in: query
  13498. name: userid
  13499. required: true
  13500. type: integer
  13501. - description: 现货商品ID
  13502. in: query
  13503. name: wrstandardid
  13504. type: integer
  13505. produces:
  13506. - application/json
  13507. responses:
  13508. "200":
  13509. description: OK
  13510. schema:
  13511. items:
  13512. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13513. type: array
  13514. "500":
  13515. description: Internal Server Error
  13516. schema:
  13517. $ref: '#/definitions/app.Response'
  13518. security:
  13519. - ApiKeyAuth: []
  13520. summary: 查询商品品牌
  13521. tags:
  13522. - 企业风险管理(app)
  13523. /Ermcp/QueryGoodsModel:
  13524. get:
  13525. parameters:
  13526. - description: 用户ID
  13527. in: query
  13528. name: userid
  13529. required: true
  13530. type: integer
  13531. produces:
  13532. - application/json
  13533. responses:
  13534. "200":
  13535. description: OK
  13536. schema:
  13537. items:
  13538. $ref: '#/definitions/models.ErmcpGoodsModel'
  13539. type: array
  13540. "500":
  13541. description: Internal Server Error
  13542. schema:
  13543. $ref: '#/definitions/app.Response'
  13544. security:
  13545. - ApiKeyAuth: []
  13546. summary: 查询商品型号
  13547. tags:
  13548. - 企业风险管理(app)
  13549. /Ermcp/QueryHedgePlan:
  13550. get:
  13551. parameters:
  13552. - description: 用户ID
  13553. in: query
  13554. name: userId
  13555. required: true
  13556. type: integer
  13557. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13558. in: query
  13559. name: HedgePlanStatus
  13560. required: true
  13561. type: string
  13562. produces:
  13563. - application/json
  13564. responses:
  13565. "200":
  13566. description: OK
  13567. schema:
  13568. items:
  13569. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  13570. type: array
  13571. "500":
  13572. description: Internal Server Error
  13573. schema:
  13574. $ref: '#/definitions/app.Response'
  13575. security:
  13576. - ApiKeyAuth: []
  13577. summary: 查询套保计划
  13578. tags:
  13579. - 企业风险管理(app)
  13580. /Ermcp/QueryHisExposure:
  13581. get:
  13582. parameters:
  13583. - description: 所属机构ID
  13584. in: query
  13585. name: areaUserId
  13586. required: true
  13587. type: integer
  13588. - description: 每个品种记录数
  13589. in: query
  13590. name: lastNum
  13591. required: true
  13592. type: integer
  13593. produces:
  13594. - application/json
  13595. responses:
  13596. "200":
  13597. description: OK
  13598. schema:
  13599. items:
  13600. $ref: '#/definitions/ermcp.HisExposureRsp'
  13601. type: array
  13602. "500":
  13603. description: Internal Server Error
  13604. schema:
  13605. $ref: '#/definitions/app.Response'
  13606. security:
  13607. - ApiKeyAuth: []
  13608. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13609. tags:
  13610. - 企业风险管理(app)
  13611. /Ermcp/QueryMiddleGoods:
  13612. get:
  13613. parameters:
  13614. - description: 所属机构ID
  13615. in: query
  13616. name: userid
  13617. required: true
  13618. type: integer
  13619. - description: 状态 0-停用 1-正常
  13620. in: query
  13621. name: status
  13622. required: true
  13623. type: integer
  13624. produces:
  13625. - application/json
  13626. responses:
  13627. "200":
  13628. description: OK
  13629. schema:
  13630. items:
  13631. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13632. type: array
  13633. "500":
  13634. description: Internal Server Error
  13635. schema:
  13636. $ref: '#/definitions/app.Response'
  13637. security:
  13638. - ApiKeyAuth: []
  13639. summary: 查询套保品种(菜单:套保品种)
  13640. tags:
  13641. - 企业风险管理(app)
  13642. /Ermcp/QueryMiddleGoodsChangeLog:
  13643. get:
  13644. parameters:
  13645. - description: 所属机构ID
  13646. in: query
  13647. name: userid
  13648. required: true
  13649. type: integer
  13650. - description: 套保品种id
  13651. in: query
  13652. name: middlegoodsid
  13653. required: true
  13654. type: integer
  13655. produces:
  13656. - application/json
  13657. responses:
  13658. "200":
  13659. description: OK
  13660. schema:
  13661. items:
  13662. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13663. type: array
  13664. "500":
  13665. description: Internal Server Error
  13666. schema:
  13667. $ref: '#/definitions/app.Response'
  13668. security:
  13669. - ApiKeyAuth: []
  13670. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13671. tags:
  13672. - 企业风险管理(app)
  13673. /Ermcp/QueryMiddleGoodsDetail:
  13674. get:
  13675. parameters:
  13676. - description: 所属机构ID
  13677. in: query
  13678. name: userid
  13679. required: true
  13680. type: integer
  13681. - description: 套保品种id
  13682. in: query
  13683. name: middlegoodsid
  13684. type: integer
  13685. produces:
  13686. - application/json
  13687. responses:
  13688. "200":
  13689. description: OK
  13690. schema:
  13691. items:
  13692. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13693. type: array
  13694. "500":
  13695. description: Internal Server Error
  13696. schema:
  13697. $ref: '#/definitions/app.Response'
  13698. security:
  13699. - ApiKeyAuth: []
  13700. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13701. tags:
  13702. - 企业风险管理(app)
  13703. /Ermcp/QueryPendingAuditInfo:
  13704. get:
  13705. parameters:
  13706. - description: 用户ID
  13707. in: query
  13708. name: UserId
  13709. required: true
  13710. type: integer
  13711. produces:
  13712. - application/json
  13713. responses:
  13714. "200":
  13715. description: OK
  13716. schema:
  13717. items:
  13718. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13719. type: array
  13720. "500":
  13721. description: Internal Server Error
  13722. schema:
  13723. $ref: '#/definitions/app.Response'
  13724. security:
  13725. - ApiKeyAuth: []
  13726. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13727. tags:
  13728. - 企业风险管理(app)
  13729. /Ermcp/QueryRealtimeExposure:
  13730. get:
  13731. parameters:
  13732. - description: 所属机构ID
  13733. in: query
  13734. name: AreaUserID
  13735. required: true
  13736. type: integer
  13737. produces:
  13738. - application/json
  13739. responses:
  13740. "200":
  13741. description: OK
  13742. schema:
  13743. items:
  13744. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13745. type: array
  13746. "500":
  13747. description: Internal Server Error
  13748. schema:
  13749. $ref: '#/definitions/app.Response'
  13750. security:
  13751. - ApiKeyAuth: []
  13752. summary: 查询实时敞口
  13753. tags:
  13754. - 企业风险管理(app)
  13755. /Ermcp/QueryRealtimeExposurePosition:
  13756. get:
  13757. parameters:
  13758. - description: 所属机构ID
  13759. in: query
  13760. name: areaUserId
  13761. required: true
  13762. type: integer
  13763. - description: 套保商品ID
  13764. in: query
  13765. name: middleGoodsId
  13766. required: true
  13767. type: integer
  13768. produces:
  13769. - application/json
  13770. responses:
  13771. "200":
  13772. description: OK
  13773. schema:
  13774. items:
  13775. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13776. type: array
  13777. "500":
  13778. description: Internal Server Error
  13779. schema:
  13780. $ref: '#/definitions/app.Response'
  13781. security:
  13782. - ApiKeyAuth: []
  13783. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13784. tags:
  13785. - 企业风险管理(app)
  13786. /Ermcp/QuerySpotContract:
  13787. get:
  13788. parameters:
  13789. - description: 用户ID
  13790. in: query
  13791. name: userId
  13792. required: true
  13793. type: integer
  13794. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13795. in: query
  13796. name: QueryType
  13797. required: true
  13798. type: integer
  13799. produces:
  13800. - application/json
  13801. responses:
  13802. "200":
  13803. description: OK
  13804. schema:
  13805. items:
  13806. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  13807. type: array
  13808. "500":
  13809. description: Internal Server Error
  13810. schema:
  13811. $ref: '#/definitions/app.Response'
  13812. security:
  13813. - ApiKeyAuth: []
  13814. summary: 查询现货合同(对应现货合同菜单)
  13815. tags:
  13816. - 企业风险管理(app)
  13817. /Ermcp/QuerySpotGoodsPrice:
  13818. get:
  13819. parameters:
  13820. - description: 用户ID
  13821. in: query
  13822. name: userid
  13823. required: true
  13824. type: integer
  13825. produces:
  13826. - application/json
  13827. responses:
  13828. "200":
  13829. description: OK
  13830. schema:
  13831. items:
  13832. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13833. type: array
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. security:
  13839. - ApiKeyAuth: []
  13840. summary: 查询现货市价(现货市价)
  13841. tags:
  13842. - 企业风险管理(app)
  13843. /Ermcp/QuerySpotGoodsPriceLog:
  13844. get:
  13845. parameters:
  13846. - description: 用户ID
  13847. in: query
  13848. name: userid
  13849. required: true
  13850. type: integer
  13851. - description: 现货商品ID
  13852. in: query
  13853. name: wrstandardid
  13854. required: true
  13855. type: integer
  13856. produces:
  13857. - application/json
  13858. responses:
  13859. "200":
  13860. description: OK
  13861. schema:
  13862. items:
  13863. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13864. type: array
  13865. "500":
  13866. description: Internal Server Error
  13867. schema:
  13868. $ref: '#/definitions/app.Response'
  13869. security:
  13870. - ApiKeyAuth: []
  13871. summary: 查询现货市价详情(现货市价/详情)
  13872. tags:
  13873. - 企业风险管理(app)
  13874. /Ermcp/QueryTradeConfigTMP:
  13875. get:
  13876. parameters:
  13877. - description: 所属机构id
  13878. in: query
  13879. name: areauserid
  13880. required: true
  13881. type: integer
  13882. produces:
  13883. - application/json
  13884. responses:
  13885. "200":
  13886. description: OK
  13887. schema:
  13888. items:
  13889. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13890. type: array
  13891. "500":
  13892. description: Internal Server Error
  13893. schema:
  13894. $ref: '#/definitions/app.Response'
  13895. security:
  13896. - ApiKeyAuth: []
  13897. summary: 查询交易模板配置
  13898. tags:
  13899. - 企业风险管理(app)
  13900. /Ermcp/QueryUserInfo:
  13901. get:
  13902. parameters:
  13903. - description: 所属机构用户ID
  13904. in: query
  13905. name: MemberUserID
  13906. required: true
  13907. type: integer
  13908. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13909. in: query
  13910. name: queryType
  13911. required: true
  13912. type: integer
  13913. produces:
  13914. - application/json
  13915. responses:
  13916. "200":
  13917. description: OK
  13918. schema:
  13919. items:
  13920. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13921. type: array
  13922. "500":
  13923. description: Internal Server Error
  13924. schema:
  13925. $ref: '#/definitions/app.Response'
  13926. security:
  13927. - ApiKeyAuth: []
  13928. summary: 查询客户资料
  13929. tags:
  13930. - 企业风险管理(app)
  13931. /Ermcp/QueryWarehouseInfo:
  13932. get:
  13933. parameters:
  13934. - description: 用户ID
  13935. in: query
  13936. name: userid
  13937. required: true
  13938. type: integer
  13939. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13940. in: query
  13941. name: status
  13942. type: string
  13943. produces:
  13944. - application/json
  13945. responses:
  13946. "200":
  13947. description: OK
  13948. schema:
  13949. items:
  13950. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13951. type: array
  13952. "500":
  13953. description: Internal Server Error
  13954. schema:
  13955. $ref: '#/definitions/app.Response'
  13956. security:
  13957. - ApiKeyAuth: []
  13958. summary: 查询仓库信息
  13959. tags:
  13960. - 企业风险管理(app)
  13961. /Ermcp/QueryWrStandard:
  13962. get:
  13963. parameters:
  13964. - description: 所属机构ID
  13965. in: query
  13966. name: userid
  13967. required: true
  13968. type: integer
  13969. - description: 状态 0-停用 1-正常
  13970. in: query
  13971. name: status
  13972. required: true
  13973. type: integer
  13974. produces:
  13975. - application/json
  13976. responses:
  13977. "200":
  13978. description: OK
  13979. schema:
  13980. items:
  13981. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13982. type: array
  13983. "500":
  13984. description: Internal Server Error
  13985. schema:
  13986. $ref: '#/definitions/app.Response'
  13987. security:
  13988. - ApiKeyAuth: []
  13989. summary: 查询现货商品
  13990. tags:
  13991. - 企业风险管理(app)
  13992. /Ermcp/QueryWrStandardDetail:
  13993. get:
  13994. parameters:
  13995. - description: 所属机构ID
  13996. in: query
  13997. name: userid
  13998. required: true
  13999. type: integer
  14000. - description: 现货商品ID
  14001. in: query
  14002. name: wrstandardid
  14003. type: integer
  14004. - description: 可不填, 1-查询关联交易商品
  14005. in: query
  14006. name: goods
  14007. type: integer
  14008. produces:
  14009. - application/json
  14010. responses:
  14011. "200":
  14012. description: OK
  14013. schema:
  14014. items:
  14015. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14016. type: array
  14017. "500":
  14018. description: Internal Server Error
  14019. schema:
  14020. $ref: '#/definitions/app.Response'
  14021. security:
  14022. - ApiKeyAuth: []
  14023. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14024. tags:
  14025. - 企业风险管理(app)
  14026. /Ermcp3/QryReportAreaSpotPL:
  14027. get:
  14028. parameters:
  14029. - description: 用户ID
  14030. in: query
  14031. name: userid
  14032. required: true
  14033. type: integer
  14034. - description: 查询类型 1-日报表 2-月报表
  14035. in: query
  14036. name: querytype
  14037. required: true
  14038. type: integer
  14039. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14040. in: query
  14041. name: querydate
  14042. required: true
  14043. type: string
  14044. - description: 现货商品ID
  14045. in: query
  14046. name: deliverygoodsid
  14047. type: integer
  14048. - description: 品牌ID
  14049. in: query
  14050. name: spotgoodsbrandid
  14051. type: integer
  14052. - description: 品类ID
  14053. in: query
  14054. name: wrstandardid
  14055. type: integer
  14056. produces:
  14057. - application/json
  14058. responses:
  14059. "200":
  14060. description: OK
  14061. schema:
  14062. items:
  14063. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14064. type: array
  14065. "500":
  14066. description: Internal Server Error
  14067. schema:
  14068. $ref: '#/definitions/app.Response'
  14069. security:
  14070. - ApiKeyAuth: []
  14071. summary: 查询现货损益报表(现货损益报表)
  14072. tags:
  14073. - 企业风险管理v3(app)
  14074. /Ermcp3/QryReportDayFinanceFp:
  14075. get:
  14076. parameters:
  14077. - description: 用户ID
  14078. in: query
  14079. name: userid
  14080. required: true
  14081. type: integer
  14082. - description: 交易日(格式:yyyyMMdd)
  14083. in: query
  14084. name: tradedate
  14085. required: true
  14086. type: string
  14087. produces:
  14088. - application/json
  14089. responses:
  14090. "200":
  14091. description: OK
  14092. schema:
  14093. items:
  14094. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14095. type: array
  14096. "500":
  14097. description: Internal Server Error
  14098. schema:
  14099. $ref: '#/definitions/app.Response'
  14100. security:
  14101. - ApiKeyAuth: []
  14102. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14103. tags:
  14104. - 企业风险管理v3(app)
  14105. /Ermcp3/QryReportDayFinanceKx:
  14106. get:
  14107. parameters:
  14108. - description: 用户ID
  14109. in: query
  14110. name: userid
  14111. required: true
  14112. type: integer
  14113. - description: 交易日(格式:yyyyMMdd)
  14114. in: query
  14115. name: tradedate
  14116. required: true
  14117. type: string
  14118. produces:
  14119. - application/json
  14120. responses:
  14121. "200":
  14122. description: OK
  14123. schema:
  14124. items:
  14125. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14126. type: array
  14127. "500":
  14128. description: Internal Server Error
  14129. schema:
  14130. $ref: '#/definitions/app.Response'
  14131. security:
  14132. - ApiKeyAuth: []
  14133. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14134. tags:
  14135. - 企业风险管理v3(app)
  14136. /Ermcp3/QryReportDaySpot:
  14137. get:
  14138. parameters:
  14139. - description: 用户ID
  14140. in: query
  14141. name: userid
  14142. required: true
  14143. type: integer
  14144. - description: 交易日(格式:yyyyMMdd)
  14145. in: query
  14146. name: tradedate
  14147. required: true
  14148. type: string
  14149. produces:
  14150. - application/json
  14151. responses:
  14152. "200":
  14153. description: OK
  14154. schema:
  14155. items:
  14156. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14157. type: array
  14158. "500":
  14159. description: Internal Server Error
  14160. schema:
  14161. $ref: '#/definitions/app.Response'
  14162. security:
  14163. - ApiKeyAuth: []
  14164. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14165. tags:
  14166. - 企业风险管理v3(app)
  14167. /Ermcp3/QryReportDaySpotDetail:
  14168. get:
  14169. parameters:
  14170. - description: 用户ID
  14171. in: query
  14172. name: userid
  14173. required: true
  14174. type: integer
  14175. - description: 现货商品id
  14176. in: query
  14177. name: deliverygoodsid
  14178. required: true
  14179. type: integer
  14180. - description: 交易日(格式:yyyyMMdd)
  14181. in: query
  14182. name: tradedate
  14183. required: true
  14184. type: string
  14185. produces:
  14186. - application/json
  14187. responses:
  14188. "200":
  14189. description: OK
  14190. schema:
  14191. items:
  14192. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14193. type: array
  14194. "500":
  14195. description: Internal Server Error
  14196. schema:
  14197. $ref: '#/definitions/app.Response'
  14198. security:
  14199. - ApiKeyAuth: []
  14200. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14201. tags:
  14202. - 企业风险管理v3(app)
  14203. /Ermcp3/QryReportMonthSpot:
  14204. get:
  14205. parameters:
  14206. - description: 用户ID
  14207. in: query
  14208. name: userid
  14209. required: true
  14210. type: integer
  14211. - description: 周期时间:月(格式:yyyyMM)
  14212. in: query
  14213. name: cycletime
  14214. required: true
  14215. type: string
  14216. produces:
  14217. - application/json
  14218. responses:
  14219. "200":
  14220. description: OK
  14221. schema:
  14222. items:
  14223. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14224. type: array
  14225. "500":
  14226. description: Internal Server Error
  14227. schema:
  14228. $ref: '#/definitions/app.Response'
  14229. security:
  14230. - ApiKeyAuth: []
  14231. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14232. tags:
  14233. - 企业风险管理v3(app)
  14234. /Ermcp3/QryReportMonthSpotDetail:
  14235. get:
  14236. parameters:
  14237. - description: 用户ID
  14238. in: query
  14239. name: userid
  14240. required: true
  14241. type: integer
  14242. - description: 现货商品id
  14243. in: query
  14244. name: wrstandardid
  14245. required: true
  14246. type: integer
  14247. - description: 周期时间:月(格式:yyyyMM)
  14248. in: query
  14249. name: cycletime
  14250. required: true
  14251. type: string
  14252. produces:
  14253. - application/json
  14254. responses:
  14255. "200":
  14256. description: OK
  14257. schema:
  14258. items:
  14259. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14260. type: array
  14261. "500":
  14262. description: Internal Server Error
  14263. schema:
  14264. $ref: '#/definitions/app.Response'
  14265. security:
  14266. - ApiKeyAuth: []
  14267. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14268. tags:
  14269. - 企业风险管理v3(app)
  14270. /Ermcp3/QueryDGFactoryItem:
  14271. get:
  14272. parameters:
  14273. - description: 所属机构ID
  14274. in: query
  14275. name: areauserid
  14276. type: integer
  14277. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14278. in: query
  14279. name: dgfactoryitemid
  14280. type: integer
  14281. - description: 现货品种ID
  14282. in: query
  14283. name: deliverygoodsid
  14284. type: integer
  14285. - description: 要素项类型
  14286. in: query
  14287. name: dgfactoryitemtypeid
  14288. type: integer
  14289. - description: 顺序
  14290. in: query
  14291. name: orderindex
  14292. type: integer
  14293. produces:
  14294. - application/json
  14295. responses:
  14296. "200":
  14297. description: OK
  14298. schema:
  14299. items:
  14300. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14301. type: array
  14302. "500":
  14303. description: Internal Server Error
  14304. schema:
  14305. $ref: '#/definitions/app.Response'
  14306. security:
  14307. - ApiKeyAuth: []
  14308. summary: 查询品种要素定义项
  14309. tags:
  14310. - 企业风险管理v3(app)
  14311. /Ermcp3/QueryDeliveryGoods:
  14312. get:
  14313. parameters:
  14314. - description: 所属机构id
  14315. in: query
  14316. name: areauserid
  14317. required: true
  14318. type: integer
  14319. - description: 排除已配置的现货商品 1-排除
  14320. in: query
  14321. name: excludecfg
  14322. type: integer
  14323. produces:
  14324. - application/json
  14325. responses:
  14326. "200":
  14327. description: OK
  14328. schema:
  14329. items:
  14330. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14331. type: array
  14332. "500":
  14333. description: Internal Server Error
  14334. schema:
  14335. $ref: '#/definitions/app.Response'
  14336. security:
  14337. - ApiKeyAuth: []
  14338. summary: 查询现货商品
  14339. tags:
  14340. - 企业风险管理v3(app)
  14341. /Ermcp3/QueryDeliveryGoodsDetail:
  14342. get:
  14343. parameters:
  14344. - description: 所属机构id
  14345. in: query
  14346. name: areauserid
  14347. required: true
  14348. type: integer
  14349. - description: 现货商品id
  14350. in: query
  14351. name: deliverygoodsid
  14352. type: integer
  14353. - description: 是否查询关联交易商品 1-查询
  14354. in: query
  14355. name: qrytradegoods
  14356. type: integer
  14357. produces:
  14358. - application/json
  14359. responses:
  14360. "200":
  14361. description: OK
  14362. schema:
  14363. items:
  14364. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  14365. type: array
  14366. "500":
  14367. description: Internal Server Error
  14368. schema:
  14369. $ref: '#/definitions/app.Response'
  14370. security:
  14371. - ApiKeyAuth: []
  14372. summary: 查询现货商品详情
  14373. tags:
  14374. - 企业风险管理v3(app)
  14375. /Ermcp3/QueryExposureDetail:
  14376. get:
  14377. parameters:
  14378. - description: 所属机构ID
  14379. in: query
  14380. name: areaUserId
  14381. required: true
  14382. type: integer
  14383. - description: 套保商品
  14384. in: query
  14385. name: middleGoodsId
  14386. required: true
  14387. type: integer
  14388. produces:
  14389. - application/json
  14390. responses:
  14391. "200":
  14392. description: OK
  14393. schema:
  14394. items:
  14395. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14396. type: array
  14397. "500":
  14398. description: Internal Server Error
  14399. schema:
  14400. $ref: '#/definitions/app.Response'
  14401. security:
  14402. - ApiKeyAuth: []
  14403. summary: 查询敞口现货明细
  14404. tags:
  14405. - 企业风险管理v3(app)
  14406. /Ermcp3/QueryExposureSpot:
  14407. get:
  14408. parameters:
  14409. - description: 所属机构ID
  14410. in: query
  14411. name: areaUserId
  14412. required: true
  14413. type: integer
  14414. produces:
  14415. - application/json
  14416. responses:
  14417. "200":
  14418. description: OK
  14419. schema:
  14420. items:
  14421. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14422. type: array
  14423. "500":
  14424. description: Internal Server Error
  14425. schema:
  14426. $ref: '#/definitions/app.Response'
  14427. security:
  14428. - ApiKeyAuth: []
  14429. summary: 查询敞口现货头寸(敞口/现货头寸)
  14430. tags:
  14431. - 企业风险管理v3(app)
  14432. /Ermcp3/QueryExposureSpotDetail:
  14433. get:
  14434. parameters:
  14435. - description: 所属机构ID
  14436. in: query
  14437. name: areauserid
  14438. required: true
  14439. type: integer
  14440. - description: 现货品种ID
  14441. in: query
  14442. name: deliverygoodsid
  14443. required: true
  14444. type: integer
  14445. produces:
  14446. - application/json
  14447. responses:
  14448. "200":
  14449. description: OK
  14450. schema:
  14451. items:
  14452. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14453. type: array
  14454. "500":
  14455. description: Internal Server Error
  14456. schema:
  14457. $ref: '#/definitions/app.Response'
  14458. security:
  14459. - ApiKeyAuth: []
  14460. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14461. tags:
  14462. - 企业风险管理v3(app)
  14463. /Ermcp3/QueryGoodsWrstandard:
  14464. get:
  14465. parameters:
  14466. - description: 所属机构ID
  14467. in: query
  14468. name: areauserid
  14469. required: true
  14470. type: integer
  14471. - description: 现货商品id
  14472. in: query
  14473. name: deliverygoodsid
  14474. type: integer
  14475. produces:
  14476. - application/json
  14477. responses:
  14478. "200":
  14479. description: OK
  14480. schema:
  14481. items:
  14482. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14483. type: array
  14484. "500":
  14485. description: Internal Server Error
  14486. schema:
  14487. $ref: '#/definitions/app.Response'
  14488. security:
  14489. - ApiKeyAuth: []
  14490. summary: 查询商品品类
  14491. tags:
  14492. - 企业风险管理v3(app)
  14493. /Ermcp3/QueryGoodsbrand:
  14494. get:
  14495. parameters:
  14496. - description: 所属机构ID
  14497. in: query
  14498. name: areauserid
  14499. required: true
  14500. type: integer
  14501. produces:
  14502. - application/json
  14503. responses:
  14504. "200":
  14505. description: OK
  14506. schema:
  14507. items:
  14508. $ref: '#/definitions/models.Ermcp3Brand'
  14509. type: array
  14510. "500":
  14511. description: Internal Server Error
  14512. schema:
  14513. $ref: '#/definitions/app.Response'
  14514. security:
  14515. - ApiKeyAuth: []
  14516. summary: 查询商品品牌
  14517. tags:
  14518. - 企业风险管理v3(app)
  14519. /Ermcp3/QuerySpotContract:
  14520. get:
  14521. parameters:
  14522. - description: 所属机构ID
  14523. in: query
  14524. name: areauserid
  14525. required: true
  14526. type: integer
  14527. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14528. in: query
  14529. name: querytype
  14530. required: true
  14531. type: integer
  14532. - description: 用户ID
  14533. in: query
  14534. name: userid
  14535. type: integer
  14536. - description: 用户类型 2-机构 7-企业成员
  14537. in: query
  14538. name: usertype
  14539. type: integer
  14540. - description: 合同ID(SpotContractId)
  14541. in: query
  14542. name: contractid
  14543. type: string
  14544. produces:
  14545. - application/json
  14546. responses:
  14547. "200":
  14548. description: OK
  14549. schema:
  14550. items:
  14551. $ref: '#/definitions/models.Ermcp3Contract'
  14552. type: array
  14553. "500":
  14554. description: Internal Server Error
  14555. schema:
  14556. $ref: '#/definitions/app.Response'
  14557. security:
  14558. - ApiKeyAuth: []
  14559. summary: 查询现货合同
  14560. tags:
  14561. - 企业风险管理v3(app)
  14562. /Ermcp3/QuerySpotContractBS:
  14563. get:
  14564. parameters:
  14565. - description: 所属机构ID
  14566. in: query
  14567. name: areauserid
  14568. required: true
  14569. type: integer
  14570. - description: 合同类型 1-采购, -1-销售
  14571. in: query
  14572. name: contracttype
  14573. required: true
  14574. type: integer
  14575. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14576. in: query
  14577. name: querytype
  14578. required: true
  14579. type: integer
  14580. - description: 用户ID
  14581. in: query
  14582. name: userid
  14583. type: integer
  14584. - description: 用户类型 2-机构 7-企业成员
  14585. in: query
  14586. name: usertype
  14587. type: integer
  14588. - description: 合同ID(SpotContractId)
  14589. in: query
  14590. name: contractid
  14591. type: string
  14592. produces:
  14593. - application/json
  14594. responses:
  14595. "200":
  14596. description: OK
  14597. schema:
  14598. items:
  14599. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14600. type: array
  14601. "500":
  14602. description: Internal Server Error
  14603. schema:
  14604. $ref: '#/definitions/app.Response'
  14605. security:
  14606. - ApiKeyAuth: []
  14607. summary: 查询合同(采购/销售)
  14608. tags:
  14609. - 企业风险管理v3(app)
  14610. /Erms2/QueryArbitrageStrategy:
  14611. get:
  14612. parameters:
  14613. - description: 账户ID
  14614. in: query
  14615. name: userid
  14616. required: true
  14617. type: integer
  14618. - description: 商品组ID(品种ID)
  14619. in: query
  14620. name: goodsgroupid
  14621. type: string
  14622. produces:
  14623. - application/json
  14624. responses:
  14625. "200":
  14626. description: OK
  14627. schema:
  14628. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14629. "500":
  14630. description: Internal Server Error
  14631. schema:
  14632. $ref: '#/definitions/app.Response'
  14633. security:
  14634. - ApiKeyAuth: []
  14635. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14636. tags:
  14637. - 风险管理
  14638. /Erms2/QueryInnerTradeDetail:
  14639. get:
  14640. parameters:
  14641. - description: 资金账户
  14642. in: query
  14643. name: accountid
  14644. required: true
  14645. type: integer
  14646. produces:
  14647. - application/json
  14648. responses:
  14649. "200":
  14650. description: OK
  14651. schema:
  14652. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14653. "500":
  14654. description: Internal Server Error
  14655. schema:
  14656. $ref: '#/definitions/app.Response'
  14657. security:
  14658. - ApiKeyAuth: []
  14659. summary: 查询内部成交单信息
  14660. tags:
  14661. - 风险管理
  14662. /Erms2/QuerySpotContract:
  14663. get:
  14664. parameters:
  14665. - description: 策略申请ID
  14666. in: query
  14667. name: asapplyid
  14668. required: true
  14669. type: integer
  14670. - description: 现货合同ID
  14671. in: query
  14672. name: spotcontractid
  14673. type: integer
  14674. produces:
  14675. - application/json
  14676. responses:
  14677. "200":
  14678. description: OK
  14679. schema:
  14680. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14681. "500":
  14682. description: Internal Server Error
  14683. schema:
  14684. $ref: '#/definitions/app.Response'
  14685. security:
  14686. - ApiKeyAuth: []
  14687. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14688. tags:
  14689. - 风险管理
  14690. /Erms3/AddErms2ASApply:
  14691. post:
  14692. parameters:
  14693. - description: 申请参数
  14694. in: body
  14695. name: jsonBody
  14696. required: true
  14697. schema:
  14698. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14699. produces:
  14700. - application/json
  14701. responses:
  14702. "200":
  14703. description: OK
  14704. schema:
  14705. $ref: '#/definitions/app.Response'
  14706. "500":
  14707. description: Internal Server Error
  14708. schema:
  14709. $ref: '#/definitions/app.Response'
  14710. security:
  14711. - ApiKeyAuth: []
  14712. summary: 新增期现套利业务申请
  14713. tags:
  14714. - 风险管理v3
  14715. /Erms3/AddErms2SpotTradeApply:
  14716. post:
  14717. parameters:
  14718. - description: 申请参数
  14719. in: body
  14720. name: jsonBody
  14721. required: true
  14722. schema:
  14723. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14724. produces:
  14725. - application/json
  14726. responses:
  14727. "200":
  14728. description: OK
  14729. schema:
  14730. $ref: '#/definitions/app.Response'
  14731. "500":
  14732. description: Internal Server Error
  14733. schema:
  14734. $ref: '#/definitions/app.Response'
  14735. security:
  14736. - ApiKeyAuth: []
  14737. summary: 新增现货贸易业务申请
  14738. tags:
  14739. - 风险管理v3
  14740. /Erms3/AddSpotContractApply:
  14741. post:
  14742. parameters:
  14743. - description: 申请参数
  14744. in: body
  14745. name: jsonBody
  14746. required: true
  14747. schema:
  14748. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14749. produces:
  14750. - application/json
  14751. responses:
  14752. "200":
  14753. description: OK
  14754. schema:
  14755. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14756. "500":
  14757. description: Internal Server Error
  14758. schema:
  14759. $ref: '#/definitions/app.Response'
  14760. security:
  14761. - ApiKeyAuth: []
  14762. summary: 新增现货合同申请
  14763. tags:
  14764. - 风险管理v3
  14765. /Erms3/AddUserInfoApply:
  14766. post:
  14767. parameters:
  14768. - description: 用户信息
  14769. in: body
  14770. name: jsonBody
  14771. required: true
  14772. schema:
  14773. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14774. produces:
  14775. - application/json
  14776. responses:
  14777. "200":
  14778. description: OK
  14779. schema:
  14780. $ref: '#/definitions/app.Response'
  14781. "500":
  14782. description: Internal Server Error
  14783. schema:
  14784. $ref: '#/definitions/app.Response'
  14785. security:
  14786. - ApiKeyAuth: []
  14787. summary: 新增客户申请
  14788. tags:
  14789. - 风险管理v3
  14790. /Erms3/ModifyUserInfoApply:
  14791. post:
  14792. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14793. int, "userstate": 2 }'
  14794. parameters:
  14795. - description: 用户信息
  14796. in: body
  14797. name: jsonBody
  14798. required: true
  14799. schema:
  14800. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14801. produces:
  14802. - application/json
  14803. responses:
  14804. "200":
  14805. description: OK
  14806. schema:
  14807. $ref: '#/definitions/app.Response'
  14808. "500":
  14809. description: Internal Server Error
  14810. schema:
  14811. $ref: '#/definitions/app.Response'
  14812. security:
  14813. - ApiKeyAuth: []
  14814. summary: 修改客户申请
  14815. tags:
  14816. - 风险管理v3
  14817. /Erms3/QueryBusinessInfo:
  14818. get:
  14819. parameters:
  14820. - description: 资金账号ID列表,用逗号分隔
  14821. in: query
  14822. name: accountids
  14823. required: true
  14824. type: string
  14825. - description: 状态,0为未结束 1为已结束
  14826. in: query
  14827. name: status
  14828. required: true
  14829. type: integer
  14830. produces:
  14831. - application/json
  14832. responses:
  14833. "200":
  14834. description: OK
  14835. schema:
  14836. items:
  14837. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14838. type: array
  14839. "500":
  14840. description: Internal Server Error
  14841. schema:
  14842. $ref: '#/definitions/app.Response'
  14843. security:
  14844. - ApiKeyAuth: []
  14845. summary: 查询业务表单数据
  14846. tags:
  14847. - 风险管理v3
  14848. /Erms3/QueryPendingAuditContract:
  14849. get:
  14850. parameters:
  14851. - description: 资金账号ID列表,逗号隔开
  14852. in: query
  14853. name: accountids
  14854. required: true
  14855. type: string
  14856. - description: 合同类型 1-采购 -1-销售
  14857. in: query
  14858. name: contracttype
  14859. required: true
  14860. type: integer
  14861. - description: 合同模式 1-普通 2-回购
  14862. in: query
  14863. name: contractmode
  14864. required: true
  14865. type: integer
  14866. produces:
  14867. - application/json
  14868. responses:
  14869. "200":
  14870. description: OK
  14871. schema:
  14872. items:
  14873. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14874. type: array
  14875. "500":
  14876. description: Internal Server Error
  14877. schema:
  14878. $ref: '#/definitions/app.Response'
  14879. security:
  14880. - ApiKeyAuth: []
  14881. summary: 查询待审核合同
  14882. tags:
  14883. - 风险管理v3
  14884. /Erms3/QueryPendingBusiness:
  14885. get:
  14886. parameters:
  14887. - description: 资金账号ID列表,逗号隔开
  14888. in: query
  14889. name: accountids
  14890. required: true
  14891. type: string
  14892. produces:
  14893. - application/json
  14894. responses:
  14895. "200":
  14896. description: OK
  14897. schema:
  14898. items:
  14899. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14900. type: array
  14901. "500":
  14902. description: Internal Server Error
  14903. schema:
  14904. $ref: '#/definitions/app.Response'
  14905. security:
  14906. - ApiKeyAuth: []
  14907. summary: 查询待审核基差贸易业务
  14908. tags:
  14909. - 风险管理v3
  14910. /Erms3/QuerySpotContractAppleForm:
  14911. get:
  14912. parameters:
  14913. - description: 登录账号
  14914. in: query
  14915. name: loginID
  14916. required: true
  14917. type: integer
  14918. produces:
  14919. - application/json
  14920. responses:
  14921. "200":
  14922. description: OK
  14923. schema:
  14924. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14925. "500":
  14926. description: Internal Server Error
  14927. schema:
  14928. $ref: '#/definitions/app.Response'
  14929. security:
  14930. - ApiKeyAuth: []
  14931. summary: 查询合同申请表单数据
  14932. tags:
  14933. - 风险管理v3
  14934. /Erms3/QuerySpotContractDetail:
  14935. get:
  14936. parameters:
  14937. - description: 资金账号ID列表,用逗号分隔
  14938. in: query
  14939. name: accountids
  14940. required: true
  14941. type: string
  14942. - description: 合同类型,1为采购合同 -1为销售合同
  14943. in: query
  14944. name: contracttype
  14945. required: true
  14946. type: integer
  14947. - description: 合同模式,1为普通合同 2为回购销售合同
  14948. in: query
  14949. name: contractmode
  14950. required: true
  14951. type: integer
  14952. - description: 状态,0为履约中 1为已完成
  14953. in: query
  14954. name: status
  14955. required: true
  14956. type: integer
  14957. produces:
  14958. - application/json
  14959. responses:
  14960. "200":
  14961. description: OK
  14962. schema:
  14963. items:
  14964. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14965. type: array
  14966. "500":
  14967. description: Internal Server Error
  14968. schema:
  14969. $ref: '#/definitions/app.Response'
  14970. security:
  14971. - ApiKeyAuth: []
  14972. summary: 查询合同详细信息
  14973. tags:
  14974. - 风险管理v3
  14975. /Erms3/QueryUserInfoApplies:
  14976. get:
  14977. parameters:
  14978. - description: 页码
  14979. in: query
  14980. name: page
  14981. type: integer
  14982. - description: 每页条数
  14983. in: query
  14984. name: pagesize
  14985. type: integer
  14986. - description: 客户名称,支持模糊查询
  14987. in: query
  14988. name: userName
  14989. type: string
  14990. produces:
  14991. - application/json
  14992. responses:
  14993. "200":
  14994. description: OK
  14995. schema:
  14996. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14997. "500":
  14998. description: Internal Server Error
  14999. schema:
  15000. $ref: '#/definitions/app.Response'
  15001. security:
  15002. - ApiKeyAuth: []
  15003. summary: 客户申请信息查询
  15004. tags:
  15005. - 风险管理v3
  15006. /Erms3/QueryUserInfos:
  15007. get:
  15008. parameters:
  15009. - description: 页码
  15010. in: query
  15011. name: page
  15012. type: integer
  15013. - description: 每页条数
  15014. in: query
  15015. name: pagesize
  15016. type: integer
  15017. - description: 客户名称,支持模糊查询
  15018. in: query
  15019. name: userName
  15020. type: string
  15021. produces:
  15022. - application/json
  15023. responses:
  15024. "200":
  15025. description: OK
  15026. schema:
  15027. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15028. "500":
  15029. description: Internal Server Error
  15030. schema:
  15031. $ref: '#/definitions/app.Response'
  15032. security:
  15033. - ApiKeyAuth: []
  15034. summary: 客户信息查询
  15035. tags:
  15036. - 风险管理v3
  15037. /HSBY/GetHsbyMyCount:
  15038. get:
  15039. description: 说明: 不包括已完成的数量。
  15040. parameters:
  15041. - description: 资金账户列表,格式:1,2,3
  15042. in: query
  15043. name: accountIDs
  15044. required: true
  15045. type: string
  15046. produces:
  15047. - application/json
  15048. responses:
  15049. "200":
  15050. description: OK
  15051. schema:
  15052. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15053. "500":
  15054. description: Internal Server Error
  15055. schema:
  15056. $ref: '#/definitions/app.Response'
  15057. security:
  15058. - ApiKeyAuth: []
  15059. summary: 获取我的订单与包裹数量
  15060. tags:
  15061. - 定制【海商报业】
  15062. /HSBY/QueryClientFixedADConfigs:
  15063. get:
  15064. produces:
  15065. - application/json
  15066. responses:
  15067. "200":
  15068. description: OK
  15069. schema:
  15070. $ref: '#/definitions/models.Clientfixedadconfig'
  15071. "500":
  15072. description: Internal Server Error
  15073. schema:
  15074. $ref: '#/definitions/app.Response'
  15075. security:
  15076. - ApiKeyAuth: []
  15077. summary: 获取终端固定广告配置
  15078. tags:
  15079. - 定制【海商报业】
  15080. /HSBY/QueryHsbyBuyMyTradeDetail:
  15081. get:
  15082. parameters:
  15083. - description: 页码
  15084. in: query
  15085. name: page
  15086. type: integer
  15087. - description: 每页条数
  15088. in: query
  15089. name: pagesize
  15090. type: integer
  15091. - description: 资金账户列表,格式:1,2,3
  15092. in: query
  15093. name: accountIDs
  15094. required: true
  15095. type: string
  15096. produces:
  15097. - application/json
  15098. responses:
  15099. "200":
  15100. description: OK
  15101. schema:
  15102. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15103. "500":
  15104. description: Internal Server Error
  15105. schema:
  15106. $ref: '#/definitions/app.Response'
  15107. security:
  15108. - ApiKeyAuth: []
  15109. summary: 查询"我的订单 - 已完成"单据信息
  15110. tags:
  15111. - 定制【海商报业】
  15112. /HSBY/QueryHsbyGoodsOrderDetails:
  15113. get:
  15114. description: 说明:查询结果已按委托价格和委托时间排序
  15115. parameters:
  15116. - description: 商品ID
  15117. in: query
  15118. name: goodsID
  15119. required: true
  15120. type: integer
  15121. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15122. in: query
  15123. name: accountIDs
  15124. type: string
  15125. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15126. in: query
  15127. name: buyOrSell
  15128. type: integer
  15129. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15130. in: query
  15131. name: price
  15132. type: number
  15133. - description: 档位,不传则默认为3档
  15134. in: query
  15135. name: speed
  15136. type: integer
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15144. "500":
  15145. description: Internal Server Error
  15146. schema:
  15147. $ref: '#/definitions/app.Response'
  15148. security:
  15149. - ApiKeyAuth: []
  15150. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15151. tags:
  15152. - 定制【海商报业】
  15153. /HSBY/QueryHsbyListingGoodsDetail:
  15154. get:
  15155. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15156. parameters:
  15157. - description: 商品ID
  15158. in: query
  15159. name: goodsID
  15160. required: true
  15161. type: integer
  15162. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15163. in: query
  15164. name: accountID
  15165. type: integer
  15166. produces:
  15167. - application/json
  15168. responses:
  15169. "200":
  15170. description: OK
  15171. schema:
  15172. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15173. "500":
  15174. description: Internal Server Error
  15175. schema:
  15176. $ref: '#/definitions/app.Response'
  15177. security:
  15178. - ApiKeyAuth: []
  15179. summary: 查询二级市场(挂牌点选)商品信息详情
  15180. tags:
  15181. - 定制【海商报业】
  15182. /HSBY/QueryHsbyMarketGoodsDetail:
  15183. get:
  15184. parameters:
  15185. - description: 委托单号
  15186. in: query
  15187. name: orderID
  15188. required: true
  15189. type: integer
  15190. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15191. in: query
  15192. name: accountID
  15193. type: integer
  15194. produces:
  15195. - application/json
  15196. responses:
  15197. "200":
  15198. description: OK
  15199. schema:
  15200. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15201. "500":
  15202. description: Internal Server Error
  15203. schema:
  15204. $ref: '#/definitions/app.Response'
  15205. security:
  15206. - ApiKeyAuth: []
  15207. summary: 查询三级市场(商城)商品信息详情
  15208. tags:
  15209. - 定制【海商报业】
  15210. /HSBY/QueryHsbyMarketGoodses:
  15211. get:
  15212. parameters:
  15213. - description: 页码
  15214. in: query
  15215. name: page
  15216. type: integer
  15217. - description: 每页条数
  15218. in: query
  15219. name: pagesize
  15220. type: integer
  15221. - description: 市场ID列表,格式:1,2,3
  15222. in: query
  15223. name: marketIDs
  15224. required: true
  15225. type: string
  15226. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15227. in: query
  15228. name: accountID
  15229. required: true
  15230. type: integer
  15231. - description: 类别ID
  15232. in: query
  15233. name: categoryID
  15234. type: integer
  15235. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15236. in: query
  15237. name: goodsIDs
  15238. type: string
  15239. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15240. in: query
  15241. name: couponTypeID
  15242. type: integer
  15243. produces:
  15244. - application/json
  15245. responses:
  15246. "200":
  15247. description: OK
  15248. schema:
  15249. $ref: '#/definitions/models.HsbyMarketGoods'
  15250. "500":
  15251. description: Internal Server Error
  15252. schema:
  15253. $ref: '#/definitions/app.Response'
  15254. security:
  15255. - ApiKeyAuth: []
  15256. summary: 查询特卖商品列表(三级商城)
  15257. tags:
  15258. - 定制【海商报业】
  15259. /HSBY/QueryHsbyMarkets:
  15260. get:
  15261. produces:
  15262. - application/json
  15263. responses:
  15264. "200":
  15265. description: OK
  15266. schema:
  15267. $ref: '#/definitions/models.HsbyMarketInfo'
  15268. "500":
  15269. description: Internal Server Error
  15270. schema:
  15271. $ref: '#/definitions/app.Response'
  15272. security:
  15273. - ApiKeyAuth: []
  15274. summary: 查询海商报业相关市场信息
  15275. tags:
  15276. - 定制【海商报业】
  15277. /HSBY/QueryHsbyMyBuyOrderDetails:
  15278. get:
  15279. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15280. parameters:
  15281. - description: 资金账户列表,格式:1,2,3
  15282. in: query
  15283. name: accountIDs
  15284. required: true
  15285. type: string
  15286. produces:
  15287. - application/json
  15288. responses:
  15289. "200":
  15290. description: OK
  15291. schema:
  15292. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15293. "500":
  15294. description: Internal Server Error
  15295. schema:
  15296. $ref: '#/definitions/app.Response'
  15297. security:
  15298. - ApiKeyAuth: []
  15299. summary: 查询“我的订单”信息
  15300. tags:
  15301. - 定制【海商报业】
  15302. /HSBY/QueryHsbyMyGoods:
  15303. get:
  15304. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15305. parameters:
  15306. - description: 资金账户列表,格式:1,2,3
  15307. in: query
  15308. name: accountIDs
  15309. required: true
  15310. type: string
  15311. produces:
  15312. - application/json
  15313. responses:
  15314. "200":
  15315. description: OK
  15316. schema:
  15317. $ref: '#/definitions/models.HsbyMyGoods'
  15318. "500":
  15319. description: Internal Server Error
  15320. schema:
  15321. $ref: '#/definitions/app.Response'
  15322. security:
  15323. - ApiKeyAuth: []
  15324. summary: 查询“我的商品”信息
  15325. tags:
  15326. - 定制【海商报业】
  15327. /HSBY/QueryHsbyMyPackages:
  15328. get:
  15329. parameters:
  15330. - description: 资金账户列表,格式:1,2,3
  15331. in: query
  15332. name: accountIDs
  15333. required: true
  15334. type: string
  15335. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15336. in: query
  15337. name: takeOrderStatus
  15338. type: integer
  15339. produces:
  15340. - application/json
  15341. responses:
  15342. "200":
  15343. description: OK
  15344. schema:
  15345. $ref: '#/definitions/models.HsbyMyPackage'
  15346. "500":
  15347. description: Internal Server Error
  15348. schema:
  15349. $ref: '#/definitions/app.Response'
  15350. security:
  15351. - ApiKeyAuth: []
  15352. summary: 查询我的包裹信息
  15353. tags:
  15354. - 定制【海商报业】
  15355. /HSBY/QueryHsbyPreGoodsDetail:
  15356. get:
  15357. parameters:
  15358. - description: 商品ID
  15359. in: query
  15360. name: goodsID
  15361. required: true
  15362. type: integer
  15363. - description: 资金账户,主要用于获取预售商品购买上限
  15364. in: query
  15365. name: accountID
  15366. type: integer
  15367. produces:
  15368. - application/json
  15369. responses:
  15370. "200":
  15371. description: OK
  15372. schema:
  15373. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15374. "500":
  15375. description: Internal Server Error
  15376. schema:
  15377. $ref: '#/definitions/app.Response'
  15378. security:
  15379. - ApiKeyAuth: []
  15380. summary: 查询一级市场(预售)商品信息详情
  15381. tags:
  15382. - 定制【海商报业】
  15383. /HSBY/QueryHsbyPreGoodses:
  15384. get:
  15385. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15386. parameters:
  15387. - description: 页码
  15388. in: query
  15389. name: page
  15390. type: integer
  15391. - description: 每页条数
  15392. in: query
  15393. name: pagesize
  15394. type: integer
  15395. - description: 市场ID列表,格式:1,2,3
  15396. in: query
  15397. name: marketIDs
  15398. required: true
  15399. type: string
  15400. - description: 目的地(省)ID
  15401. in: query
  15402. name: descProvinceID
  15403. type: integer
  15404. - description: 目的地(市)ID
  15405. in: query
  15406. name: descCityID
  15407. type: integer
  15408. produces:
  15409. - application/json
  15410. responses:
  15411. "200":
  15412. description: OK
  15413. schema:
  15414. $ref: '#/definitions/models.HsbyPreGoods'
  15415. "500":
  15416. description: Internal Server Error
  15417. schema:
  15418. $ref: '#/definitions/app.Response'
  15419. security:
  15420. - ApiKeyAuth: []
  15421. summary: 查询新品上市商品列表(一级市场预售)
  15422. tags:
  15423. - 定制【海商报业】
  15424. /HSBY/QueryHsbySellMyDetails:
  15425. get:
  15426. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15427. parameters:
  15428. - description: 页码
  15429. in: query
  15430. name: page
  15431. type: integer
  15432. - description: 每页条数
  15433. in: query
  15434. name: pagesize
  15435. type: integer
  15436. - description: 资金账户列表,格式:1,2,3
  15437. in: query
  15438. name: accountIDs
  15439. required: true
  15440. type: string
  15441. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15442. in: query
  15443. name: orderType
  15444. type: integer
  15445. produces:
  15446. - application/json
  15447. responses:
  15448. "200":
  15449. description: OK
  15450. schema:
  15451. $ref: '#/definitions/models.HsbySellMyDetail'
  15452. "500":
  15453. description: Internal Server Error
  15454. schema:
  15455. $ref: '#/definitions/app.Response'
  15456. security:
  15457. - ApiKeyAuth: []
  15458. summary: 查询"我的闲置"单据信息
  15459. tags:
  15460. - 定制【海商报业】
  15461. /HSBY/QueryHsbyTopGoodses:
  15462. get:
  15463. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15464. parameters:
  15465. - description: 页码
  15466. in: query
  15467. name: page
  15468. type: integer
  15469. - description: 每页条数
  15470. in: query
  15471. name: pagesize
  15472. type: integer
  15473. - description: 市场ID列表,格式:1,2,3
  15474. in: query
  15475. name: marketIDs
  15476. required: true
  15477. type: string
  15478. - description: 目的地(省)ID
  15479. in: query
  15480. name: descProvinceID
  15481. type: integer
  15482. - description: 目的地(市)ID
  15483. in: query
  15484. name: descCityID
  15485. type: integer
  15486. produces:
  15487. - application/json
  15488. responses:
  15489. "200":
  15490. description: OK
  15491. schema:
  15492. $ref: '#/definitions/models.HsbyTopGoods'
  15493. "500":
  15494. description: Internal Server Error
  15495. schema:
  15496. $ref: '#/definitions/app.Response'
  15497. security:
  15498. - ApiKeyAuth: []
  15499. summary: 查询热卖商品列表(二级市场挂牌点选)
  15500. tags:
  15501. - 定制【海商报业】
  15502. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15503. get:
  15504. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15505. parameters:
  15506. - description: 商品ID
  15507. in: query
  15508. name: goodsID
  15509. required: true
  15510. type: integer
  15511. produces:
  15512. - application/json
  15513. responses:
  15514. "200":
  15515. description: OK
  15516. schema:
  15517. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15518. "500":
  15519. description: Internal Server Error
  15520. schema:
  15521. $ref: '#/definitions/app.Response'
  15522. security:
  15523. - ApiKeyAuth: []
  15524. summary: 查询游客三级市场(商城)商品信息详情
  15525. tags:
  15526. - 定制【海商报业】
  15527. /HSBY/QueryHsbyVisitorMarketGoodses:
  15528. get:
  15529. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15530. parameters:
  15531. - description: 页码
  15532. in: query
  15533. name: page
  15534. type: integer
  15535. - description: 每页条数
  15536. in: query
  15537. name: pagesize
  15538. type: integer
  15539. - description: 市场ID列表,格式:1,2,3
  15540. in: query
  15541. name: marketIDs
  15542. required: true
  15543. type: string
  15544. - description: 类别ID
  15545. in: query
  15546. name: categoryID
  15547. type: integer
  15548. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15549. in: query
  15550. name: goodsIDs
  15551. type: string
  15552. produces:
  15553. - application/json
  15554. responses:
  15555. "200":
  15556. description: OK
  15557. schema:
  15558. $ref: '#/definitions/models.HsbyMarketGoods'
  15559. "500":
  15560. description: Internal Server Error
  15561. schema:
  15562. $ref: '#/definitions/app.Response'
  15563. security:
  15564. - ApiKeyAuth: []
  15565. summary: 查询游客特卖商品列表(三级商城)
  15566. tags:
  15567. - 定制【海商报业】
  15568. /HSBY/QueryMyCollectionOrders:
  15569. get:
  15570. parameters:
  15571. - description: 页码
  15572. in: query
  15573. name: page
  15574. type: integer
  15575. - description: 每页条数
  15576. in: query
  15577. name: pagesize
  15578. type: integer
  15579. - description: 资金账户,格式:1,2,3
  15580. in: query
  15581. name: accountIDs
  15582. required: true
  15583. type: string
  15584. produces:
  15585. - application/json
  15586. responses:
  15587. "200":
  15588. description: OK
  15589. schema:
  15590. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15591. "500":
  15592. description: Internal Server Error
  15593. schema:
  15594. $ref: '#/definitions/app.Response'
  15595. security:
  15596. - ApiKeyAuth: []
  15597. summary: 我的闲置中收款信息查询
  15598. tags:
  15599. - 定制【海商报业】
  15600. /HSBY/QueryMyCouponHolds:
  15601. get:
  15602. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15603. parameters:
  15604. - description: 资金账户列表,格式:1,2,3
  15605. in: query
  15606. name: accountIDs
  15607. required: true
  15608. type: string
  15609. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15610. in: query
  15611. name: holdStatus
  15612. type: string
  15613. produces:
  15614. - application/json
  15615. responses:
  15616. "200":
  15617. description: OK
  15618. schema:
  15619. $ref: '#/definitions/models.MyCouponHold'
  15620. "500":
  15621. description: Internal Server Error
  15622. schema:
  15623. $ref: '#/definitions/app.Response'
  15624. security:
  15625. - ApiKeyAuth: []
  15626. summary: 我的优惠卷持仓查询
  15627. tags:
  15628. - 定制【海商报业】
  15629. /HSBY/QueryMyCoupons:
  15630. get:
  15631. parameters:
  15632. - description: 资金账户列表,格式:1,2,3
  15633. in: query
  15634. name: accountIDs
  15635. required: true
  15636. type: string
  15637. - description: 商品ID, 一般与sellUserID配套传入
  15638. in: query
  15639. name: goodsID
  15640. type: integer
  15641. - description: 卖方UserID
  15642. in: query
  15643. name: sellUserID
  15644. type: integer
  15645. produces:
  15646. - application/json
  15647. responses:
  15648. "200":
  15649. description: OK
  15650. schema:
  15651. $ref: '#/definitions/models.MyCoupon'
  15652. "500":
  15653. description: Internal Server Error
  15654. schema:
  15655. $ref: '#/definitions/app.Response'
  15656. security:
  15657. - ApiKeyAuth: []
  15658. summary: 我的优惠卷查询
  15659. tags:
  15660. - 定制【海商报业】
  15661. /HSBY/QueryMyPayOrders:
  15662. get:
  15663. parameters:
  15664. - description: 页码
  15665. in: query
  15666. name: page
  15667. type: integer
  15668. - description: 每页条数
  15669. in: query
  15670. name: pagesize
  15671. type: integer
  15672. - description: 资金账户列表,格式:1,2,3
  15673. in: query
  15674. name: accountIDs
  15675. required: true
  15676. type: string
  15677. - description: 买方委托单号
  15678. in: query
  15679. name: buyOrderID
  15680. type: integer
  15681. - description: 卖方委托单号
  15682. in: query
  15683. name: sellOrderID
  15684. type: integer
  15685. produces:
  15686. - application/json
  15687. responses:
  15688. "200":
  15689. description: OK
  15690. schema:
  15691. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15692. "500":
  15693. description: Internal Server Error
  15694. schema:
  15695. $ref: '#/definitions/app.Response'
  15696. security:
  15697. - ApiKeyAuth: []
  15698. summary: 获取我的订单中待付款信息
  15699. tags:
  15700. - 定制【海商报业】
  15701. /HSBY/QueryMyUsedCoupon:
  15702. get:
  15703. parameters:
  15704. - description: 资金账户列表,格式:1,2,3
  15705. in: query
  15706. name: accountIDs
  15707. required: true
  15708. type: string
  15709. produces:
  15710. - application/json
  15711. responses:
  15712. "200":
  15713. description: OK
  15714. schema:
  15715. $ref: '#/definitions/models.MyUsedCoupon'
  15716. "500":
  15717. description: Internal Server Error
  15718. schema:
  15719. $ref: '#/definitions/app.Response'
  15720. security:
  15721. - ApiKeyAuth: []
  15722. summary: 已使用优惠卷查询
  15723. tags:
  15724. - 定制【海商报业】
  15725. /HSBY/QueryProvincesAndCities:
  15726. get:
  15727. description: 查询结果只包括二级市场商品已关连的省市信息。
  15728. parameters:
  15729. - description: 省ID
  15730. in: query
  15731. name: provinceID
  15732. type: integer
  15733. produces:
  15734. - application/json
  15735. responses:
  15736. "200":
  15737. description: OK
  15738. schema:
  15739. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15740. "500":
  15741. description: Internal Server Error
  15742. schema:
  15743. $ref: '#/definitions/app.Response'
  15744. security:
  15745. - ApiKeyAuth: []
  15746. summary: 查询省市信息(不包括区)
  15747. tags:
  15748. - 定制【海商报业】
  15749. /HSBY/SetHsbyMyPackagesStatus:
  15750. post:
  15751. parameters:
  15752. - description: 提货单号
  15753. in: query
  15754. name: takeOrderID
  15755. required: true
  15756. type: string
  15757. - description: 资金账号
  15758. in: query
  15759. name: accountID
  15760. required: true
  15761. type: integer
  15762. produces:
  15763. - application/json
  15764. responses:
  15765. "200":
  15766. description: OK
  15767. schema:
  15768. $ref: '#/definitions/app.Response'
  15769. "500":
  15770. description: Internal Server Error
  15771. schema:
  15772. $ref: '#/definitions/app.Response'
  15773. security:
  15774. - ApiKeyAuth: []
  15775. summary: 设置我的包裹已收货状态
  15776. tags:
  15777. - 定制【海商报业】
  15778. /Market/QueryGoodsesByLoginID:
  15779. get:
  15780. parameters:
  15781. - description: 登录账号
  15782. in: query
  15783. name: loginID
  15784. required: true
  15785. type: integer
  15786. - description: 市场ID列表,格式:1,2,3
  15787. in: query
  15788. name: marketIDs
  15789. type: string
  15790. produces:
  15791. - application/json
  15792. responses:
  15793. "200":
  15794. description: OK
  15795. schema:
  15796. $ref: '#/definitions/models.Goods'
  15797. "500":
  15798. description: Internal Server Error
  15799. schema:
  15800. $ref: '#/definitions/app.Response'
  15801. security:
  15802. - ApiKeyAuth: []
  15803. summary: 获取登录账号有权限的商品信息
  15804. tags:
  15805. - 通用市场
  15806. /Market/QueryMarketRun:
  15807. get:
  15808. parameters:
  15809. - description: 市场ID,不传返回所有
  15810. in: query
  15811. name: marketID
  15812. type: integer
  15813. produces:
  15814. - application/json
  15815. responses:
  15816. "200":
  15817. description: OK
  15818. schema:
  15819. $ref: '#/definitions/models.Marketrun'
  15820. "500":
  15821. description: Internal Server Error
  15822. schema:
  15823. $ref: '#/definitions/app.Response'
  15824. security:
  15825. - ApiKeyAuth: []
  15826. summary: 查询市场运行信息
  15827. tags:
  15828. - 通用市场
  15829. /Market/QueryMarketsByLoginID:
  15830. get:
  15831. parameters:
  15832. - description: 登录账号
  15833. in: query
  15834. name: loginID
  15835. required: true
  15836. type: integer
  15837. produces:
  15838. - application/json
  15839. responses:
  15840. "200":
  15841. description: OK
  15842. schema:
  15843. $ref: '#/definitions/models.Market'
  15844. "500":
  15845. description: Internal Server Error
  15846. schema:
  15847. $ref: '#/definitions/app.Response'
  15848. security:
  15849. - ApiKeyAuth: []
  15850. summary: 获取登录账号有权限的市场信息
  15851. tags:
  15852. - 通用市场
  15853. /Order/QueryHisTradeDetail:
  15854. get:
  15855. parameters:
  15856. - description: 资金账户 - 格式:1,2,3
  15857. in: query
  15858. name: accountID
  15859. required: true
  15860. type: string
  15861. - description: 成交单号
  15862. in: query
  15863. name: tradeID
  15864. type: integer
  15865. - description: 委托单号
  15866. in: query
  15867. name: orderID
  15868. type: integer
  15869. - description: 交易模式 - 格式:1,2,3
  15870. in: query
  15871. name: tradeMode
  15872. type: string
  15873. - description: 委托单据类型
  15874. in: query
  15875. name: buildType
  15876. type: integer
  15877. - description: 成交类别 - 格式:1,2,3
  15878. in: query
  15879. name: tradeType
  15880. type: string
  15881. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15882. in: query
  15883. name: startDate
  15884. type: string
  15885. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15886. in: query
  15887. name: endDate
  15888. type: string
  15889. produces:
  15890. - application/json
  15891. responses:
  15892. "200":
  15893. description: OK
  15894. schema:
  15895. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15896. "500":
  15897. description: Internal Server Error
  15898. schema:
  15899. $ref: '#/definitions/app.Response'
  15900. security:
  15901. - ApiKeyAuth: []
  15902. summary: 历史成交单查询(合约市场)
  15903. tags:
  15904. - 通用单据
  15905. /Order/QueryHisTradeOrderDetail:
  15906. get:
  15907. parameters:
  15908. - description: 资金账户 - 格式:1,2,3
  15909. in: query
  15910. name: accountID
  15911. required: true
  15912. type: string
  15913. - description: 交易模式 - 格式:1,2,3
  15914. in: query
  15915. name: tradeMode
  15916. type: string
  15917. - description: 委托状态 - 格式:1,2,3
  15918. in: query
  15919. name: orderStatus
  15920. type: string
  15921. - description: 委托单号
  15922. in: query
  15923. name: orderID
  15924. type: integer
  15925. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15926. in: query
  15927. name: startDate
  15928. type: string
  15929. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15930. in: query
  15931. name: endDate
  15932. type: string
  15933. produces:
  15934. - application/json
  15935. responses:
  15936. "200":
  15937. description: OK
  15938. schema:
  15939. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15940. "500":
  15941. description: Internal Server Error
  15942. schema:
  15943. $ref: '#/definitions/app.Response'
  15944. security:
  15945. - ApiKeyAuth: []
  15946. summary: 历史委托单查询请求(合约市场)
  15947. tags:
  15948. - 通用单据
  15949. /Order/QueryTradeDetail:
  15950. get:
  15951. parameters:
  15952. - description: 资金账户 - 格式:1,2,3
  15953. in: query
  15954. name: accountID
  15955. required: true
  15956. type: string
  15957. - description: 成交单号
  15958. in: query
  15959. name: tradeID
  15960. type: integer
  15961. - description: 委托单号
  15962. in: query
  15963. name: orderID
  15964. type: integer
  15965. - description: 交易模式 - 格式:1,2,3
  15966. in: query
  15967. name: tradeMode
  15968. type: string
  15969. - description: 委托单据类型
  15970. in: query
  15971. name: buildType
  15972. type: integer
  15973. - description: 成交类别 - 格式:1,2,3
  15974. in: query
  15975. name: tradeType
  15976. type: string
  15977. produces:
  15978. - application/json
  15979. responses:
  15980. "200":
  15981. description: OK
  15982. schema:
  15983. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15984. "500":
  15985. description: Internal Server Error
  15986. schema:
  15987. $ref: '#/definitions/app.Response'
  15988. security:
  15989. - ApiKeyAuth: []
  15990. summary: 成交单查询(合约市场)
  15991. tags:
  15992. - 通用单据
  15993. /Order/QueryTradeOrderDetail:
  15994. get:
  15995. parameters:
  15996. - description: 资金账户 - 格式:1,2,3
  15997. in: query
  15998. name: accountID
  15999. required: true
  16000. type: string
  16001. - description: 交易模式 - 格式:1,2,3
  16002. in: query
  16003. name: tradeMode
  16004. type: string
  16005. - description: 委托状态 - 格式:1,2,3
  16006. in: query
  16007. name: orderStatus
  16008. type: string
  16009. - description: 委托单号
  16010. in: query
  16011. name: orderID
  16012. type: integer
  16013. produces:
  16014. - application/json
  16015. responses:
  16016. "200":
  16017. description: OK
  16018. schema:
  16019. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16020. "500":
  16021. description: Internal Server Error
  16022. schema:
  16023. $ref: '#/definitions/app.Response'
  16024. security:
  16025. - ApiKeyAuth: []
  16026. summary: 委托单查询请求(合约市场)
  16027. tags:
  16028. - 通用单据
  16029. /Order/QueryTradePosition:
  16030. get:
  16031. parameters:
  16032. - description: 资金账户 - 格式:1,2,3
  16033. in: query
  16034. name: accountID
  16035. required: true
  16036. type: string
  16037. - description: 交易模式 - 格式:1,2,3
  16038. in: query
  16039. name: tradeMode
  16040. type: string
  16041. produces:
  16042. - application/json
  16043. responses:
  16044. "200":
  16045. description: OK
  16046. schema:
  16047. $ref: '#/definitions/order.QueryTradePositionRsp'
  16048. "500":
  16049. description: Internal Server Error
  16050. schema:
  16051. $ref: '#/definitions/app.Response'
  16052. security:
  16053. - ApiKeyAuth: []
  16054. summary: 持仓汇总查询(合约市场)
  16055. tags:
  16056. - 通用单据
  16057. /Quote/QueryHistoryDatas:
  16058. get:
  16059. parameters:
  16060. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16061. 日线'
  16062. in: query
  16063. name: cycleType
  16064. required: true
  16065. type: integer
  16066. - description: 商品代码
  16067. in: query
  16068. name: goodsCode
  16069. required: true
  16070. type: string
  16071. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16072. in: query
  16073. name: startTime
  16074. type: string
  16075. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16076. in: query
  16077. name: endTime
  16078. type: string
  16079. - description: 条数
  16080. in: query
  16081. name: count
  16082. type: integer
  16083. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16084. in: query
  16085. name: isAsc
  16086. type: boolean
  16087. produces:
  16088. - application/json
  16089. responses:
  16090. "200":
  16091. description: OK
  16092. schema:
  16093. $ref: '#/definitions/quote.HistoryData'
  16094. "500":
  16095. description: Internal Server Error
  16096. schema:
  16097. $ref: '#/definitions/app.Response'
  16098. security:
  16099. - ApiKeyAuth: []
  16100. summary: 查询行情历史数据
  16101. tags:
  16102. - 行情服务
  16103. /Quote/QueryHistoryTikDatas:
  16104. get:
  16105. parameters:
  16106. - description: 商品代码
  16107. in: query
  16108. name: goodsCode
  16109. required: true
  16110. type: string
  16111. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16112. in: query
  16113. name: startTime
  16114. type: string
  16115. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16116. in: query
  16117. name: endTime
  16118. type: string
  16119. - description: 条数
  16120. in: query
  16121. name: count
  16122. type: integer
  16123. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16124. in: query
  16125. name: isAsc
  16126. type: boolean
  16127. produces:
  16128. - application/json
  16129. responses:
  16130. "200":
  16131. description: OK
  16132. schema:
  16133. $ref: '#/definitions/quote.HistoryTikData'
  16134. "500":
  16135. description: Internal Server Error
  16136. schema:
  16137. $ref: '#/definitions/app.Response'
  16138. security:
  16139. - ApiKeyAuth: []
  16140. summary: 查询行情Tik数据
  16141. tags:
  16142. - 行情服务
  16143. /Quote/QueryQuoteDay:
  16144. get:
  16145. parameters:
  16146. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16147. in: query
  16148. name: goodsCodes
  16149. required: true
  16150. type: string
  16151. produces:
  16152. - application/json
  16153. responses:
  16154. "200":
  16155. description: OK
  16156. schema:
  16157. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16158. "500":
  16159. description: Internal Server Error
  16160. schema:
  16161. $ref: '#/definitions/app.Response'
  16162. security:
  16163. - ApiKeyAuth: []
  16164. summary: 获取商品盘面信息
  16165. tags:
  16166. - 行情服务
  16167. /Quote/QueryTSData:
  16168. get:
  16169. parameters:
  16170. - description: 商品代码
  16171. in: query
  16172. name: goodsCode
  16173. required: true
  16174. type: string
  16175. produces:
  16176. - application/json
  16177. responses:
  16178. "200":
  16179. description: OK
  16180. schema:
  16181. $ref: '#/definitions/quote.QueryTSDataRsp'
  16182. "500":
  16183. description: Internal Server Error
  16184. schema:
  16185. $ref: '#/definitions/app.Response'
  16186. security:
  16187. - ApiKeyAuth: []
  16188. summary: 分时图数据查询
  16189. tags:
  16190. - 行情服务
  16191. /SZDZ/QueryConvertConfig:
  16192. get:
  16193. parameters:
  16194. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16195. 6:交易转花生米(不设置)
  16196. in: query
  16197. name: convertType
  16198. type: integer
  16199. - description: 外部商品代码[JD\PD]
  16200. in: query
  16201. name: outerGoodsCode
  16202. type: string
  16203. - description: 内部商品ID列表[交易],格式:1,2,3
  16204. in: query
  16205. name: innerGoodsIDs
  16206. type: string
  16207. produces:
  16208. - application/json
  16209. responses:
  16210. "200":
  16211. description: OK
  16212. schema:
  16213. $ref: '#/definitions/models.Szdz3convertconfig'
  16214. "500":
  16215. description: Internal Server Error
  16216. schema:
  16217. $ref: '#/definitions/app.Response'
  16218. security:
  16219. - ApiKeyAuth: []
  16220. summary: 查询交易系统转换设置
  16221. tags:
  16222. - 定制【尚志大宗】
  16223. /SZDZ/QueryConvertLog:
  16224. get:
  16225. parameters:
  16226. - description: 资金账户 - 格式:1,2,3
  16227. in: query
  16228. name: accountID
  16229. required: true
  16230. type: string
  16231. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16232. in: query
  16233. name: startDate
  16234. type: string
  16235. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16236. in: query
  16237. name: endDate
  16238. type: string
  16239. produces:
  16240. - application/json
  16241. responses:
  16242. "200":
  16243. description: OK
  16244. schema:
  16245. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16246. "500":
  16247. description: Internal Server Error
  16248. schema:
  16249. $ref: '#/definitions/app.Response'
  16250. security:
  16251. - ApiKeyAuth: []
  16252. summary: 交易系统转换流水查询
  16253. tags:
  16254. - 定制【尚志大宗】
  16255. /SZDZ/QueryGoodsPickup:
  16256. get:
  16257. parameters:
  16258. - description: 资金账户 - 格式:1,2,3
  16259. in: query
  16260. name: accountID
  16261. required: true
  16262. type: string
  16263. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16264. in: query
  16265. name: takeOrderStatus
  16266. type: integer
  16267. produces:
  16268. - application/json
  16269. responses:
  16270. "200":
  16271. description: OK
  16272. schema:
  16273. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16274. "500":
  16275. description: Internal Server Error
  16276. schema:
  16277. $ref: '#/definitions/app.Response'
  16278. security:
  16279. - ApiKeyAuth: []
  16280. summary: 商品提货单查询
  16281. tags:
  16282. - 定制【尚志大宗】
  16283. /SZDZ/QueryRecieptOrder:
  16284. get:
  16285. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16286. parameters:
  16287. - description: 页码
  16288. in: query
  16289. name: page
  16290. type: integer
  16291. - description: 每页条数
  16292. in: query
  16293. name: pagesize
  16294. type: integer
  16295. - description: 商品ID
  16296. in: query
  16297. name: goodsID
  16298. required: true
  16299. type: integer
  16300. - description: 所属账户名称
  16301. in: query
  16302. name: accountName
  16303. type: string
  16304. - description: 市场ID
  16305. in: query
  16306. name: marketID
  16307. type: integer
  16308. - description: 方向 - 0:买 1:卖
  16309. in: query
  16310. name: buyorsell
  16311. required: true
  16312. type: integer
  16313. produces:
  16314. - application/json
  16315. responses:
  16316. "200":
  16317. description: OK
  16318. schema:
  16319. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16320. "500":
  16321. description: Internal Server Error
  16322. schema:
  16323. $ref: '#/definitions/app.Response'
  16324. security:
  16325. - ApiKeyAuth: []
  16326. summary: 点选挂牌委托单据查询(摘牌大厅)
  16327. tags:
  16328. - 定制【尚志大宗】
  16329. /SZDZ/QuerySZDZTradePosition:
  16330. get:
  16331. parameters:
  16332. - description: 资金账户
  16333. in: query
  16334. name: accountID
  16335. required: true
  16336. type: integer
  16337. produces:
  16338. - application/json
  16339. responses:
  16340. "200":
  16341. description: OK
  16342. schema:
  16343. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16344. "500":
  16345. description: Internal Server Error
  16346. schema:
  16347. $ref: '#/definitions/app.Response'
  16348. security:
  16349. - ApiKeyAuth: []
  16350. summary: 持仓汇总查询(尚志大宗)
  16351. tags:
  16352. - 定制【尚志大宗】
  16353. /SZDZ/SearchWhite:
  16354. get:
  16355. parameters:
  16356. - description: 用户ID
  16357. in: query
  16358. name: userID
  16359. required: true
  16360. type: integer
  16361. produces:
  16362. - application/json
  16363. responses:
  16364. "200":
  16365. description: OK
  16366. schema:
  16367. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16368. "500":
  16369. description: Internal Server Error
  16370. schema:
  16371. $ref: '#/definitions/app.Response'
  16372. security:
  16373. - ApiKeyAuth: []
  16374. summary: 搜索白名单
  16375. tags:
  16376. - 定制【尚志大宗】
  16377. /Search/SearchGoodses:
  16378. get:
  16379. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16380. parameters:
  16381. - description: 检索内容
  16382. in: query
  16383. name: content
  16384. required: true
  16385. type: string
  16386. - description: 交易模式,格式:1,2,3
  16387. in: query
  16388. name: tradeModes
  16389. type: string
  16390. produces:
  16391. - application/json
  16392. responses:
  16393. "200":
  16394. description: OK
  16395. schema:
  16396. $ref: '#/definitions/models.SearchGoods'
  16397. "500":
  16398. description: Internal Server Error
  16399. schema:
  16400. $ref: '#/definitions/app.Response'
  16401. summary: 检索商品信息
  16402. tags:
  16403. - 检索服务
  16404. /TaAccount/GetTaAccounts:
  16405. get:
  16406. parameters:
  16407. - description: 登录账户
  16408. in: query
  16409. name: loginID
  16410. required: true
  16411. type: integer
  16412. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16413. in: query
  16414. name: taAccountType
  16415. type: integer
  16416. produces:
  16417. - application/json
  16418. responses:
  16419. "200":
  16420. description: OK
  16421. schema:
  16422. $ref: '#/definitions/models.Taaccount'
  16423. "500":
  16424. description: Internal Server Error
  16425. schema:
  16426. $ref: '#/definitions/app.Response'
  16427. security:
  16428. - ApiKeyAuth: []
  16429. summary: 获取资金账户信息
  16430. tags:
  16431. - 资金账户
  16432. /TaAccount/QueryAmountLog:
  16433. get:
  16434. parameters:
  16435. - description: 页码
  16436. in: query
  16437. name: page
  16438. type: integer
  16439. - description: 每页条数
  16440. in: query
  16441. name: pagesize
  16442. type: integer
  16443. - description: 资金账户 - 格式:1,2,3
  16444. in: query
  16445. name: accountID
  16446. required: true
  16447. type: string
  16448. - description: 资金操作类型 - 格式:1,2,3
  16449. in: query
  16450. name: OperateType
  16451. type: string
  16452. produces:
  16453. - application/json
  16454. responses:
  16455. "200":
  16456. description: OK
  16457. schema:
  16458. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16459. "500":
  16460. description: Internal Server Error
  16461. schema:
  16462. $ref: '#/definitions/app.Response'
  16463. security:
  16464. - ApiKeyAuth: []
  16465. summary: 资金流水查询(当前)
  16466. tags:
  16467. - 资金账户
  16468. /TaAccount/QueryHisAmountLog:
  16469. get:
  16470. parameters:
  16471. - description: 页码
  16472. in: query
  16473. name: page
  16474. type: integer
  16475. - description: 每页条数
  16476. in: query
  16477. name: pagesize
  16478. type: integer
  16479. - description: 资金账户 - 格式:1,2,3
  16480. in: query
  16481. name: accountID
  16482. required: true
  16483. type: string
  16484. - description: 资金操作类型 - 格式:1,2,3
  16485. in: query
  16486. name: OperateType
  16487. type: string
  16488. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16489. in: query
  16490. name: startDate
  16491. type: string
  16492. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16493. in: query
  16494. name: endDate
  16495. type: string
  16496. produces:
  16497. - application/json
  16498. responses:
  16499. "200":
  16500. description: OK
  16501. schema:
  16502. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16503. "500":
  16504. description: Internal Server Error
  16505. schema:
  16506. $ref: '#/definitions/app.Response'
  16507. security:
  16508. - ApiKeyAuth: []
  16509. summary: 资金流水查询(历史)
  16510. tags:
  16511. - 资金账户
  16512. /Trade/QueryRecieptOrder:
  16513. get:
  16514. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16515. parameters:
  16516. - description: 页码
  16517. in: query
  16518. name: page
  16519. type: integer
  16520. - description: 每页条数
  16521. in: query
  16522. name: pagesize
  16523. type: integer
  16524. - description: 商品ID
  16525. in: query
  16526. name: goodsID
  16527. required: true
  16528. type: integer
  16529. - description: 所属账户名称
  16530. in: query
  16531. name: accountName
  16532. type: string
  16533. - description: 市场ID
  16534. in: query
  16535. name: marketID
  16536. type: integer
  16537. - description: 方向 - 0:买 1:卖
  16538. in: query
  16539. name: buyorsell
  16540. required: true
  16541. type: integer
  16542. produces:
  16543. - application/json
  16544. responses:
  16545. "200":
  16546. description: OK
  16547. schema:
  16548. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16549. "500":
  16550. description: Internal Server Error
  16551. schema:
  16552. $ref: '#/definitions/app.Response'
  16553. security:
  16554. - ApiKeyAuth: []
  16555. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16556. tags:
  16557. - 通用交易
  16558. /User/AddMessageBoard:
  16559. post:
  16560. parameters:
  16561. - description: 用户ID
  16562. in: query
  16563. name: userID
  16564. required: true
  16565. type: integer
  16566. - description: 留言信息
  16567. in: query
  16568. name: message
  16569. required: true
  16570. type: string
  16571. - description: 联系电话
  16572. in: query
  16573. name: contactNum
  16574. required: true
  16575. type: string
  16576. produces:
  16577. - application/json
  16578. responses:
  16579. "200":
  16580. description: OK
  16581. schema:
  16582. $ref: '#/definitions/app.Response'
  16583. "500":
  16584. description: Internal Server Error
  16585. schema:
  16586. $ref: '#/definitions/app.Response'
  16587. security:
  16588. - ApiKeyAuth: []
  16589. summary: 添加用户留言板信息
  16590. tags:
  16591. - 用户信息
  16592. /User/AddUserFavoriteGoods:
  16593. post:
  16594. parameters:
  16595. - description: 用户ID
  16596. in: query
  16597. name: userID
  16598. required: true
  16599. type: integer
  16600. - description: 商品ID
  16601. in: query
  16602. name: goodsID
  16603. required: true
  16604. type: integer
  16605. produces:
  16606. - application/json
  16607. responses:
  16608. "200":
  16609. description: OK
  16610. schema:
  16611. $ref: '#/definitions/app.Response'
  16612. "500":
  16613. description: Internal Server Error
  16614. schema:
  16615. $ref: '#/definitions/app.Response'
  16616. security:
  16617. - ApiKeyAuth: []
  16618. summary: 添加用户商品收藏信息
  16619. tags:
  16620. - 用户信息
  16621. /User/GetLoginID:
  16622. get:
  16623. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16624. parameters:
  16625. - description: 登录代码
  16626. in: query
  16627. name: username
  16628. required: true
  16629. type: string
  16630. produces:
  16631. - application/json
  16632. responses:
  16633. "200":
  16634. description: OK
  16635. schema:
  16636. $ref: '#/definitions/app.Response'
  16637. "500":
  16638. description: Internal Server Error
  16639. schema:
  16640. $ref: '#/definitions/app.Response'
  16641. summary: 获取登录ID
  16642. tags:
  16643. - 用户信息
  16644. /User/GetUserAccount:
  16645. get:
  16646. parameters:
  16647. - description: 用户ID
  16648. in: query
  16649. name: userID
  16650. required: true
  16651. type: integer
  16652. produces:
  16653. - application/json
  16654. responses:
  16655. "200":
  16656. description: OK
  16657. schema:
  16658. $ref: '#/definitions/models.Useraccount'
  16659. "500":
  16660. description: Internal Server Error
  16661. schema:
  16662. $ref: '#/definitions/app.Response'
  16663. security:
  16664. - ApiKeyAuth: []
  16665. summary: 获取用户账号信息
  16666. tags:
  16667. - 用户信息
  16668. /User/GetUserAuthStatus:
  16669. get:
  16670. parameters:
  16671. - description: 用户ID
  16672. in: query
  16673. name: userID
  16674. required: true
  16675. type: integer
  16676. produces:
  16677. - application/json
  16678. responses:
  16679. "200":
  16680. description: OK
  16681. schema:
  16682. $ref: '#/definitions/app.Response'
  16683. "500":
  16684. description: Internal Server Error
  16685. schema:
  16686. $ref: '#/definitions/app.Response'
  16687. security:
  16688. - ApiKeyAuth: []
  16689. summary: 获取用户实名认证状态
  16690. tags:
  16691. - 用户信息
  16692. /User/LoginQuery:
  16693. get:
  16694. parameters:
  16695. - description: 登录账号
  16696. in: query
  16697. name: loginID
  16698. required: true
  16699. type: integer
  16700. produces:
  16701. - application/json
  16702. responses:
  16703. "200":
  16704. description: OK
  16705. schema:
  16706. $ref: '#/definitions/user.LoginQueryRsp'
  16707. "500":
  16708. description: Internal Server Error
  16709. schema:
  16710. $ref: '#/definitions/app.Response'
  16711. security:
  16712. - ApiKeyAuth: []
  16713. summary: 账户登录后信息查询
  16714. tags:
  16715. - 用户信息
  16716. /User/QueryMessageBoard:
  16717. get:
  16718. parameters:
  16719. - description: 用户ID
  16720. in: query
  16721. name: userID
  16722. required: true
  16723. type: integer
  16724. produces:
  16725. - application/json
  16726. responses:
  16727. "200":
  16728. description: OK
  16729. schema:
  16730. $ref: '#/definitions/models.Messageboard'
  16731. "500":
  16732. description: Internal Server Error
  16733. schema:
  16734. $ref: '#/definitions/app.Response'
  16735. security:
  16736. - ApiKeyAuth: []
  16737. summary: 获取用户留言板信息
  16738. tags:
  16739. - 用户信息
  16740. /User/QueryUserFavoriteGoodses:
  16741. get:
  16742. parameters:
  16743. - description: 用户ID
  16744. in: query
  16745. name: userID
  16746. required: true
  16747. type: integer
  16748. produces:
  16749. - application/json
  16750. responses:
  16751. "200":
  16752. description: OK
  16753. schema:
  16754. $ref: '#/definitions/models.Userfavoritegoods'
  16755. "500":
  16756. description: Internal Server Error
  16757. schema:
  16758. $ref: '#/definitions/app.Response'
  16759. security:
  16760. - ApiKeyAuth: []
  16761. summary: 获取用户商品收藏信息
  16762. tags:
  16763. - 用户信息
  16764. /User/QueryUserInfo:
  16765. get:
  16766. parameters:
  16767. - description: 用户ID
  16768. in: query
  16769. name: userID
  16770. required: true
  16771. type: integer
  16772. - description: 是否解密
  16773. in: query
  16774. name: isDecrypt
  16775. type: boolean
  16776. produces:
  16777. - application/json
  16778. responses:
  16779. "200":
  16780. description: OK
  16781. schema:
  16782. $ref: '#/definitions/models.Userinfo'
  16783. "500":
  16784. description: Internal Server Error
  16785. schema:
  16786. $ref: '#/definitions/app.Response'
  16787. security:
  16788. - ApiKeyAuth: []
  16789. summary: 获取用户信息
  16790. tags:
  16791. - 用户信息
  16792. /User/QueryUserReferNum:
  16793. get:
  16794. parameters:
  16795. - description: 用户ID
  16796. in: query
  16797. name: userID
  16798. required: true
  16799. type: integer
  16800. produces:
  16801. - application/json
  16802. responses:
  16803. "200":
  16804. description: OK
  16805. schema:
  16806. $ref: '#/definitions/app.Response'
  16807. "500":
  16808. description: Internal Server Error
  16809. schema:
  16810. $ref: '#/definitions/app.Response'
  16811. summary: 获取用户邀请码
  16812. tags:
  16813. - 用户信息
  16814. /User/RemoveUserFavoriteGoods:
  16815. post:
  16816. parameters:
  16817. - description: 用户ID
  16818. in: query
  16819. name: userID
  16820. required: true
  16821. type: integer
  16822. - description: 商品ID
  16823. in: query
  16824. name: goodsID
  16825. required: true
  16826. type: integer
  16827. produces:
  16828. - application/json
  16829. responses:
  16830. "200":
  16831. description: OK
  16832. schema:
  16833. $ref: '#/definitions/app.Response'
  16834. "500":
  16835. description: Internal Server Error
  16836. schema:
  16837. $ref: '#/definitions/app.Response'
  16838. security:
  16839. - ApiKeyAuth: []
  16840. summary: 移除用户商品收藏信息
  16841. tags:
  16842. - 用户信息
  16843. /User/UpdateUserAccountStatus:
  16844. post:
  16845. parameters:
  16846. - description: 用户ID
  16847. in: query
  16848. name: userID
  16849. required: true
  16850. type: integer
  16851. - description: 账户状态 - 4:正常 6:注销(停用)
  16852. in: query
  16853. name: accountStatus
  16854. required: true
  16855. type: integer
  16856. produces:
  16857. - application/json
  16858. responses:
  16859. "200":
  16860. description: OK
  16861. schema:
  16862. $ref: '#/definitions/app.Response'
  16863. "500":
  16864. description: Internal Server Error
  16865. schema:
  16866. $ref: '#/definitions/app.Response'
  16867. security:
  16868. - ApiKeyAuth: []
  16869. summary: 更新用户状态
  16870. tags:
  16871. - 用户信息
  16872. /WR/GetWRCategoryInfo:
  16873. get:
  16874. produces:
  16875. - application/json
  16876. responses:
  16877. "200":
  16878. description: OK
  16879. schema:
  16880. $ref: '#/definitions/models.WRCategoryTree'
  16881. "500":
  16882. description: Internal Server Error
  16883. schema:
  16884. $ref: '#/definitions/app.Response'
  16885. summary: 获取现货分类信息
  16886. tags:
  16887. - 仓单服务
  16888. /WRTrade/GetAllDeliveryGoods:
  16889. get:
  16890. produces:
  16891. - application/json
  16892. - application/json
  16893. responses:
  16894. "200":
  16895. description: OK
  16896. schema:
  16897. $ref: '#/definitions/app.Response'
  16898. "500":
  16899. description: Internal Server Error
  16900. schema:
  16901. $ref: '#/definitions/app.Response'
  16902. security:
  16903. - ApiKeyAuth: []
  16904. - ApiKeyAuth: []
  16905. summary: 获取带仓单分类的种类信息
  16906. tags:
  16907. - 仓单贸易
  16908. - 仓单贸易
  16909. securityDefinitions:
  16910. ApiKeyAuth:
  16911. in: header
  16912. name: Authorization
  16913. type: apiKey
  16914. swagger: "2.0"