手动刷新平安订单
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Admin\Controllers\Coupon;
|
||||
|
||||
use App\Admin\Actions\Coupon\RefreshPAOrder;
|
||||
use App\Models\ActivityRule;
|
||||
use App\Models\Coupon;
|
||||
use App\Models\User;
|
||||
@@ -27,6 +28,10 @@ class IndexController extends AdminController
|
||||
$grid->disableBatchActions();
|
||||
$grid->disableActions();
|
||||
|
||||
$grid->tools(function (Grid\Tools $tools) {
|
||||
$tools->append(new refreshPAOrder());//食物
|
||||
});
|
||||
|
||||
$grid->model()
|
||||
->with(['outlet.province', 'outlet.city', 'outlet.district', 'user', 'user.info'])
|
||||
->whereIn('status', [2, 3])
|
||||
|
||||
Reference in New Issue
Block a user