Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
shanliu committed Jan 5, 2024
1 parent 570eb25 commit 9303663
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 37 deletions.
24 changes: 16 additions & 8 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,33 @@
"name": "开发文档(v1版)",
"children": [
{
"name": "接入协议&OAuth登陆",
"name": "接入协议跟OAuth登陆",
"path": "sdk/README.MD"
},
{
"name": "发送服务",
"name": "权限服务接入",
"path": "server/lsys-rbac/README.md"
},
{
"name": "发送服务接入",
"children": [
{
"name": "系统结构",
"path": "server/lsys-sender/src/dao/README.MD"
"name": "发送系统结构",
"path": "server/lsys-sender/README.MD"
},
{
"name": "邮件发送",
"path": "server/lsys-sender/src/dao/mailer/README.MD"
"name": "短信发送",
"path": "server/lsys-sender/src/dao/sender_smser/README.MD"
},
{
"name": "短信发送",
"path": "server/lsys-sender/src/dao/smser/README.MD"
"name": "邮件发送",
"path": "server/lsys-sender/src/dao/sender_mailer/README.MD"
}
]
},
{
"name": "文档功能说明",
"path": "server/lsys-docs/README.MD"
}
]
}
1 change: 0 additions & 1 deletion server/lsys-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ sqlx-model = { version = "0.2.3", default-features = false, features = [
tracing = { version = "0.1.*" } # log-always 保持log的输出 当使用tracing时会出现两次


fluent-syntax = "0.11.0"
fluent = "0.16.0"


Expand Down
2 changes: 1 addition & 1 deletion server/lsys-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tera = "~1.18.1"
#代替标准库的锁
parking_lot = "~0.12.*"

fluent-syntax = "~0.11.*"

fluent = "~0.16.*"
unic-langid = { version = "~0.9.*", features = ["unic-langid-macros"] }
intl-memoizer = "~0.5.*"
Expand Down
2 changes: 1 addition & 1 deletion server/lsys-docs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tracing = { version = "0.1.*" } # log-always 保持log的输出 当使用tracing

tokio = { version = "~1.28" }

fluent-syntax = "0.11.0"

fluent = "0.16.0"

num_cpus = "1.15.0"
Expand Down
1 change: 0 additions & 1 deletion server/lsys-rbac/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ serde_json = "1.0.*"


fluent = "~0.16.*"
fluent-syntax = "~0.11.*"

tracing = { version = "~0.1.*" }

Expand Down
1 change: 0 additions & 1 deletion server/lsys-sender/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ parking_lot = "~0.12.*"


fluent = "~0.16.*"
fluent-syntax = "~0.11.*"


rs-snowflake = "0.6.0"
Expand Down
3 changes: 0 additions & 3 deletions server/lsys-user/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ futures-util = "0.3.*"
# rand = "~0.8.*"

fluent = "~0.16.*"
fluent-syntax = "~0.11.*"
intl-memoizer = "~0.5.*"
unic-langid = { version = "~0.9.*", features = ["unic-langid-macros"] }


md5 = "~0.7.*"
Expand Down
4 changes: 1 addition & 3 deletions server/lsys-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ tera = "1.17.0"
#代替标准库的锁
parking_lot = "0.12.1"

fluent-syntax = "0.11.0"

fluent = "0.16.0"
unic-langid = { version = "0.9", features = ["unic-langid-macros"] }
intl-memoizer = "0.5.1"


mime = "0.3.16"
Expand Down
5 changes: 2 additions & 3 deletions ui/web/src/page/library/sender/sms/alisms.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function SystemAppSmsSettingAlismsBox(props) {
access_secret: addData.access_secret,
region: addData.region,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -100,7 +100,7 @@ function SystemAppSmsSettingAlismsBox(props) {
access_secret: addData.access_secret,
region: addData.region,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -283,7 +283,6 @@ function SystemAppSmsSettingAlismsBox(props) {
width: 1,
paddingBottom: 2
}}
required
disabled={addData.loading}
error={!!addError.callback_key}
helperText={addError.callback_key}
Expand Down
17 changes: 8 additions & 9 deletions ui/web/src/page/library/sender/sms/cloopensms.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ConfirmButton } from '../../../../library/dialog';
import { ClearTextField } from '../../../../library/input';
import { LoadingButton } from '../../../../library/loading';
import { BaseTableBody, BaseTableHead } from '../../../../library/table_page';
import { smsAddCloOpenConfig, smsDelCloOpenConfig, smsEditCloOpenConfig , smsAddAppCloOpenConfig, smsListCloOpenConfig } from '../../../../rest/sender_setting';
import { smsAddCloOpenConfig, smsDelCloOpenConfig, smsEditCloOpenConfig, smsAddAppCloOpenConfig, smsListCloOpenConfig } from '../../../../rest/sender_setting';
import { useSearchChange } from '../../../../utils/hook';
import { showTime } from '../../../../utils/utils';

Expand Down Expand Up @@ -64,7 +64,7 @@ function SystemAppSmsSettingCloOpensmsBox(props) {
account_token: addData.account_token,
sms_app_id: addData.sms_app_id,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -99,7 +99,7 @@ function SystemAppSmsSettingCloOpensmsBox(props) {
account_token: addData.account_token,
sms_app_id: addData.sms_app_id,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -282,7 +282,6 @@ function SystemAppSmsSettingCloOpensmsBox(props) {
width: 1,
paddingBottom: 2
}}
required
disabled={addData.loading}
error={!!addError.callback_key}
helperText={addError.callback_key}
Expand Down Expand Up @@ -596,7 +595,7 @@ export function AppSmsTplConfigCloOpenAddBox(props) {
config_id: '',
name: '',
tpl_id: '',


template_id: '',
template_map: '',
Expand All @@ -606,7 +605,7 @@ export function AppSmsTplConfigCloOpenAddBox(props) {
config_id: '',
name: '',
tpl_id: '',


template_id: '',
template_map: '',
Expand Down Expand Up @@ -648,7 +647,7 @@ export function AppSmsTplConfigCloOpenAddBox(props) {
name: configData.name,
tpl_id: configData.tpl_id,
config_id: configData.config_id,

template_id: configData.template_id,
template_map: configData.template_map,

Expand All @@ -667,7 +666,7 @@ export function AppSmsTplConfigCloOpenAddBox(props) {
setConfigData({
...configData,
tpl_id: '',

template_id: '',
template_map: '',
loading: false,
Expand Down Expand Up @@ -749,7 +748,7 @@ export function AppSmsTplConfigCloOpenAddBox(props) {
helperText={addError.tpl_id}
/>



<TextField
variant="outlined"
Expand Down
6 changes: 3 additions & 3 deletions ui/web/src/page/library/sender/sms/hwsms.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function SystemAppSmsSettingHwsmsBox(props) {
app_secret: addData.app_secret,
url: addData.url,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -88,7 +88,7 @@ function SystemAppSmsSettingHwsmsBox(props) {
smsAddHwConfig({
url: addData.url,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
name: addData.name,
app_key: addData.app_key,
app_secret: addData.app_secret
Expand Down Expand Up @@ -271,7 +271,7 @@ function SystemAppSmsSettingHwsmsBox(props) {
width: 1,
paddingBottom: 2
}}
required

disabled={addData.loading}
error={!!addError.callback_key}
helperText={addError.callback_key}
Expand Down
6 changes: 3 additions & 3 deletions ui/web/src/page/library/sender/sms/tensms.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SystemAppSmsSettingTensmsBox(props) {
sms_app_id: addData.sms_app_id,
region: addData.region,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -98,7 +98,7 @@ function SystemAppSmsSettingTensmsBox(props) {
sms_app_id: addData.sms_app_id,
region: addData.region,
callback_key: addData.callback_key,
limit:parseInt( addData.limit),
limit: parseInt(addData.limit),
}).then((data) => {
if (!data.status) {
toast(data.message)
Expand Down Expand Up @@ -309,7 +309,7 @@ function SystemAppSmsSettingTensmsBox(props) {
width: 1,
paddingBottom: 2
}}
required

disabled={addData.loading}
error={!!addError.callback_key}
helperText={addError.callback_key}
Expand Down

0 comments on commit 9303663

Please sign in to comment.