update serve/app/controller/Service.php.
Signed-off-by: 姚PD <13558507+yao-shipeng@user.noreply.gitee.com>
This commit is contained in:
parent
77aa722b52
commit
cd7b3afcd3
@ -536,22 +536,7 @@ class Service extends Acl {
|
||||
}
|
||||
return json($result);
|
||||
}
|
||||
//零售配置
|
||||
public function getDeploy(){
|
||||
$deploy=getFrameDeploy();
|
||||
if(!empty($deploy)){
|
||||
//安全处理-隐藏接口配置
|
||||
$deploy['wechat']=[
|
||||
'enable'=>$deploy['wechat']['enable'],
|
||||
'account'=>$deploy['wechat']['account']
|
||||
];
|
||||
$deploy['ali']=[
|
||||
'enable'=>$deploy['ali']['enable'],
|
||||
'account'=>$deploy['ali']['account']
|
||||
];
|
||||
}
|
||||
return json(['state'=>'success','info'=>$deploy]);
|
||||
}
|
||||
|
||||
//扩展字段文件上传
|
||||
public function fieldUpload() {
|
||||
$file = request()->file('file');
|
||||
|
Loading…
x
Reference in New Issue
Block a user