文件地址:app\services\order\OtherOrderServices.php
方法名称:paySuccess(大概238行)
给大概246行加上如下代码,可以根据截图找到具体的行数
/** @var MemberShipServices $memberShipServices */
$memberShipServices = app()->make(MemberShipServices::class);
$orderInfo['member_type'] = $memberShipServices->value(['id' => $orderInfo['member_type']], 'type');
修改完如下
给该文件最顶部加上如下代码
use app\services\user\MemberShipServices;