智慧校园获取青桔token

This commit is contained in:
张博 2024-11-18 19:10:50 +08:00
parent 0a9d610537
commit a7f61664f2
7 changed files with 9 additions and 6 deletions

View File

@ -40,7 +40,7 @@ public class MybatisPlusConfig {
DynamicTableNameInnerInterceptor dynamicTableNameInnerInterceptor = new DynamicTableNameInnerInterceptor(); DynamicTableNameInnerInterceptor dynamicTableNameInnerInterceptor = new DynamicTableNameInnerInterceptor();
dynamicTableNameInnerInterceptor.setTableNameHandler( dynamicTableNameInnerInterceptor.setTableNameHandler(
//可以传多个表名参数指定哪些表使用MonthTableNameHandler处理表名称 //可以传多个表名参数指定哪些表使用MonthTableNameHandler处理表名称
new CustomizeTableNameHandler("ten_person_extract,mobile_device,mobile_package_order,mobile_call_logs,mobile_contact") new CustomizeTableNameHandler("ten_person_extract","mobile_device","mobile_package_order","mobile_call_logs","mobile_contact")
); );
//以拦截器的方式处理表名称 //以拦截器的方式处理表名称

View File

@ -23,7 +23,7 @@ import java.util.Map;
@RestController @RestController
@RequestMapping("mobile/device/") @RequestMapping("mobile/device/")
@Api(value="区域管理",tags="区域管理接口") @Api(value="话务设备管理",tags="话务设备管理")
public class DeviceController extends AbstractController { public class DeviceController extends AbstractController {
@Autowired @Autowired
@ -59,6 +59,7 @@ public class DeviceController extends AbstractController {
mobileDeviceQueryDto.setGroupId(groupId); mobileDeviceQueryDto.setGroupId(groupId);
mobileDeviceQueryDto.setApkVersion(apkVersion); mobileDeviceQueryDto.setApkVersion(apkVersion);
return R.ok().put("data", mobileDeviceService.list(mobileDeviceQueryDto)); return R.ok().put("data", mobileDeviceService.list(mobileDeviceQueryDto));
} }

View File

@ -23,7 +23,7 @@ import java.util.List;
@RestController @RestController
@RequestMapping("mobile/device/group/") @RequestMapping("mobile/device/group/")
@Api("话机设备组管理") @Api(value = "话机设备组管理",tags = "话机设备组管理")
@RequiredArgsConstructor @RequiredArgsConstructor
public class DeviceGroupController { public class DeviceGroupController {

View File

@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("mobile/package/") @RequestMapping("mobile/package/")
@RequiredArgsConstructor @RequiredArgsConstructor
@Api("公话套餐管理") @Api(value = "公话套餐管理",tags = "公话套餐管理")
public class MobilePackageController extends AbstractController { public class MobilePackageController extends AbstractController {

View File

@ -370,6 +370,7 @@ public class TenPersonEntity extends BaseEntity implements Serializable {
private Integer featureType; private Integer featureType;
@TableField(exist = false) @TableField(exist = false)
@ApiModelProperty("联系人信息")
private List<MobileContact> mobileContactList; private List<MobileContact> mobileContactList;
} }

View File

@ -141,7 +141,8 @@ config:
version: 4.1 version: 4.1
app-id: SUQLGn78W5o7StEEbm6WTTfaMgAxSsN8HwJziApVyNN app-id: SUQLGn78W5o7StEEbm6WTTfaMgAxSsN8HwJziApVyNN
sdk-key: 7dJ9RqEhc3mPCatuUceKjgYwZXfX83n3QHz4xb6biPiG sdk-key: 7dJ9RqEhc3mPCatuUceKjgYwZXfX83n3QHz4xb6biPiG
active-key: 86L1-11TK-313B-Y8KG #active-key: 86L1-11TK-313B-Y8KG
active-key: 86L1-11TK-312W-R246
#active-key: 82K1-11TT-K11Y-BHQE #active-key: 82K1-11TT-K11Y-BHQE
active-file: active-file:
detect-pool-size: 16 detect-pool-size: 16

View File

@ -88,7 +88,7 @@
</update> </update>
<update id="createMobileDevice" parameterType="String"> <update id="createMobileDevice" parameterType="String">
create table if not exists `mobile_device_${teantId}` like `mobile_device`; create table if not exists `mobile_device_${tenantId}` like `mobile_device`;
</update> </update>
<select id="queryList" resultMap="tenCellMap"> <select id="queryList" resultMap="tenCellMap">