...
This commit is contained in:
parent
801af98c81
commit
c08fefcca4
@ -360,6 +360,10 @@ class ShopController extends BaseAuthedController
|
||||
case "98":
|
||||
$buyStatus = 2;
|
||||
break;
|
||||
default:
|
||||
error_log("buyGoodsDirect--- " . $order_id . " --- " . $status);
|
||||
$this->_rspErr(1, "status error, status: {$status}");
|
||||
break;
|
||||
}
|
||||
|
||||
SqlHelper::update($conn, 't_shop_buy_order', array('idx' => $order_id), array('status' => $buyStatus));
|
||||
@ -656,6 +660,8 @@ class ShopController extends BaseAuthedController
|
||||
break;
|
||||
default:
|
||||
$status = 0;
|
||||
$this->_rspErr(1, "status is not 9 or 96");
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -73,6 +73,7 @@ class ShopBuyGoodsDirect
|
||||
$this->_rspErr(2, "order not found: {$order_id}");
|
||||
return;
|
||||
}
|
||||
|
||||
$id = $order['id'];
|
||||
$goods_num = $order['goods_num'];
|
||||
$o_status = $order['status'];
|
||||
@ -91,6 +92,10 @@ class ShopBuyGoodsDirect
|
||||
case "98":
|
||||
$buyStatus = 2;
|
||||
break;
|
||||
default:
|
||||
error_log("buyGoodsDirect-------" . $order_id . "---" . $status);
|
||||
$this->_rspErr(1, "status error, status: {$status}");
|
||||
return;
|
||||
}
|
||||
|
||||
SqlHelper::update($conn, 't_shop_buy_order', array('idx' => $order_id), array('status' => $buyStatus));
|
||||
|
@ -193,6 +193,8 @@ class ShopInappPurchaseDiamonds
|
||||
break;
|
||||
default:
|
||||
$status = 0;
|
||||
$this->_rspErr(1, "status is not 9 or 96");
|
||||
return;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user