branch ptr to obj
This commit is contained in:
parent
ed4db3b854
commit
7b43124235
@ -73,7 +73,7 @@ func RegisterTccBranch(c *gin.Context) (interface{}, error) {
|
||||
Data: data["data"],
|
||||
}
|
||||
|
||||
branches := []*TransBranch{&branch, &branch, &branch}
|
||||
branches := []TransBranch{branch, branch, branch}
|
||||
for i, b := range []string{"cancel", "confirm", "try"} {
|
||||
branches[i].BranchType = b
|
||||
branches[i].Url = data[b]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user