This commit is contained in:
songliang 2023-06-21 20:31:43 +08:00
parent 3a44c85983
commit d74f4d5736

View File

@ -823,6 +823,8 @@ class ShopController extends BaseAuthedController
$row = mt\ShopGoods::get($id);
$goods_id = $row['goods_id'];
$desired_token_type = $row['token_type'];
$check_token_type = splitStr1($desired_token_type);
$token_pos = array_search($token_type, $check_token_type, true);
@ -965,7 +967,7 @@ class ShopController extends BaseAuthedController
Transaction::BUY_GOODS_ACTION_TYPE,
$price,
$item_id,
$item_count,
$item_count
);
BcOrder::upsert( $response['trans_id'], array(
@ -1080,6 +1082,11 @@ class ShopController extends BaseAuthedController
);
}
private function buyGoodsFree() {
}
private function decDailySelectionItem($idx, $grid, $count)
{
$self = myself();