fix: 账户排序字段统一修改。

This commit is contained in:
tianyongbao
2025-12-24 17:43:26 +08:00
parent 1035e2c468
commit e57068f3d3
4 changed files with 12 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ public class IMTServiceImpl implements IMTService {
final long curTime = System.currentTimeMillis(); final long curTime = System.currentTimeMillis();
data.put("md5", signature(mobile, curTime)); data.put("md5", signature(mobile, curTime));
data.put("timestamp", String.valueOf(curTime)); data.put("timestamp", String.valueOf(curTime));
// data.put("MT-APP-Version", MT_VERSION); data.put("MT-APP-Version", getMTVersion());
HttpRequest request = HttpUtil.createRequest(Method.POST, HttpRequest request = HttpUtil.createRequest(Method.POST,
"https://app.moutai519.com.cn/xhr/front/user/register/vcode"); "https://app.moutai519.com.cn/xhr/front/user/register/vcode");
@@ -127,6 +127,12 @@ public class IMTServiceImpl implements IMTService {
request.header("MT-Device-ID", deviceId); request.header("MT-Device-ID", deviceId);
request.header("MT-APP-Version", getMTVersion()); request.header("MT-APP-Version", getMTVersion());
request.header("User-Agent", "iOS;16.3;Apple;?unrecognized?"); request.header("User-Agent", "iOS;16.3;Apple;?unrecognized?");
// 添加可能需要的其他请求头
request.header("Accept", "application/json, text/plain, */*");
request.header("Accept-Language", "zh-CN,zh-Hans;q=0.9");
request.header("Referer", "https://h5.moutai519.com.cn/");
request.header("Origin", "https://h5.moutai519.com.cn");
request.header("X-Requested-With", "XMLHttpRequest");
request.header("Content-Type", "application/json"); request.header("Content-Type", "application/json");
@@ -138,7 +144,8 @@ public class IMTServiceImpl implements IMTService {
return Boolean.TRUE; return Boolean.TRUE;
} else { } else {
logger.error("「发送验证码-失败」:" + jsonObject.toJSONString()); logger.error("「发送验证码-失败」:" + jsonObject.toJSONString());
throw new ServiceException("发送验证码错误"); logger.error("错误码:" + jsonObject.getString("code") + ", 错误信息:" + jsonObject.getString("message"));
throw new ServiceException("发送验证码错误: " + jsonObject.getString("message") + " (错误码: " + jsonObject.getString("code") + ")");
// return false; // return false;
} }

View File

@@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where> </where>
<!-- 数据范围过滤 --> <!-- 数据范围过滤 -->
${params.dataScope} ${params.dataScope}
order by a.type asc,bcl.debit_type asc,a.update_time desc order by a.status asc,a.type asc,bcl.debit_type asc,a.update_time desc
</select> </select>
<select id="selectAccountsById" parameterType="Long" resultMap="AccountsResult"> <select id="selectAccountsById" parameterType="Long" resultMap="AccountsResult">

View File

@@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by a.activation_date desc order by a.activation_date desc
</if> </if>
<if test="staticFlag == null or staticFlag == ''"> <if test="staticFlag == null or staticFlag == ''">
order by a.type asc, a.bill_date asc,a.debit_type asc,a.update_time desc order by a.status asc,a.type asc, a.bill_date asc,a.debit_type asc,a.update_time desc
</if> </if>
</select> </select>

View File

@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where> </where>
<!-- 数据范围过滤 --> <!-- 数据范围过滤 -->
${params.dataScope} ${params.dataScope}
order by a.create_time desc order by a.status asc,a.create_time desc
</select> </select>
<select id="selectFutureStocksById" parameterType="Long" resultMap="FutureStocksResult"> <select id="selectFutureStocksById" parameterType="Long" resultMap="FutureStocksResult">