mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-25 16:48:13 +00:00
14 lines
421 B
TypeScript
14 lines
421 B
TypeScript
import { CoolController, BaseController } from '@cool-midway/core';
|
|
import { UserAddressEntity } from '../../entity/address';
|
|
import { UserAddressService } from '../../service/address';
|
|
|
|
/**
|
|
* 用户-地址
|
|
*/
|
|
@CoolController({
|
|
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
|
|
entity: UserAddressEntity,
|
|
service: UserAddressService,
|
|
})
|
|
export class AdminUserAddressesController extends BaseController {}
|