improve admin details

This commit is contained in:
xiaomlove
2021-04-30 01:27:29 +08:00
parent 164bc80c4e
commit 654419deec
12 changed files with 237 additions and 51 deletions

View File

@@ -44,14 +44,12 @@ class Test extends Command
*/
public function handle()
{
$user = User::query()->findOrFail(1);
dd(nexus_trans('exam.checkout_pass_message_content', ['exam_name' => '年中考核', 'begin' => 1, 'end' => 2]));
$rep = new ExamRepository();
// $r = $rep->assignToUser(1, 1);
$r = $rep->addProgress(3, 1, [
$r = $rep->addProgress(1, 1, [
1 => 25*1024*1024*1024,
2 => 55*3600,
3 => 100*1024*1024*1024,
3 => 10*1024*1024*1024,
4 => 1252
]);
dd($r);