...
This commit is contained in:
parent
3a44c85983
commit
d74f4d5736
@ -823,6 +823,8 @@ class ShopController extends BaseAuthedController
|
|||||||
|
|
||||||
$row = mt\ShopGoods::get($id);
|
$row = mt\ShopGoods::get($id);
|
||||||
|
|
||||||
|
$goods_id = $row['goods_id'];
|
||||||
|
|
||||||
$desired_token_type = $row['token_type'];
|
$desired_token_type = $row['token_type'];
|
||||||
$check_token_type = splitStr1($desired_token_type);
|
$check_token_type = splitStr1($desired_token_type);
|
||||||
$token_pos = array_search($token_type, $check_token_type, true);
|
$token_pos = array_search($token_type, $check_token_type, true);
|
||||||
@ -965,7 +967,7 @@ class ShopController extends BaseAuthedController
|
|||||||
Transaction::BUY_GOODS_ACTION_TYPE,
|
Transaction::BUY_GOODS_ACTION_TYPE,
|
||||||
$price,
|
$price,
|
||||||
$item_id,
|
$item_id,
|
||||||
$item_count,
|
$item_count
|
||||||
);
|
);
|
||||||
|
|
||||||
BcOrder::upsert( $response['trans_id'], array(
|
BcOrder::upsert( $response['trans_id'], array(
|
||||||
@ -1080,6 +1082,11 @@ class ShopController extends BaseAuthedController
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private function buyGoodsFree() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private function decDailySelectionItem($idx, $grid, $count)
|
private function decDailySelectionItem($idx, $grid, $count)
|
||||||
{
|
{
|
||||||
$self = myself();
|
$self = myself();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user