修改微信签名错误
This commit is contained in:
parent
6776fa3071
commit
b0af3572eb
@ -361,6 +361,9 @@ public class XhpcRefundAuditController extends BaseController {
|
|||||||
String stringSignTemp = param + "&key=" + environment.getProperty("KEY");
|
String stringSignTemp = param + "&key=" + environment.getProperty("KEY");
|
||||||
//签名 不参与签名 默认MD5算法
|
//签名 不参与签名 默认MD5算法
|
||||||
String sign = StringUtils.md5(stringSignTemp);
|
String sign = StringUtils.md5(stringSignTemp);
|
||||||
|
if(sign.length()!=32){
|
||||||
|
sign="0"+sign;
|
||||||
|
}
|
||||||
String xmlString = "<xml>\n" +
|
String xmlString = "<xml>\n" +
|
||||||
" <amount>" + amount + "</amount>\n" +
|
" <amount>" + amount + "</amount>\n" +
|
||||||
" <check_name>" + "NO_CHECK" + "</check_name>\n" +
|
" <check_name>" + "NO_CHECK" + "</check_name>\n" +
|
||||||
|
|||||||
@ -201,7 +201,7 @@
|
|||||||
select xcop.community_personnel_id as app_user_id from xhpc_community_personnel as xcop inner join (select user_id from xhpc_recharge_order where source=2) us2 on us2.user_id=xcop.community_personnel_id where xcop.phone like concat('%', #{phone}, '%')
|
select xcop.community_personnel_id as app_user_id from xhpc_community_personnel as xcop inner join (select user_id from xhpc_recharge_order where source=2) us2 on us2.user_id=xcop.community_personnel_id where xcop.phone like concat('%', #{phone}, '%')
|
||||||
union
|
union
|
||||||
select xcup.customers_personnel_id as app_user_id from xhpc_customers_personnel as xcup inner join (select user_id from xhpc_recharge_order where source=3) us3 on us3.user_id = xcup.customers_personnel_id where xcup.phone like concat('%', #{phone}, '%')
|
select xcup.customers_personnel_id as app_user_id from xhpc_customers_personnel as xcup inner join (select user_id from xhpc_recharge_order where source=3) us3 on us3.user_id = xcup.customers_personnel_id where xcup.phone like concat('%', #{phone}, '%')
|
||||||
) ut on ut.app_user_id = xro.app_user_id
|
) ut on ut.app_user_id = xro.user_id
|
||||||
</if>
|
</if>
|
||||||
where xro.del_flag = 0
|
where xro.del_flag = 0
|
||||||
<if test="source != null and phone != null">
|
<if test="source != null and phone != null">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user