作者 yangfu

分红详情修改

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