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