1、合作商余额查询

2、分油账户司机可用额度
This commit is contained in:
2026-10-20 23:21:10 +08:00
parent 45452c1799
commit fafd3e2c16
134 changed files with 2344 additions and 352 deletions
+2 -2
View File
@@ -550,13 +550,13 @@ class QytOil extends BaseService
return bcdiv((string) (int) $fen, '100', 2);
}
/** 记录日志到 runtime/storelog */
/** 记录日志到 runtime/storelog(store_log_path 保证各进程写同一处,见 app/common.php) */
public function saveLog($data): void
{
if (empty($this->conf['log'])) {
return;
}
$dir = runtime_path('storelog/') . date('Ym') . '/' . date('Ymd');
$dir = store_log_path() . date('Ym') . '/' . date('Ymd');
is_dir($dir) || @mkdir($dir, 0777, true);
@file_put_contents(
$dir . '/qyt_' . date('YmdH') . '.txt',