Browse Source

添加oss信息接口

DuGuYang 1 year ago
parent
commit
436f861591
1 changed files with 13 additions and 0 deletions
  1. 13 0
      Areas/Api/Controllers/v1/MainServer/ConsumersController.cs

+ 13 - 0
Areas/Api/Controllers/v1/MainServer/ConsumersController.cs

@@ -73,6 +73,19 @@ namespace MySystem.Areas.Api.Controllers.v1
         #endregion
 
 
+        #region 首页-首页-oss信息
+        [Authorize]
+        public JsonResult OssInfo()
+        {
+            Dictionary<string, object> Obj = new Dictionary<string, object>();
+            Obj.Add("OssUrl", "laikeba.oss-cn-chengdu.aliyuncs.com");
+            Obj.Add("AccessKeyId", "LTA15tJsPaNzgCSMCPwb8zfz");
+            Obj.Add("AccessKeySecret", "efM31Up75f0cgZ32U6xvAciagceQae");
+            return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
+        }
+        #endregion
+
+
         #region 首页-首页-个人信息-修改个人信息
         [Authorize]
         public JsonResult EditPersonalInfo(string value)