修改bug
This commit is contained in:
@@ -54,6 +54,7 @@ class RuleController extends AdminController
|
||||
|
||||
$form->switch('status', '状态')->default(1);
|
||||
$form->saving(function (Form $form) {
|
||||
if ($form->code) {
|
||||
$code = $form->code;
|
||||
|
||||
$ticket = explode('-', $code);
|
||||
@@ -72,6 +73,7 @@ class RuleController extends AdminController
|
||||
|
||||
$form->full = $match[0];
|
||||
$form->take = $price;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ use App\Events\ConponCallback;
|
||||
use App\Models\ActivityCouponLog;
|
||||
use GuzzleHttp\Client;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use RuntimeException;
|
||||
|
||||
class ConponCallbackListener implements ShouldQueue
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user