添加汇付支付

This commit is contained in:
韩鹏辉 2024-02-20 15:14:09 +08:00
parent e9d6ead522
commit 2040b5dada
3 changed files with 8 additions and 0 deletions

View File

@ -185,6 +185,8 @@ public class AgencyService {
JSONObject object=new JSONObject();
object.put("invite",inviteCode);
object.put("mobile",agencyReq.getPhone());
object.put("loginName",agencyReq.getAngencyCode());
object.put("password",agencyReq.getPassowrd());
object.put("rate",agencyReq.getFee());
object.put("sign",MD5Util.md5(agencyReq.getPhone().concat(inviteCode).concat("2580")));
HttpEntity<String> body = new HttpEntity<String>(object.toString());

View File

@ -38,4 +38,6 @@ public interface TbPlussUserInfoMapper {
List<Map<String,Object>> selectOrderByMonth(@Param("userId") String userId, @Param("year") String year);
TbPlussUserInfo selectByPhone(String phone);
}

View File

@ -643,4 +643,8 @@
) k ON d.a = k.createDate
</select>
<select id="selectByPhone" resultMap="BaseResultMap">
select * from tb_pluss_user_info where phone =#{phone}
</select>
</mapper>