作者 yangfu

分红详情修改

@@ -76,7 +76,7 @@ func (c *DividendsController) Edit() { @@ -76,7 +76,7 @@ func (c *DividendsController) Edit() {
76 //Edit 分红支付详情 76 //Edit 分红支付详情
77 func (c *DividendsController) Detail() { 77 func (c *DividendsController) Detail() {
78 type Parameter struct { 78 type Parameter struct {
79 - Id int64 `json:"id"` //订单编号 79 + Id string `json:"id"` //订单编号
80 } 80 }
81 var ( 81 var (
82 param Parameter 82 param Parameter
@@ -89,8 +89,9 @@ func (c *DividendsController) Detail() { @@ -89,8 +89,9 @@ func (c *DividendsController) Detail() {
89 } 89 }
90 90
91 cmd := OrderPaymentQuery.GetOrderPaymentQuery{ 91 cmd := OrderPaymentQuery.GetOrderPaymentQuery{
92 - OrderId: param.Id, 92 + //OrderId: param.Id,
93 } 93 }
  94 + cmd.OrderId, _ = strconv.ParseInt(param.Id, 10, 64)
94 serve := OrderPaymentSvr.NewOrderPaymentService(nil) 95 serve := OrderPaymentSvr.NewOrderPaymentService(nil)
95 var data []*domain.OrderPayment 96 var data []*domain.OrderPayment
96 var extral map[string]interface{} 97 var extral map[string]interface{}