@@ -90,6 +90,7 @@ class CmsContentTemplateRepository {
if (!$res) {
throw new HttpException(500, '修改状态失败');
}
+
/**
@@ -185,6 +185,7 @@ class CmsContentTemplateSetRepository {
$templates->used_count +=1;
$templates->save();
@@ -11,6 +11,7 @@ use Illuminate\Support\Facades\DB;
use Illuminate\Database\QueryException;
class CmsSubjectRepository {
public function __construct(CmsSubject $cmsSubject,CmsSubjectProduct $cmsSubjectProduct) {
$this->cmsSubject = $cmsSubject;