...
|
...
|
@@ -60,9 +60,9 @@ class ShareController extends RestBaseController |
|
|
$result['rebate'] = 0;
|
|
|
} else {
|
|
|
$result['rebate'] = round($avg,2);
|
|
|
$money = Db::name('money_log')->where(['card_id'=>$data['id'],'user_id'=>$this->userId])->value('money');
|
|
|
$result['money'] = $money ? : 0;
|
|
|
}
|
|
|
$money = Db::name('money_log')->where(['card_id'=>$data['id'],'user_id'=>$this->userId])->value('money');
|
|
|
$result['money'] = $money ? : 0;
|
|
|
$this->success('获取成功',$result);
|
|
|
}
|
|
|
|
...
|
...
|
|