예제 #1
0
        static void Main(string[] args)
        {
            var result = ApiCategory.GetList("4c9a7827-8028-4236-a798-e5ac155bc070",
                                             "3518486",
                                             "0K024PEUxUI",
                                             0);

            Console.Read();
        }
 public ActionResult CategoryList()
 {
     try
     {
         var token        = GetProductUserToken();
         var categoryList = ApiCategory.GetList(token.AccessToken,
                                                AppConfigBll.AppConfig.AppKey,
                                                AppConfigBll.AppConfig.AppSecrect,
                                                0);
         return(Json(categoryList));
     }
     catch (Exception ex)
     {
         RPoney.Log.LoggerManager.Error(GetType().Name, "", ex);
         return(new EmptyResult());
     }
 }