|
@@ -124,8 +124,8 @@ class refill_companyControl extends SystemControl
|
|
|
$cid = Model('')->table('merchant')->where(['co_id' => $co_id])->field('mchid')->select();
|
|
|
$cid = array_column($cid, 'mchid');
|
|
|
}elseif ($company_info['co_type'] == 'provider') {
|
|
|
- $cid = Model('')->table('refill_provider')->where(['co_id' => $co_id])->field('provider_id')->select();
|
|
|
- $cid = array_column($cid, 'provider_id');
|
|
|
+ $cid = Model('')->table('refill_provider')->where(['co_id' => $co_id])->field('store_id')->select();
|
|
|
+ $cid = array_column($cid, 'store_id');
|
|
|
}
|
|
|
Tpl::output('cid', implode(',', $cid));
|
|
|
Tpl::output('company_info', $company_info);
|