添加统计逻辑

This commit is contained in:
2025-12-29 17:28:14 +08:00
parent 1e542a55bf
commit b8a9f9b62e
10 changed files with 205 additions and 11 deletions

View File

@@ -175,7 +175,7 @@ class UserAddressLogic
'district_id' => $post['district_id'],
'address' => $post['address'],
'is_default' => $post['is_default'],
'update_time' => time()
'updatetime' => time()
];
$result = Db::name('user_address')
@@ -203,7 +203,7 @@ class UserAddressLogic
$data = [
'del' => 1,
'update_time' => time()
'updatetime' => time()
];
return Db::name('user_address')

View File

@@ -180,7 +180,6 @@ class CityService
// 缓存结果缓存1小时
Cache::store('redis')->set($cacheKey, $data, 3600);
return [
'success' => true,
'msg' => '获取成功',