Ver código fonte

admin update

haru haru 3 anos atrás
pai
commit
8471157ae4

+ 1 - 3
admin/control/provider.php

@@ -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('操作完成');
     }
 

+ 2 - 2
admin/templates/default/merchant.ctl.php

@@ -223,8 +223,8 @@
                 <tr class="noborder">
                     <td colspan="2" class="required"><label class="validation">充值时间和次数设置:</label>
                         <div style="margin-left:149px;">
-                            <label style="display: inline-block;">白天秒数</label>
-                            <label style="display: inline-block; margin: 0 145px 0 148px;">夜晚秒数</label>
+                            <label style="display: inline-block;">白天秒数(07-23)</label>
+                            <label style="display: inline-block; margin: 0 125px 0 85px;">夜晚秒数(23-07)</label>
                             <label style="display: inline-block;">重试次数</label>
                         </div>
                     </td>