|
@@ -14,7 +14,6 @@ class providerControl extends SystemControl
|
|
|
public function indexOp()
|
|
|
{
|
|
|
global $config;
|
|
|
- $this->sync_cfgs();
|
|
|
$provider_model = Model('refill_provider');
|
|
|
$condition = [];
|
|
|
if (trim($_GET['name']) != '') {
|
|
@@ -354,8 +353,7 @@ class providerControl extends SystemControl
|
|
|
|
|
|
public function file_syncOp()
|
|
|
{
|
|
|
- $chprice_helper = new refill\chprice_helper();
|
|
|
- $chprice_helper->update_from_file();
|
|
|
+ $this->sync_cfgs();
|
|
|
showMessage('操作完成');
|
|
|
}
|
|
|
|