Commit 278d49bf by 王洁

Merge branch 'ft-membercard-oem' into ft-bonus

parents 8e3da5bc 54041ad3
# 2.0.46
- 修复发通知bug
# 2.0.44
- VIP保赚服务上线
......
......@@ -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);
}
......@@ -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']
);
......
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