微软MOS认证大师级签约保过班课程【送】
什么是微软MOS国际认证?
MOS 是 Microsoft Office Specialist 即 微软办公软件国际认证的缩写;
MOS是一套由微软组织考试,微软签发的针对办公软件技能的认证证书;
MOS证书含金量极高,拥有微软现任CEO签名,单张证书拥有唯一的验证码,可在网络直接查询认证;
根据微软官网的数据,拥有MOS证书的人具有更高的竞争力:
本次课程为全科PPT+Word+Excel培训,获得MOS大师级认证,MOS证书含金量极高,是职场超级加分项
课程目录
Excel2013模拟题讲解1-1.mp4
Excel2013模拟题讲解1-2.mp4
Excel2013模拟题讲解2-1.mp4
Excel2013模拟题讲解2-2.mp4
Excel第10课-Vlookup基础.mp4
Excel第11课-Vlookup进阶.mp4
Excel第12课-日期本质论.mp4
Excel第13课-监视窗口和方案管理.mp4
Excel第14课-带有公式的条件格式.mp4
Excel第15课-数据透视表.mp4
Excel第16课-图表.mp4
Excel第1课-认识excel基本界面.mp4
Excel第2课-基本数据录入规范和批注使用.mp4
Excel第3课-单元格数据的保护.mp4
Excel第4课-条件格式基础.mp4
Excel第5课-数字格式和自定义数字格式.mp4
Excel第6课-认识公式和引用.mp4
Excel第7课-函数入门.mp4
Excel第8课-统计函数 .mp4
Excel第9课-If的基础使用和嵌套.mp4
PPT2013模拟题讲解1.mp4
PPT2013模拟题讲解2.mp4
PPT第10课-备注和批注.mp4
PPT第11课-对象的排列对齐.mp4
PPT第12课-页码编号.mp4
PPT第13课-分节与切换.mp4
PPT第14课-幻灯片放映.mp4
PPT第15课-幻灯片打印.mp4
PPT第16课-保存与校对.mp4
PPT第17课-检查文稿.mp4
PPT第1课-幻灯片的大小与模板.mp4
PPT第2课-文本框格式.mp4
PPT第3课-幻灯片的添加.mp4
PPT第4课-占位符的内容及样式.mp4
PPT第5课-动画.mp4
PPT第6课-表格.mp4
PPT第7课-SmartArt.mp4
PPT第8课-图表.mp4
PPT第9课-视频.mp4
Word2013模拟题讲解.mp4
Word第10课-超链接&书签.mp4
Word第11课-图文排版.mp4
Word第12课-SmartArt&艺术字.mp4
Word第13课-主题字体&主题色.mp4
Word第14课-文档属性&保存选项.mp4
Word第1课-word初始化设置.mp4
Word第2课-页面布局.mp4
Word第3课-文本处理.mp4
Word第4课-样式.mp4
Word第5课-多级列表.mp4
Word第6课-引用和目录.mp4
Word第7课-项目编号列表&自动更正.mp4
Word第8课-页眉页脚.mp4
Word第9课-表格.mp4
【难点疑点补充】Excel模块知识点补充和易错题目解析.mp4
考试准备-MOS账号注册教程.mp4
一,技术要点:springboot的基本知识,redis基本操作,
首先是写一个注解类:
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention(RUNTIME)
@Target(METHOD)
public @interface AccessLimit {
int seconds();
int maxCount();
boolean needLogin()default true;
}
接着就是在Interceptor拦截器中实现:
import com.alibaba.fastjson.JSON;
import com.example.demo.action.AccessLimit;
import com.example.demo.redis.RedisService;
import com.example.demo.result.CodeMsg;
import com.example.demo.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.OutputStream;
@Component
public class FangshuaInterceptor extends HandlerInterceptorAdapter {
@Autowired
private RedisService redisService;
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
//判断请求是否属于方法的请求
if(handler instanceof HandlerMethod){
HandlerMethod hm = (HandlerMethod) handler;
//获取方法中的注解,看是否有该注解
AccessLimit accessLimit = hm.getMethodAnnotation(AccessLimit.class);
if(accessLimit == null){
return true;
}
int seconds = accessLimit.seconds();
int maxCount = accessLimit.maxCount();
boolean login = accessLimit.needLogin();
String key = request.getRequestURI();
//如果需要登录
if(login){
//获取登录的session进行判断
//.....
key+=""+"1"; //这里假设用户是1,项目中是动态获取的userId
}
//从redis中获取用户访问的次数
AccessKey ak = AccessKey.withExpire(seconds);
Integer count = redisService.get(ak,key,Integer.class);
if(count == null){
//第一次访问
redisService.set(ak,key,1);
}else if(count < maxCount){
//加1
redisService.incr(ak,key);
}else{
//超出访问次数
render(response,CodeMsg.ACCESS_LIMIT_REACHED); //这里的CodeMsg是一个返回参数
return false;
}
}
return true;
}
private void render(HttpServletResponse response, CodeMsg cm)throws Exception {
response.setContentType("application/json;charset=UTF-8");
OutputStream out = response.getOutputStream();
String str = JSON.toJSONString(Result.error(cm));
out.write(str.getBytes("UTF-8"));
out.flush();
out.close();
}
}
再把Interceptor注册到springboot中
import com.example.demo.ExceptionHander.FangshuaInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@Configuration
public class WebConfig extends WebMvcConfigurerAdapter {
@Autowired
private FangshuaInterceptor interceptor;
@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(interceptor);
}
}
接着在Controller中加入注解
import com.example.demo.result.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class FangshuaController {
@AccessLimit(seconds=5, maxCount=5, needLogin=true)
@RequestMapping("/fangshua")
@ResponseBody
public Result<String> fangshua(){
return Result.success("请求成功");
}