Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
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
78d8a66d
authored
Apr 11, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
161beb51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
app/Model/Server/ServerFoostoneModel.php
public/pc/js/controller/ForgetPassword.js
resources/views/pc/GoodsList.blade.php
app/Model/Server/ServerFoostoneModel.php
View file @
78d8a66d
...
@@ -58,7 +58,7 @@ class ServerFoostoneModel
...
@@ -58,7 +58,7 @@ class ServerFoostoneModel
}
}
//模糊搜索品牌
//模糊搜索品牌
public
function
getBrand
(
$keyword
,
$limit
=
100
,
$type
=
1
){
public
function
getBrand
(
$keyword
,
$limit
=
100
,
$type
=
1
){
$data
[
'key
_
word'
]
=
$keyword
;
$data
[
'keyword'
]
=
$keyword
;
$data
[
'limit'
]
=
$limit
;
$data
[
'limit'
]
=
$limit
;
$s
=
$this
->
push
(
'/third/api/query/brand/list'
,
$data
,
$type
);
$s
=
$this
->
push
(
'/third/api/query/brand/list'
,
$data
,
$type
);
echo
\GuzzleHttp\json_encode
(
$s
[
'data'
],
JSON_UNESCAPED_UNICODE
);
echo
\GuzzleHttp\json_encode
(
$s
[
'data'
],
JSON_UNESCAPED_UNICODE
);
...
...
public/pc/js/controller/ForgetPassword.js
View file @
78d8a66d
...
@@ -31,6 +31,10 @@ var yunxin_forget_mobile;
...
@@ -31,6 +31,10 @@ var yunxin_forget_mobile;
$
(
".error"
).
show
().
text
(
'请填写验证码'
);
$
(
".error"
).
show
().
text
(
'请填写验证码'
);
return
false
;
return
false
;
}
}
if
(
!
(
/^1
[
3|4|5|8
][
0-9
]\d{4,8}
$/
.
test
(
opt
.
getMobile
()))){
$
(
".error"
).
show
().
text
(
"不是完整的11位手机号或者正确的手机号前七位"
);
return
false
;
}
}
}
$
(
".error"
).
hide
().
text
(
''
);
$
(
".error"
).
hide
().
text
(
''
);
...
...
resources/views/pc/GoodsList.blade.php
View file @
78d8a66d
<div
class=
"lx-content-r fr"
>
<div
class=
"lx-content-r fr"
>
<div
class=
"tit-bar"
>
<div
class=
"tit-bar"
>
<a
href=
""
>
订单
管理
</a>
<a
href=
""
>
商品
管理
</a>
<span>
>
</span>
<span>
>
</span>
<a
class=
"text"
href=
""
>
{{ $title }}
</a>
<a
class=
"text"
href=
""
>
{{ $title }}
</a>
</div>
</div>
...
...
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