|
@@ -27,16 +27,16 @@ class SmsLogsController extends AdminController
|
|
|
$grid = new Grid(new SmsLog());
|
|
|
|
|
|
$grid->column('id', __('Id'));
|
|
|
- $grid->column('phone', __('Phone'));
|
|
|
- $grid->column('type', __('Type'));
|
|
|
- $grid->column('code', __('Code'));
|
|
|
- $grid->column('status', __('Status'));
|
|
|
- $grid->column('content', __('Content'));
|
|
|
- $grid->column('ip_count', __('Ip count'));
|
|
|
- $grid->column('err_msg', __('Err msg'));
|
|
|
- $grid->column('created_at', __('Created at'));
|
|
|
- $grid->column('updated_at', __('Updated at'));
|
|
|
- $grid->column('deleted_at', __('Deleted at'));
|
|
|
+ $grid->column('phone', __('手机号码'));
|
|
|
+// $grid->column('type', __('Type'));
|
|
|
+ $grid->column('code', __('短信验证码'));
|
|
|
+ $grid->column('status', __('状态'));
|
|
|
+ $grid->column('content', __('内容'));
|
|
|
+ $grid->column('ip_count', __('Ip'));
|
|
|
+ $grid->column('err_msg', __('错误描述'));
|
|
|
+ $grid->column('created_at', __('添加时间'));
|
|
|
+// $grid->column('updated_at', __('Updated at'));
|
|
|
+// $grid->column('deleted_at', __('Deleted at'));
|
|
|
|
|
|
return $grid;
|
|
|
}
|
|
@@ -52,16 +52,16 @@ class SmsLogsController extends AdminController
|
|
|
$show = new Show(SmsLog::findOrFail($id));
|
|
|
|
|
|
$show->field('id', __('Id'));
|
|
|
- $show->field('phone', __('Phone'));
|
|
|
- $show->field('type', __('Type'));
|
|
|
- $show->field('code', __('Code'));
|
|
|
- $show->field('status', __('Status'));
|
|
|
- $show->field('content', __('Content'));
|
|
|
- $show->field('ip_count', __('Ip count'));
|
|
|
- $show->field('err_msg', __('Err msg'));
|
|
|
- $show->field('created_at', __('Created at'));
|
|
|
- $show->field('updated_at', __('Updated at'));
|
|
|
- $show->field('deleted_at', __('Deleted at'));
|
|
|
+ $show->field('phone', __('手机号码'));
|
|
|
+ $show->field('type', __('类型'));
|
|
|
+ $show->field('code', __('验证码'));
|
|
|
+ $show->field('status', __('是否使用'));
|
|
|
+ $show->field('content', __('内用'));
|
|
|
+ $show->field('ip_count', __('Ip'));
|
|
|
+ $show->field('err_msg', __('错误描述'));
|
|
|
+ $show->field('created_at', __('添加时间'));
|
|
|
+ $show->field('updated_at', __('更新时间'));
|
|
|
+// $show->field('deleted_at', __('Deleted at'));
|
|
|
|
|
|
return $show;
|
|
|
}
|