我想在执行spring boot功能后返回到我的离子页面,但出现404错误: 白标签错误页面:发生意外的类型(404)错误:/ api / paiementenligne / capmission_client://capmission.parent.ma/paiement
我在离子中的深层链接:
this.deepLinks.route({'/paiement': PaiementPage,}).subscribe(match => {
console.log('Successfully matched route', match);
}, nomatch => {
console.error('Got a deeplink that didn\'t match', nomatch);
});
我的spring boot功能:
@RestController
@RequestMapping("/api/paiementenligne")
public class ApiPaiementEnLigne {
@RequestMapping(value="/ok-fails/mobile",method=RequestMethod.POST)
public void paiementIsOkOrNotMobile(HttpServletRequest request,HttpServletResponse response) throws Exception {
//some lignes of code
response.sendRedirect("capmission_client://capmission.parent.ma/paiement");
}
}