|
|
|
@ -188,9 +188,9 @@ public class CustomerRewardLogServiceImpl implements CustomerRewardLogService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void checkRedpacksStatus(String rewardId) {
|
|
|
|
|
public void checkRedpacksStatus(String rewardId,String sendListId) {
|
|
|
|
|
MpWechatApi redpackApi = mpWechatApiProvider.getApi("redpack");
|
|
|
|
|
JSONObject redpack = redpackApi.redpackStatus(rewardId);
|
|
|
|
|
JSONObject redpack = redpackApi.redpackStatus(sendListId);
|
|
|
|
|
int status = redpack.getIntValue("status");
|
|
|
|
|
JSONObject params = new JSONObject();
|
|
|
|
|
if(status == 2){
|
|
|
|
|