Commit 24af70e5 authored by 章建武's avatar 章建武

dep

parent d1834c23
...@@ -66,17 +66,15 @@ class IndexController extends Controller ...@@ -66,17 +66,15 @@ class IndexController extends Controller
$this->assign($argu); $this->assign($argu);
$num = $_SESSION['num'] += 1; $num = $_SESSION['num'] += 1;
$link = C('DOMAIN').STATIC_COMEON_ASSETS.'/images/zhutu.jpg';
//主图
$pic_url = $link;
$link_user_pic = C('DOMAIN').STATIC_COMEON_ASSETS.'/images/zhutu.jpg';
//主图
$pic_url = $link_user_pic;
//二维码 //二维码
$qr_code = 'http://mallapp.guoguodz.com/test_h5/appwww/Assets/Admin/images/qr_code.png'; $qr_code = 'http://mallapp.guoguodz.com/test_h5/appwww/Assets/Admin/images/qr_code.png';
// $qr_code = 'http://www.test_h5.net/Assets/Admin/images/qr_code.png';
//用户头像 //用户头像
$user_pic = $_SESSION["headimgurl"]; $user_pic = $_SESSION["headimgurl"];
// $user_pic ='https://wx.qlogo.cn/mmopen/vi_32/ibkgI6UoU3u5Wl8ibzzTzVHEuwuqUpzicQhJDsB1gh9VrZLriaHzaickPjFXibaPvDpn8HsEndfHNqoJ9uXRgyKF16bw/132';
$im = imagecreatefromjpeg($pic_url); $im = imagecreatefromjpeg($pic_url);
$oldW = imagesx($im); $oldW = imagesx($im);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment