|
@@ -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('参数错误');
|
|
|
}
|
|
}
|