5.sql 1.1 KB

12345678910111213141516
  1. -- charge_admin
  2. insert into charge_admin.t_permission (id, pid, name, value, weight, create_time, update_time)
  3. values
  4. (73, 0, '优惠券', 'coupon.list', 1, '2024-06-10 12:16:08', '2024-06-10 12:16:08'),
  5. (74, 46, '查看', 'coupon.list', 1, '2024-06-10 12:16:08', '2024-06-10 12:16:08'),
  6. (75, 46, '编辑', 'coupon.modify', 2, '2024-06-10 12:16:08', '2024-06-10 12:16:08'),
  7. (76, 46, '删除', 'coupon.delete', 3, '2024-06-10 12:16:08', '2024-06-10 12:16:08'),
  8. (77, 46, '新增', 'coupon.add', 1, '2024-06-10 12:16:08', '2024-06-10 12:16:08');
  9. -- charge_app
  10. insert into t_data_dict ( code, name, weight, value, remark, create_time, update_time)
  11. values
  12. ( 'Activity.couponType', '折扣券 ', 1, 'Discount', null, '2023-10-29 15:44:18', '2023-10-29 15:44:18'),
  13. ( 'Activity.couponType', '满减券', 2, 'FullDiscount', null, '2023-10-29 15:44:18', '2023-10-29 15:44:18'),
  14. ( 'UserCoupon.usage', '未使用 ', 1, '0', null, '2023-10-29 15:44:18', '2023-10-29 15:44:18'),
  15. ( 'UserCoupon.usage', '已使用', 2, '1', null, '2023-10-29 15:44:18', '2023-10-29 15:44:18');