|
@@ -4,6 +4,7 @@ import (
|
|
|
"context"
|
|
|
"fmt"
|
|
|
"github.com/suyuan32/simple-admin-common/msg/errormsg"
|
|
|
+ "github.com/suyuan32/simple-admin-common/utils/pointy"
|
|
|
"github.com/zeromicro/go-zero/core/errorx"
|
|
|
"net/http"
|
|
|
"wechat-api/ent"
|
|
@@ -95,7 +96,9 @@ func getSopNodeList(nodeList []*ent.SopNode) ([]*types.SopNodeInfo, error) {
|
|
|
|
|
|
child := types.SopNodeInfo{
|
|
|
BaseIDInfo: types.BaseIDInfo{
|
|
|
- Id: &node.ID,
|
|
|
+ Id: &node.ID,
|
|
|
+ CreatedAt: pointy.GetPointer(node.CreatedAt.UnixMilli()),
|
|
|
+ UpdatedAt: pointy.GetPointer(node.UpdatedAt.UnixMilli()),
|
|
|
},
|
|
|
Status: &node.Status,
|
|
|
StageId: &node.StageID,
|