统计短消息数量标签

2023-12-14 15:56 小编

根据SQL查询条件返回对应的短消息总记录数,相关字段说明请查阅DTcms.Model/user_message.cs类文件。

参数说明:

strwhere: SQL查询语句

get_user_message_count(strwhere)

<!--示例:显示用户名为test的短消息记录总数-->未读短消息:<%=get_user_message_count("type<3 and is_read=0 and accept_user_name='test'")%>条
已读短消息:<%=get_user_message_count("type<3 and is_read=1 and accept_user_name='test'")%>


在线咨询 拨打电话

电话

13363039260

微信二维码

微信二维码