微擎 manifest.xml
Posted getcharzp
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了微擎 manifest.xml相关的知识,希望对你有一定的参考价值。
微擎 manifest.xml
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns="http://www.we7.cc" versionCode="0.52,0.6,0.7"> <application setting="false"> <name><![CDATA[应用名称]]></name> <identifie><![CDATA[应用标识]]></identifie> <version><![CDATA[应用版本]]></version> <type><![CDATA[services]]></type> <ability><![CDATA[应用简述]]></ability> <description><![CDATA[应用描述]]></description> <author><![CDATA[应用作者]]></author> <url><![CDATA[http://bbs.we7.cc/]]></url> </application> <platform> //订阅的消息类型 <subscribes> <message type="text" /> <message type="image" /> <message type="voice" /> <message type="video" /> <message type="location" /> <message type="link" /> <message type="subscribe" /> <message type="unsubscribe" /> <message type="qr" /> <message type="trace" /> <message type="click" /> <message type="view" /> </subscribes> //直接处理的类型 <handles> <message type="text" /> <message type="image" /> <message type="voice" /> <message type="video" /> <message type="location" /> <message type="link" /> <message type="subscribe" /> <message type="qr" /> <message type="trace" /> <message type="click" /> </handles> //是否要嵌入关键字回复规则 <rule embed="true" /> <card embed="false" /> </platform> <bindings> // 业务菜单管理 <menu> <entry title="粉丝管理" do="yuchan_fans" state="" direct="false" /> <entry title="管理员管理" do="yuchan_admin" state="" direct="false" /> </menu> </bindings> <permissions> </permissions> <install><![CDATA[ CREATE TABLE IF NOT EXISTS `ims_yuchan_admin` ( `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘ID‘, `uid` int(11) NOT NULL COMMENT ‘在公众号中的ID‘, `openid` varchar(50) CHARACTER SET utf8 NOT NULL COMMENT ‘微信 ID‘, `realname` varchar(10) CHARACTER SET utf8 NOT NULL COMMENT ‘真实姓名‘, `nickname` varchar(50) CHARACTER SET utf8 NOT NULL COMMENT ‘昵称‘, `avatar` varchar(200) CHARACTER SET utf8 NOT NULL COMMENT ‘头像‘, `tel` varchar(12) CHARACTER SET utf8 NOT NULL COMMENT ‘电话号码‘, `status` tinyint(2) NOT NULL DEFAULT ‘2‘ COMMENT ‘{2:审核中,1:通过}‘, `create_time` int(11) NOT NULL COMMENT ‘创建时间‘, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT=‘管理员列表‘; ]]></install> <uninstall><![CDATA[ DROP TABLE IF EXISTS `ims_yuchan_admin`; ]]></uninstall> <upgrade><![CDATA[]]></upgrade> </manifest>
参考文档
以上是关于微擎 manifest.xml的主要内容,如果未能解决你的问题,请参考以下文章
微擎数据库恢复 微擎doesn't exist in engine解决