06 2022 档案
摘要:接口 /admin/actuator management: endpoints: web: exposure: exclude: '*' 处理方式是在nacos中的application文件中
阅读全文
摘要:mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
阅读全文
摘要:response.setContentType("application/octet-stream; charset=UTF-8"); //response为HttpServletResponse对象response.setContentType("application/vnd.ms-excel;
阅读全文
摘要:Wrapper<WxAutoReply> queryWrapper = Wrappers.<WxAutoReply>lambdaQuery() .eq(WxAutoReply::getReqKey, wxAutoReply.getReqKey()) .eq(WxAutoReply::getRepTy
阅读全文
摘要:import java.io.*;import java.net.HttpURLConnection;import java.net.MalformedURLException;import java.net.URL;import java.net.URLEncoder;import java.ut
阅读全文
摘要:table-create-db: username: root password: xxx driver-class-name: com.mysql.cj.jdbc.Driver url: CREATE TABLE `work_table` ( `id` int(10) unsigned NOT N
阅读全文
摘要:SELECTCOLUMN_NAMEcolumnName,COLUMN_TYPE columnType,DATA_TYPE dataType,CHARACTER_MAXIMUM_LENGTH characterMaximumLength,IS_NULLABLE isNullable,COLUMN_DE
阅读全文
摘要:<insert id="insertUser" > insert into sys_user(id,username,salt,password,phone,dept_id,real_name,dd_user_id) values (#{param.id},#{param.username},#{p
阅读全文
摘要:@Api(value = "定时任务执行", tags = "定时任务执行")@Slf4j@Component@EnableSchedulingpublic class ScheduledController { //@Scheduled(fixedRate = 60000)//每隔一分钟执行一次
阅读全文
摘要:public String obtainAccessToken() throws ApiException { SysPublicParam dingTalkAccessToken = sysPublicParamService.getOne(new LambdaQueryWrapper<SysPu
阅读全文
摘要:#项目 server { listen 81; server_name X.XXX.XXX.XX; location / { root /gds/xxx/dist/; try_files $uri $uri/ @router; index index.html index.htm; } locati
阅读全文
摘要:/** * 去掉小数点后面的零 * @param str * @return */ public static String trimZero(String str) { if(str==null){ return ""; } if (str.indexOf(".") > 0) { // 去掉多余的
阅读全文