|
@@ -73,7 +73,7 @@ class RefundOrderController extends CatchController
|
|
|
*/
|
|
|
public function platformVerify(RefundVerIiyRequest $request){
|
|
|
$userContext = $this->getUserContext(null);
|
|
|
- if (!$userContext['loginUserRoles']->contains('administrator')) {
|
|
|
+ if (!($userContext['loginUserRoles']->contains('administrator') || $userContext['loginUserRoles']->contains('financer'))) {
|
|
|
throw new FailedException("没有操作权限");
|
|
|
}
|
|
|
$param = [
|
|
@@ -127,7 +127,7 @@ class RefundOrderController extends CatchController
|
|
|
throw new FailedException("退款申请单号不能为空");
|
|
|
}
|
|
|
$userContext = $this->getUserContext(null);
|
|
|
- if (!$userContext['loginUserRoles']->contains('administrator')) {
|
|
|
+ if (!($userContext['loginUserRoles']->contains('administrator') || $userContext['loginUserRoles']->contains('financer'))) {
|
|
|
throw new FailedException("没有操作权限");
|
|
|
}
|
|
|
$option = [
|