微擎应用项目总结
表的命名规范 Ims_模块文件名_表名 加入头文件 一般只要不是定制开发的,都要加入下面代码 {template 'common/header'} 内容 {template 'common/footer'} 微擎上传 单图片上传 http://s.we7.cc/index.php?c=wiki&do=view&id=1&list=330 初次 {php ec
表的命名规范 Ims_模块文件名_表名 加入头文件 一般只要不是定制开发的,都要加入下面代码 {template 'common/header'} 内容 {template 'common/footer'} 微擎上传 单图片上传 http://s.we7.cc/index.php?c=wiki&do=view&id=1&list=330 初次 {php ec
参考手册 http://www.php.cn/docker/docker-tutorial.html 容器商场 https://store.docker.com/ 灵雀云 http://www.alauda.cn/
修改镜像并提交 1. 进入镜像 docker run -t -i ansible/centos7-ansible /bin/bash 2. 添加新应用 3. exit 退出 4. 提交 docker commit -m 'add new' -a 'docker container' 7gjjhdf6fcfg newname:v1
include $this->template('index'); 写在前台方法里寻找的目录:/Addons/xxx/template/mobile/index.html 写在后台方法里寻找的目录:/Addons/xxx/template/index.html 变量的赋值 定义: $name="王明昌博客"; 输出变量: {$name} 循环 定义: $ar
开启微擎开发者模式 /data/config.php $config['setting']['development']=1;//1为开启开发者模式 预定义常量 [http://s.we7.cc/index.php?c=wiki&do=view&id=1&list=14]() 全局变量 [http://s.we7.cc/index.php?c=wiki&do
http://wq.90ckm.com/app/index.php?i=2&c=entry&eid=15 i:是公众号的站内id c=entry :应用入口 eid:用户安装后的应用id 数据表: ims_modules 模块表,一个模块应该有一个记录 ims_modules_bindings ,模块后台菜单表记录,一个模块有N多记录(eid=15) im
mac上的安装 [https://www.docker.com/]() 直接在官网上下载/安装/运行即可 #### 查看版本号: docker version 正确的启动结果如下 Client: Version: 18.03.1-ce API version: 1.37 Go version: go1.9.5 Git commit: 9ee9f40 Buil
模块存放位置/addons 1.在线安装 在应用商城中购买,在绑定的微擎程序中安装 2.线下安装 别人开发的 问题: 云端通信/版权保护  解决方案: 修改打开 \framework\model\cloud.mod.php 文件, 有三处需要修改 1、注释掉第23、24、25行代码(位于函数cloud_prepare中) //if(empty(\(_W['
实现方法:
云片官网:https://www.yunpian.com/ 默认是有10条免费短信的 html var sends = { send:function(){ var myreg = /^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(17[0,6,7,8]{1})|(18[0-9]{1}))+\d{8})$/; var n