commit | author | age
|
2207d6
|
1 |
<?php |
W |
2 |
/** |
|
3 |
* Created by PhpStorm. |
|
4 |
* User: 风哀伤 |
|
5 |
* Date: 2020/3/23 |
|
6 |
* Time: 10:42 |
|
7 |
* @copyright: ©2019 浙江禾匠信息科技 |
|
8 |
* @link: http://www.zjhejiang.com |
|
9 |
*/ |
|
10 |
|
|
11 |
namespace app\jobs; |
|
12 |
|
|
13 |
|
|
14 |
use app\forms\common\ecard\CheckGoods; |
|
15 |
use yii\base\BaseObject; |
|
16 |
use yii\queue\JobInterface; |
|
17 |
|
|
18 |
/** |
|
19 |
* Class EcardLogJob |
|
20 |
* @package app\jobs |
|
21 |
* @property CheckGoods $checkGoods |
|
22 |
*/ |
|
23 |
class EcardLogJob extends BaseJob implements JobInterface |
|
24 |
{ |
|
25 |
public $checkGoods; |
|
26 |
|
|
27 |
public function execute($queue) |
|
28 |
{ |
|
29 |
$this->setRequest(); |
|
30 |
$this->checkGoods->save(); |
|
31 |
} |
|
32 |
} |