namespace App\Http\Controllers; use App\Models\Users; use Illuminate\Support\Facades\Validator; use Symfony\Component\HttpFoundation\Request; class UsersController extends Controller{ // 添加用户post数据验证 public function create(Request $request){ if($requ…