Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
278d49bf
Commit
278d49bf
authored
Jan 13, 2020
by
王洁
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-membercard-oem' into ft-bonus
parents
8e3da5bc
54041ad3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
UPGRADE_2.x.md
+3
-0
src/MemberCard/Lib/MemberCardInterface.php
+9
-0
src/Notice/Extensions/Notice/MpSender.php
+1
-1
No files found.
UPGRADE_2.x.md
View file @
278d49bf
# 2.0.46
-
修复发通知bug
# 2.0.44
-
VIP保赚服务上线
...
...
src/MemberCard/Lib/MemberCardInterface.php
View file @
278d49bf
...
...
@@ -30,6 +30,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetBonusConvertMoney(int $storeId,int $userId,int $bonusToUse)
* @method ResultInterface deferVerifyBonusConvertMoney(int $storeId,int $userId,int $bonusToUse,int $price)
* @method ResultInterface deferGetUserBonus(int $storeId,int $userId)
* @method ResultInterface deferAddOemCardPics(int $oemId)
*/
/**
* The interface of demo service
...
...
@@ -179,4 +180,12 @@ interface MemberCardInterface
*/
public
function
getUserBonus
(
int
$storeId
,
int
$userId
);
/**
* 添加oem微信卡券相关图片素材(copy oem=0的,每增加一个oem调用一次)
*
* @param integer $oemId
* @return bool or Exception
*/
public
function
addOemCardPics
(
int
$oemId
);
}
src/Notice/Extensions/Notice/MpSender.php
View file @
278d49bf
...
...
@@ -45,7 +45,7 @@ class MpSender implements SenderInterface
];
//小程序跳转(优先)
if
(
isset
(
$this
->
miniprogram
[
'page'
]))
{
$this
->
data
[
$this
->
sendType
][
'pagepath'
]
=
WxMiniNotice
::
generatePage
(
$this
->
data
[
$this
->
sendType
][
'
miniprogram'
][
'
pagepath'
]
=
WxMiniNotice
::
generatePage
(
$this
->
miniprogram
[
'page'
],
$this
->
miniprogram
[
'param'
]
);
...
...
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