Browse Source

手写签名完成

master
徐勤民 3 weeks ago
parent
commit
ecac83078a
2 changed files with 12 additions and 3 deletions
  1. +5
    -1
      app/obfuscation-rules.txt
  2. +7
    -2
      app/src/main/ets/pages/cert/CertHome.ets

+ 5
- 1
app/obfuscation-rules.txt View File

@@ -15,4 +15,8 @@

# Keep options:
# -keep-property-name: specifies property names that you want to keep
# -keep-global-name: specifies names that you want to keep in the global scope
# -keep-global-name: specifies names that you want to keep in the global scope
-enable-property-obfuscation
-enable-toplevel-obfuscation
-enable-filename-obfuscation
-enable-export-obfuscation

+ 7
- 2
app/src/main/ets/pages/cert/CertHome.ets View File

@@ -166,8 +166,13 @@ export struct CertHome {
.height(40)
.fontColor('#333333')
.onClick(() => {
BJCASDK.certManager().drawStamp(this.phone, (result) => {
ToolsHelper.showMessage(result.msg)
BJCASDK.certManager().drawStamp(this.phone, (res) => {
if (res.code === BJCACallMsg.SUCCESS.code && res.data) {
console.log('>>>>>>>>>>', JSON.stringify(res))
this.draw = res.data
} else {
ToolsHelper.showMessage(res.msg)
}
})
})



Loading…
Cancel
Save