作者 lishaoshuai
1 个管道 的构建 通过 耗费 3 秒

更新 ShareController.php

@@ -344,7 +344,7 @@ class ShareController extends RestBaseController @@ -344,7 +344,7 @@ class ShareController extends RestBaseController
344 if ($info['id'] == $this->userId) { 344 if ($info['id'] == $this->userId) {
345 $this->error(['code'=>'40010','msg'=>'已关注过该名片']); 345 $this->error(['code'=>'40010','msg'=>'已关注过该名片']);
346 } 346 }
347 - $money = round($info['money']/$info['num'],1); 347 + $money = round($info['money']/$info['num'],2);
348 Db::startTrans(); 348 Db::startTrans();
349 if ($info['id'] == $data['user_id']) { 349 if ($info['id'] == $data['user_id']) {
350 $res1 = true; 350 $res1 = true;