Commit 7b38bd56 authored by 赵啸非's avatar 赵啸非

添加巴中经开区windows shell

parent c9537f15
......@@ -105,6 +105,11 @@
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
......
package com.mortals.xhx.common.pdu;
import lombok.Data;
import java.io.Serializable;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
package com.mortals.xhx.busiz.web;
import cn.hutool.core.codec.Base64;
import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.annotation.UnAuth;
......@@ -17,7 +14,6 @@ import com.mortals.xhx.busiz.rsp.DeviceResp;
import com.mortals.xhx.common.code.ApiRespCodeEnum;
import com.mortals.xhx.common.code.DeviceMethodEnum;
import com.mortals.xhx.common.utils.ControllerScanUtil;
import com.mortals.xhx.common.utils.ImgUtils;
import com.mortals.xhx.module.device.model.DeviceEntity;
import com.mortals.xhx.module.device.model.DeviceQuery;
import com.mortals.xhx.module.device.service.DeviceService;
......@@ -30,7 +26,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.*;
import java.io.File;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
......@@ -215,6 +210,7 @@ public class TestSendMsgController {
public static void main(String[] args) {
/*
String resp = HttpUtil.get("http://59.225.206.13:8331/oauth-pro/admin-pro/sys/randomImage/1675827431800?_t=1675827431");
JSONObject jsonObject = JSON.parseObject(resp);
......@@ -224,6 +220,7 @@ public class TestSendMsgController {
String ocrResult = "F:\\pics\\2-1.jpg";
Base64.decodeToFile(StrUtil.replace(jsonObject.get("result").toString(), "data:image/jpg;base64,", ""), new File(OriginalImg));
ImgUtils.removeBackground(OriginalImg, ocrResult);
*/
// log.info(code);
/*
......
......@@ -116,7 +116,7 @@ POST {{baseUrl}}/api/register
Content-Type: application/json
{
"deviceCode": "56-53-54-79-20-wq"
"deviceCode": "3C-4E-56-51-7E-72"
}
###获取产品与
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment