Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
4e324733
提交
4e324733
authored
11月 16, 2021
作者:
zjm
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'bug' 到 'master'
Bug 查看合并请求
!81
上级
9479a615
6842e5ad
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
42 行增加
和
42 行删除
+42
-42
BlockChainUtilImpl.java
...dev/blockcha/subject/service/impl/BlockChainUtilImpl.java
+0
-0
DataInit.java
dev-union/src/main/java/com/tykj/dev/union/DataInit.java
+0
-0
RunController.java
...union/src/main/java/com/tykj/dev/union/RunController.java
+42
-42
没有找到文件。
dev-blockcha/src/main/java/com/tykj/dev/blockcha/subject/service/impl/BlockChainUtilImpl.java
浏览文件 @
4e324733
差异被折叠。
点击展开。
dev-union/src/main/java/com/tykj/dev/union/DataInit.java
浏览文件 @
4e324733
差异被折叠。
点击展开。
dev-union/src/main/java/com/tykj/dev/union/RunController.java
浏览文件 @
4e324733
package
com
.
tykj
.
dev
.
union
;
//
package com.tykj.dev.union;
//
/**
/
//
**
* @author zjm
//
* @author zjm
* @version 1.0.0
//
* @version 1.0.0
* @ClassName AreaController.java
//
* @ClassName AreaController.java
* @Description TODO
//
* @Description TODO
* @createTime 2020年09月04日 13:34:00
//
* @createTime 2020年09月04日 13:34:00
*/
//
*/
//
import
com.tykj.dev.config.swagger.AutoDocument
;
//
import com.tykj.dev.config.swagger.AutoDocument;
import
com.tykj.dev.device.user.subject.dao.AreaDao
;
//
import com.tykj.dev.device.user.subject.dao.AreaDao;
import
com.tykj.dev.device.user.subject.entity.Area
;
//
import com.tykj.dev.device.user.subject.entity.Area;
import
com.tykj.dev.device.user.subject.entity.SecurityUser
;
//
import com.tykj.dev.device.user.subject.entity.SecurityUser;
import
com.tykj.dev.device.user.subject.service.AreaService
;
//
import com.tykj.dev.device.user.subject.service.AreaService;
import
com.tykj.dev.misc.exception.ApiException
;
//
import com.tykj.dev.misc.exception.ApiException;
import
io.swagger.annotations.Api
;
//
import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
//
import io.swagger.annotations.ApiOperation;
import
org.springframework.beans.factory.annotation.Autowired
;
//
import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.http.ResponseEntity
;
//
import org.springframework.http.ResponseEntity;
import
org.springframework.security.core.annotation.AuthenticationPrincipal
;
//
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import
org.springframework.web.bind.annotation.*
;
//
import org.springframework.web.bind.annotation.*;
import
springfox.documentation.annotations.ApiIgnore
;
//
import springfox.documentation.annotations.ApiIgnore;
//
import
java.util.Optional
;
//
import java.util.Optional;
//
/**
/
//
**
* 区域视图层
//
* 区域视图层
*/
//
*/
@RestController
//
@RestController
@RequestMapping
(
"/run"
)
//
@RequestMapping("/run")
public
class
RunController
{
//
public class RunController {
@Autowired
//
@Autowired
DataInit
dataInit
;
//
DataInit dataInit;
@GetMapping
(
value
=
"/init2"
)
//
@GetMapping(value = "/init2")
public
ResponseEntity
addPermissions
(
@ApiIgnore
@AuthenticationPrincipal
SecurityUser
securityUser
)
{
//
public ResponseEntity addPermissions(@ApiIgnore @AuthenticationPrincipal SecurityUser securityUser) {
dataInit
.
init2
();
//
dataInit.init2();
return
ResponseEntity
.
ok
(
"ok"
);
//
return ResponseEntity.ok("ok");
}
//
}
//
//
}
//
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论