Commit 06e493a1 authored by congzhao's avatar congzhao

[建机]电子合同开发 取消签约提示调整

parent 1c9feb70
...@@ -76,9 +76,10 @@ ...@@ -76,9 +76,10 @@
contract_id:$ctx.parameter.contract_id contract_id:$ctx.parameter.contract_id
}); });
}else{ }else{
raise_app_error('取消签约未完成,请再次发起取消签约!'); $ctx.parameter.message = '取消签约未完成,请再次发起取消签约!';
} }
} }
]]></s:server-script> ]]></s:server-script>
</a:init-procedure> </a:init-procedure>
<a:service-output output="/parameter"/>
</a:service> </a:service>
\ No newline at end of file
...@@ -105,7 +105,6 @@ ...@@ -105,7 +105,6 @@
var token_sign_result_ob = JSON.parse(token_sign_result); var token_sign_result_ob = JSON.parse(token_sign_result);
var access_sign_token = token_sign_result_ob.access_token; var access_sign_token = token_sign_result_ob.access_token;
var post_result = EleFileUpHttpPost.post(httpUrl, JSON.stringify(verifyParam), access_sign_token); var post_result = EleFileUpHttpPost.post(httpUrl, JSON.stringify(verifyParam), access_sign_token);
//var result = new HttpRequest().sendPost(httpUrl, JSON.stringify(signParam));
logs_bm.insert({ logs_bm.insert({
contract_id:$ctx.parameter.contract_id, contract_id:$ctx.parameter.contract_id,
httpurl:httpUrl, httpurl:httpUrl,
...@@ -117,7 +116,6 @@ ...@@ -117,7 +116,6 @@
if (result_ob.code != 0) { if (result_ob.code != 0) {
//rollback //rollback
$bm('wx.WX100.rollback').update(); $bm('wx.WX100.rollback').update();
//raise_app_error('发起签约失败,请联系技术人员检查!');
raise_app_error(result_ob.message.toString()); raise_app_error(result_ob.message.toString());
}else if(result_ob.code == 0){ }else if(result_ob.code == 0){
var verify_result = result_ob.result; var verify_result = result_ob.result;
......
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