...
|
...
|
@@ -936,7 +936,7 @@ class User extends Api |
|
|
// $this->checkOut($param['mobile'], $param['code']);
|
|
|
$IsMobile = Db::name('cards')->where('mobile', $Api->encrypt($param['mobile']))->where('CardsNum', $Api->encrypt($param['cards']))->where('remark', $Api->encrypt($param['remark']))->order('id desc')->where('type', 1)->find();
|
|
|
if (empty($IsMobile)) {
|
|
|
$this->error('匹配失败,请重试', 0);
|
|
|
$this->error('无新增积分', 0);
|
|
|
die;
|
|
|
}
|
|
|
$ret = Db::name('user')->where('id', $UserId)->update(
|
...
|
...
|
|