Skip to content

Commit

Permalink
同步代码
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaobangyu committed Oct 23, 2023
1 parent 92ae31c commit 5cd94ad
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/autotest/testtask.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- 测试任务
local log_debug = logger.debug
local log_err = logger.err

local TestTask = singleton()
local prop = property(TestTask)
prop:reader("id", nil)

function TestTask:__init()

end

quanta.testtask = TestTask()
return TestTask
14 changes: 14 additions & 0 deletions server/autotest/testtask_mgr.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- 任务管理
local log_debug = logger.debug
local log_err = logger.err

local TestTaskMgr = singleton()
local prop = property(TestTaskMgr)
prop:reader("id", nil)

function TestTaskMgr:__init()

end

quanta.testtask_mgr = TestTaskMgr()
return TestTaskMgr

0 comments on commit 5cd94ad

Please sign in to comment.