diff --git a/index.html b/index.html
index 2dbec47..9eb5db1 100644
--- a/index.html
+++ b/index.html
@@ -44,10 +44,36 @@
-
+
+
+
选择模板
+
+
请选择证书模板
+

+
+
+
+
+
+
+
+
+
+
+
@@ -90,6 +116,38 @@
});
},
+ /**
+ * 发证
+ */
+ certificate() {
+ var that = this
+ fetch(`https://test.tall.wiki/gateway/sports/player/certificate`, {
+ headers: new Headers({
+ 'Authorization': 'Bearer ' + that.token,
+ 'Content-Type': 'application/json; charset=utf-8'
+ }),
+ method: 'POST',
+ body: JSON.stringify({
+ param: {
+ "fileId": 0,
+ "playerId": 0,
+ "projectId": that.projectId
+ }
+ })
+ })
+ .then(function(response) {
+ return response.json();
+ })
+ .then(function(res) {
+ const { success, code, data, msg } = res;
+ if (success && code === 200) {
+
+ } else {
+ console.log('msg: ', msg);
+ }
+ });
+ },
+
getList() {
const pId = this.dom.parentNode.getAttribute('data-pid');
const uId = this.dom.parentNode.getAttribute('data-uid');