|
@@ -16,6 +16,9 @@ class refill_merchant_channel_cfgControl extends SystemControl
|
|
|
$cache_field = "{$type}-{$quality}";
|
|
|
|
|
|
$merchants = $this->merchants(['merchant_state' => 1], 'merchant_state asc, company_name asc');
|
|
|
+ foreach ($merchants as $key => $merchant) {
|
|
|
+ $merchants[$key]['time_out_text'] = $this->elapse_time($merchant['time_out']);
|
|
|
+ }
|
|
|
$cond = ['type' => $type, 'qualitys' => ['like', '%' . $quality . '%'], 'opened' => 1];
|
|
|
$open_providers = $this->providers($cond);
|
|
|
|
|
@@ -85,4 +88,4 @@ class refill_merchant_channel_cfgControl extends SystemControl
|
|
|
wcache('merchant_channel-cfg', [$cache_field => $val], 'refill-');
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|