|
@@ -3,7 +3,7 @@
|
|
|
namespace App\Services;
|
|
|
|
|
|
use App\Models\DistAppearancePublishList;
|
|
|
-use App\Models\DistAppearanceTemplate;
|
|
|
+use App\Models\SiteAppearanceTemplate;
|
|
|
use Illuminate\Support\Facades\Storage;
|
|
|
|
|
|
class TemplateUpdater
|
|
@@ -50,7 +50,7 @@ class TemplateUpdater
|
|
|
$updateCode = $publishList->template_update_code;
|
|
|
|
|
|
// 查询 dist_appearance_template 表,获取与该 dist_id 和 appearance_id 对应的所有模板文件
|
|
|
- $templates = DistAppearanceTemplate::where('dist_id', $dist->id)
|
|
|
+ $templates = SiteAppearanceTemplate::where('dist_id', $dist->id)
|
|
|
->where('appearance_id', $dist->appearance_id)
|
|
|
->get();
|
|
|
|