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

1

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