- 将查询条件中的 'user_id' 字段更正为 'uid' - 确保反馈回复状态判断逻辑正常工作
@@ -50,7 +50,7 @@ class FeedbackRepository extends BaseRepository
foreach ($list as &$item) {
$isReply = Db::name('feedback_reply')
->where(['feedback_id' => $item['feedback_id']])
- ->where(['user_id', '>', 0])
+ ->where(['uid', '>', 0])
->find();
if (!$isReply) {
$item['userReply'] = 0;