|
@@ -231,7 +231,7 @@ class User extends Api
|
|
|
if(isset($data['intro_uid'])){
|
|
|
$intro_gold = config('site.new_user_intro_gold');
|
|
|
if($intro_gold > 0){
|
|
|
- $rs_wallet = model('wallet')->lockChangeAccountRemain($data['intro_uid'], 0,'gold',$intro_gold,34,'邀请'.$this->auth->username.'注册奖励');
|
|
|
+ $rs_wallet = model('wallet')->lockChangeAccountRemain($data['intro_uid'], 0,'money',$intro_gold,34,'邀请'.$this->auth->username.'注册奖励');
|
|
|
if($rs_wallet['status'] === false){
|
|
|
Db::rollback();
|
|
|
$this->error('邀请新人奖励赠送失败');
|
|
@@ -363,7 +363,7 @@ class User extends Api
|
|
|
if(isset($data['intro_uid'])){
|
|
|
$intro_gold = config('site.new_user_intro_gold');
|
|
|
if($intro_gold > 0){
|
|
|
- $rs_wallet = model('wallet')->lockChangeAccountRemain($data['intro_uid'], 0,'gold',$intro_gold,34,'邀请'.$this->auth->username.'注册奖励');
|
|
|
+ $rs_wallet = model('wallet')->lockChangeAccountRemain($data['intro_uid'], 0,'money',$intro_gold,34,'邀请'.$this->auth->username.'注册奖励');
|
|
|
if($rs_wallet['status'] === false){
|
|
|
Db::rollback();
|
|
|
$this->error('邀请新人奖励赠送失败');
|