tianyi hai 9 meses
pai
achega
ea80ed639a

+ 7 - 7
db/zhaopin.sql

@@ -282,14 +282,14 @@ CREATE TABLE `common_info`  (
 INSERT INTO `common_info` VALUES (1, '2022-10-08 12:34:17', NULL, '客服二维码', 1, '1', 'xitongs');
 INSERT INTO `common_info` VALUES (2, '2020-02-21 21:17:17', NULL, '公众号二维码', 2, 'https://taobao.xianmxkj.com/erweima.jpg', 'image');
 INSERT INTO `common_info` VALUES (6, '2023-08-09 20:31:05', NULL, '微信公众号APPID	', 5, '', 'weixin');
-INSERT INTO `common_info` VALUES (7, '2023-07-11 21:24:15', NULL, '短信签名', 6, '省钱兄', 'duanxin');
+INSERT INTO `common_info` VALUES (7, '2023-07-11 21:24:15', NULL, '短信签名', 6, '亿职赞', 'duanxin');
 INSERT INTO `common_info` VALUES (16, '2023-08-09 20:31:15', NULL, '微信公众号秘钥	', 21, '', 'weixin');
 INSERT INTO `common_info` VALUES (17, '2020-02-25 20:43:59', NULL, '公众号Token', 16, 'mxkj', 'weixin');
 INSERT INTO `common_info` VALUES (18, '2020-02-25 20:44:15', NULL, '公众号EncodingAESKey	', 17, 'WkswfqVwn7noJxzXyzFS1UcIDCGJ8dCd2wNEtb32xQn', 'weixin');
 INSERT INTO `common_info` VALUES (20, '2023-02-22 14:10:36', NULL, '后台管理平台域名配置	', 20, 'https://zpadmin.xianmaxiong.com', 'xitong');
 INSERT INTO `common_info` VALUES (21, '2023-12-25 12:13:31', NULL, 'h5服务域名配置	', 19, 'https://zp.xianmaxiong.com', 'xitong');
 INSERT INTO `common_info` VALUES (22, '2022-03-28 11:22:48', NULL, '短信服务商(1 腾讯云 2 阿里云 3短信宝)', 79, '3', 'duanxin');
-INSERT INTO `common_info` VALUES (23, '2023-02-22 14:09:15', NULL, '后台服务名称	', 12, '码兄', 'xitong');
+INSERT INTO `common_info` VALUES (23, '2023-02-22 14:09:15', NULL, '后台服务名称	', 12, '亿职赞', 'xitong');
 INSERT INTO `common_info` VALUES (27, '2020-03-09 20:46:10', NULL, '通用APP下载地址	', 25, 'https://zp.xianmaxiong.com/mxzp.apk', 'xitong');
 INSERT INTO `common_info` VALUES (33, '2021-03-15 21:19:27', NULL, '腾讯云短信clientId	', 31, '', 'duanxin');
 INSERT INTO `common_info` VALUES (34, '2020-03-28 00:47', NULL, '腾讯云短信clientSecret	', 32, '', 'duanxin');
@@ -320,8 +320,8 @@ INSERT INTO `common_info` VALUES (100, '2020-07-27 15:17', NULL, '阿里云短
 INSERT INTO `common_info` VALUES (101, '2021-02-24 18:46:57', NULL, '官方邀请码', 88, '666666', 'xitongs');
 INSERT INTO `common_info` VALUES (102, '2022-04-21 19:39:21', NULL, '转账方式 1支付宝证书  2支付宝秘钥 3手动', 98, '3', 'zhifubao');
 INSERT INTO `common_info` VALUES (108, '2021-11-02 15:26:21', NULL, '公众号是否自动登录', 108, '是', 'weixins');
-INSERT INTO `common_info` VALUES (118, '2023-07-13 15:28:33', NULL, '邀请赚钱推广内容', 101, '码兄招聘邀请您加入', 'xitong');
-INSERT INTO `common_info` VALUES (120, '2023-07-13 15:28:25', NULL, '邀请赚钱微信分享内容', 103, '码兄招聘邀请您加入', 'xitong');
+INSERT INTO `common_info` VALUES (118, '2023-07-13 15:28:33', NULL, '邀请赚钱推广内容', 101, '亿职赞招聘邀请您加入', 'xitong');
+INSERT INTO `common_info` VALUES (120, '2023-07-13 15:28:25', NULL, '邀请赚钱微信分享内容', 103, '亿职赞招聘邀请您加入', 'xitong');
 INSERT INTO `common_info` VALUES (130, '2021-12-03 17:59:08', NULL, '提现最低额度', 112, '10', 'fuwufei');
 INSERT INTO `common_info` VALUES (140, '2020-07-27 15:17', NULL, '用户端腾讯地图key', 128, 'BFBBZ-X6Z3B-DN2UX-JAWGE-E5QKJ-AJF53', 'weixin');
 INSERT INTO `common_info` VALUES (154, '2024-03-20 11:09:11', NULL, '是否开启APP微信分享', 136, '是', 'kaiguan');
@@ -352,7 +352,7 @@ INSERT INTO `common_info` VALUES (251, '2020-11-04 10:31:40', NULL, '几条未
 INSERT INTO `common_info` VALUES (252, '2023-07-12 19:21:38', NULL, '一级佣金', 207, '0.2', 'fuwufei');
 INSERT INTO `common_info` VALUES (253, '2023-07-12 19:21:48', NULL, '二级佣金', 208, '0.1', 'fuwufei');
 INSERT INTO `common_info` VALUES (254, '2022-01-24 21:03:25', NULL, '是否开启佣金', 209, '是', 'kaiguan');
-INSERT INTO `common_info` VALUES (255, '2023-02-22 14:09:07', NULL, '分享提示语', 255, '码兄招聘邀请您加入', 'xitong');
+INSERT INTO `common_info` VALUES (255, '2023-02-22 14:09:07', NULL, '分享提示语', 255, '亿职赞招聘邀请您加入', 'xitong');
 INSERT INTO `common_info` VALUES (256, '2022-04-22 17:02:44', NULL, '商家佣金', 206, '0.7', 'yongjins');
 INSERT INTO `common_info` VALUES (257, '2024-10-25 13:27:04', NULL, '小程序上架是否显示2', 257, '是', 'kaiguan');
 INSERT INTO `common_info` VALUES (258, '2022-05-06 12:35:13', NULL, '支付宝方式 1证书 2秘钥', 258, '2', 'zhifubao');
@@ -402,10 +402,10 @@ INSERT INTO `common_info` VALUES (422, '2024-04-17 21:19:52', NULL, '非会员
 INSERT INTO `common_info` VALUES (423, '2024-05-17 17:35:37', NULL, '微信小程序码', 423, 'https://zp.xianmaxiong.com/file/uploadPath/2024/05/17/5502084c45fa5dfe22f4c719855e48ae.jpg', 'image');
 INSERT INTO `common_info` VALUES (424, '2024-06-08 14:22:23', NULL, '新注册赠送钻石数', 424, '100', 'xitong');
 INSERT INTO `common_info` VALUES (425, '2024-05-17 17:35:37', NULL, '备案号', 425, '陕ICP备19023892号-1', 'xitong');
-INSERT INTO `common_info` VALUES (426, '2024-06-08 14:22:23', NULL, '备案官网', 426, 'COPYRIGHT@ 西安省钱兄网络科技有限公司.版权所有', 'xitong');
+INSERT INTO `common_info` VALUES (426, '2024-06-08 14:22:23', NULL, '备案官网', 426, 'COPYRIGHT@ 亿职赞网络科技有限公司.版权所有', 'xitong');
 INSERT INTO `common_info` VALUES (427, '2024-06-08 14:22:23', NULL, '163邮箱发送主机地址', 427, 'smtp.163.com', 'xitong');
 INSERT INTO `common_info` VALUES (428, '2024-06-08 14:22:23', NULL, ' pc端移动访问显示二维码', 428, 'https://taobao.xianmxkj.com/erweima.jpg', 'image');
-INSERT INTO `common_info` VALUES (429, '2024-06-08 14:22:23', NULL, ' pc端移动访问显示文字', 429, '省钱兄', 'xitong');
+INSERT INTO `common_info` VALUES (429, '2024-06-08 14:22:23', NULL, ' pc端移动访问显示文字', 429, '亿职赞', 'xitong');
 INSERT INTO `common_info` VALUES (430, '2024-07-31 16:03:05', NULL, 'pc是否打开二维码页面', 430, '是', 'kaiguan');
 INSERT INTO `common_info` VALUES (431, '2024-07-31 16:03:23', NULL, 'pc是否跳转移动端', 431, '是', 'kaiguan');
 INSERT INTO `common_info` VALUES (432, '2024-06-08 14:22:23', NULL, '移动是否打开pc', 432, '是', 'kaiguan');

+ 0 - 1
src/main/java/com/sqx/config/ShiroConfig.java

@@ -63,7 +63,6 @@ public class ShiroConfig {
         filterMap.put("/websocket/**", "anon");
         filterMap.put("/search/**", "anon");
         filterMap.put("/alioss/**","anon");
-        filterMap.put("/userFirst/**","anon");
         filterMap.put("/**", "oauth2");
         shiroFilter.setFilterChainDefinitionMap(filterMap);
 

+ 5 - 10
src/main/java/com/sqx/modules/firstLogin/control/UserFirstRegistCotroller.java

@@ -2,10 +2,10 @@ package com.sqx.modules.firstLogin.control;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.sqx.common.utils.Result;
+import com.sqx.modules.app.annotation.Login;
 import com.sqx.modules.firstLogin.entity.DepartmentEntity;
 import com.sqx.modules.firstLogin.entity.WorkExpEntity;
 import com.sqx.modules.firstLogin.service.DepartmentService;
-import com.sqx.modules.firstLogin.service.PostSkillService;
 import com.sqx.modules.resumes.entity.Resumes;
 import com.sqx.modules.resumes.service.ResumesService;
 import io.swagger.annotations.ApiOperation;
@@ -16,19 +16,18 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 @RestController
-@RequestMapping("/userFirst" )
+@RequestMapping("/app/userFirst" )
 public class UserFirstRegistCotroller {
     @Autowired
     private ResumesService resumesService;
     @Autowired
     private DepartmentService departmentService;
-    @Autowired
-    private PostSkillService postSkillService;
-
 
+    @Login
     @PostMapping("regist")
     @ApiOperation("初次加载信息")
     public void  userFirstRegist(Long userId, String minWage, String maxWages, String city,Integer ifExp){
+        System.out.println("?????????" + userId);
         Resumes resumes1 = resumesService.selectResumesByUserId(userId);
         resumes1.setCity(city);
         resumes1.setIfExp(ifExp);
@@ -42,11 +41,7 @@ public class UserFirstRegistCotroller {
 
         return Result.success().put("data",departmentService.getDepartmentList(departmentEntity));
 }
-@GetMapping("/getPostSkill")
-@ApiOperation("获取职业技能")
-    public  Result getPostSkill(){
-        return Result.success().put("data",postSkillService.getPostSkillTree());
-}
+
 @PostMapping("workExp")
 @ApiOperation("工作经验")
     public  void workExp(WorkExpEntity workExp){

+ 0 - 10
src/main/java/com/sqx/modules/firstLogin/service/PostSkillService.java

@@ -1,10 +0,0 @@
-package com.sqx.modules.firstLogin.service;
-
-import com.baomidou.mybatisplus.extension.service.IService;
-import com.sqx.modules.firstLogin.entity.PostSkillEntity;
-import org.springframework.stereotype.Service;
-import sun.reflect.generics.tree.Tree;
-
-public interface PostSkillService extends IService<PostSkillEntity> {
-    Tree getPostSkillTree();
-}

+ 0 - 16
src/main/java/com/sqx/modules/firstLogin/service/impl/PostSkillServiceImpl.java

@@ -1,16 +0,0 @@
-package com.sqx.modules.firstLogin.service.impl;
-
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
-import com.sqx.modules.firstLogin.dao.PostSkillDao;
-import com.sqx.modules.firstLogin.entity.PostSkillEntity;
-import com.sqx.modules.firstLogin.service.PostSkillService;
-import org.springframework.stereotype.Service;
-import sun.reflect.generics.tree.Tree;
-
-@Service
-public class PostSkillServiceImpl extends ServiceImpl<PostSkillDao, PostSkillEntity> implements PostSkillService {
-    @Override
-    public Tree getPostSkillTree(){
-        return null;
-    }
-}

+ 0 - 1
src/main/java/com/sqx/modules/sys/oauth2/OAuth2Realm.java

@@ -49,7 +49,6 @@ public class OAuth2Realm extends AuthorizingRealm {
     @Override
     protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
         String accessToken = (String) token.getPrincipal();
-
         //根据accessToken,查询用户信息
         SysUserTokenEntity tokenEntity = shiroService.queryByToken(accessToken);
         //token失效