You've already forked lubo_comment_query
							
							没有追加得时候,自动勾上点播
This commit is contained in:
		| @@ -17,9 +17,13 @@ class ProgramAppendConstructController extends BaseController | ||||
|     } | ||||
| 
 | ||||
|     public function add(Request $request, Programs $program) { | ||||
|         $append = new ProgramAppends(); | ||||
|         if (sizeof($program->appends) === 0) { | ||||
|             $append->is_original = 1; | ||||
|         } | ||||
|         return view("program.construct.append.create", [ | ||||
|             "program" => $program, | ||||
|             "append" => new ProgramAppends() | ||||
|             "append" => $append | ||||
|         ]); | ||||
|     } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user