<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true">
<a:init-procedure>
<s:server-script import="wechat.js;request.js"><![CDATA[
var data_already_action = {
'touser': '${@touser}',
'title': '${@title}',
'msg_body':'${@msg_body}'
};
var url = hls_config.HlsWxSendUrl + 'send_message.lsc';
request({
url: url,
para: {
data: data_already_action
},
success: function(args) {
window.location.href = '${/request/@context_path}/modules/sys/SYS101/sys_notice_msg_add.lview';
},
failure: function(args) {
raise_app_error( args.error.message );
}
});
]]></s:server-script>
</a:init-procedure>
<a:service-output output="/model"/>
</a:service>
-
Spencer Chang authoredbfd31bca