Commit 1666ca0e by doszhang

dos

parent ff7ae384
...@@ -226,9 +226,6 @@ function creatPoster() { ...@@ -226,9 +226,6 @@ function creatPoster() {
} }
else else
{ {
checkWord($('[name=customize]').val(),function() {
console.log('success');
});
checkWord($('[name=customize]').val(),function(status){ checkWord($('[name=customize]').val(),function(status){
if(status == 0 || status == -1) if(status == 0 || status == -1)
{ {
...@@ -537,9 +534,13 @@ function checkWord(name,callback) { ...@@ -537,9 +534,13 @@ function checkWord(name,callback) {
name:name name:name
}, },
success: function(resp){ success: function(resp){
if(resp.status == 1)
{
console.log(123); console.log(123);
callback(); callback();
} }
else console.log('error');
}
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment