Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7d89ebb0
authored
Nov 22, 2019
by
allen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
地址并未查找到
parent
8a093855
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
app/Model/OrderModel.php
app/Model/OrderModel.php
View file @
7d89ebb0
...
...
@@ -425,6 +425,11 @@ class OrderModel extends Model
$city
=
array
(
'天津'
,
'北京'
,
'上海'
,
'重庆'
);
//地址并未查找到
if
(
empty
(
$result
[
0
][
'region_name'
])){
return
''
;
}
//如果名字是这几个 就是直辖市
if
(
in_array
(
$result
[
0
][
'region_name'
],
$city
)
&&
$result
[
0
][
'region_type'
]
!=
2
){
return
''
;
...
...
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