perf: 添加定位签到

This commit is contained in:
kuaifan
2024-11-10 08:19:10 +08:00
parent 016bc41180
commit 74405f1a2a
10 changed files with 211 additions and 137 deletions
+3
View File
@@ -207,6 +207,9 @@ class UserBot extends AbstractModel
if (!in_array('locat', $setting['modes'])) {
return '暂未开放定位签到。';
}
if (empty($extra)) {
return '当前客户端版本低(所需版本≥v0.39.75)。';
}
if ($extra['type'] === 'bd') {
// todo 判断距离
} else {