会员刷新

This commit is contained in:
苏尹岚
2020-09-18 15:16:30 +08:00
parent 7c082d1b67
commit 5f01bc43ae
3 changed files with 12 additions and 1 deletions

View File

@@ -278,7 +278,7 @@ func GetUserMember(db *DaoDB, userID, vendorOrderID string, memberType, isPay in
sql += " AND member_type = ?"
sqlParams = append(sqlParams, memberType)
}
if isPay != 0 {
if isPay != -1 {
sql += " AND is_pay = ?"
sqlParams = append(sqlParams, isPay)
}