2022-10-20 07:32:32 +00:00
|
|
|
package subject
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
func getAuthSMSValue(val string) string {
|
2022-10-25 08:27:05 +00:00
|
|
|
return fmt.Sprintf("%s.%s", prefixes.SupplierUser, val)
|
2022-10-20 07:32:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var AuthSMS = struct {
|
2022-10-21 04:49:48 +00:00
|
|
|
CreateUserSMS string
|
|
|
|
GetListPermission string
|
2022-10-20 07:32:32 +00:00
|
|
|
}{
|
2022-10-21 04:49:48 +00:00
|
|
|
CreateUserSMS: getAuthSMSValue("create_user_sms"),
|
|
|
|
GetListPermission: getAuthSMSValue("get_list_permission"),
|
2022-10-20 07:32:32 +00:00
|
|
|
}
|