2022年8月17日
摘要: <?php namespace app\index\controller; use app\index\model\User as UserModel; class User{ //tp5的新增数据 public function add(){ /*$user = new UserModel(); 阅读全文
posted @ 2022-08-17 23:24 太久。。 阅读(523) 评论(0) 推荐(0)
摘要: 1 <?php 2 namespace app\index\model; 3 4 use think\Model; 5 6 class User extends Model 7 { 8 } 先定义一个模型类 在database把表的前缀改了 namespace app\index\model; cl 阅读全文
posted @ 2022-08-17 23:06 太久。。 阅读(56) 评论(0) 推荐(0)
  2022年8月16日
摘要: 查看配置 git config -l 查看系统config git config --system --list 查看当前用户(global)配置 git config --global --list 创建git的用户标识git config --global user.name "kuangshe 阅读全文
posted @ 2022-08-16 22:54 太久。。 阅读(28) 评论(0) 推荐(0)