|
@ -3,16 +3,13 @@ package com.example.demo.serviceImpl; |
|
|
|
|
|
|
|
|
import com.example.demo.domain.entity.Detail; |
|
|
import com.example.demo.domain.entity.Detail; |
|
|
import com.example.demo.domain.entity.User; |
|
|
import com.example.demo.domain.entity.User; |
|
|
import com.example.demo.domain.vo.UserConsumeCoin; |
|
|
|
|
|
import com.example.demo.domain.vo.UserVo; |
|
|
import com.example.demo.domain.vo.UserVo; |
|
|
import com.example.demo.mapper.UserMapper; |
|
|
import com.example.demo.mapper.UserMapper; |
|
|
import com.example.demo.sevice.UserSevice; |
|
|
import com.example.demo.sevice.UserSevice; |
|
|
import com.github.pagehelper.PageHelper; |
|
|
import com.github.pagehelper.PageHelper; |
|
|
import com.github.pagehelper.PageInfo; |
|
|
import com.github.pagehelper.PageInfo; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import org.apache.ibatis.annotations.Param; |
|
|
|
|
|
import org.springframework.cache.annotation.CacheConfig; |
|
|
import org.springframework.cache.annotation.CacheConfig; |
|
|
import org.springframework.cache.annotation.Cacheable; |
|
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.util.ObjectUtils; |
|
|
import org.springframework.util.ObjectUtils; |
|
@ -41,6 +38,11 @@ public class UserServiceImpl implements UserSevice { |
|
|
return new PageInfo<>(list); |
|
|
return new PageInfo<>(list); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public List<String> area() { |
|
|
|
|
|
return userMapper.selectArea(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//设置免费金币 |
|
|
//设置免费金币 |
|
|
// public User updateFreecoin(Detail userConsumeCoin) { |
|
|
// public User updateFreecoin(Detail userConsumeCoin) { |
|
|
// |
|
|
// |
|
|