|
@@ -729,9 +729,13 @@ export class gameManager extends Component {
|
|
|
}
|
|
|
|
|
|
public static request_sign_status(type = config.SIGN_STATUS_TYPE.GET, successCallback:any, failCallback:any) {
|
|
|
- gameManager.showWaitView()
|
|
|
+ if(type == config.SIGN_STATUS_TYPE.SYNC) {
|
|
|
+ gameManager.showWaitView()
|
|
|
+ }
|
|
|
http.post(config.api_url.sign_status,{"stype": type},(err,data) => {
|
|
|
- gameManager.hideWaitView()
|
|
|
+ if(type == config.SIGN_STATUS_TYPE.SYNC) {
|
|
|
+ gameManager.hideWaitView()
|
|
|
+ }
|
|
|
if(!err) {
|
|
|
let _data = JSON.parse(data)
|
|
|
if(_data.code==config.MSG_CODE.SUCCESS){
|