码迷,mamicode.com
首页 > 其他好文 > 详细

微擎 manifest.xml

时间:2019-10-30 16:39:06      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:targe   target   dmi   微信   null   bbs   iss   signed   utf8mb4   

微擎 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

标签:targe   target   dmi   微信   null   bbs   iss   signed   utf8mb4   

原文地址:https://www.cnblogs.com/GetcharZp/p/11765488.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!