mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update: server log
This commit is contained in:
parent
1bcffc1dd6
commit
3ea8781146
@ -38,11 +38,11 @@ class ServerController extends Controller
|
|||||||
DB::raw('sum(d) as d'),
|
DB::raw('sum(d) as d'),
|
||||||
'log_at',
|
'log_at',
|
||||||
'user_id',
|
'user_id',
|
||||||
DB::raw('avg(rate) as rate')
|
'rate'
|
||||||
])
|
])
|
||||||
->where('user_id', $request->session()->get('id'))
|
->where('user_id', $request->session()->get('id'))
|
||||||
->where('log_at', '>=', strtotime(date('Y-m-1')))
|
->where('log_at', '>=', strtotime(date('Y-m-1')))
|
||||||
->groupBy('log_at', 'user_id')
|
->groupBy('log_at', 'user_id', 'rate')
|
||||||
->orderBy('log_at', 'DESC');
|
->orderBy('log_at', 'DESC');
|
||||||
return response([
|
return response([
|
||||||
'data' => $serverLogModel->get()
|
'data' => $serverLogModel->get()
|
||||||
|
2
public/theme/v2board/assets/i18n/en-US.js
vendored
2
public/theme/v2board/assets/i18n/en-US.js
vendored
@ -285,5 +285,5 @@ window.settings.i18n['en-US'] = {
|
|||||||
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'This subscription cannot be renewed. Only new users are allowed to purchase it',
|
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'This subscription cannot be renewed. Only new users are allowed to purchase it',
|
||||||
'Reset current month flow': 'Reset current month flow',
|
'Reset current month flow': 'Reset current month flow',
|
||||||
'The flow details only retain the data of recent months for query.': 'The flow details only retain the data of recent months for query.',
|
'The flow details only retain the data of recent months for query.': 'The flow details only retain the data of recent months for query.',
|
||||||
'Average rate': 'Average rate'
|
'Fee deduction rate': 'Fee deduction rate'
|
||||||
}
|
}
|
||||||
|
2
public/theme/v2board/assets/i18n/ja-JP.js
vendored
2
public/theme/v2board/assets/i18n/ja-JP.js
vendored
@ -315,5 +315,5 @@ window.settings.i18n['ja-JP'] = {
|
|||||||
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'このサブスクリプションは更新できません。新しいユーザだけがそれを購入できます。',
|
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'このサブスクリプションは更新できません。新しいユーザだけがそれを購入できます。',
|
||||||
'Reset current month flow': 'リセット月フロー',
|
'Reset current month flow': 'リセット月フロー',
|
||||||
'The flow details only retain the data of recent months for query.': 'トラフィック詳細は、クエリー用に近月データのみを保持します。',
|
'The flow details only retain the data of recent months for query.': 'トラフィック詳細は、クエリー用に近月データのみを保持します。',
|
||||||
'Average rate': '平均レート'
|
'Fee deduction rate': '控除率'
|
||||||
}
|
}
|
||||||
|
2
public/theme/v2board/assets/i18n/vi-VN.js
vendored
2
public/theme/v2board/assets/i18n/vi-VN.js
vendored
@ -315,5 +315,5 @@ window.settings.i18n['vi-VN'] = {
|
|||||||
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'Không thể thay đổi bản đăng ký này. Chỉ có người dùng mới được phép mua nó.',
|
'This subscription cannot be renewed. Only new users are allowed to purchase it': 'Không thể thay đổi bản đăng ký này. Chỉ có người dùng mới được phép mua nó.',
|
||||||
'Reset current month flow': 'Làm lại dòng tháng hiện tại',
|
'Reset current month flow': 'Làm lại dòng tháng hiện tại',
|
||||||
'The flow details only retain the data of recent months for query.': 'Các chi tiết dòng chảy chỉ lưu lại dữ liệu của tháng gần đây để truy vấn.',
|
'The flow details only retain the data of recent months for query.': 'Các chi tiết dòng chảy chỉ lưu lại dữ liệu của tháng gần đây để truy vấn.',
|
||||||
'Average rate': 'Tỷ lệ trung bình'
|
'Average rate': 'Tỷ lệ khấu trừ'
|
||||||
}
|
}
|
||||||
|
2
public/theme/v2board/assets/i18n/zh-CN.js
vendored
2
public/theme/v2board/assets/i18n/zh-CN.js
vendored
@ -317,5 +317,5 @@ window.settings.i18n['zh-CN'] = {
|
|||||||
'This subscription cannot be renewed. Only new users are allowed to purchase it': '该订阅无法续费,仅允许新用户购买',
|
'This subscription cannot be renewed. Only new users are allowed to purchase it': '该订阅无法续费,仅允许新用户购买',
|
||||||
'Reset current month flow': '重置当月流量',
|
'Reset current month flow': '重置当月流量',
|
||||||
'The flow details only retain the data of recent months for query.': '流量明细仅保留近月数据以供查询。',
|
'The flow details only retain the data of recent months for query.': '流量明细仅保留近月数据以供查询。',
|
||||||
'Average rate': '平均倍率'
|
'Fee deduction rate': '扣费倍率'
|
||||||
}
|
}
|
||||||
|
2
public/theme/v2board/assets/umi.js
vendored
2
public/theme/v2board/assets/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user