作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

焦点币改成金币

@@ -254,7 +254,7 @@ class Store extends Backend @@ -254,7 +254,7 @@ class Store extends Backend
254 } 254 }
255 255
256 /** 256 /**
257 - * 调整焦点 257 + * 调整
258 */ 258 */
259 public function score_edit($ids = null) 259 public function score_edit($ids = null)
260 { 260 {
@@ -276,7 +276,7 @@ class Store extends Backend @@ -276,7 +276,7 @@ class Store extends Backend
276 if($params['type'] == 1) { 276 if($params['type'] == 1) {
277 } else { 277 } else {
278 if($user['score'] < $params['score']) { 278 if($user['score'] < $params['score']) {
279 - $this->error('该商家焦点币余额不足'); 279 + $this->error('该商家币余额不足');
280 } 280 }
281 } 281 }
282 $result = $res_log = false; 282 $result = $res_log = false;
@@ -285,11 +285,11 @@ class Store extends Backend @@ -285,11 +285,11 @@ class Store extends Backend
285 if($params['type'] == 1) { 285 if($params['type'] == 1) {
286 $result = Db::name('user')->where('id',$user['id'])->setInc('score',$params['score']); 286 $result = Db::name('user')->where('id',$user['id'])->setInc('score',$params['score']);
287 $after = bcadd($user['score'],$params['score'],0); 287 $after = bcadd($user['score'],$params['score'],0);
288 - $memo = '平台代充焦点币'; 288 + $memo = '平台代充币';
289 } else { 289 } else {
290 $result = Db::name('user')->where('id',$user['id'])->setDec('score',$params['score']); 290 $result = Db::name('user')->where('id',$user['id'])->setDec('score',$params['score']);
291 $after = bcsub($user['score'],$params['score'],0); 291 $after = bcsub($user['score'],$params['score'],0);
292 - $memo = '平台扣除焦点币'; 292 + $memo = '平台扣除币';
293 } 293 }
294 $score_log = [ 294 $score_log = [
295 'user_id' => $user['id'], 295 'user_id' => $user['id'],
@@ -28,7 +28,7 @@ return [ @@ -28,7 +28,7 @@ return [
28 'Type' => '类型', 28 'Type' => '类型',
29 'Type 1' => '增加', 29 'Type 1' => '增加',
30 'Type 2' => '扣除', 30 'Type 2' => '扣除',
31 - 'Now_score' => '当前焦点币', 31 + 'Now_score' => '当前币',
32 'Score' => '焦点比数量', 32 'Score' => '焦点比数量',
33 'Username' => '后台账号', 33 'Username' => '后台账号',
34 'Password' => '后台密码', 34 'Password' => '后台密码',
@@ -111,8 +111,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -111,8 +111,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
111 }, 111 },
112 { 112 {
113 name: 'score_edit', 113 name: 'score_edit',
114 - text: '调整焦点币',  
115 - title: '调整焦点币', 114 + text: '调整金币',
  115 + title: '调整金币',
116 classname: 'btn btn-xs btn-primary btn-dialog', 116 classname: 'btn btn-xs btn-primary btn-dialog',
117 icon: '', 117 icon: '',
118 url: $.fn.bootstrapTable.defaults.extend.score_edit_url, 118 url: $.fn.bootstrapTable.defaults.extend.score_edit_url,