chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
@@ -0,0 +1,20 @@
package tasks
import (
"context"
"github.com/gogf/gf/v2/frame/g"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/service"
)
func init() { RegisterInnerTask("syns_sim_status_queue", "SynsSimStatusQueue") }
// SynsSimStatusQueue is the sole scheduled entry point for full status sync.
// The legacy admin-process implementation was removed after the queue path
// became the supported production flow.
func (t Task) SynsSimStatusQueue() {
if err := service.SimStatusQueue().StartFullSync(context.Background()); err != nil {
g.Log().Errorf(context.Background(), "start sim status queue sync failed: %+v", err)
}
}