|
|
@@ -246,7 +246,7 @@ class NewsResource extends Resource
|
|
246
|
246
|
public static function table(Table $table): Table
|
|
247
|
247
|
{
|
|
248
|
248
|
$url = env('APP_URL')=="https://webdev.yico.tw:8088/" ? "https://demo.blockstudio.tw/yichiu/zh/news/" : "https://www.yico.tw/" ;
|
|
249
|
|
-
|
|
|
249
|
+
|
|
250
|
250
|
return $table
|
|
251
|
251
|
->columns([
|
|
252
|
252
|
//
|
|
|
@@ -273,7 +273,7 @@ class NewsResource extends Resource
|
|
273
|
273
|
$record->on_top = !$record->on_top;
|
|
274
|
274
|
$record->save();
|
|
275
|
275
|
}),
|
|
276
|
|
- TextColumn::make("start_date")->label("預計上架時間")->dateTime('Y/m/d H:i:s')->alignCenter(),
|
|
|
276
|
+ TextColumn::make("start_date")->label("預計發佈時間")->dateTime('Y/m/d H:i:s')->alignCenter(),
|
|
277
|
277
|
TextColumn::make("end_date")->label("預計下架時間")->dateTime('Y/m/d H:i:s')->alignCenter(),
|
|
278
|
278
|
TextColumn::make("created_at")->label("建立時間")->dateTime('Y/m/d H:i:s')->alignCenter(),
|
|
279
|
279
|
TextColumn::make("updated_at")->label("更新時間")->dateTime()->alignCenter(),
|