thinkphp 模型层怎么写

2025-04-26 03:41:52
推荐回答(1个)
回答1:

namespace Common\Model;
final class MemberModel extends Model {
    function __construct() {
        parent::__construct();
    }
    public test($where){
        return $this->where($where)->select();
    }
}