You've already forked lubo_comment_query
							
							关联关系
This commit is contained in:
		| @@ -49,13 +49,13 @@ class ProgramAppendConstructController extends BaseController | ||||
|         ]); | ||||
|     } | ||||
| 
 | ||||
|     public function submit(Request $request, Programs $program, ProgramAppends $append) { | ||||
|     public function submit(Request $request, ProgramAppends $append) { | ||||
|         $submitPayload = $request->only(["name", "from", "price", "append"]); | ||||
|         $append->update($submitPayload); | ||||
|         $append->is_original = $request->post("is_original", 0); | ||||
|         $append->save(); | ||||
|         return redirect(route("program.construct.append.list", [ | ||||
|             "program"=>$program->id, | ||||
|             "program"=>$append->program->id, | ||||
|         ])); | ||||
|     } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user