正常的字段别名在tp5中是以下方式实现的<?phpnamespace app\api\model;use think\Model;use think\Db;class CouponLogModel extends Model{ protected $name = 'coupon_log'; public function s
Declaration of app\api\model\AddressModel::save($sdata) should be
compatible with think\Model::save($data = Array, $where = Array,
$sequence = NULL)今天在写代码的时候发现报了这个错,检查一遍后 发现是因为model中自己定义了 save方法,