Browse Source

🎈 perf: 优化若干内容

Pchen. 1 month ago
parent
commit
e6c737a644
2 changed files with 4 additions and 1 deletions
  1. 3 0
      apis/Lepao/Account/Admin/GetAccountList.js
  2. 1 1
      apis/Lepao/SingleRun.js

+ 3 - 0
apis/Lepao/Account/Admin/GetAccountList.js

@@ -79,6 +79,9 @@ class GetAccountList extends API {
                     l.notes,
                     l.deviceModel,
                     l.userAgent,
+                    l.mobileNumber,
+                    l.homeAddr,
+                    l.identifyCode,
                     l.target_count,
                     l.notice_type,
                     f.bind_code,

+ 1 - 1
apis/Lepao/SingleRun.js

@@ -83,7 +83,7 @@ class SingleRun extends API {
             if ([distance_km, pace].some((v) => v === '' || v === null || v === undefined))
                 return res.json({
                     ...BaseStdResponse.ERR,
-                    msg: '请传入单次距离 distance_km(1–5)与配速 pace(如 5:30、5\'30" 或秒/公里)'
+                    msg: '请传入单次距离 distance_km(1–10)与配速(如 5:30)'
                 })
 
             const dist = Number(distance_km)