Commit 5e925be8 by 杨树贤

保存缓存方式

parent bc479b92
Showing with 5 additions and 1 deletions
...@@ -436,7 +436,11 @@ class SupplierService ...@@ -436,7 +436,11 @@ class SupplierService
//什么都不需要操作 //什么都不需要操作
} }
$redis->hset('liexin_supplier_info', $supplierId, json_encode($newSupplier)); $redis->hset('liexin_supplier_info', $supplierId, json_encode([
'supplier_id' => $supplierId,
'supplier_code' => $newSupplier['supplier_code'],
'supplier_name' => $newSupplier['supplier_name']
]));
return $supplierId; return $supplierId;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment