'', 'uid' => 0, 'storeid' => 0, 'name' => '', 'password' => '', 'mobile' => '', 'openid' => '', 'nickname' => '', ); public function getByUid($uid, $uniacid) { return $this->query->where('uid', $uid)->where('uniacid', $uniacid)->get(); } public function getByOpenid($openid, $uniacid) { return $this->query->where('openid', $openid)->where('uniacid', $uniacid)->get(); } }