正在显示
1 个修改的文件
包含
7 行增加
和
1 行删除
| @@ -27,6 +27,7 @@ use App\Models\Project\MinorLanguages; | @@ -27,6 +27,7 @@ use App\Models\Project\MinorLanguages; | ||
| 27 | use App\Models\Project\Project; | 27 | use App\Models\Project\Project; |
| 28 | use App\Models\Purchaser\PurchaserInfo; | 28 | use App\Models\Purchaser\PurchaserInfo; |
| 29 | use App\Models\RouteMap\RouteMap; | 29 | use App\Models\RouteMap\RouteMap; |
| 30 | +use App\Models\Template\BTemplateCom; | ||
| 30 | use App\Services\AmazonS3Service; | 31 | use App\Services\AmazonS3Service; |
| 31 | use App\Services\ProjectServer; | 32 | use App\Services\ProjectServer; |
| 32 | use App\Utils\EncryptUtils; | 33 | use App\Utils\EncryptUtils; |
| @@ -52,7 +53,12 @@ class Demo extends Command | @@ -52,7 +53,12 @@ class Demo extends Command | ||
| 52 | protected $description = 'demo'; | 53 | protected $description = 'demo'; |
| 53 | 54 | ||
| 54 | public function handle(){ | 55 | public function handle(){ |
| 55 | - | 56 | + $templateComModel = new BTemplateCom(); |
| 57 | + $templateComModel->edit(['source'=>2],['source'=>3,'is_list'=>1,'is_custom'=>0]); | ||
| 58 | + $templateComModel->edit(['source'=>3],['source'=>4,'is_list'=>0,'is_custom'=>0]); | ||
| 59 | + $templateComModel->edit(['source'=>3],['source'=>5,'is_list'=>1,'is_custom'=>0]); | ||
| 60 | + $templateComModel->edit(['source'=>4],['source'=>6,'is_list'=>0,'is_custom'=>0]); | ||
| 61 | + $templateComModel->edit(['source'=>4],['source'=>7,'is_list'=>1,'is_custom'=>0]); | ||
| 56 | } | 62 | } |
| 57 | 63 | ||
| 58 | public function synchronizationFile($path_name){ | 64 | public function synchronizationFile($path_name){ |
-
请 注册 或 登录 后发表评论