This commit is contained in:
richboo111
2022-08-03 13:52:49 +08:00
parent f03a46a0da
commit c2fe05bd5d

View File

@@ -148,8 +148,8 @@ type MixPayDetail struct {
}
//获取混合支付 余额部分信息
func GetMixPayDetail(orderID string) (mixPayDetail []*MixPayDetail, err error) {
info := make([]*MixPayDetail, len(orderID))
func GetMixPayDetail(orderID string) (info []*MixPayDetail, err error) {
info = make([]*MixPayDetail, len(orderID))
sqlParams := []interface{}{}
if orderID != "" {
sql := "SELECT * FROM mix_pay WHERE order_id = ?"