摘要: function test(){ $id = request()->route('id');//接收id参数 //更新数据 $id = 4; $age = Db::table("users")->where("user_id","=",$id)->update(['user_name'=>'用户名' 阅读全文
posted @ 2019-07-25 16:43 yahn~ 阅读(359) 评论(0) 推荐(0) 编辑
摘要: <?php namespace App\Http\Controllers; use Illuminate\Http\Request;use DB;class UserController extends Controller{ function index(){ $msg['status'] = ' 阅读全文
posted @ 2019-07-25 15:44 yahn~ 阅读(949) 评论(0) 推荐(0) 编辑