摘要: tp5 分页后追加数据方法 $data = AdminModel::where($where)->field('password',true)->paginate($limit)->each(function($item, $key){ $item['bm_name'] = $item['bm_ty 阅读全文
posted @ 2020-03-14 08:28 迷离月下 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <?php namespace app\index\model; use think\Model; class User extends Model { /** * 添加数据 * @param array $data * @return int id值 */ public function inse 阅读全文
posted @ 2020-03-14 08:03 迷离月下 阅读(599) 评论(0) 推荐(0) 编辑