lip 1 hora atrás
pai
commit
c32ab672be
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/admin/LhcNumber.php

+ 1 - 1
app/Http/Controllers/admin/LhcNumber.php

@@ -73,7 +73,7 @@ class LhcNumber extends Controller
                 if (!empty($params['gameplay'])) {
                 if (!empty($params['gameplay'])) {
                     $where[] = ['gameplay', $params['gameplay']];
                     $where[] = ['gameplay', $params['gameplay']];
                 }
                 }
-                LhcNumberModel::where($where)->update(['odds' => $params['odds'], 'updated_by' => auth()->id()]);
+                LhcNumberModel::where($where)->update(['odds' => $params['odds'], 'maxinum' => $params['maxinum'], 'mininum' => $params['mininum'], 'updated_by' => auth()->id()]);
             } else {
             } else {
                 throw new Exception('参数错误');
                 throw new Exception('参数错误');
             }
             }