|
@@ -25,7 +25,7 @@ require_once(BASE_ROOT_PATH . '/helper/async/status.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/async/register.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/async/order.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/async/qugc.php');
|
|
|
-require_once(BASE_ROOT_PATH . '/helper/async/task.php');
|
|
|
+require_once(BASE_ROOT_PATH . '/helper/async/broadcast.php');
|
|
|
|
|
|
require_once(BASE_ROOT_PATH . '/helper/order_helper.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/fcode/present_manager.php');
|
|
@@ -401,12 +401,12 @@ class account_helper
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public static function onAsyncTask($pay_sn)
|
|
|
+ public static function onAsyncBroadcastOrder($pay_sn,$amount,$days)
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- $iPusher = new async\task($pay_sn);
|
|
|
- $iPusher->run();
|
|
|
+ $iPusher = new async\broadcast($pay_sn);
|
|
|
+ $iPusher->order_bonus($amount,$days);
|
|
|
} catch (Exception $ex) {
|
|
|
Log::record($ex->getMessage(),Log::ERR);
|
|
|
}
|