Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
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
chenchuanwen
my-yaf-project
Commits
4a794a57
Commit
4a794a57
authored
Nov 24, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
share
parent
e073bc64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Index.php
application/controllers/Index.php
+0
-1
saleShare.phtml
application/views/index/saleShare.phtml
+1
-1
No files found.
application/controllers/Index.php
View file @
4a794a57
...
...
@@ -49,7 +49,6 @@ class IndexController extends \Our\Controller_Abstract {
$this
->
_view
->
display
(
'index/goods.phtml'
);
}
if
(
$paramsStr
[
'type'
]
==
\Our\ApiConst
::
shareSaler
){
echo
json_encode
(
$paramsStr
);
exit
;
$this
->
_view
->
display
(
'index/saleShare.phtml'
);
}
exit
;
...
...
application/views/index/saleShare.phtml
View file @
4a794a57
...
...
@@ -49,7 +49,7 @@
<script
type=
"text/javascript"
>
var
pageObj
=
{
type
:
"
<?php
echo
$params
[
'shareType'
];
?>
"
,
//1或2是小程序码,其它是二维码
id
:
"
<?php
echo
$params
[
'id'
];
?>
"
,
//1是小程序码,2是二维码,
id
:
2
,
//1是小程序码,2是二维码,
headerBg
:
"
<?php
echo
$params
[
'imgUrl'
];
?>
"
,
url
:
"
<?php
echo
$params
[
'qrCode'
];
?>
"
,
qrImg
:
"
<?php
echo
$params
[
'qrCode'
];
?>
"
,
...
...
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