微擎 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>应用名称]]>name>
      <identifie>应用标识]]>identifie>
      <version>应用版本]]>version>
      <type>services]]>type>
      <ability>应用简述]]>ability>
      <description>应用描述]]>description>
      <author>应用作者]]>author>
      <url>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="fans" state="" direct="false" />
         <entry title="管理员管理" do="admin" state="" direct="false" />
      menu>
   bindings>
   <permissions>
   permissions>
   <install>
CREATE TABLE IF NOT EXISTS `ims_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>
DROP TABLE IF EXISTS `ims_admin`;
]]>uninstall>
   <upgrade>upgrade>
manifest>


参考文档
 

你可能感兴趣的:(微擎 manifest.xml)