1. `<html version="1.0" encoding="utf-8"?> 此行 version 只能是 "1.0"`
2. `<manifest xmlns="http://www.we7.cc" versionCode="0.6">`
3. `<application setting="true" cloud_setting="true">`
4. `<name><![CDATA[微商城]]></name> 发布过后,应用名称不允许修改`
5. `<identifie><![CDATA[ewei_shopping]]></identifie> 发布过后,应用标识不允许修改`
6. `<version><![CDATA[6.9.9]]></version> 云商城版本比较函数 version_compare($v1, $v2)`
7. `<type><![CDATA[business]]></type> 类型请到云商城设计模块中查阅,错误将无法发布成功`
8. `<ability><![CDATA[微商城]]></ability>`
9. `<description><![CDATA[微商城]]></description>`
10. `<author><![CDATA[WeEngine Team & ewei]]></author>`
11. `<url><![CDATA[url]]></url>`
12. `</application>`
13. `<platform>`
14. `<subscribes>`
15. `<message type="text"></message>`
16. `<message type="image"></message>`
17. `<message type="voice"></message>`
18. `<message type="video"></message>`
19. `<message type="shortvideo"></message>`
20. `<message type="location"></message>`
21. `<message type="link"></message>`
22. `<message type="subscribe"></message>`
23. `<message type="unsubscribe"></message>`
24. `<message type="qr"></message>`
25. `<message type="trace"></message>`
26. `<message type="click"></message>`
27. `<message type="view"></message>`
28. `<message type="merchant_order"></message>`
29. `<message type="user_get_card"></message>`
30. `<message type="user_del_card"></message>`
31. `<message type="user_consume_card"></message>`
32. `</subscribes>`
33. `<handles>`
34. `<message type="text"></message>`
35. `<message type="image"></message>`
36. `<message type="voice"></message>`
37. `<message type="video"></message>`
38. `<message type="shortvideo"></message>`
39. `<message type="location"></message>`
40. `<message type="link"></message>`
41. `<message type="subscribe"></message>`
42. `<message type="qr"></message>`
43. `<message type="trace"></message>`
44. `<message type="click"></message>`
45. `<message type="merchant_order"></message>`
46. `<message type="user_get_card"></message>`
47. `<message type="user_del_card"></message>`
48. `<message type="user_consume_card"></message>`
49. `</handles>`
50. `<supports> (在线安装或更新时会重新计算所有已购买的支持类型)`
51. `<item type="plugin" ></item>`
52. `<item type="app" ></item> (发布公众号必须填写)`
53. `<item type="wxapp" ></item> (发布小程序必须填写)`
54. `<item type="system_welcome" ></item> (发布微擎首页必须填写)`
55. `<item type="webapp" ></item> (发布 PC 版必须填写)`
56. `<item type="android" ></item> (发布 APP[安卓]必须填写)`
57. `<item type="ios" ></item> (发布 APP[苹果]必须填写)`
58. `</supports>`
59. `<plugin-main name="wx_nstore" ></plugin> (在线安装或更新时会重新计算所有已购主应用)`
60. `<plugins> (在线安装或更新时会重新计算所有已购插件)`
61. `<item name="ewei_hotel" ></item>`
62. `<item name="ewei_hotel2" ></item>`
63. `</plugins>`
64. `<rule embed="true" ></rule>`
65. `<card embed="true" ></card>`
66. `<oauth type="userinfo" ></oauth>`
67. `</platform>`
68. `<bindings>`
69. `<cover>`
70. `<entry title="功能封面" do="cover" state="" direct="false"></entry>`
71. `<entry title="功能封面2" do="cover2" state="" direct="false"></entry>`
72. `</cover>`
73. `<rule>`
74. `<entry title="规则" do="rule" state="" direct="false"></entry>`
75. `<entry title="规则2" do="rule2" state="" direct="false"></entry>`
76. `</rule>`
77. `<menu>`
78. `<entry title="管理中心" do="menu" state="" direct="false"></entry>`
79. `<entry title="管理中心2" do="menu2" state="" direct="false"></entry>`
80. `</menu>`
81. `<home>`
82. `<entry title="首页导航" do="home" state="" direct="false"></entry>`
83. `<entry title="首页导航2" do="home2" state="" direct="false"></entry>`
84. `</home>`
85. `<profile>`
86. `<entry title="个人中心导航" do="profile" state="" direct="false"></entry>`
87. `<entry title="个人中心导航2" do="profile2" state="" direct="false"></entry>`
88. `</profile>`
89. `<shortcut>`
90. `<entry title="快捷功能" do="shortcut" state="" direct="false"></entry>`
91. `<entry title="快捷功能2" do="shortcut2" state="" direct="false"></entry>`
92. `</shortcut>`
93. `<function>`
94. `<entry title="独立功能" do="func" state="" direct="false"></entry>`
95. `<entry title="独立功能2" do="func2" state="" direct="false"></entry>`
96. `</function>`
97. `<page> 发布小程序必须有此项设置`
98. `<entry title="首页" do="/we7_gs/pages/index/index" state="" direct=""></entry>`
99. `<entry title="主页" do="/we7_gs/pages/index/main" state="" direct=""></entry>`
100. `</page>`
101. `<system_welcome>`
102. `<entry title="systemwelcome" do="systemwelcome" state="" direct="false"></entry>`
103. `</system_welcome>`
104. `<webapp>`
105. `<entry title="webapp" do="webapp" state="" direct="false"></entry>`
106. `</webapp>`
107. `<phoneapp>`
108. `<entry title="phoneapp" do="phoneapp" state="" direct="false"></entry>`
109. `</phoneapp>`
110. `</bindings>`
111. `<permissions>`
112. `<entry title="title1" do="permission1"></entry>`
113. `<entry title="title2" do="permission2"></entry>`
114. `</permissions>`
115. `<install><![CDATA[install.php]]></install>`
116. `<uninstall><![CDATA[uninstall.php]]></uninstall>`
117. `<upgrade><![CDATA[upgrade.php]]></upgrade>`
118. `</manifest>`
- 微信消息
- 概述
- 响应流程
- 入门指引
- 安装微擎
- 环境安装
- 百度云(微擎镜像)
- 宝塔(Linux)推荐
- 注册云服务
- 代码规范
- php编码规范
- 数据库设计
- 文件目录规范
- JavaScript编辑码规范
- 微擎框架
- 目录结构
- 数据库字典
- 配置选项
- 数据库配置
- 系统COOKIE配置项
- 系统设置
- 上传配置 (已废弃,统一在系统附件设置中更改)
- 预定义常量
- 全局变量
- 全局配置
- 系统配置
- 公众号相关
- Web 端可见
- App 端可见
- 网页授权
- URL 路由
- url
- createMobileUrl
- createWebUrl
- 文件加载器
- func
- class
- model
- web
- app
- library
- object
- singleton
- 缓存机制
- cache_write
- cache_load
- cache_delete
- cache_clean
- cache_system_key
- 数据库
- SQL注入安全
- 连接其它数据库
- 数据库函数列表
- pdo_get
- pdo_getcolumn
- pdo_getall
- pdo_getslice
- pdo_fetch
- pdo_fetchcolumn
- pdo_fetchall
- pdo_insert
- pdo_update
- pdo_delete
- pdo_query
- pdo_run
- pdo_fieldexists
- pdo_indexexists
- pdo_tableexists
- pdo_fieldmatch
- pdo_debug
- 链式查询
- from
- select
- where
- whereor
- having
- groupby
- orderby
- leftjoin
- innerjoin
- on
- limit
- page
- get
- getall
- getcolumn
- count
- exists
- getLastQueryTotal
- getLastQuery
- 错误处理
- 日志记录
- 模板引擎
- 模板标签
- 输出变量
- 判断语句
- 循环语句
- php语句
- 引用模板
- 创建URL
- 转义附件URL
- 输出花括号
- 数据调用
- 调用微站导航
- 调用幻灯片
- 调用文章列表
- 调用文章评论
- 调用分类列表
- 调用快捷菜单
- 常用变量
- 函数列表
- 系统公共函数
- istripslashes
- ihtmlspecialchars
- isetcookie
- token
- random
- checksubmit
- checkcaptcha
- tablename
- array_elements
- range_limit
- ijson_encode
- iserializer
- iunserializer
- is_base64
- is_serialized
- wurl
- murl
- pagination
- tomedia
- referer
- strexists
- cutstr
- istrlen
- emotion
- authcode
- sizecount
- bytecount
- array2xml
- xml2array
- scriptname
- utf8_bytes
- isimplexml_load_string
- aes_decode
- aes_encode
- ihtml_entity_decode
- iarray_change_key_case
- parse_path
- strip_gpc
- to_global_media
- 参数安全函数
- 业务公共函数
- Http请求函数
- ihttp_request
- ihttp_get
- ihttp_post
- ihttp_email
- 文件操作函数
- file_write
- file_read
- file_move
- file_tree
- file_copy
- file_upload
- file_wechat_upload
- file_remote_upload
- file_random_name
- file_delete
- file_remote_delete
- file_image_thumb
- file_image_crop
- file_lists
- file_remote_attach_fetch
- file_is_image
- mkdirs
- rmdirs
- 数据库维护函数
- db_table_schema
- db_table_serialize
- db_table_create_sql
- db_schema_compare
- db_table_fix_sql
- _db_build_index_sql
- _db_build_field_sql
- db_table_schemas
- db_table_insert_sql
- Web端公共函数
- url web
- message
- checklogin
- checkaccount
- template
- App端公共函数
- url app
- checkauth
- message app
- template app
- register_jssdk
- 安全操作函数
- 模板组件列表
- Web端组件
- _tpl_form_field_date
- tpl_form_field_link
- tpl_form_module_link
- tpl_form_field_emoji
- tpl_form_field_color
- tpl_form_field_icon
- tpl_form_field_image
- tpl_form_field_multi_image
- tpl_form_field_audio
- tpl_form_field_multi_audio
- tpl_form_field_video
- tpl_form_field_wechat_image
- tpl_form_field_wechat_multi_image
- tpl_form_field_wechat_voice
- tpl_form_field_wechat_video
- tpl_form_field_location_category
- tpl_ueditor
- tpl_edit_sms
- tpl_coupon_colors
- App端组件
- _tpl_form_field_date app
- tpl_app_fans_form
- tpl_app_form_field_calendar
- tpl_app_form_field_district
- tpl_app_form_field_avatar
- tpl_app_form_field_image
- tpl_app_coupon_item
- 系统公共组件
- tpl_form_field_date
- tpl_form_field_clock
- tpl_form_field_daterange
- tpl_form_field_calendar
- tpl_form_field_district
- tpl_form_field_category_2level
- tpl_form_field_industry
- tpl_form_field_coordinate
- tpl_fans_form
- 支付API
- 发起支付(PHP)
- 发起支付(JS)
- 验证支付
- 退款(微信、支付宝)
- 微信API
- 基础
- 粉丝(公众号)
- fansAll
- fansQueryInfo
- fansBatchQueryInfo
- 粉丝标签(公众号)
- fansTagAdd
- fansTagFetchAll
- fansTagEdit
- fansTagDelete
- fansTagGetUserlist
- fansTagTagging
- fansTagBatchTagging
- fansTagBatchUntagging
- fansTagFetchOwnTags
- 自定义菜单(公众号)
- menuCreate
- menuDelete
- menuCurrentQuery
- menuQuery
- 二维码(公众号)
- barCodeCreateDisposable
- barCodeCreateFixed
- 客服消息(公众号)
- 模板消息(公众号)
- 群发(公众号)
- fansSendAll
- fansSendPreview
- 临时素材(公众号)
- uploadMedia
- downloadMedia
- 永久素材(公众号)
- uploadMediaFixed
- addMatrialNews
- uploadNewsThumb
- uploadVideoFixed
- editMaterialNews
- getMaterial
- getMaterialCount
- delMaterial
- batchGetMaterial
- 短网址(公众号)
- 共享收货地址(公众号)
- JSSDK(公众号)
- 自定义分享(公众号)
- 小程序码
- getCodeLimit
- getCodeUnlimit
- 云服务API
- 本地调试
- 键值对存储
- 查询模块信息
- 查询站点信息
- 发短信
- 常见问题
- 设置开发模式
- 调试sql语句
- 微信图片盗链
- mac系统压缩包无法上传
- reditect_url 参数错误
- GIT发布(上传大文件)
- 共享包
- iframe跨域解决方案
- 更新出错如何恢复
- 小程序开发
- 与微擎通信
- 模块中定义文件
- 接口验签
- PHP接口返回值
- 接口版本
- session机制
- 发起支付
- util.js工具库
- util.url
- util.request
- util.getUserInfo
- util.navigateBack
- util.footer
- util.message
- util.showLoading
- util.showImage
- util.parseContent
- util.date
- isLeapYear
- dateToStr
- dateAdd
- dateDiff
- dateToLong
- longToDate
- isDate
- getMaxDay
- toArray
- datePart
- maxDayOfDate
- util.md5
- util.base64Encode
- util.base64Decode
- app.js
- 获取用户信息
- 应用开发
- 机制说明
- 命名空间
- 定义微擎首页
- 智能应答
- 自定义分享
- 分离代码
- 粉丝信息
- manifest.xml
- install.php和upgrade.php
- 设计应用
- 全局变量1
- MODULE_URL
- MODULE_ROOT
- $_W[current_module]
- 安装、更新与卸载
- 发布应用
- 功能文件
- module.php
- site.php
- wxapp.php
- result
- webapp.php
- mobileapp.php
- hook.php
- receiver.php
- systemwelcome.php
- 支付
- 在php中发起支付
- 在微信浏览器中发起
- 在小程序中发起
- 验证支付结果
- 云商城常见问题
- 发布应用1
- 应用文档结构
- manifest.xml -
- 发布应用错误提示
- git 大文件发布
- 云Api发布
- 对外接口
