update
This commit is contained in:
@ -43,6 +43,7 @@ class WebsiteController extends AbstractController
|
||||
$model->app_extra = $this->request->post('app_extra');
|
||||
$model->app_template = $this->request->post('template');
|
||||
$model->app_extra_tag = $this->request->post('app_extra_tag');
|
||||
$model->app_baidu_zhanzhang = $this->request->post('app_baidu_zhanzhang');
|
||||
$model->save();
|
||||
|
||||
return $this->response->json([]);
|
||||
@ -112,6 +113,7 @@ class WebsiteController extends AbstractController
|
||||
$query->app_extra = $this->request->post('app_extra');
|
||||
$query->app_template = $this->request->post('template');
|
||||
$query->app_extra_tag = $this->request->post('app_extra_tag');
|
||||
$query->app_baidu_zhanzhang = $this->request->post('app_baidu_zhanzhang');
|
||||
|
||||
$query->save();
|
||||
|
||||
|
@ -26,6 +26,7 @@ namespace App\Model;
|
||||
* @property string $app_telephone
|
||||
* @property string $app_download_url
|
||||
* @property string $app_extra_tag
|
||||
* @property string $app_baidu_zhanzhang
|
||||
*/
|
||||
class AppWebsiteConfig extends Model
|
||||
{
|
||||
|
Reference in New Issue
Block a user