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
5020fb89
Commit
5020fb89
authored
Nov 01, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
528a07c1
f3356dd4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
src/Common/Lib/Smscode.php
+1
-1
src/CustomerProfiles/Lib/ProfileInterface.php
+3
-2
src/SellerDistribution/Enum/SellerDistributionEnum.php
+2
-1
src/Vip/Enum/VipEnum.php
+6
-2
No files found.
src/Common/Lib/Smscode.php
View file @
5020fb89
...
...
@@ -65,7 +65,7 @@ class Smscode
);
$response
=
$alisms
->
send
(
$mobile
);
if
(
$response
->
Code
==
'OK'
)
{
$vdata
=
sprintf
(
"%d,%d,%d
"
,
$vcode
,
time
(),
$count
);
$vdata
=
sprintf
(
"%d,%d,%d
,%d,%d"
,
$vcode
,
time
(),
$count
,
$this
->
number
,
$mobile
);
$result
=
cache
()
->
set
(
$key
,
$vdata
,
300
);
// 验证码有效期5分钟
if
(
!
$result
)
{
return
'验证码存储失败'
;
...
...
src/CustomerProfiles/Lib/ProfileInterface.php
View file @
5020fb89
...
...
@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @method ResultInterface deferAddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId)
* @method ResultInterface deferAddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId
,$activityName
)
*/
interface
ProfileInterface
{
...
...
@@ -31,5 +31,5 @@ interface ProfileInterface
* @return mixed
*/
public
function
AddOrder
(
$storeId
,
$orderId
,
$goodsId
,
$goodsName
,
$orderPrice
,
$orderType
,
$orderTime
,
$consigneeName
,
$consigneePhone
,
$buyerId
);
public
function
AddOrder
(
$storeId
,
$orderId
,
$goodsId
,
$goodsName
,
$orderPrice
,
$orderType
,
$orderTime
,
$consigneeName
,
$consigneePhone
,
$buyerId
,
$activityName
);
}
\ No newline at end of file
src/SellerDistribution/Enum/SellerDistributionEnum.php
View file @
5020fb89
...
...
@@ -11,5 +11,5 @@ namespace Hdll\Services\SellerDistribution\Enum;
class
SellerDistributionEnum
{
const
SETTING
=
[
1
=>
0.
2
,
2
=>
0.1
];
const
SETTING
=
[
1
=>
0.
4
,
2
=>
0.25
];
}
\ No newline at end of file
src/Vip/Enum/VipEnum.php
View file @
5020fb89
...
...
@@ -9,8 +9,12 @@
namespace
Hdll\Services\Vip\Enum
;
class
VipEnum
{
const
VIP_TOTAL_FEE
=
10
;
//价格
const
VIP_TOTAL_FEE
=
69800
;
//价格
const
VIP_SALE_FEE
=
59800
;
//优惠价格
const
VIP_ORIGIN_FEE
=
128800
;
//原价
const
STATUS_UNPAID
=
10
;
//未支付
const
STATUS_PAID
=
20
;
//已支付
...
...
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