예제 #1
0
 public JsonResult GetWeiXinApiConfig(string companyId)
 {
     try
     {
         WX_ApiConfig config = WXApiConfigServices.QueryByCompanyId(companyId);
         return(Json(MyResult.Success(string.Empty, config)));
     }
     catch (Exception ex)
     {
         ExceptionsServices.AddExceptions(ex, "获取微信API配置信息失败");
         return(Json(MyResult.Error("获取配置信息失败")));
     }
 }