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
c4c64a0b
authored
Sep 11, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
45b6555a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
app/Http/routes.php
app/Http/routes.php
View file @
c4c64a0b
...
...
@@ -23,6 +23,7 @@ use Illuminate\Support\Facades\Route;
use
App\Http\Services\DepartmentService
;
use
App\Model\SupplierAttachmentsModel
;
use
App\Http\Services\SupplierAccountService
;
use
App\Model\AttachmentAuditModel
;
Route
::
group
([
'middleware'
=>
[
'web'
,
'menu'
]],
function
()
{
Route
::
get
(
'/'
,
'WebController@Entrance'
);
...
...
@@ -72,8 +73,7 @@ Route::group(['middleware' => ['web'], 'namespace' => 'Api'], function () {
Route
::
match
([
'get'
,
'post'
],
'/api/supplier_contract/{key}'
,
'SupplierContractApiController@Entrance'
);
Route
::
match
([
'get'
,
'post'
],
'/api/attachment_audit/{key}'
,
'AttachmentAuditApiController@Entrance'
);
//单独的统计接口
Route
::
match
([
'get'
,
'post'
],
'/statisticsSkuNumber'
,
function
()
{
});
Route
::
match
([
'get'
,
'post'
],
'/statisticsSkuNumber'
,
function
()
{});
});
//提供给其它系统使用的接口,不需要验证那种
...
...
@@ -97,6 +97,17 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
// DataService::initSupplierNationId();
// DataService::initSupplierReceiptNationId();
SupplierAccountService
::
initYunxinAccountName
();
// SupplierAccountService::initYunxinAccountName();
AttachmentAuditModel
::
insert
([
'supplier_id'
=>
13527
,
'type'
=>
'cooperation_agreement'
,
'file_name'
=>
'cooperation_agreement.pdf'
,
'file_url'
=>
'http://file.liexindev.net/download/f908502003010ub1kc540g'
,
'validity_type'
=>
'1'
,
'status'
=>
0
,
'create_name'
=>
'admin'
,
'create_uid'
=>
1000
,
'create_time'
=>
time
(),
]);
// DataService::repaireSkuUploadRuler();
});
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