|
|
@ -136,7 +136,7 @@ public class DeepSeekLogController extends BaseController {
|
|
|
|
// 判断时间是否是当天时间
|
|
|
|
// 判断时间是否是当天时间
|
|
|
|
if (DateUtil.isSameDay(latestAccessTime, new Date())) {
|
|
|
|
if (DateUtil.isSameDay(latestAccessTime, new Date())) {
|
|
|
|
dailyVisits = (int) map.get("dailyVisits") + 1;
|
|
|
|
dailyVisits = (int) map.get("dailyVisits") + 1;
|
|
|
|
if (dailyVisits > 10) {
|
|
|
|
if (dailyVisits > 50) {
|
|
|
|
throw new ServiceException("用户试用次数已达上限");
|
|
|
|
throw new ServiceException("用户试用次数已达上限");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
map.put("dailyVisits", dailyVisits);
|
|
|
|
map.put("dailyVisits", dailyVisits);
|
|
|
|