chore: 并入 iotlcm-worker-svr 历史到 worker-svr/(原提交 96f0f4e)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:03 +08:00
422 changed files with 80993 additions and 0 deletions
@@ -0,0 +1,28 @@
package model
// SimStatusQueueStartMessage asks the Worker to scan the card table and run a
// full status synchronization. The Admin service does not perform upstream
// calls for this path. A nil Scope (or one whose channels normalize to empty)
// is a full sync.
type SimStatusQueueStartMessage struct {
RunID string `json:"runId"`
Operation string `json:"operation"`
TriggeredAt string `json:"triggeredAt"`
Scope *SyncScope `json:"scope,omitempty"`
}
// SimStatusQueueTaskMessage is the card-level form used by business actions.
// The complete card routing information is carried so the Worker can enqueue
// it without doing a synchronous Admin lookup.
type SimStatusQueueTaskMessage struct {
RequestID string `json:"requestId"`
RunID string `json:"runId"`
Operation string `json:"operation"`
CardID int64 `json:"cardId"`
ICCID string `json:"iccid"`
MSISDN string `json:"msisdn"`
IMSI string `json:"imsi"`
ChanKey string `json:"chanKey"`
TempKey string `json:"tempKey"`
Operator int `json:"operator"`
}