Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
12e3737c
Commit
12e3737c
authored
Oct 25, 2019
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券接口
parent
4739e110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Coupon.php
src/shop/Coupon.php
+2
-2
No files found.
src/shop/Coupon.php
View file @
12e3737c
...
@@ -43,9 +43,9 @@ class Coupon extends Client
...
@@ -43,9 +43,9 @@ class Coupon extends Client
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
* @throws \internalApi\base\ClientException
*/
*/
public
static
function
addOneCouponByApi
(
$uid
)
public
static
function
addOneCouponByApi
(
$uid
,
$coupon
,
$from
)
{
{
return
self
::
call
(
'coupon.addOneCouponByApi'
,
compact
(
'uid'
));
return
self
::
call
(
'coupon.addOneCouponByApi'
,
compact
(
'uid'
,
'coupon'
,
'from'
));
}
}
}
}
\ 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