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
301f8365
Commit
301f8365
authored
Mar 18, 2020
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-vip-oem-cmq' into test
parents
54398ea3
3a107fed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
1 deletions
+26
-1
UPGRADE_2.x.md
+9
-0
src/Common/Config/CfgCenter.php
+1
-1
src/Vip/Enum/VipCmqEnum.php
+14
-0
src/Vip/Enum/VipEnum.php
+2
-0
No files found.
UPGRADE_2.x.md
View file @
301f8365
# 2.0.56
-
oem vip 套餐
# 2.0.55
-
修复根据卖家id读取配置的错误
# 2.0.54
-
验证码改成腾讯云短信
# 2.0.53
# 2.0.53
-
增加接口:getByOemIdAndMobile
-
增加接口:getByOemIdAndMobile
...
...
src/Common/Config/CfgCenter.php
View file @
301f8365
...
@@ -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'
],
[
'
sellerI
d'
=>
$sellerId
]);
$result
=
$dbConn
->
get
(
"seller"
,
[
'oemId'
],
[
'
i
d'
=>
$sellerId
]);
return
self
::
_get
(
$keyName
,
(
int
)
$result
[
'oemId'
]);
return
self
::
_get
(
$keyName
,
(
int
)
$result
[
'oemId'
]);
}
}
...
...
src/Vip/Enum/VipCmqEnum.php
0 → 100644
View file @
301f8365
<?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
src/Vip/Enum/VipEnum.php
View file @
301f8365
...
@@ -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
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