浏览代码

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 年前
父节点
当前提交
4a435c42cc
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      controllers/sg/his_api_controller.go

+ 3 - 4
controllers/sg/his_api_controller.go 查看文件

@@ -572,12 +572,13 @@ func (c *HisApiController) GetSettleList() {
572 572
 		return
573 573
 	} else {
574 574
 		hisFundSettleListResult := &models.HisFundSettleListResult{
575
-			Number:    res.Output.Data.SetlListId,
575
+			Number:    res.Output.SetlListId,
576 576
 			Status:    1,
577 577
 			Ctime:     time.Now().Unix(),
578 578
 			Mtime:     time.Now().Unix(),
579 579
 			UserOrgId: c.GetAdminUserInfo().CurrentOrgId,
580 580
 			IsUpload:  1,
581
+			OrderId:   order_id,
581 582
 		}
582 583
 		service.CreateUploadRecord(hisFundSettleListResult)
583 584
 		c.ServeSuccessJSON(map[string]interface{}{
@@ -1557,9 +1558,7 @@ type ResultSeventeen struct {
1557 1558
 	InfRefmsgid string `json:"inf_refmsgid"`
1558 1559
 	Infcode     int64  `json:"infcode"`
1559 1560
 	Output      struct {
1560
-		Data struct {
1561
-			SetlListId string `json:"setl_list_id"`
1562
-		} `json:"data"`
1561
+		SetlListId string `json:"setl_list_id"`
1563 1562
 	} `json:"output"`
1564 1563
 	RefmsgTime  string `json:"refmsg_time"`
1565 1564
 	RespondTime string `json:"respond_time"`