作者 王智

修改

... ... @@ -123,7 +123,7 @@ class Index extends Api
'address_con' => $params['address_con'],
'mobile' => $params['mobile'],
'hours' => $params['hours'],
'Battery' => htmlspecialchars_decode($params['Battery']),])->value('id');
'Battery' => htmlspecialchars_decode($params['Battery'])])->value('id');
$this->NameCarQrCode('storID' . $StorID, $params['url'] . '?stor_id=' . $StorID);
Db::name('stor')->where('user_id', $UserId)->where('id', $StorID)->update(['stor_image' => '/images/storID' . $StorID . '.png']);
} else {
... ...