Merge branch 'feature-scriptApproval-daiyb' into dev
This commit is contained in:
commit
ad5ffd10c9
@ -100,6 +100,9 @@ func RefreshScriptApprovalStatusTask() {
|
|||||||
}
|
}
|
||||||
var approvalIds []int
|
var approvalIds []int
|
||||||
for _, v := range resp.Data {
|
for _, v := range resp.Data {
|
||||||
|
if v.ApprovalID == "" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
id, _ := strconv.ParseInt(v.ApprovalID, 10, 64)
|
id, _ := strconv.ParseInt(v.ApprovalID, 10, 64)
|
||||||
approvalIds = append(approvalIds, int(id))
|
approvalIds = append(approvalIds, int(id))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user