sync: soul-admin 前端、soul-api 接口逻辑 | 原因: 前端代码修改、后端接口逻辑修改
This commit is contained in:
505
soul-admin/dist/assets/index-CmfGUxco.js
vendored
Normal file
505
soul-admin/dist/assets/index-CmfGUxco.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
soul-admin/dist/assets/index-pe-kjH6p.css
vendored
Normal file
1
soul-admin/dist/assets/index-pe-kjH6p.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13
soul-admin/dist/index.html
vendored
Normal file
13
soul-admin/dist/index.html
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>管理后台 - Soul创业派对</title>
|
||||
<script type="module" crossorigin src="/assets/index-CmfGUxco.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-pe-kjH6p.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -27,7 +27,7 @@ func DBMatchRecordsList(c *gin.Context) {
|
||||
var byType []TypeCount
|
||||
db.Model(&model.MatchRecord{}).Select("match_type as match_type, count(*) as count").Group("match_type").Scan(&byType)
|
||||
var uniqueUsers int64
|
||||
db.Model(&model.MatchRecord{}).Distinct("user_id").Count(&uniqueUsers)
|
||||
db.Raw("SELECT COUNT(DISTINCT user_id) FROM match_records WHERE user_id IS NOT NULL AND user_id != ''").Scan(&uniqueUsers)
|
||||
|
||||
// 匹配收益:product_type=match 且 status=paid 的订单金额总和
|
||||
var matchRevenue float64
|
||||
|
||||
Reference in New Issue
Block a user