Add application to Resource.

This commit is contained in:
Yang Luo
2021-09-04 16:50:26 +08:00
parent 5d98cc6ac5
commit 015961bc3c
4 changed files with 27 additions and 9 deletions

View File

@ -114,6 +114,7 @@ func (c *ApiController) DeleteResource() {
func (c *ApiController) UploadResource() {
owner := c.Input().Get("owner")
application := c.Input().Get("application")
tag := c.Input().Get("tag")
parent := c.Input().Get("parent")
fullFilePath := c.Input().Get("fullFilePath")
@ -158,6 +159,7 @@ func (c *ApiController) UploadResource() {
Name: objectKey,
CreatedTime: util.GetCurrentTime(),
Provider: provider.Name,
Application: application,
Tag: tag,
Parent: parent,
FileName: filename,