feat(fsgx): 完成全部24项开发任务 Phase1-7

Phase1 后端核心:
- 新增 fsgx_v1.sql 迁移脚本(is_queue_goods/frozen_points/available_points/no_assess)
- SystemConfigServices 返佣设置扩展(周期人数/分档比例/范围/时机)
- StoreOrderCreateServices 周期循环佣金计算
- StoreOrderTakeServices 佣金发放后同步冻结积分
- StoreProductServices/StoreProduct 保存 is_queue_goods

Phase2 后端接口:
- GET /api/hjf/brokerage/progress 佣金周期进度
- GET /api/hjf/assets/overview 资产总览
- HjfPointsServices 每日 frozen_points 0.4‰ 释放定时任务
- PUT /adminapi/hjf/member/{uid}/no_assess 不考核接口
- GET /adminapi/hjf/points/release_log 积分日志接口

Phase3 前端清理:
- hjfCustom.js 路由精简(仅保留 points/log)
- hjfQueue.js/hjfMember.js API 清理/重定向至 CRMEB 原生接口
- pages.json 公排→推荐佣金/佣金记录/佣金规则

Phase4-5 前端改造:
- queue/status.vue 推荐佣金进度页整体重写
- 商品详情/订单确认/支付结果页文案与逻辑改造
- 个人中心/资产页/引导页/规则页文案改造
- HjfQueueProgress/HjfRefundNotice/HjfAssetCard 组件改造
- 推广中心嵌入佣金进度摘要
- hjfMockData.js 全量更新(公排字段→佣金字段)

Phase6 Admin 增强:
- 用户列表新增 frozen_points/available_points 列及不考核操作按钮
- hjfPoints.js USE_MOCK=false 对接真实积分日志接口

Phase7 配置文档:
- docs/fsgx-phase7-config-checklist.md 后台配置与全链路验收清单

Made-with: Cursor
This commit is contained in:
apple
2026-03-23 22:32:19 +08:00
parent 788ee0c0c0
commit 434aa8c69d
13098 changed files with 2008990 additions and 961 deletions

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{1706:function(t,e,n){"use strict";n.r(e);var a=n("b93c"),i=n("e068");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("af64");var u=n("828b"),r=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=r.exports},"384f":function(t,e,n){},af64:function(t,e,n){"use strict";var a=n("384f"),i=n.n(a);i.a},b93c:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=(this._self._c,this.tipText.trim());this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},e068:function(t,e,n){"use strict";n.r(e);var a=n("fc70"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},fc70:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},inDayText:{type:String,default:"天"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},isSecond:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:"#e93323"},dotColor:{type:String,default:"#ffffff"}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00",times:null}},watch:{datatime:{handler:function(t){this.show_time()},immediate:!0}},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,a=0,i=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,a=Math.floor(e/3600)-24*n,i=Math.floor(e/60)-24*n*60-60*a,o=Math.floor(e)-24*n*60*60-60*a*60-60*i,a<=9&&(a="0"+a),i<=9&&(i="0"+i),o<=9&&(o="0"+o),t.day=n,t.hour=a,t.minute=i,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00",clearInterval(t.times),t.times=null,t.$emit("endTime",1))}e(),this.times=setInterval(e,1e3)}}};e.default=a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/countDown/index-create-component',
{
'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1706"))
})
},
[['components/countDown/index-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="time" style="{{(justifyLeft)}}"><block wx:if="{{$root.g0}}"><text class="title red">{{tipText}}</text></block><block wx:if="{{isDay===true}}"><text class="styleAll" style="{{('background:'+bgColor+';color:'+colors+';')}}">{{''+day+''}}<text class="dayTxt">{{inDayText}}</text></text></block><block wx:if="{{dayText}}"><text class="timeTxt red" style="{{('color:'+dotColor)}}">{{dayText}}</text></block><text class="styleAll" style="{{('background:'+bgColor+';color:'+colors+';')}}">{{hour}}</text><block wx:if="{{hourText}}"><text class="timeTxt red" style="{{('color:'+dotColor)}}">{{hourText}}</text></block><text class="styleAll" style="{{('background:'+bgColor+';color:'+colors+';')}}">{{minute}}</text><block wx:if="{{minuteText}}"><text class="timeTxt red" style="{{('color:'+dotColor)}}">{{minuteText}}</text></block><block wx:if="{{isSecond===true}}"><text class="styleAll" style="{{('background:'+bgColor+';color:'+colors+';')}}">{{second}}</text></block><block wx:if="{{secondText}}"><text class="timeTxt red" style="{{('color:'+dotColor)}}">{{secondText}}</text></block><slot name="bottom"></slot></view>

View File

@@ -0,0 +1 @@
.time{display:flex;justify-content:center}.timeTxt{margin:0 4rpx}