Commit c4c64a0b by 杨树贤

fix

parent 45b6555a
Showing with 14 additions and 3 deletions
......@@ -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();
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment