Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
3e574cc0
Commit
3e574cc0
authored
Dec 10, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master
parent
368b211b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Shopkeeper.php
application/modules/Client/controllers/Shopkeeper.php
+3
-0
User.php
application/modules/Client/controllers/User.php
+3
-2
No files found.
application/modules/Client/controllers/Shopkeeper.php
View file @
3e574cc0
...
@@ -156,6 +156,9 @@ class ShopkeeperController extends \Our\Controller_AbstractClient {
...
@@ -156,6 +156,9 @@ class ShopkeeperController extends \Our\Controller_AbstractClient {
public
function
getDeliveriersAction
(){
public
function
getDeliveriersAction
(){
$result
=
$this
->
shopkeeperService
->
getDiliveryManByStoreId
(
$this
->
memberId
);
$result
=
$this
->
shopkeeperService
->
getDiliveryManByStoreId
(
$this
->
memberId
);
if
(
$result
!==
false
){
if
(
$result
!==
false
){
if
(
!
$result
){
$result
=
[];
}
$this
->
success
(
$result
,
\Our\DescribeConst
::
successMessage
,
\Our\DescribeConst
::
successMessage
);
$this
->
success
(
$result
,
\Our\DescribeConst
::
successMessage
,
\Our\DescribeConst
::
successMessage
);
}
}
ErrorModel
::
throwException
(
CodeConfigModel
::
commonError
);
ErrorModel
::
throwException
(
CodeConfigModel
::
commonError
);
...
...
application/modules/Client/controllers/User.php
View file @
3e574cc0
...
@@ -47,8 +47,9 @@ class UserController extends \Our\Controller_AbstractIndex {
...
@@ -47,8 +47,9 @@ class UserController extends \Our\Controller_AbstractIndex {
}
else
{
}
else
{
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
errorUsernameOrPassword
);
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
errorUsernameOrPassword
);
}
}
if
(
$this
->
memberService
->
checkUserNamePassWord
(
$mobile
,
$password
)){
$member
=
$this
->
memberService
->
getOneByMobileAndPassword
(
$mobile
,
$password
);
$member
=
$this
->
memberService
->
getOneByMobileAndPassword
(
$mobile
,
$password
);
if
(
$this
->
memberService
->
checkUserNamePassWord
(
$member
[
'member_mobile'
],
$password
)){
//$member= $this->memberService->getOneByMobileAndPassword($mobile,$password);
// //第二步保存扫码会员信息
// //第二步保存扫码会员信息
// $result = $this->memberService->saveStoreMembers($member['member_id']);
// $result = $this->memberService->saveStoreMembers($member['member_id']);
// if(!$result){
// if(!$result){
...
...
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