예제 #1
0
        public string GoodsList(int accid, int pageIndex, string goodsname = "", DateTime?starttime = null, DateTime?endtime = null)
        {
            if (pageIndex < 1)
            {
                pageIndex = 1;
            }
            var goodsList = ShopDetails.GetGoodsinfo(pageIndex, 15, accid, goodsname, starttime, endtime);

            return(CommonLib.Helper.JsonSerializeObject(goodsList, "yy-MM-dd HH:mm:ss"));
        }