This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/store/model/WxappNavbar.php

27 lines
460 B
PHP
Raw Normal View History

2020-04-25 22:20:29 +08:00
<?php
namespace app\store\model;
use app\common\model\WxappNavbar as WxappNavbarModel;
/**
* 微信小程序导航栏模型
* Class WxappNavbar
* @package app\common\model
*/
class WxappNavbar extends WxappNavbarModel
{
/**
* 更新页面数据
* @param $data
* @return bool
*/
public function edit($data)
{
// 删除wxapp缓存
Wxapp::deleteCache();
return $this->save($data) !== false;
}
}