diff --git a/plugin/think-plugs-wemall/src/command/Trans.php b/plugin/think-plugs-wemall/src/command/Trans.php index 80b51d138..4d98dd6e8 100644 --- a/plugin/think-plugs-wemall/src/command/Trans.php +++ b/plugin/think-plugs-wemall/src/command/Trans.php @@ -30,14 +30,14 @@ use WePay\TransfersBank; use WePayV3\Transfers as TransfersV3; /** - * 用户提现处理 + * 代理提现处理 * @class Trans * @package app\data\command */ class Trans extends Command { /** - * 用户提现配置 + * 代理提现配置 * @return void */ protected function configure() diff --git a/plugin/think-plugs-wemall/src/controller/api/auth/Rebate.php b/plugin/think-plugs-wemall/src/controller/api/auth/Rebate.php index 0bd60b1a6..1359b01d3 100644 --- a/plugin/think-plugs-wemall/src/controller/api/auth/Rebate.php +++ b/plugin/think-plugs-wemall/src/controller/api/auth/Rebate.php @@ -24,14 +24,14 @@ use plugin\wemall\model\PluginWemallUserRebate; use plugin\wemall\service\UserRebate; /** - * 用户返佣管理 + * 代理返佣管理 * @class Rebate * @package plugin\wemall\controller\api\auth */ class Rebate extends Auth { /** - * 获取用户返佣记录 + * 获取代理返佣记录 * @return void * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException diff --git a/plugin/think-plugs-wemall/src/controller/api/auth/Transfer.php b/plugin/think-plugs-wemall/src/controller/api/auth/Transfer.php index 30ce46da5..4e560f0c9 100644 --- a/plugin/think-plugs-wemall/src/controller/api/auth/Transfer.php +++ b/plugin/think-plugs-wemall/src/controller/api/auth/Transfer.php @@ -25,7 +25,7 @@ use plugin\wemall\service\UserTransfer; use think\admin\extend\CodeExtend; /** - * 用户提现接口 + * 代理提现接口 * @class Transfer * @package plugin\wemall\controller\api\auth */ @@ -111,7 +111,7 @@ class Transfer extends Auth if ($transfers[$data['type']]['maxAmount'] < $data['amount']) { $this->error("不能大于{$transfers[$data['type']]['maxAmount']}元"); } - // 写入用户提现数据 + // 写入代理提现数据 if (PluginWemallUserTransfer::mk()->save($data)) { UserRebate::recount($this->unid); $this->success('提现申请成功'); @@ -121,7 +121,7 @@ class Transfer extends Auth } /** - * 用户提现记录 + * 代理提现记录 * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException @@ -173,12 +173,12 @@ class Transfer extends Auth } /** - * 获取用户提现配置 + * 获取代理提现配置 * @throws \think\admin\Exception */ public function config() { $data = UserTransfer::config(); - $this->success('获取用户提现配置', $data); + $this->success('获取代理提现配置', $data); } } \ No newline at end of file diff --git a/plugin/think-plugs-wemall/src/controller/user/Rebate.php b/plugin/think-plugs-wemall/src/controller/user/Rebate.php index 6b440da47..b3a4db8fa 100644 --- a/plugin/think-plugs-wemall/src/controller/user/Rebate.php +++ b/plugin/think-plugs-wemall/src/controller/user/Rebate.php @@ -26,14 +26,14 @@ use think\admin\helper\QueryHelper; use think\db\Query; /** - * 用户返佣管理 + * 代理返佣管理 * @class Rebate * @package plugin\wemall\controller\user */ class Rebate extends Controller { /** - * 用户返佣管理 + * 代理返佣管理 * @auth true * @menu true * @throws \think\db\exception\DataNotFoundException @@ -43,7 +43,7 @@ class Rebate extends Controller public function index() { PluginWemallUserRebate::mQuery()->layTable(function () { - $this->title = '用户返佣管理'; + $this->title = '代理返佣管理'; $this->rebate = UserRebate::recount(0); }, static function (QueryHelper $query) { // 数据关联 diff --git a/plugin/think-plugs-wemall/src/controller/user/Transfer.php b/plugin/think-plugs-wemall/src/controller/user/Transfer.php index d7deca0ed..80677e688 100644 --- a/plugin/think-plugs-wemall/src/controller/user/Transfer.php +++ b/plugin/think-plugs-wemall/src/controller/user/Transfer.php @@ -27,7 +27,7 @@ use think\admin\helper\QueryHelper; use think\admin\service\AdminService; /** - * 用户提现管理 + * 代理提现管理 * @class Transfer * @package plugin\wemall\controller\user */ @@ -49,13 +49,13 @@ class Transfer extends Controller } /** - * 用户提现配置 + * 代理提现配置 * @throws \think\admin\Exception */ public function config() { $this->skey = 'plugin.wemall.transfer.config'; - $this->title = '用户提现配置'; + $this->title = '代理提现配置'; $this->_sysdata(); } @@ -86,7 +86,7 @@ class Transfer extends Controller } /** - * 用户提现管理 + * 代理提现管理 * @menu true * @auth true * @throws \think\db\exception\DataNotFoundException @@ -96,7 +96,7 @@ class Transfer extends Controller public function index() { PluginWemallUserTransfer::mQuery()->layTable(function () { - $this->title = '用户提现管理'; + $this->title = '代理提现管理'; $this->transfer = UserTransfer::amount(0); }, static function (QueryHelper $query) { // 数据列表处理 diff --git a/plugin/think-plugs-wemall/src/model/PluginWemallUserRebate.php b/plugin/think-plugs-wemall/src/model/PluginWemallUserRebate.php index 70fb2dcc1..be9d12a3c 100644 --- a/plugin/think-plugs-wemall/src/model/PluginWemallUserRebate.php +++ b/plugin/think-plugs-wemall/src/model/PluginWemallUserRebate.php @@ -23,7 +23,7 @@ use plugin\wemall\service\UserRebate; use think\model\relation\HasOne; /** - * 用户返佣数据 + * 代理返佣数据 * @class PluginWemallUserRebate * @package plugin\wemall\model */ diff --git a/plugin/think-plugs-wemall/src/model/PluginWemallUserTransfer.php b/plugin/think-plugs-wemall/src/model/PluginWemallUserTransfer.php index b4ed7e0e4..354c56444 100644 --- a/plugin/think-plugs-wemall/src/model/PluginWemallUserTransfer.php +++ b/plugin/think-plugs-wemall/src/model/PluginWemallUserTransfer.php @@ -21,7 +21,7 @@ namespace plugin\wemall\model; use plugin\wemall\service\UserTransfer; /** - * 用户提现模型 + * 代理提现模型 * @class PluginWemallUserTransfer * @package plugin\wemall\model */ diff --git a/plugin/think-plugs-wemall/src/service/UserRebate.php b/plugin/think-plugs-wemall/src/service/UserRebate.php index 6f3018b24..37e520d84 100644 --- a/plugin/think-plugs-wemall/src/service/UserRebate.php +++ b/plugin/think-plugs-wemall/src/service/UserRebate.php @@ -227,7 +227,7 @@ abstract class UserRebate } /** - * 同步刷新用户返佣 + * 同步刷新代理返佣 * @param integer $unid 指定用户ID * @param array|null $data 非数组时更新数据 * @param mixed $where 其他查询条件 diff --git a/plugin/think-plugs-wemall/src/service/UserTransfer.php b/plugin/think-plugs-wemall/src/service/UserTransfer.php index 9ba0222e4..435cd2105 100644 --- a/plugin/think-plugs-wemall/src/service/UserTransfer.php +++ b/plugin/think-plugs-wemall/src/service/UserTransfer.php @@ -21,7 +21,7 @@ namespace plugin\wemall\service; use plugin\wemall\model\PluginWemallUserTransfer; /** - * 用户提现数据服务 + * 代理提现数据服务 * @class UserTransfer * @package plugin\wemall\service */ @@ -38,7 +38,7 @@ abstract class UserTransfer ]; /** - * 同步刷新用户返佣 + * 同步刷新代理返佣 * @param integer $unid * @return array [total, count, audit, locks] */ diff --git a/plugin/think-plugs-wemall/src/view/user/create/form.html b/plugin/think-plugs-wemall/src/view/user/create/form.html index 661581e6f..614dbf20d 100644 --- a/plugin/think-plugs-wemall/src/view/user/create/form.html +++ b/plugin/think-plugs-wemall/src/view/user/create/form.html @@ -34,7 +34,7 @@ 累计佣金Rebate Total - 将会在用户返佣记录里面创建一条记录,体现为初始佣金值。 + 将会在代理返佣记录里面创建一条记录,体现为初始佣金值。 佣金记录描述Rebate Total Remark @@ -47,7 +47,7 @@ 剩余佣金Rebate Usable - 在用户提现记录创建已提现金额( 累计佣金 减去 剩余佣金 ) + 在代理提现记录创建已提现金额( 累计佣金 减去 剩余佣金 ) 提现记录描述Rebate Usable Remark diff --git a/plugin/think-plugs-wemall/src/view/user/transfer/config.html b/plugin/think-plugs-wemall/src/view/user/transfer/config.html index 0906529d3..0b91c2433 100644 --- a/plugin/think-plugs-wemall/src/view/user/transfer/config.html +++ b/plugin/think-plugs-wemall/src/view/user/transfer/config.html @@ -2,7 +2,7 @@ - 用户提现状态Status + 代理提现状态Status {php} $data['status'] = $data['status'] ?? 0; {/php} {foreach ['关闭返佣提现', '开启返佣提现'] as $k => $v} @@ -93,9 +93,9 @@ - 用户提现描述内容Remark + 代理提现描述内容Remark - {$data.remark|default=''} + {$data.remark|default=''}