|
@@ -471,7 +471,7 @@ class Usercenter extends Api
|
|
|
// 判断当前用户余额
|
|
|
$user_gold = model('wallet')->getWallet($this->auth->id,'gold');
|
|
|
if($user_gold < $giftvalue) {
|
|
|
- $this->error("您的金币余额不足");
|
|
|
+ $this->error("您的金币不足");
|
|
|
}
|
|
|
|
|
|
Db::startTrans();
|
|
@@ -1223,7 +1223,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
|
}
|
|
|
$info['gold'] = $wallet_info['gold'];
|
|
|
$info['plat_scale'] = config('site.gift_plat_scale'); //平台抽成百分比
|
|
|
- $info['money_to_gold'] = config('site.money_to_gold'); //一元人民币兑换金币数量
|
|
|
+ $info['money_to_gold'] = config('site.money_to_gold'); //
|
|
|
|
|
|
$this->success('success',$info);
|
|
|
}
|
|
@@ -1434,6 +1434,7 @@ $resArray['money'] = $money; //返回给前端的计算结果
|
|
|
|
|
|
//男性非会员解锁聊天
|
|
|
public function unlockchat() {
|
|
|
+ exit;//app端确认不用了
|
|
|
// 接口防并发
|
|
|
if (!$this->apiLimit(1, 1)) {
|
|
|
$this->error(__('Operation frequently'));
|