Commit 573f90f3 authored by 李德才's avatar 李德才

添加注释

parent 88b7daa6
......@@ -51,6 +51,13 @@ public class SnService {
PropertyUtil.setProperty(cupCode, snCode, FILE_PATH);
}
/**
* 将序列号信息写入Redis
*
* @param cpuCode
* @param snCode
* @return
*/
public String saveSnToRedis(String cpuCode, String snCode) {
return Redis.use().set(cpuCode, snCode);
}
......
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 to comment