...
|
...
|
@@ -253,7 +253,7 @@ class PayController extends PayBaseController |
|
|
->select();
|
|
|
$integral = 0;
|
|
|
foreach ($data as $item) {
|
|
|
$integral += $item['price'] * $item['num'] * 2;
|
|
|
$integral += $item['price'] * $item['num'] * 1.5;
|
|
|
}
|
|
|
|
|
|
$ratio = Db::name('zj_system')->where(['id' => 1])->value('integral');
|
...
|
...
|
|