|
@@ -12,7 +12,7 @@ class Notify
|
|
|
foreach ($template['method'] as $k => $v) {
|
|
|
$config = Dever::db('msg/account')->find(['method' => $v]);
|
|
|
if ($config) {
|
|
|
- $handle = Dever::load('\\Msg\\Lib\\Method\\' . $config['method']);
|
|
|
+ $handle = Dever::load('Msg\\Lib\\Method\\' . $config['method']);
|
|
|
$data['account'] = $handle->init($template['id'], $config['id'], $account, $project);
|
|
|
if ($config['test'] == 2) {
|
|
|
$api = Dever::load(Account::class)->get($config['api_account_id'], $project);
|