Commit b7fcf32b by Jaxon

fix(workspace): 修正全局通知排序并调整环境配置

- 在获取企业通知列表时添加按创建时间正序排序参数,确保全局通知顺序正确
- 将默认环境索引从开发环境改为预发布环境,并启用手动控制以适配体验版环境
1 parent 254ecebe
......@@ -18,12 +18,12 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let index = 1;
let index = 4;
const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion;
//手动控制体验版环境的请求 true就依据下面index false就默认2
const manual = false;
const manual = true;
const release = false;
// 判断小程序环境
......
......@@ -135,7 +135,8 @@ Page({
const { data } = await getCompanyNoticeList({
pageNum: 1,
pageSize: 3,
// 企业通知
// 全局通知要顺序排
createdTimeSortType: 0,
moduleType: serviceCenterEnum,
// 未读
status: 0,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!