$resultProductPrice = DB::update("update lev_product_price set detail=json_set(detail,'$.颜色','红色') where id = 41");
$resultProductPrice = DB::update("update lev_product_price set detail = replace(detail, '".addslashes($name)."' , '".addslashes($name1)."') where id = 41");
一个修改键值一个修改值