Commit eac435cd authored by brent's avatar brent

add whitelist

parent 2889bfd4
...@@ -1493,6 +1493,7 @@ func (server *TaskController) UpdateTaskType() { ...@@ -1493,6 +1493,7 @@ func (server *TaskController) UpdateTaskType() {
Username: appRequest.TaskTypeIn.Username, Username: appRequest.TaskTypeIn.Username,
Password: appRequest.TaskTypeIn.Password, Password: appRequest.TaskTypeIn.Password,
Category: appRequest.TaskTypeIn.Category, Category: appRequest.TaskTypeIn.Category,
CreatedTime: appRequest.TaskTypeIn.CreatedTime,
UpdatedTime: timestamp, UpdatedTime: timestamp,
} }
......
{"/Users/brent/Documents/wubanWork/ai_developer_admin/controllers":1709621001721511850} {"/Users/brent/Documents/wubanWork/ai_developer_admin/controllers":1709621490268765461}
\ No newline at end of file \ No newline at end of file
...@@ -73,7 +73,7 @@ func (d backendService) DetailInfo() (json.RawMessage, error) { ...@@ -73,7 +73,7 @@ func (d backendService) DetailInfo() (json.RawMessage, error) {
func RegistryBackend() { func RegistryBackend() {
r := registor.NewRegistry(redisParam, backendService{}) r := registor.NewRegistry(redisParam, backendService{})
r.Start() go r.Start()
//time.Sleep(time.Second * 5) //time.Sleep(time.Second * 5)
//r.Stop() //r.Stop()
} }
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