| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function assembly(Rocket $rocket, Closure $next): Rocket |
||
| 19 | { |
||
| 20 | Logger::debug('[Alipay][Fund][PCreditPayInstallment][AppPayPlugin] 插件开始装载', ['rocket' => $rocket]); |
||
| 21 | |||
| 22 | $rocket->setDirection(ResponseDirection::class) |
||
| 23 | ->mergePayload([ |
||
| 24 | 'method' => 'alipay.trade.app.pay', |
||
| 25 | 'biz_content' => $rocket->getParams(), |
||
| 26 | ]); |
||
| 27 | |||
| 28 | Logger::info('[Alipay][Fund][PCreditPayInstallment][AppPayPlugin] 插件装载完毕', ['rocket' => $rocket]); |
||
| 29 | |||
| 30 | return $next($rocket); |
||
| 31 | } |
||
| 33 |