Parcourir la source

钻石改名叫金币

lizhen_gitee il y a 1 an
Parent
commit
a768bf27d0

+ 1 - 1
application/admin/lang/zh-cn/conf/exchmoney.php

@@ -2,7 +2,7 @@
 
 
 return [
 return [
     'Id'         => '主键ID',
     'Id'         => '主键ID',
-    'Jewel'      => '兑换钻石',
+    'Jewel'      => '兑换金币',
     'Money'      => '人民币(单位:分)',
     'Money'      => '人民币(单位:分)',
     'Createtime' => '创建时间',
     'Createtime' => '创建时间',
     'Updatetime' => '更新时间'
     'Updatetime' => '更新时间'

+ 1 - 1
application/admin/lang/zh-cn/conf/exchsound.php

@@ -3,7 +3,7 @@
 return [
 return [
     'Id'         => '主键ID',
     'Id'         => '主键ID',
     'Sound_coin' => '所需声币',
     'Sound_coin' => '所需声币',
-    'Jewel'      => '兑换钻石',
+    'Jewel'      => '兑换金币',
     'Updatetime' => '更新时间',
     'Updatetime' => '更新时间',
     'Createtime' => '创建时间'
     'Createtime' => '创建时间'
 ];
 ];

+ 3 - 3
application/admin/lang/zh-cn/gift/log.php

@@ -18,10 +18,10 @@ return [
     'User.nickname'    => '送礼用户昵称',
     'User.nickname'    => '送礼用户昵称',
     'Touser.nickname'    => '收礼用户昵称',
     'Touser.nickname'    => '收礼用户昵称',
     'Party.party_name' => '派对名称',
     'Party.party_name' => '派对名称',
-    'Platvalue'        => '平台抽成(钻石)',
-    'Guildervalue'     => '房主抽成(钻石)',
+    'Platvalue'        => '平台抽成(金币)',
+    'Guildervalue'     => '房主抽成(金币)',
     'Guildermoney'     => '房主抽成(余额)',
     'Guildermoney'     => '房主抽成(余额)',
-    'Getvalue'         => '获赠价值(钻石)',
+    'Getvalue'         => '获赠价值(金币)',
     'Task_status'      => '任务状态',
     'Task_status'      => '任务状态',
     'Task_status 0'    => '未执行',
     'Task_status 0'    => '未执行',
     'Task_status 1'    => '已执行',
     'Task_status 1'    => '已执行',

+ 1 - 1
application/admin/lang/zh-cn/user_jewel_log.php

@@ -11,5 +11,5 @@ return [
     'Createtime'    => '创建时间',
     'Createtime'    => '创建时间',
     'Type'          => '类型',
     'Type'          => '类型',
     'User.nickname' => '昵称',
     'User.nickname' => '昵称',
-    'User.jewel'    => '钻石余额'
+    'User.jewel'    => '金币余额'
 ];
 ];

+ 3 - 3
application/admin/view/dashboard/index.html

@@ -9,7 +9,7 @@
         <div class="small-box bg-aqua">
         <div class="small-box bg-aqua">
             今日抽奖总产出
             今日抽奖总产出
             <div class="inner">
             <div class="inner">
-                <h3>{$egg_do_gift_price}钻石</h3>
+                <h3>{$egg_do_gift_price}金币</h3>
 
 
                 <p>总流水</p>
                 <p>总流水</p>
             </div>
             </div>
@@ -109,9 +109,9 @@
     <div class="col-lg-3 col-xs-6">
     <div class="col-lg-3 col-xs-6">
         <!-- small box -->
         <!-- small box -->
         <div class="small-box bg-aqua">
         <div class="small-box bg-aqua">
-            钻石
+            金币
             <div class="inner">
             <div class="inner">
-                <h3>{$alljewel}钻石</h3>
+                <h3>{$alljewel}金币</h3>
 
 
                 <p>平台总数量</p>
                 <p>平台总数量</p>
             </div>
             </div>

+ 2 - 2
application/api/controller/Eggnew.php

@@ -77,7 +77,7 @@ class Eggnew extends Api
         //判断钻石余额
         //判断钻石余额
         $user_jewel = model('wallet')->getwallet($user_id,'jewel');
         $user_jewel = model('wallet')->getwallet($user_id,'jewel');
         if($user_jewel < $total_jewel){
         if($user_jewel < $total_jewel){
-            $this->error('钻石不足');
+            $this->error('金币不足');
             Db::rollback();
             Db::rollback();
         }
         }
 
 
@@ -272,7 +272,7 @@ class Eggnew extends Api
             }
             }
 
 
 
 
-            //扣钻石
+            //扣金币
             $rs_wallet = model('wallet')->lockChangeAccountRemain($user_id,$total_jewel,'-',0,'开箱子和大转盘',13,'jewel');
             $rs_wallet = model('wallet')->lockChangeAccountRemain($user_id,$total_jewel,'-',0,'开箱子和大转盘',13,'jewel');
             if($rs_wallet['status'] === false){
             if($rs_wallet['status'] === false){
                 Db::rollback();
                 Db::rollback();

+ 1 - 1
application/api/controller/Money.php

@@ -38,7 +38,7 @@ class Money extends Api
 
 
 
 
     /**
     /**
-     * 消息-聊天-更多-转账-钻石
+     * 消息-聊天-更多-转账-金币
      */
      */
     public function givejeweltouser(){
     public function givejeweltouser(){
         $money = intval(input('money',0));
         $money = intval(input('money',0));

+ 2 - 2
application/index/controller/Plantask.php

@@ -25,7 +25,7 @@ class Plantask extends Controller
         }
         }
 
 
         try {
         try {
-            $money_to_jewel = config('site.money_to_jewel') ?: 10; //余额兑换钻石
+            $money_to_jewel = config('site.money_to_jewel') ?: 10; //余额兑换金币
 //            $getempirical_conf = config("site.getempirical");
 //            $getempirical_conf = config("site.getempirical");
 
 
             foreach($tasklist as $key => $giftuserparty){
             foreach($tasklist as $key => $giftuserparty){
@@ -97,7 +97,7 @@ class Plantask extends Controller
 //                \app\common\model\TaskLog::tofinish($giftuserparty['user_id'],"OBHqCX4g",$giftuserparty['number']);
 //                \app\common\model\TaskLog::tofinish($giftuserparty['user_id'],"OBHqCX4g",$giftuserparty['number']);
 
 
                 // +message
                 // +message
-                \app\common\model\Message::addMessage($giftuserparty['user_to_id'],"礼物通知","收到 ".$authuser_info['nickname']." 赠送的".$giftuserparty['gift_name']." x".$giftuserparty['number']." 价值 ".$giftValue ." 钻石");
+                \app\common\model\Message::addMessage($giftuserparty['user_to_id'],"礼物通知","收到 ".$authuser_info['nickname']." 赠送的".$giftuserparty['gift_name']." x".$giftuserparty['number']." 价值 ".$giftValue ." 金币");
 
 
                 //增加送礼用户的财富等级
                 //增加送礼用户的财富等级
                 $res_wealth = \app\common\model\User::add_wealth_level($giftuserparty['user_id'],$giftValue);
                 $res_wealth = \app\common\model\User::add_wealth_level($giftuserparty['user_id'],$giftValue);