|
@@ -119,11 +119,9 @@ class refill_thirdControl extends SystemControl
|
|
|
{
|
|
|
$system_code = $_GET['system_code'] ?? $_POST['system_code'];
|
|
|
$mod = Model('refill_third');
|
|
|
- $third_product = $mod->findThirdProduct($system_code);
|
|
|
- if(empty($third_product)) {
|
|
|
- showMessage('产品不存在');
|
|
|
+ if(!empty($system_code)) {
|
|
|
+ $condition['system_code'] = $system_code;
|
|
|
}
|
|
|
- $condition['system_code'] = $system_code;
|
|
|
if(!empty($_GET['store_id']))
|
|
|
{
|
|
|
$condition['store_id'] = $_GET['store_id'];
|
|
@@ -134,7 +132,7 @@ class refill_thirdControl extends SystemControl
|
|
|
|
|
|
Tpl::output('providers', $providers);
|
|
|
Tpl::output('product_list', $list);
|
|
|
- Tpl::output('third_product', $third_product);
|
|
|
+ Tpl::output('system_code', $system_code);
|
|
|
Tpl::output('recharge_type_text', ['直充','卡密','直充+卡密']);
|
|
|
Tpl::output('page', $mod->showpage());
|
|
|
Tpl::showpage('third.proprice.list');
|