|
|
@@ -220,10 +220,15 @@ class BaseService
|
|
|
$botMsg['photo'] = $image;
|
|
|
$botMsg['caption'] = $item;
|
|
|
$botMsg['protect_content'] = true; // 防止转发
|
|
|
- $res[] = $botMsg;
|
|
|
+
|
|
|
} else {
|
|
|
- $res[] = $botMsg;
|
|
|
+// $res[] = $botMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ if ($index == 0 && $isTop) {
|
|
|
+ $botMsg['is_top'] = $isTop;
|
|
|
}
|
|
|
+ $res[] = $botMsg;
|
|
|
}
|
|
|
return $res;
|
|
|
}
|