|
@@ -31,7 +31,7 @@ class Gift extends Api
|
|
|
// 获取基本信息
|
|
|
$where = [];
|
|
|
$type != '' && $where["type"] = $type;
|
|
|
- $giftList = $this->giftModel->where($where)->order("value","asc")->select();
|
|
|
+ $giftList = Db::name('gift')->where($where)->order("value","asc")->select();
|
|
|
$giftList = list_domain_image($giftList,['image','special']);
|
|
|
$this->success("获取成功!",$giftList);
|
|
|
}
|