我想实现的功能是,提交成功后有提示,且调转到指定链接,但是官方函数好像不支持。
要不就是只提示不调转,要不就是只调转没提示,这二个功能不能整合在一起吗?
在AJAS里想用:H::redirect_msg(AWS_APP::lang()->_t('成功!'), '/home/explore/');却使用不了。
我看了下官方核心代码除数,不支持哦。
	public static function ajax_json_output($array)
	{
		//HTTP::no_cache_header('text/javascript');
		
		echo str_replace(array("\r", "\n", "\t"), '', json_encode(H::sensitive_words($array)));
		exit;
	}
                                                                
                                     阅读全文
                                
                                
                                     收起全文