替换key
This commit is contained in:
parent
edae65c7b1
commit
c77ff646eb
@ -13,6 +13,7 @@ import com.xhpc.evcs.domain.AuthSecretToken;
|
|||||||
import com.xhpc.evcs.domain.XhpcInternetUser;
|
import com.xhpc.evcs.domain.XhpcInternetUser;
|
||||||
import com.xhpc.evcs.domain.XhpcStationInternetBlacklist;
|
import com.xhpc.evcs.domain.XhpcStationInternetBlacklist;
|
||||||
import com.xhpc.evcs.dto.*;
|
import com.xhpc.evcs.dto.*;
|
||||||
|
import com.xhpc.evcs.encryption.Aes128Cbc;
|
||||||
import com.xhpc.evcs.encryption.EvcsConst;
|
import com.xhpc.evcs.encryption.EvcsConst;
|
||||||
import com.xhpc.evcs.jpa.AuthSecretTokenRepository;
|
import com.xhpc.evcs.jpa.AuthSecretTokenRepository;
|
||||||
import com.xhpc.evcs.jpa.XhpcInternetUserRepository;
|
import com.xhpc.evcs.jpa.XhpcInternetUserRepository;
|
||||||
|
|||||||
@ -48,8 +48,8 @@ public class TokenController extends BaseController
|
|||||||
public static final String ACCOUNT ="scxhkj";
|
public static final String ACCOUNT ="scxhkj";
|
||||||
public static final String PASSWD ="6A9628548C4CBECCE80A2479CD77679F";
|
public static final String PASSWD ="6A9628548C4CBECCE80A2479CD77679F";
|
||||||
public static final String PRODUCTLD ="20191130000001";
|
public static final String PRODUCTLD ="20191130000001";
|
||||||
public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1";
|
public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx";
|
||||||
public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu";
|
public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi";
|
||||||
/**
|
/**
|
||||||
* 平台管理员登陆
|
* 平台管理员登陆
|
||||||
* @param form
|
* @param form
|
||||||
|
|||||||
@ -32,8 +32,7 @@ import java.util.Map;
|
|||||||
* @Date 2024-09-12 17:02
|
* @Date 2024-09-12 17:02
|
||||||
*/
|
*/
|
||||||
public class ExcelUtilYu {
|
public class ExcelUtilYu {
|
||||||
private static String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1";
|
|
||||||
private static String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建Excel表
|
* 创建Excel表
|
||||||
|
|||||||
@ -23,8 +23,8 @@ import java.util.Map;
|
|||||||
@RequestMapping("/file")
|
@RequestMapping("/file")
|
||||||
public class XhpcFileController {
|
public class XhpcFileController {
|
||||||
|
|
||||||
public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1";
|
public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx";
|
||||||
public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu";
|
public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi";
|
||||||
|
|
||||||
@PostMapping(value = "/addFile")
|
@PostMapping(value = "/addFile")
|
||||||
public R addFile(@RequestParam MultipartFile file){
|
public R addFile(@RequestParam MultipartFile file){
|
||||||
|
|||||||
@ -35,8 +35,8 @@ import java.util.regex.Pattern;
|
|||||||
public class XhpcSmsServiceImpl implements IXhpcSmsService {
|
public class XhpcSmsServiceImpl implements IXhpcSmsService {
|
||||||
|
|
||||||
public static RedisService REDIS;
|
public static RedisService REDIS;
|
||||||
public static final String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1";
|
public static final String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx";
|
||||||
public static final String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu";
|
public static final String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi";
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger(XhpcSmsServiceImpl.class);
|
private static final Logger logger = LoggerFactory.getLogger(XhpcSmsServiceImpl.class);
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@ -13,8 +13,8 @@ import com.aliyun.teaopenapi.models.Config;
|
|||||||
*/
|
*/
|
||||||
public class SmsUtil {
|
public class SmsUtil {
|
||||||
|
|
||||||
private static String accessKeyId = "LTAI5tBWjnuQGxGicnThwMF1";
|
private static String accessKeyId = "LTAI5t7vcQMfZPEZQkEdrAjx";
|
||||||
private static String accessKeySecret = "b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu";
|
private static String accessKeySecret = "K7ZstCZoAjvJsBCe0CipodINETuPyi";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 使用AK&SK初始化账号Client
|
* 使用AK&SK初始化账号Client
|
||||||
|
|||||||
@ -542,7 +542,7 @@ public class ChargingController {
|
|||||||
// Integer FFFF = HexUtils.reverseHexInt("0452");
|
// Integer FFFF = HexUtils.reverseHexInt("0452");
|
||||||
// System.out.println("51 转化成="+FFFF);
|
// System.out.println("51 转化成="+FFFF);
|
||||||
|
|
||||||
Integer F402 = HexUtils.reverseHexInt("4C");
|
Integer F402 = HexUtils.reverseHexInt("04010000");
|
||||||
System.out.println("F402 转化成="+F402);
|
System.out.println("F402 转化成="+F402);
|
||||||
|
|
||||||
// Integer D007 = HexUtils.reverseHexInt("D007");
|
// Integer D007 = HexUtils.reverseHexInt("D007");
|
||||||
|
|||||||
@ -48,8 +48,8 @@ oss:
|
|||||||
name: qiniu
|
name: qiniu
|
||||||
tenant-mode: true
|
tenant-mode: true
|
||||||
endpoint: oss-accelerate.aliyuncs.com
|
endpoint: oss-accelerate.aliyuncs.com
|
||||||
access-key: LTAI5tBWjnuQGxGicnThwMF1
|
access-key: LTAI5t7vcQMfZPEZQkEdrAjx
|
||||||
secret-key: b0WNtFYtWyTEkZzcr2WOAPoZg6w2Xu
|
secret-key: K7ZstCZoAjvJsBCe0CipodINETuPyi
|
||||||
bucket-name: xhpc-bucket1
|
bucket-name: xhpc-bucket1
|
||||||
|
|
||||||
#文件路径
|
#文件路径
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user