Skip to content

Commit

Permalink
[fix]去除重复代码 (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: chung <chung@chungdeMacBook-Pro.local>
  • Loading branch information
zhongshaofa and chung committed Sep 18, 2021
1 parent dda75ad commit c2ba4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/common/traits/JumpTrait.php
Expand Up @@ -39,7 +39,7 @@ protected function success($msg = '', $data = '', $url = null, $wait = 3, array
'wait' => $wait,
];

$type = $type = $this->getResponseType();
$type = $this->getResponseType();
if ($type == 'html') {
$response = view(app('config')->get('app.dispatch_success_tmpl'), $result);
} elseif ($type == 'json') {
Expand Down

0 comments on commit c2ba4ed

Please sign in to comment.