Exemple #1
0
        // GET: ExportCSV
        public ActionResult Index()
        {
            List <base_shop>     shoplist    = CommService.GetShopList();
            List <base_exp_comp> expresslist = CommService.GetExpress();

            ViewData["Expresslist"] = expresslist;
            ViewData["shoplist"]    = shoplist;
            return(View());
        }
Exemple #2
0
 public ActionResult GetShops(string platformID)
 {
     try
     {
         if (string.IsNullOrEmpty(platformID))
         {
             throw new Exception("店铺ID错误");
         }
         var shoplist = CommService.GetShopList(platformID);
         return(Json(shoplist));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }