|
@@ -364,7 +364,7 @@ class User extends Backend
|
|
$userWhere['id'] = $row['id'];
|
|
$userWhere['id'] = $row['id'];
|
|
$user = Db::name('user')->where($userWhere)->lock(true)->find();
|
|
$user = Db::name('user')->where($userWhere)->lock(true)->find();
|
|
$before = isset($user['jewel']) ? $user['jewel'] : 0;
|
|
$before = isset($user['jewel']) ? $user['jewel'] : 0;
|
|
- $jewelRes = model('Wallet')->lockChangeAccountRemain($row['id'],$params['jewel_add'],'+',$before,$remark='钻石充值()',17,'jewel');
|
|
|
|
|
|
+ $jewelRes = model('Wallet')->lockChangeAccountRemain($row['id'],$params['jewel_add'],'+',$before,'钻石充值',17,'jewel');
|
|
if (!$jewelRes['status']) {
|
|
if (!$jewelRes['status']) {
|
|
throw new Exception($jewelRes['msg']);
|
|
throw new Exception($jewelRes['msg']);
|
|
}
|
|
}
|