|
|
@@ -16,6 +16,7 @@ import com.fs.common.annotation.DataScope;
|
|
|
import com.fs.common.annotation.Log;
|
|
|
import com.fs.common.core.domain.AjaxResult;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
+import com.fs.common.core.redis.RedisCache;
|
|
|
import com.fs.common.exception.CustomException;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.fs.common.utils.ServletUtils;
|
|
|
@@ -174,6 +175,10 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
@Autowired
|
|
|
private CloudHostProper cloudHostProper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private RedisCache redisCache;
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 查询支付明细
|
|
|
*
|
|
|
@@ -1209,6 +1214,9 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
logger.error("生成图片失败:{}",e.getMessage(),e);
|
|
|
return R.error("生成图片失败");
|
|
|
}
|
|
|
+
|
|
|
+ redisCache.setCacheObject("company-wxa-code:"+param.getCompanyId()+":"+param.getAppId(),url);
|
|
|
+
|
|
|
// 返回成功信息
|
|
|
return R.ok().put("url",url);
|
|
|
|