Commit 301f8365 by xmy

Merge branch 'ft-vip-oem-cmq' into test

parents 54398ea3 3a107fed
# 2.0.56
- oem vip 套餐
# 2.0.55
- 修复根据卖家id读取配置的错误
# 2.0.54
- 验证码改成腾讯云短信
# 2.0.53 # 2.0.53
- 增加接口:getByOemIdAndMobile - 增加接口:getByOemIdAndMobile
......
...@@ -84,7 +84,7 @@ class CfgCenter ...@@ -84,7 +84,7 @@ class CfgCenter
public static function getBySellerId($keyName, int $sellerId) public static function getBySellerId($keyName, int $sellerId)
{ {
$dbConn = self::dbConnect('seller'); $dbConn = self::dbConnect('seller');
$result = $dbConn->get("seller", ['oemId'], ['sellerId' => $sellerId]); $result = $dbConn->get("seller", ['oemId'], ['id' => $sellerId]);
return self::_get($keyName, (int)$result['oemId']); return self::_get($keyName, (int)$result['oemId']);
} }
......
<?php
namespace Hdll\Services\Vip\Enum;
class VipCmqEnum
{
const TOPIC = "oem";
const BUY_OEM_VIP = "buyOemVip";
const ADD_VIP_NUM = "addVipNum";
}
\ No newline at end of file
...@@ -30,4 +30,5 @@ class VipEnum ...@@ -30,4 +30,5 @@ class VipEnum
const IS_DISTRIBUTION_ON = 1;//开启分销 const IS_DISTRIBUTION_ON = 1;//开启分销
const IS_DISTRIBUTION_OFF = 0;//关闭分销 const IS_DISTRIBUTION_OFF = 0;//关闭分销
} }
\ No newline at end of file
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