0
This commit is contained in:
1 parent
9cde8046b6
commit
1f8a5faf86
2 files changed
+3
-1
No files matched your search
@@ -57,12 +57,14 @@ class Index extends Base
|
||||
|
||||
public function update($id)
|
||||
{
|
||||
|
||||
// 获取表单数据
|
||||
$list = request()->param();
|
||||
|
||||
// 更新成绩
|
||||
$data = Chengji::update($list);
|
||||
|
||||
|
||||
// 判断返回内容
|
||||
$data ? $data=['msg'=>'录入成功','val'=>1] : $data=['msg'=>'数据处理错误','val'=>0];
|
||||
|
||||
|
||||
Reference in new issue
Block a user