Exemple #1
0
 /// <summary>
 /// 新增评价
 /// </summary>
 /// <param name="userid">用户id</param>
 /// <param name="goodid">商品id</param>
 /// <param name="content">评价内容</param>
 /// <param name="starrating">星级</param>
 /// <returns></returns>
 public static bool AddUserComment(int userid, int goodid, string content, int starrating)
 {
     return(CommentDal.AddUserComment(userid, goodid, content, starrating) == 1);
 }