1、合作商余额查询
2、分油账户司机可用额度
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user