|
|
@@ -182,8 +182,8 @@ class BaseService
|
|
|
public static function getOperateButton()
|
|
|
{
|
|
|
$username = config('services.telegram.username');
|
|
|
- $serviceAccount = Config::where('field', 'service_account')->first()->val;
|
|
|
- $officialChannel = Config::where('field', 'official_channel')->first()->val;
|
|
|
+ $serviceAccount = Config::where('field', 'service_account')->first()->val??'';
|
|
|
+ $officialChannel = Config::where('field', 'official_channel')->first()->val??'';
|
|
|
$inlineButton = [];
|
|
|
$inlineButton[] = [
|
|
|
['text' => "查看余额", 'callback_data' => 'balanceAlert'],
|