|
@@ -123,7 +123,7 @@ class Notify extends Api
|
|
|
'desc'=>'回收月结支付',
|
|
|
'create_time'=>time()
|
|
|
];
|
|
|
- $score = intval(100*$pre);
|
|
|
+ $score = intval($order['service_money']*$pre);
|
|
|
file_put_contents('score.log', $score);
|
|
|
|
|
|
$score_num = $use_score['score']+$score;
|
|
@@ -189,7 +189,7 @@ class Notify extends Api
|
|
|
'desc'=>'餐具配送月结支付',
|
|
|
'create_time'=>time()
|
|
|
];
|
|
|
- $score = intval(100*$pre);
|
|
|
+ $score = intval($order['amount_money']*$pre);
|
|
|
$score_num = $use_score['score']+$score;
|
|
|
$user_collont = new Userscore();
|
|
|
$user_collont->insert([
|