fix: 账户排序字段统一修改。
This commit is contained in:
@@ -118,7 +118,7 @@ public class IMTServiceImpl implements IMTService {
|
||||
final long curTime = System.currentTimeMillis();
|
||||
data.put("md5", signature(mobile, 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,
|
||||
"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-APP-Version", getMTVersion());
|
||||
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");
|
||||
|
||||
@@ -138,7 +144,8 @@ public class IMTServiceImpl implements IMTService {
|
||||
return Boolean.TRUE;
|
||||
} else {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${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 id="selectAccountsById" parameterType="Long" resultMap="AccountsResult">
|
||||
|
||||
@@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
order by a.activation_date desc
|
||||
</if>
|
||||
<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>
|
||||
|
||||
</select>
|
||||
|
||||
@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
order by a.create_time desc
|
||||
order by a.status asc,a.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectFutureStocksById" parameterType="Long" resultMap="FutureStocksResult">
|
||||
|
||||
Reference in New Issue
Block a user