mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
更新上传文件类型,处理订单上传报错
This commit is contained in:
parent
1b6a583dac
commit
7370f85719
@ -18,6 +18,7 @@ return [
|
||||
'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'txt', 'ico'],
|
||||
//上传文件类型
|
||||
'fileMime' => [
|
||||
'image/jpg',
|
||||
'image/jpeg',
|
||||
'image/gif',
|
||||
'image/png',
|
||||
|
||||
@ -31,8 +31,8 @@ class ServiceProvider implements ServiceProviderInterface
|
||||
{
|
||||
$pimple['mini_program.access_token'] = function ($pimple) {
|
||||
return new AccessToken(
|
||||
$pimple['config']['order_shipping']['app_id'],
|
||||
$pimple['config']['order_shipping']['secret'],
|
||||
$pimple['config']['mini_program']['app_id'],
|
||||
$pimple['config']['mini_program']['secret'],
|
||||
$pimple['cache']
|
||||
);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user