Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
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
ff1fd3c2
authored
Nov 21, 2022
by
SUDPTDUBLXEROFX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单列表
parent
7af45a57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
.env
app/Providers/ViewServiceProvider.php
config/field.php
resources/views/common/js.blade.php
.env
View file @
ff1fd3c2
...
...
@@ -48,3 +48,5 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
PUBLIC_URL=
#商品服务网址
GOODS_INFO_URL=http://192.168.1.237:60014
#深茂搜索地址
SO_URL = http://so.semour.com
app/Providers/ViewServiceProvider.php
View file @
ff1fd3c2
...
...
@@ -26,6 +26,7 @@ class ViewServiceProvider extends ServiceProvider
public
function
boot
()
{
View
::
share
(
'public'
,
config
(
'field.public_url'
));
View
::
share
(
'so_url'
,
config
(
'field.so_url'
));
View
::
composer
(
[
'common.mallHeaderNav'
],
'App\Http\ViewComposers\ClassificationViewComposer'
...
...
config/field.php
View file @
ff1fd3c2
...
...
@@ -2,6 +2,7 @@
return
[
'public_url'
=>
env
(
'PUBLIC_URL'
),
'so_url'
=>
env
(
'SO_URL'
),
'inquiry_status'
=>
[
-
1
=>
'Closed'
,
...
...
resources/views/common/js.blade.php
View file @
ff1fd3c2
...
...
@@ -3,6 +3,7 @@
<
script
>
const
URL_API
=
"/"
;
//ajax域名
const
PUBLICXK
=
"
{
{$public}
}
"
;
//资源文件文件目录 js公用变量
const
SO_URL
=
"
{
{$so_url}
}
"
;
//资源文件文件目录 js公用变量
</
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/sea.js?v={{time()}
}
"
></
script
>
<
script
src
=
"
{
{$public}}/assets/js/common/jquery-1.8.3.min.js?v={{time()}
}
"
></
script
>
...
...
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