文件地址: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;
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}