feat: 公共表更名 common/member 前缀 + 插件命令自动加载 + 版本 1.1.1
- 18 张公共表更名(addon/attachment/configure/links/spider_log/spider_stat/sms/notice/ad/task/prop/medal/help/card -> common_*,member_wallets->member_wallet,score_rule/score_log -> member_*,addon_config->common_addonconf),模型全部对齐新表名,Db 直引用清零 - Attachment 模型补 表名绑定,修复富文本上传查 wxapp_attachment 1146 隐患 - install.sql + 迁移 SQL:backend_admin/backend_role delete_at 默认 0,修复软删除(NULL != 0)误过滤导致后台菜单为空 - AppService::boot() 支持插件 info.php 声明 commands 自动注册插件命令(psr-4 自动加载,坏类名自动跳过) - 各插件(haonav/mqttbroker/wxchat/articles/blog/forum 等)字段与配置同步调整 - 框架版本 1.1.0 -> 1.1.1
This commit is contained in:
@@ -6,7 +6,7 @@ return [
|
||||
'intro' => '应用服务中心(插件商店 + 主框架在线升级)服务端:插件市场列表 / 下载 / 授权校验 / 开发者提交与审核,以及主框架核心包版本发布与升级。部署在「中心站」,客户端通过 config ywxapp.api_url 连接。',
|
||||
'author' => 'YwxApp',
|
||||
'website' => 'https://www.ywxapp.cn',
|
||||
'version' => '1.0.20',
|
||||
'version' => '1.0.21',
|
||||
'state' => 1,
|
||||
'license' => false,
|
||||
'events' => [
|
||||
|
||||
@@ -1,40 +1,42 @@
|
||||
{
|
||||
"top_title": "应用中心",
|
||||
"superior": "service_center",
|
||||
"backend": [
|
||||
{
|
||||
"name": "appmall",
|
||||
"title": "应用市场",
|
||||
"type": 1,
|
||||
"icon": "fa fa-shopping-cart",
|
||||
"centerOnly": true,
|
||||
"sublist": [
|
||||
"child": [
|
||||
{
|
||||
"name": "addonreview",
|
||||
"title": "插件审核",
|
||||
"type": 2,
|
||||
"route": "/appmall/backend/addonreview/index"
|
||||
},
|
||||
{
|
||||
"name": "developer",
|
||||
"title": "开发者管理",
|
||||
"type": 2,
|
||||
"route": "/appmall/backend/developer/index"
|
||||
},
|
||||
{
|
||||
"name": "revenuelist",
|
||||
"title": "收益账本",
|
||||
"type": 2,
|
||||
"route": "/appmall/backend/revenue/index"
|
||||
},
|
||||
{
|
||||
"name": "withdrawallist",
|
||||
"title": "提现管理",
|
||||
"type": 2,
|
||||
"route": "/appmall/backend/revenue/withdrawals"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fa fa-cloud-download",
|
||||
"centerOnly": true,
|
||||
"name": "frameworklist",
|
||||
"title": "框架管理",
|
||||
"type": 2,
|
||||
"route": "/appmall/backend/framework/index"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -38,7 +38,7 @@ class AddonLicense extends BaseModel
|
||||
*/
|
||||
public function addon()
|
||||
{
|
||||
return $this->belongsTo(\ywxapp\model\AddonModel::class, 'aid', 'id');
|
||||
return $this->belongsTo(\ywxapp\model\CommonAddon::class, 'aid', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user