首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

基于微擎用法心得

在查询sql语句是加上tablenme

$sql = "SELECT*FROM".tablename

安装微擎

第一步在首页下载we7

第二部打开浏览器访问localhost/install.php

第三部登入安装

设置数据库在data中的config.php

显示模板 include $this->template();

http://we7.cc/web/index.php/?=platform&a=menu&

路由/web/source/platform/menu.ctrl.php

http://we7.cc/app/index/=me&a=home&

路由app/source/mc/home.ctrl.php

http://we7.cc/web/index.php?c=site&do=themeset&m=we7_demo

路由/addons/we_7demo/site.php中的dowenthemeset()方法

htt://we7.cc/app/index.php?i=1&c=entry&do=list&m=we7_dome

路由/addons/we7_demo/site.php 文件中的doMobileList()

load->func(string $string) 加载系统公共函数framework/functio/*.func.php

publi function doMobileindex1(){

$global $_W,$_GPC;

//addons/we7_demo/template/mobile/index1.html

include $this->template('index')

load 加载器

$setting = $_W['setting'];

//将渲染web/themes/default/test/appcs.html文件

template('test/appcs');

微信网支付

1:后台设置支付url:

2:商户平台设置回调地址

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20190131A0IMFB00?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券