|
@@ -247,7 +247,7 @@ class Goods1 extends Controller
|
|
if (!isset($data['phone']) || $data['phone']==''){
|
|
if (!isset($data['phone']) || $data['phone']==''){
|
|
$this->error('输入赠送用户手机号');
|
|
$this->error('输入赠送用户手机号');
|
|
}
|
|
}
|
|
- $mid = Db::name('member')->where('phone',$data['phone'])->value('id');
|
|
|
|
|
|
+ $mid = Db::name('store_member')->where('phone',$data['phone'])->value('id');
|
|
if(empty($mid)){
|
|
if(empty($mid)){
|
|
$this->error('手机号不存在');
|
|
$this->error('手机号不存在');
|
|
}
|
|
}
|