|
@@ -125,6 +125,9 @@ class OrderOptionController extends AdminBaseController |
|
@@ -125,6 +125,9 @@ class OrderOptionController extends AdminBaseController |
125
|
}
|
125
|
}
|
126
|
$post['values'] = str_replace(',', ',', trim($post['values']));
|
126
|
$post['values'] = str_replace(',', ',', trim($post['values']));
|
127
|
}
|
127
|
}
|
|
|
128
|
+ if(empty($post['icon'])) {
|
|
|
129
|
+ $post['icon'] = 'admin/20181008/e40464f84105b3b27449e70cc1bb68e3.png';
|
|
|
130
|
+ }
|
128
|
if(empty($post['is_show'])) {
|
131
|
if(empty($post['is_show'])) {
|
129
|
$post['is_show'] = 0;
|
132
|
$post['is_show'] = 0;
|
130
|
}
|
133
|
}
|
|
@@ -189,6 +192,9 @@ class OrderOptionController extends AdminBaseController |
|
@@ -189,6 +192,9 @@ class OrderOptionController extends AdminBaseController |
189
|
}
|
192
|
}
|
190
|
$post['values'] = str_replace(',', ',', trim($post['values']));
|
193
|
$post['values'] = str_replace(',', ',', trim($post['values']));
|
191
|
}
|
194
|
}
|
|
|
195
|
+ if(empty($post['icon'])) {
|
|
|
196
|
+ $post['icon'] = 'admin/20181008/e40464f84105b3b27449e70cc1bb68e3.png';
|
|
|
197
|
+ }
|
192
|
if(empty($post['is_show'])) {
|
198
|
if(empty($post['is_show'])) {
|
193
|
$post['is_show'] = 0;
|
199
|
$post['is_show'] = 0;
|
194
|
}
|
200
|
}
|