上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: package com.example.test; import android.util.Log; import java.math.BigDecimal; import java.text.DecimalFormat; /** * 金额工具类,主要是金额的格式化,金额的加、减 * @author 阅读全文
posted @ 2021-09-25 12:17 wujf 阅读(1700) 评论(0) 推荐(0) 编辑
摘要: @Test public void aa() throws NoSuchMethodException { String regular = "function regular(args1){ return 1+args1 ;}"; ScriptEngine engine = new ScriptE 阅读全文
posted @ 2021-09-24 18:39 wujf 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 注解定义 package com.xf.common; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; im 阅读全文
posted @ 2021-09-18 10:15 wujf 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 引入依赖 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> </dependency> 测试 @Test public void pas 阅读全文
posted @ 2021-09-17 17:37 wujf 阅读(608) 评论(0) 推荐(0) 编辑
摘要: import json import requests headers = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 阅读全文
posted @ 2021-09-09 15:57 wujf 阅读(316) 评论(0) 推荐(0) 编辑
摘要: python代码如下: import random import time import requests cookies = { '__gads': 'ID=3c504aa17c4a7048:T=1628576892:S=ALNI_MY9Ppx3sxnhZ1y2muUyXgSPRxKDbg', ' 阅读全文
posted @ 2021-08-31 09:03 wujf 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 场景1 让多个线程等待:模拟并发,让并发线程一起执行 为了模拟高并发,让一组线程在指定时刻(秒杀时间)执行抢购,这些线程在准备就绪后,进行等待(CountDownLatch.await()),直到秒杀时刻的到来,然后一拥而上;这也是本地测试接口并发的一个简易实现。 在这个场景中,CountDownL 阅读全文
posted @ 2021-08-25 14:04 wujf 阅读(469) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js"></script> <!-- 引入样式 --> <link rel="stylesheet" href="https://unpkg 阅读全文
posted @ 2021-07-29 11:04 wujf 阅读(627) 评论(0) 推荐(0) 编辑
摘要: Map headmap = new LinkedHashMap<String, String>(); headmap.put("createtime", "日期"); headmap.put("orderno", "案件号"); headmap.put("vin", "vin码"); headmap 阅读全文
posted @ 2021-07-28 09:33 wujf 阅读(120) 评论(0) 推荐(0) 编辑
摘要: ''' pip install pymupdf pip install pillow ''' import os import uuid import fitz from PIL import Image, ImageDraw, ImageFont import zipfile basedir = 阅读全文
posted @ 2021-07-27 11:18 wujf 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页