Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
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
b0376f77
authored
May 28, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加来源
parent
bd1ca49f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
app/Http/Services/CrmService.php
app/Http/routes.php
storage/framework/views/587faa134dc1f8953abf61cb2995b8264ba36a12.php
app/Http/Services/CrmService.php
View file @
b0376f77
...
...
@@ -17,7 +17,7 @@ class CrmService
return
json_decode
(
$cachedData
,
true
);
}
$url
=
env
(
'CRM_URL'
)
.
'/open/signComs/getSignComs
?use_scope=2
'
;
$url
=
env
(
'CRM_URL'
)
.
'/open/signComs/getSignComs'
;
$client
=
new
Client
();
$response
=
$client
->
get
(
$url
);
$result
=
json_decode
(
$response
->
getBody
()
->
getContents
(),
true
);
...
...
app/Http/routes.php
View file @
b0376f77
...
...
@@ -104,5 +104,6 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
DataService
::
exportUploadedSkuSupplier
();
$result
=
CrmService
::
getSignCompanyList
();
return
response
()
->
json
(
$result
);
});
storage/framework/views/587faa134dc1f8953abf61cb2995b8264ba36a12.php
View file @
b0376f77
...
...
@@ -289,18 +289,18 @@
<?php
$statusPresenter
=
app
(
'App\Presenters\StatusPresenter'
);
?>
<?php
echo
$statusPresenter
->
render
(
'supplier_source'
,
'供应商来源'
,
0
,
config
(
'fixed.SupplierSource'
));
?>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
代理品牌
</label>
<div
class=
"layui-input-inline"
>
<div
id=
"agency_brands_filter"
style=
"width: 425px"
></div>
<input
type=
"hidden"
name=
"agency_brands"
id=
"agency_brands_filter_value"
value=
""
>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
代理品牌
</label>
<div
class=
"layui-input-inline"
>
<div
id=
"agency_brands_filter"
style=
"width: 425px"
></div>
<input
type=
"hidden"
name=
"agency_brands"
id=
"agency_brands_filter_value"
value=
""
>
</div>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
style=
"width: 600px"
>
<?php
$transformableTimeIntervalPresenter
=
app
(
'App\Presenters\Filter\TransformableTimeIntervalPresenter'
);
?>
<?php
echo
$transformableTimeIntervalPresenter
->
render
([
'update_time'
=>
'更新时间'
,
'create_time'
=>
'创建时间'
,
'sku_create_time'
=>
'首次上传sku时间'
]);
?>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-inline"
style=
"width: 600px"
>
<?php
$transformableTimeIntervalPresenter
=
app
(
'App\Presenters\Filter\TransformableTimeIntervalPresenter'
);
?>
<?php
echo
$transformableTimeIntervalPresenter
->
render
([
'update_time'
=>
'更新时间'
,
'create_time'
=>
'创建时间'
,
'sku_create_time'
=>
'首次上传sku时间'
]);
?>
</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