DRPC—job

Action() {

web_reg_save_param("aa",

"LB=errmsg\":\"",

"RB=\",\"error",

"Search=Body",

LAST);

lr_start_transaction("app");

web_custom_request("app",

"URL=http://172.18.57.154:8100/api/amq/app",

"Method=POST",

"Resource=0",

扫描二维码关注公众号,回复: 5244533 查看本文章

"RecContentType=application/json",

"Referer=",

"Mode=HTML",

"EncType=application/json",

"Body={bodydata}",

LAST);

lr_convert_string_encoding(lr_eval_string("{aa}"), LR_ENC_UTF8, LR_ENC_SYSTEM_LOCALE, "str");

if (strcmp(lr_eval_string("{aa}"), "ok") == 0) {

lr_end_transaction("app", LR_PASS);

} else {

lr_end_transaction("app", LR_FAIL);

lr_output_message(lr_eval_string("{str}"));

}

return 0;

}

猜你喜欢

转载自blog.csdn.net/weixin_33860528/article/details/87585337
job
今日推荐