Commit 90dc8514 authored by 周健威's avatar 周健威

修改回调

parent fad4b042
......@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import com.github.wxiaoqi.security.auth.client.annotation.IgnoreClientToken;
import com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken;
import com.github.wxiaoqi.security.common.context.BaseContextHandler;
import com.github.wxiaoqi.security.common.exception.BaseException;
import com.github.wxiaoqi.security.common.msg.BaseResponse;
......@@ -56,7 +57,7 @@ public class BaseOrderController extends CommonBaseController {
@Value("${gateway.order}")
String order;
String notifyUrl = "/baseOrder/notifyUrl";
String notifyUrl = "/baseOrder/app/unauth/notifyUrl";
public static final Integer STATUS_SUCCESS = 1;
......@@ -101,10 +102,11 @@ public class BaseOrderController extends CommonBaseController {
//.data(PageDataVO.pageInfo(query.getPage(), query.getLimit(), baseOrderBiz.pageByParm(query.getSuper())));
}
@RequestMapping(value = "/notifyUrl",method = RequestMethod.GET)
@RequestMapping(value = "/app/unauth/notifyUrl",method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "订单支付回调")
@IgnoreClientToken
@IgnoreUserToken
public ObjectRestResponse notifyUrl(NotifyUrlDTO dto){
//判断是否成功,并且订单是未支付状态,则添加支付编号和修改状态
if(StrUtil.isNotBlank(dto.getOrderNo())){
......
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