Showing
1 changed file
with
1 additions
and
1 deletions
@@ -176,7 +176,7 @@ class CartModel | @@ -176,7 +176,7 @@ class CartModel | ||
176 | // 处理要更改的数据 | 176 | // 处理要更改的数据 |
177 | $swapData = json_encode(array($param)); | 177 | $swapData = json_encode(array($param)); |
178 | 178 | ||
179 | - $modify = CartData::addToFav($uid, $swapData); | 179 | + $modify = CartData::modifyCartProduct($uid, $swapData); |
180 | if ($modify && isset($modify['code'])) { | 180 | if ($modify && isset($modify['code'])) { |
181 | $result['code'] = $modify['code']; | 181 | $result['code'] = $modify['code']; |
182 | $result['message'] = $modify['message']; | 182 | $result['message'] = $modify['message']; |
-
Please register or login to post a comment