| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- // +----------------------------------------------------------------------
- // | saiadmin [ saiadmin快速开发框架 ]
- // +----------------------------------------------------------------------
- // | Author: your name
- // +----------------------------------------------------------------------
- namespace app\v1\logic\gameLog;
- use plugin\saiadmin\basic\BaseLogic;
- use plugin\saiadmin\exception\ApiException;
- use plugin\saiadmin\utils\Helper;
- use app\v1\model\gameLog\GamePackLog;
- use Illuminate\Support\Facades\Date;
- use plugin\saiadmin\service\OpenSpoutWriter;
- /**
- * 打包记录逻辑层
- */
- class GamePackLogLogic extends BaseLogic
- {
- /**
- * 构造函数
- */
- public function __construct()
- {
- $this->model = new GamePackLog();
- }
-
- /**
- * 批量打包
- */
- public function batchSave($data)
- {
- $res = $this->model->insertAll($data);
- return $res;
- }
- }
|