dieu chinh update tung doi tuong neu so luong <10
This commit is contained in:
@@ -108,7 +108,12 @@ class ControlLogsController extends Controller {
|
||||
];
|
||||
$listManagement->image = json_encode($images);
|
||||
$listManagement->save();
|
||||
file_get_contents("http://localhost:2305/update-feature");
|
||||
common::updateFeature([
|
||||
"cmd" => "update",
|
||||
"id" => $listManagement->id,
|
||||
"name" => common::convert_vi_to_en($listManagement->name),
|
||||
"features" => $listManagement->allFeatures
|
||||
]);
|
||||
return ["status" => true];
|
||||
}
|
||||
return ["status" => false, "text" => "Hình ảnh này đã được chọn làm mẫu cho đối tượng này!"];
|
||||
|
||||
Reference in New Issue
Block a user