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
4663f6b6
Commit
4663f6b6
authored
Nov 15, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
share
parent
b830fbf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
ShareService.php
application/models/Business/User/ShareService.php
+8
-6
No files found.
application/models/Business/User/ShareService.php
View file @
4663f6b6
...
...
@@ -85,11 +85,13 @@ class ShareServiceModel extends \Business\AbstractModel
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
return
$url
;
}
else
{
return
PathConst
::
wxDefaultPath
;
return
$this
->
getQrUrl
(
$data
[
'id'
]);
//return PathConst::wxDefaultPath;
}
}
else
{
return
$this
->
getQrUrl
(
$data
[
'id'
]);
//不是微信分享就是普通下载的二维码图片
return
PathConst
::
downLoadQrcode
;
//
return PathConst::downLoadQrcode;
}
}
if
(
$data
[
'type'
]
==
\Our\ApiConst
::
shareGoods
){
...
...
@@ -105,13 +107,13 @@ class ShareServiceModel extends \Business\AbstractModel
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
return
$url
;
}
else
{
return
$this
->
getQrUrl
(
$data
[
'id'
]);
//
return PathConst::wxDefaultPath;
//
return $this->getQrUrl($data['id']);
return
PathConst
::
wxDefaultPath
;
}
}
else
{
//不是微信分享就是普通下载的二维码图片
return
$this
->
getQrUrl
(
$data
[
'id'
]);
//
return PathConst::downLoadQrcode;
//
return $this->getQrUrl($data['id']);
return
PathConst
::
downLoadQrcode
;
}
}
if
(
$data
[
'type'
]
==
\Our\ApiConst
::
sharePlat
){
...
...
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