Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
test_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
章建武
test_h5
Commits
24af70e5
Commit
24af70e5
authored
Dec 26, 2019
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
d1834c23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
IndexController.class.php
Application/Frontend/Controller/IndexController.class.php
+3
-5
No files found.
Application/Frontend/Controller/IndexController.class.php
View file @
24af70e5
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment