| | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.panzhihua.common.constants.UserConstants; |
| | | import com.panzhihua.common.interfaces.OperLog; |
| | | import com.panzhihua.common.model.vos.LoginReturnsVO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | |
| | | import com.panzhihua.common.utlis.JWTTokenUtil; |
| | | import com.panzhihua.community_backstage.util.MyAESUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; |
| | | import org.springframework.util.ObjectUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | |
| | | String pwd=""; |
| | | try { |
| | | pwd = MyAESUtil.Encrypt(password,"Ryo7M3n8loC5Abcd"); |
| | | pwd =new BCryptPasswordEncoder().encode(password); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |