作者 王智

修改

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