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
91e1e913
Commit
91e1e913
authored
Dec 27, 2018
by
chenchuanwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccw
parent
3382e583
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StoreService.php
application/models/Business/Store/StoreService.php
+2
-2
User.php
application/modules/Client/controllers/User.php
+1
-1
No files found.
application/models/Business/Store/StoreService.php
View file @
91e1e913
...
...
@@ -320,13 +320,13 @@ class StoreServiceModel extends \Business\AbstractModel{
* @return array
* @throws \Our\Exception
*/
public
function
getStoreDetail
(
$param
){
public
function
getStoreDetail
(
$param
,
$flag
=
true
){
$storeId
=
intval
(
$param
[
'storeId'
]);
if
(
!
$storeId
){
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
emptyStoreId
);
}
list
(
$storeInfo
,
$storeLabel
)
=
\DAO\StoreModel
::
getInstance
()
->
get
(
$storeId
);
list
(
$storeInfo
,
$storeLabel
)
=
\DAO\StoreModel
::
getInstance
()
->
get
(
$storeId
,
true
,
$flag
);
//展示图片
// $detailImg = [];
// if($storeInfo['store_detail_image']){
...
...
application/modules/Client/controllers/User.php
View file @
91e1e913
...
...
@@ -43,7 +43,7 @@ class UserController extends \Our\Controller_AbstractIndex {
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
storeIsRefuse
);
}
$storeService
=
\Business\Store\StoreServiceModel
::
getInstance
();
$storeOne
=
$storeService
->
getStoreDetail
(
$seller
);
$storeOne
=
$storeService
->
getStoreDetail
(
$seller
,
false
);
}
else
{
\Error\ErrorModel
::
throwException
(
\Error\CodeConfigModel
::
errorUsernameOrPassword
);
}
...
...
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