示例#1
0
 //上传图片
 public int AddImgs([FromBody] ShopImg s)
 {
     return(bll.AddImgs(s));
 }
示例#2
0
 //添加商品说明
 public int Addtext([FromBody] ShopImg s)
 {
     return(bll.Addtext(s));
 }
示例#3
0
文件: LictBLL.cs 项目: MyCoud/ZLHS
 //添加商品说明
 public int Addtext(ShopImg s)
 {
     return(dal.Addtext(s));
 }
示例#4
0
文件: LictBLL.cs 项目: MyCoud/ZLHS
 //上传图片
 public int AddImgs(ShopImg s)
 {
     return(dal.AddImgs(s));
 }
示例#5
0
        //添加商品说明
        public int Addtext(ShopImg s)
        {
            string sql = $"insert into ShopImg values ('{s.Texplain}','{null}')";

            return(conn.Execute(sql));
        }
示例#6
0
        //上传图片
        public int AddImgs(ShopImg s)
        {
            string sql = $"insert into ShopImg values ('{null}','{s.Timg}')";

            return(conn.Execute(sql));
        }