游戏礼包修改

master
zhengyongxing 5 years ago
parent c6a49987cd
commit ea4e8bd5d4

@ -31,6 +31,7 @@ class GameGiftPageController extends Controller{
$map['start_time'] = ['lt',time()]; $map['start_time'] = ['lt',time()];
switch ($sdkVersion) { switch ($sdkVersion) {
case 1: case 1:
$map['giftbag_version'] = ['in', [$sdkVersion, 4]];
case 2: case 2:
$map['giftbag_version'] = $sdkVersion; $map['giftbag_version'] = $sdkVersion;
break; break;

Loading…
Cancel
Save