提交 90f19761 authored 作者: yangqi's avatar yangqi

1

上级 5e63ac25
......@@ -110,6 +110,12 @@
<artifactId>aliyun-java-sdk-viapiutils</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>cn.lefull</groupId>
<artifactId>lefull-lot-common</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
package cn.lefull.api.test;
import cn.lefull.common.annotation.NoAuth;
import cn.lefull.common.sdk.ali.HikvisionService;
import cn.lefull.repository.model.test.Test;
import cn.lefull.service.test.TestService;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -14,12 +15,15 @@ public class TestController {
@Autowired
private TestService testService;
@Autowired
private HikvisionService hikvision;
@NoAuth
@GetMapping("/test")
public void test() {
Test t = this.testService.getTestById(3);
t.setUserName("测试修改数据库resource");
this.testService.updateById(t);
HikvisionService.test();
//Test t = this.testService.getTestById(3);
//t.setUserName("测试修改数据库resource");
//this.testService.updateById(t);
}
}
......@@ -12,6 +12,26 @@
<artifactId>lefull-lot-common</artifactId>
<version>${project.build.version}</version>
<dependencies>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>facebody20191230</artifactId>
<version>2.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>viapi-utils</artifactId>
<version>1.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
<version>3.15.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<packaging>jar</packaging>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论