@Override
public StringgetOrderRepetitionCode(Long orgId, String userPin) {
StringBuilder builder =new StringBuilder(50);
//UUID 可能暴露mac 地址,, 不直接暴露
String randomId = UUID.randomUUID().toString();
randomId = DigestUtils.md5DigestAsHex(randomId.getBytes());
// 生成唯一key
String jimKey = builder.append(CacheConstant.MEDICINE_ERP_SHOP_REPEAT_CODE_KEY).append(orgId).
append("_").append(randomId).toString();
//添加至缓存
jimCacheUtil.setEx(jimKey, userPin, EXPIRE_TIME);
return jimKey;
}