You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
538 B
28 lines
538 B
<?php
|
|
|
|
namespace app\admin\model;
|
|
|
|
use app\common\model\WxappCategory as WxappCategoryModel;
|
|
|
|
/**
|
|
* 微信小程序分类页模板
|
|
* Class WxappCategory
|
|
* @package app\store\model
|
|
*/
|
|
class WxappCategory extends WxappCategoryModel
|
|
{
|
|
/**
|
|
* 新增分类页模板
|
|
* @param $wxapp_id
|
|
* @return false|int
|
|
*/
|
|
public function insertDefault($wxapp_id)
|
|
{
|
|
return $this->save([
|
|
'wxapp_id' => $wxapp_id,
|
|
'category_style' => '11',
|
|
'share_title' => '',
|
|
]);
|
|
}
|
|
|
|
}
|