Ver código fonte

更新

master
huangjiajun 6 meses atrás
pai
commit
f81178cd33
1 arquivos alterados com 8 adições e 1 exclusões
  1. +8
    -1
      app/admin/svc/order/svc_order_list.go

+ 8
- 1
app/admin/svc/order/svc_order_list.go Ver arquivo

@@ -488,10 +488,17 @@ func OrderDetail(c *gin.Context) {
"time": gjson.Get(order.BuyInfo, "time").String(),
"create_at": order.CreateAt.Format("2006-01-02 15:04:05"),
"enterprise_name": enterpriseName,
"enterprise_id": utils.IntToStr(order.EnterpriseId),
"enterprise_id": order.EnterpriseId,
"company_id": "",
"inside_name": insideName,
"goods_info": goodsInfo,
}
enterpriseDb := db.EnterpriseDb{}
enterpriseDb.Set()
enterprise, _ := enterpriseDb.GetEnterprise(order.EnterpriseId)
if enterprise != nil {
res["company_id"] = enterprise.CompanyId
}
e.OutSuc(c, res, nil)
return
}


Carregando…
Cancelar
Salvar