main-auth-share.js


  created() {
    //===========公共部分  start
    method.init(this);
    //===========公共部分 end

    this.shareUrl=this.$share.convertShareUrl("https://bt.sandieji.tech", this);
  },

req-headers.js

数据库脚本 bo_user_share

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for bo_user_share
-- ----------------------------

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for bo_user_share
-- ----------------------------
DROP TABLE IF EXISTS `bo_user_share`;
CREATE TABLE `bo_user_share`  (
  `user_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '当前用户',
  `from_second_share_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '来源二级用户',
  `from_first_share_id` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '来源一级用户',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '新增时间',
  `modify_date` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  `share_status` int(0) NULL DEFAULT NULL COMMENT '分享状态',
  PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

mapper_bo-user_sql__responsefield.json


  "saveSqlExtand": {
    "bo-user-share": {
      "sortId": 1,
      "sqlUpdate": null,
      "sqlInsert": "insert into bo_user_share (from_first_share_id,from_second_share_id,user_id,share_status,create_date,modify_date) values  (@_userFromFirstShareId,@_userFromSecondShareId,@userId,0,@_currentDate,@_currentDate);"
    }
  },
文档更新时间: 2021-08-31 08:00   作者:admin