|
@@ -71,7 +71,7 @@ class provider_groupControl extends SystemControl
|
|
|
Tpl::showpage('provider.group.edit');
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public function DelGroupsOp()
|
|
|
{
|
|
|
$group_ids = $_GET['group_ids'];
|
|
@@ -201,14 +201,17 @@ class provider_groupControl extends SystemControl
|
|
|
}
|
|
|
}else{
|
|
|
global $config;
|
|
|
+ $quality = $_GET['quality'] ?? 1;
|
|
|
if($type == 1 ) {
|
|
|
$amounts = $config['refill_oil_specs'];
|
|
|
$operator = [mtopcard\PetroChinaCard, mtopcard\SinopecCard];
|
|
|
}else{
|
|
|
$amounts = $config['refill_phone_specs'];
|
|
|
+ if ($quality == refill\Quality::Quick || $quality == refill\Quality::CardKey) {
|
|
|
+ $amounts = array_merge($config['refill_phone_small_specs'], $amounts);
|
|
|
+ }
|
|
|
$operator = [mtopcard\ChinaMobileCard, mtopcard\ChinaUnicomCard, mtopcard\ChinaTelecomCard];
|
|
|
}
|
|
|
- $quality = $_GET['quality'] ?? 1;
|
|
|
|
|
|
$providers = Model('')->table('refill_provider,store')
|
|
|
->field('refill_provider.provider_id,refill_provider.name,store.store_name,opened')
|
|
@@ -298,4 +301,4 @@ class provider_groupControl extends SystemControl
|
|
|
Tpl::showpage('merchant.sel.group');
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|