liuchengsen 2 месяцев назад
Родитель
Сommit
7acc02f054
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      zhijiayun-test/src/main/resources/static/invite-test.html

+ 4 - 1
zhijiayun-test/src/main/resources/static/invite-test.html

@@ -722,6 +722,9 @@ const FIELD_DESC = {
         ['deepLink', 'String', '深度链接'],
         ['instructionText', 'String', '提示文案']
     ],
+    'couponIssue': [
+        ['data', 'Integer', '成功发放的优惠券数量(如:2表示2张)']
+    ],
     'coupon': [
         ['id', 'Long', '优惠券ID'],
         ['couponName', 'String', '优惠券名称'],
@@ -1288,7 +1291,7 @@ function renderAdminCouponModule() {
     <div class="batch-buttons"><button class="btn btn-warning btn-sm" onclick="runAdminCouponTests()">运行全部优惠券发放测试</button></div>
     ${testSection('admin-coupon-issue', '发放优惠券', 'POST', 'post', '/api/coupon/issue', '需认证', 'auth-required',
         [{label:'模板ID(couponId)', name:'couponId', placeholder:'1', default:'1'},
-         {label:'用户ID列表(userIds)', name:'userIds', placeholder:'1,2,3', default:'1', type:'array'}], false, 'coupon', '管理员向指定用户发放优惠券,userIds统一用列表传入,单个用户填1即可')}`;
+         {label:'用户ID列表(userIds)', name:'userIds', placeholder:'1,2,3', default:'1', type:'array'}], false, 'couponIssue', '管理员向指定用户发放优惠券,userIds统一用列表传入,单个用户填1即可')}`;
 }
 
 function renderAdminLicenseModule() {