
微擎
文章平均质量分 51
luogan129
这个作者很懒,什么都没留下…
展开
-
[微擎]多系统共用accesstoken
多系统共用accesstoken当一个公众号或者小程序接入多个系统时,由于微信接口的限制,会导致accesstoken调用次数超出有效范围,故微擎系统提供了下面的接口,供其他系统调用。URL请求方式: GEThttp://域名/api/accesstoken.php?type=TYPE&appid=APPID&secret=SECRET返回正常情况下,会返回下述JS...原创 2019-11-27 16:48:27 · 2530 阅读 · 0 评论 -
微擎开发(自带函数)
//获取用户信息 **mc_oauth_userinfo();** [subscribe] => 1 [openid] => or-CuxAccVMo8uh4I4McwqfNPTcw [nickname] => 小x [sex] =&amp原创 2018-06-14 11:51:55 · 2850 阅读 · 0 评论 -
微擎开发(图片上传和跳转链接)
<div class="form-group"> <label class="col-xs-12 col-sm-3 col-md-2 control-label">图片链接</label> <div class="col-sm-9 col-xs-12"> {php echo tpl_form原创 2018-03-26 15:30:16 · 3616 阅读 · 0 评论 -
微擎manifest.xml
<xm<x>l version="1.0" encoding="utf-8"?><manifest xm<x>lns="http://www.we7.cc" versionCode="0.6"> <application setting="true" cloud_settin原创 2018-03-14 16:19:17 · 666 阅读 · 0 评论 -
微擎开发(module.php)
使用 public function settingsDisplay($settings) { global $_W, $_GPC; if (checksubmit()) { $dat = array('title' => $_GPC['title'], 'info' => $_GPC['info']...原创 2018-03-14 14:25:27 · 2557 阅读 · 0 评论 -
微擎开发(3)
模块功能描述编写功能模块前需要先确定模块的主要功能, 微擎使用 manifest.xml 来描述模块的主要功能和配置参数. 这个xml文件被定义为如下结构<?xml version="1.0" encoding="utf-8"?><manifest xmlns="http://www.we7.cc" versionCode="0.51"><原创 2018-03-06 14:29:17 · 1937 阅读 · 0 评论 -
微擎使用 manifest.xml 来描述模块的主要功能和配置参数
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns="http://www.we7.cc" versionCode="0.6"> <application setting="true"> <name><![CDATA[校内兼职平台]]></name> <identifie><![CDAT原创 2018-03-06 14:11:03 · 1774 阅读 · 0 评论 -
微擎开发(目录)
include MODULE_ROOT . "/config.php";MODULE_ROOT 模块根目录使用加密2.0时定义路径的注意事项使用加密2.0的开发者注意一下下面这个问题:模块内如果定义路径不要根据当前路径(__FILE__)获取,下面用法是不规范的:define('ROOT_PATH', str_replace('site.php', '', str_repla...原创 2018-03-17 15:36:10 · 1964 阅读 · 1 评论 -
微擎(客服消息发送)
更新中。。。https://mp.weixin.qq.com/debug/wxadoc/introduction/custom.html#功能介绍 https://mp.weixin.qq.com/debug/wxadoc/dev/api/custommsg/receive.html?t=20171220 https://mp.weixin.qq.com/debug/wxadoc/dev/...原创 2018-03-07 17:19:25 · 4667 阅读 · 0 评论 -
微擎开发记录(1)
manifest.xml模板消息群发–不限次数 版本号: 1.1.4 <install><![CDATA[inc/heirui/install.php]]></install> <uninstall><![CDATA[inc/heirui/uninstall.php]]></uninstall> <upgrade><![CDATA[inc/heirui/update.php]转载 2017-11-27 15:53:23 · 348 阅读 · 0 评论 -
微擎模块目录结构(addons)
所有开发者模块均置于 addons 目录下转载 2017-11-23 11:29:28 · 9949 阅读 · 0 评论