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
aec8707d
authored
Aug 31, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
链接
parent
5e34285c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/Sync/SupplierSyncController.php
app/Http/routes.php
app/Http/Controllers/Sync/SupplierSyncController.php
View file @
aec8707d
...
@@ -49,7 +49,7 @@ class SupplierSyncController extends BaseSyncController
...
@@ -49,7 +49,7 @@ class SupplierSyncController extends BaseSyncController
}
}
//获取供应商需要审核的数量
//获取供应商需要审核的数量
public
function
Get
SupplierNeedAudit
Count
(
Request
$request
)
public
function
Get
NeedAuditSupplier
Count
(
Request
$request
)
{
{
$userId
=
$request
->
input
(
'user_id'
);
$userId
=
$request
->
input
(
'user_id'
);
if
(
!
$userId
)
{
if
(
!
$userId
)
{
...
...
app/Http/routes.php
View file @
aec8707d
...
@@ -59,7 +59,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Api'], function () {
...
@@ -59,7 +59,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Api'], function () {
Route
::
group
([
'middleware'
=>
[
'external'
],
'namespace'
=>
'Sync'
],
function
()
{
Route
::
group
([
'middleware'
=>
[
'external'
],
'namespace'
=>
'Sync'
],
function
()
{
//这个接口是用来接收同步结果,同时这个接口也是接收一体化那边的修改
//这个接口是用来接收同步结果,同时这个接口也是接收一体化那边的修改
Route
::
any
(
'/sync/unitedData/syncResult'
,
'SupplierSyncController@syncUniteResult'
);
Route
::
any
(
'/sync/unitedData/syncResult'
,
'SupplierSyncController@syncUniteResult'
);
Route
::
get
(
'/
sync/audit/GetSupplierNeedAuditCount'
,
'SupplierSyncController@GetSupplierNeedAudit
Count'
);
Route
::
get
(
'/
external/audit/GetNeedAuditSupplierCount'
,
'SupplierSyncController@GetNeedAuditSupplier
Count'
);
});
});
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
...
...
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