原后台修改
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @Author: kangkang
|
* @Author: kangkang
|
||||||
* @Date: 2020-10-03 18:23:43
|
* @Date: 2020-10-03 18:23:43
|
||||||
* @LastEditors: Please set LastEditors
|
* @LastEditors: Please set LastEditors
|
||||||
* @LastEditTime: 2020-11-27 09:43:59
|
* @LastEditTime: 2020-11-27 14:15:04
|
||||||
*/
|
*/
|
||||||
$is_script = 1;
|
$is_script = 1;
|
||||||
include_once __DIR__ . '/../index.php';
|
include_once __DIR__ . '/../index.php';
|
||||||
@@ -382,7 +382,7 @@ function tl_rule($product, $refunds, $product_type = false)
|
|||||||
if ((86400 * 90 - handle_time($info['RefundRestTime'])) < 1800) {
|
if ((86400 * 90 - handle_time($info['RefundRestTime'])) < 1800) {
|
||||||
$refund += $info['ConnectCount'] * 120;
|
$refund += $info['ConnectCount'] * 120;
|
||||||
} else {
|
} else {
|
||||||
$refund += $info['ConnectCount'] * 120 - ceil((86400 * 60 - handle_time($info['RefundRestTime']))/86400) * $info['ConnectCount'] * 4;
|
$refund += $info['ConnectCount'] * 120 - ceil((86400 * 90 - handle_time($info['RefundRestTime']))/86400) * $info['ConnectCount'] * 4;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user