小程序接口添加好物直降配置
This commit is contained in:
parent
f1e156b5af
commit
b1dea3ef22
@ -50,6 +50,10 @@ class GroupBuyLogic extends Logic
|
||||
if (!empty($data)) {
|
||||
$result = $data->toArray();
|
||||
foreach ($result as &$v) {
|
||||
if ($v['name'] == 'end_time') {
|
||||
$v['value'] = strtotime($v['value']);
|
||||
}
|
||||
|
||||
if ($v['name'] == 'service') {
|
||||
$v['value'] = explode(',', $v['value']);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user