判断是不是商家发的

This commit is contained in:
2025-12-05 14:34:19 +08:00
parent 6bb3559208
commit 1caea8c877
2 changed files with 9 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ namespace extend\chat\model;
return;
}
// 判断是不是商家发的
if($is_member['role'] == 1) {
if($is_member['role'] == 2) {
$notice_data['is_shop'] = 1; // 商家
}else {
$notice_data['is_shop'] = 2; // 不是商家