莫菲    

0

参考地址:js 刷新页面 location = location location = location.href location = window.location location = self.location location = window.location.href locat...

7年前发布  · 939 次阅读
  js 
0

html代码:<input class="copyMe" type="text" /> <input class="copyMe" type="text" /> <input class="copyMe" type="text" /> <input class="copyMe" type="tex...

7年前发布  · 1096 次阅读
  jquery 
0

在git bash下查看用户名:git config user.name查看git配置:git config --list 修改(全局默认)用户名:git config --global user.name "New Username"只是修改当前项目使用的用户名:git config user.name "New Username"  ...

7年前发布  · 6675 次阅读
  Git 
0

情景:1.已有utf8编码的sql文件2.需要将此文件导入windows下的数据库服务中,正确姿势:1.新建一个utf8编码的数据库,假如为a2.mysql bin目录下 mysql -uroot -p3.use a;4.set names utf8;5.source d:\path\to\example.sql

7年前发布  · 1082 次阅读
0

获取当前登录用户的id:Auth::user()->id判断是否登录 Auth::check() 判断登录信息是否相符:Auth::attempt(array('name' => $name, 'password' => $password), $remember) laravel 密码加密方式:Hash::make('...

7年前发布  · 986 次阅读