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
cc5ff20a
Commit
cc5ff20a
authored
Mar 05, 2019
by
jianglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步服务星数据
parent
f2ae1588
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
Customer.php
src/shop/Customer.php
+24
-5
No files found.
src/shop/Customer.php
View file @
cc5ff20a
...
@@ -15,9 +15,28 @@ use internalApi\base\Client;
...
@@ -15,9 +15,28 @@ use internalApi\base\Client;
class
Customer
extends
Client
class
Customer
extends
Client
{
{
public
static
function
updateSync
(
$uid
,
$data
){
/**
return
self
::
call
(
'customer.updateSync'
,
compact
(
'uid'
,
'data'
));
* 同步用户中心数据
* @param int $uid 用户中心uid
}
* @param array $data 用户数据
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
updateSync
(
$uid
,
$data
)
{
return
self
::
call
(
'customer.updateSync'
,
compact
(
'uid'
,
'data'
));
}
/**
* 同步服务星数据
* @param int $uid 服务星用户uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
syncServiceStar
(
$uid
)
{
return
self
::
call
(
'customer.syncServiceStar'
,
compact
(
'uid'
));
}
}
}
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